| /freebsd-12.1/sys/mips/nlm/hal/ |
| H A D | nlm_hal.c | 65 nlm_get_device_frequency(uint64_t sysbase, int devtype) in nlm_get_device_frequency() argument 71 if (devtype <= 7) in nlm_get_device_frequency() 74 devtype -= 8; in nlm_get_device_frequency() 77 dfsdiv = ((div_val >> (devtype << 2)) & 0xf) + 1; in nlm_get_device_frequency() 80 if (devtype == DFS_DEVICE_NAE && !nlm_is_xlp8xx_ax()) in nlm_get_device_frequency() 89 nlm_set_device_frequency(int node, int devtype, int frequency) in nlm_set_device_frequency() argument 96 cur_freq = nlm_get_device_frequency(sysbase, devtype); in nlm_set_device_frequency() 107 (1 << devtype)); in nlm_set_device_frequency() 110 (1 << devtype)); in nlm_set_device_frequency() 111 cur_freq = nlm_get_device_frequency(sysbase, devtype); in nlm_set_device_frequency() [all …]
|
| /freebsd-12.1/sys/mips/broadcom/ |
| H A D | uart_cpu_chipc.c | 92 uart_getenv_cfe(int devtype, struct uart_devinfo *di) in uart_getenv_cfe() argument 100 if (devtype != UART_DEV_CONSOLE) in uart_getenv_cfe() 129 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 138 if (uart_getenv_cfe(devtype, di) == 0) in uart_cpu_getdev() 143 if (uart_getenv(devtype, di, chipc_uart_class) == 0) in uart_cpu_getdev() 152 if (devtype == UART_DEV_CONSOLE && !UART_FLAGS_CONSOLE(ivar)) in uart_cpu_getdev() 155 if (devtype == UART_DEV_DBGPORT && !UART_FLAGS_DBGPORT(ivar)) in uart_cpu_getdev()
|
| /freebsd-12.1/sbin/camcontrol/ |
| H A D | fwdownload.c | 280 camcontrol_devtype devtype, 676 if (devtype != CC_DT_SCSI) { in fw_check_device_ready() 688 switch (devtype) { in fw_check_device_ready() 719 /*devtype*/ devtype); in fw_check_device_ready() 824 switch (devtype) { in fw_download_img() 881 /*devtype*/ devtype); in fw_download_img() 934 camcontrol_devtype devtype; in fwdownload() local 967 &devtype); in fwdownload() 971 if ((devtype == CC_DT_ATA) in fwdownload() 998 && (devtype == CC_DT_SCSI)) in fwdownload() [all …]
|
| H A D | epc.c | 140 camcontrol_devtype devtype, union ccb *ccb, 227 /*devtype*/ devtype); in epc_list() 273 epc_getmode(struct cam_device *device, camcontrol_devtype devtype, in epc_getmode() argument 337 /*devtype*/ devtype); in epc_getmode() 414 /*devtype*/ devtype); in epc_getmode() 583 /*devtype*/ devtype); in epc_set_features() 619 camcontrol_devtype devtype; in epc() local 764 /*printerrors*/ 1, &devtype); in epc() 768 switch (devtype) { in epc() 831 error = epc_list(device, devtype, ccb, retry_count, timeout); in epc() [all …]
|
| H A D | zone.c | 334 camcontrol_devtype devtype; in zone() local 440 /*printerrors*/ 1, &devtype); in zone() 453 switch (devtype) { in zone() 520 /*devtype*/ devtype); in zone() 533 warnx("%s: Unknown device type %d", __func__,devtype); in zone() 546 switch (devtype) { in zone() 612 /*devtype*/ devtype); in zone() 622 warnx("%s: Unknown device type %d", __func__,devtype); in zone() 635 warn("error sending %s %s CCB", (devtype == CC_DT_SCSI) ? in zone()
|
| H A D | camcontrol.h | 69 int verbosemode, camcontrol_devtype *devtype); 76 int is48bit, camcontrol_devtype devtype);
|
| /freebsd-12.1/sys/dev/uart/ |
| H A D | uart_cpu_x86.c | 55 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 65 if (uart_getenv(devtype, di, class) == 0) in uart_cpu_getdev() 70 if (uart_cpu_acpi_spcr(devtype, di) == 0) in uart_cpu_getdev() 82 if (devtype == UART_DEV_CONSOLE && !UART_FLAGS_CONSOLE(ivar)) in uart_cpu_getdev() 84 if (devtype == UART_DEV_DBGPORT && !UART_FLAGS_DBGPORT(ivar)) in uart_cpu_getdev()
|
| H A D | uart_cpu_arm64.c | 84 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 94 err = uart_getenv(devtype, di, class); in uart_cpu_getdev() 100 if (uart_cpu_acpi_spcr(devtype, di) == 0) in uart_cpu_getdev() 104 if (devtype != UART_DEV_CONSOLE) in uart_cpu_getdev()
|
| H A D | uart_cpu_fdt.c | 76 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 86 err = uart_getenv(devtype, di, class); in uart_cpu_getdev() 90 if (devtype != UART_DEV_CONSOLE) in uart_cpu_getdev()
|
| H A D | uart_cpu_sparc64.c | 204 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 215 switch (devtype) { in uart_cpu_getdev() 258 if (devtype == UART_DEV_KEYBOARD) in uart_cpu_getdev() 281 di->bas.bst = &bst_store[devtype]; in uart_cpu_getdev() 285 if (devtype == UART_DEV_KEYBOARD) in uart_cpu_getdev()
|
| H A D | uart_cpu_acpi.c | 74 uart_cpu_acpi_spcr(int devtype, struct uart_devinfo *di) in uart_cpu_acpi_spcr() argument 83 if (devtype != UART_DEV_CONSOLE) in uart_cpu_acpi_spcr()
|
| H A D | uart_cpu_powerpc.c | 112 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 121 switch (devtype) { in uart_cpu_getdev()
|
| /freebsd-12.1/sys/powerpc/ps3/ |
| H A D | ps3bus.c | 78 uint64_t devtype; member 238 dinfo->bustype, dinfo->devtype, result); in ps3bus_resources_init() 309 dinfo->bustype, dinfo->devtype, result); in ps3bus_resources_init_by_type() 326 uint64_t dev, devtype; in ps3bus_attach() local 369 lv1_repository_string("type"), 0, &devtype, &junk); in ps3bus_attach() 382 switch (devtype) { in ps3bus_attach() 396 dinfo->devtype = devtype; in ps3bus_attach() 422 dinfo->devtype = devtype; in ps3bus_attach() 447 dinfo->devtype = devtype; in ps3bus_attach() 510 *result = dinfo->devtype; in ps3bus_read_ivar() [all …]
|
| /freebsd-12.1/contrib/wpa/src/p2p/ |
| H A D | p2p_parse.c | 41 char devtype[WPS_DEV_TYPE_BUFSIZE]; in p2p_parse_attribute() local 183 sizeof(devtype)), in p2p_parse_attribute() 480 char devtype[WPS_DEV_TYPE_BUFSIZE]; in p2p_parse_wps_ie() local 484 sizeof(devtype))); in p2p_parse_wps_ie() 720 char devtype[WPS_DEV_TYPE_BUFSIZE]; in p2p_group_info_text() local 738 devtype, in p2p_group_info_text() 739 sizeof(devtype))); in p2p_group_info_text() 748 devtype, sizeof(devtype))); in p2p_group_info_text() 804 char devtype[WPS_DEV_TYPE_BUFSIZE]; in p2p_attr_text() local 808 devtype, in p2p_attr_text() [all …]
|
| /freebsd-12.1/sys/dev/scc/ |
| H A D | scc_bfe_quicc.c | 52 uintptr_t devtype, rclk; in scc_quicc_probe() local 57 error = BUS_READ_IVAR(parent, dev, QUICC_IVAR_DEVTYPE, &devtype); in scc_quicc_probe() 60 if (devtype != QUICC_DEVTYPE_SCC) in scc_quicc_probe()
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/devices/ |
| H A D | devices_common.kshlib | 47 devtype=$($DF -T / | $AWK '{print $2}') 48 case $devtype in 77 "for / ($devtype)," \
|
| /freebsd-12.1/sys/dev/sound/pcm/ |
| H A D | sndstat.c | 238 const char *devtype; in sndstat_register() local 243 devtype = device_get_name(dev); in sndstat_register() 244 if (!strcmp(devtype, "pcm")) in sndstat_register() 246 else if (!strcmp(devtype, "midi")) in sndstat_register() 248 else if (!strcmp(devtype, "sequencer")) in sndstat_register()
|
| /freebsd-12.1/contrib/file/magic/Magdir/ |
| H A D | finger | 12 >5 belong x \b, devtype %x 16 >5 belong x \b, devtype %x
|
| /freebsd-12.1/sys/security/audit/ |
| H A D | audit_trigger.c | 64 audit_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in audit_open() argument 81 audit_close(struct cdev *dev, int fflag, int devtype, struct thread *td) in audit_close() argument
|
| /freebsd-12.1/sys/mips/cavium/ |
| H A D | uart_cpu_octeonusart.c | 140 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 156 if (uart_getenv(devtype, di, class) == 0) in uart_cpu_getdev()
|
| /freebsd-12.1/sys/dev/cardbus/ |
| H A D | cardbus_device.c | 137 cardbus_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in cardbus_open() argument 144 cardbus_close(struct cdev *dev, int fflags, int devtype, struct thread *td) in cardbus_close() argument
|
| /freebsd-12.1/sys/dev/pccard/ |
| H A D | pccard_device.c | 112 pccard_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in pccard_open() argument 146 pccard_close(struct cdev *dev, int fflags, int devtype, struct thread *td) in pccard_close() argument
|
| /freebsd-12.1/sys/contrib/rdma/krping/ |
| H A D | krping_dev.c | 94 krping_open(struct cdev *dev, int oflags, int devtype, struct thread *p) in krping_open() argument 101 krping_close(struct cdev *dev, int fflag, int devtype, struct thread *p) in krping_close() argument
|
| /freebsd-12.1/sys/dev/ofw/ |
| H A D | openpromio.c | 76 openprom_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in openprom_open() argument 86 openprom_close(struct cdev *dev, int fflag, int devtype, struct thread *td) in openprom_close() argument
|
| /freebsd-12.1/contrib/wpa/src/wps/ |
| H A D | wps_dev_attr.c | 344 char devtype[WPS_DEV_TYPE_BUFSIZE]; in wps_process_primary_dev_type() local 354 wps_dev_type_bin2str(dev->pri_dev_type, devtype, in wps_process_primary_dev_type() 355 sizeof(devtype))); in wps_process_primary_dev_type()
|