| /freebsd-13.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-13.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-13.1/sbin/camcontrol/ |
| H A D | fwdownload.c | 283 camcontrol_devtype devtype, 679 if (devtype != CC_DT_SCSI) { in fw_check_device_ready() 691 switch (devtype) { in fw_check_device_ready() 722 /*devtype*/ devtype); in fw_check_device_ready() 880 switch (devtype) { in fw_download_img() 937 /*devtype*/ devtype); in fw_download_img() 993 camcontrol_devtype devtype; in fwdownload() local 1026 &devtype); in fwdownload() 1030 if ((devtype == CC_DT_ATA) in fwdownload() 1057 && (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-13.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 | 83 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 93 err = uart_getenv(devtype, di, class); in uart_cpu_getdev() 99 if (uart_cpu_acpi_spcr(devtype, di) == 0) in uart_cpu_getdev() 106 &shift, &iowidth, devtype); in uart_cpu_getdev()
|
| H A D | uart_cpu_fdt.c | 75 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 85 err = uart_getenv(devtype, di, class); in uart_cpu_getdev() 90 &shift, &iowidth, devtype); in uart_cpu_getdev()
|
| H A D | uart_cpu_acpi.c | 76 uart_cpu_acpi_spcr(int devtype, struct uart_devinfo *di) in uart_cpu_acpi_spcr() argument 85 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()
|
| H A D | uart_cpu_acpi.h | 70 int uart_cpu_acpi_spcr(int devtype, struct uart_devinfo *di);
|
| /freebsd-13.1/sys/powerpc/ps3/ |
| H A D | ps3bus.c | 80 uint64_t devtype; member 240 dinfo->bustype, dinfo->devtype, result); in ps3bus_resources_init() 311 dinfo->bustype, dinfo->devtype, result); in ps3bus_resources_init_by_type() 328 uint64_t dev, devtype; in ps3bus_attach() local 371 lv1_repository_string("type"), 0, &devtype, &junk); in ps3bus_attach() 384 switch (devtype) { in ps3bus_attach() 398 dinfo->devtype = devtype; in ps3bus_attach() 424 dinfo->devtype = devtype; in ps3bus_attach() 449 dinfo->devtype = devtype; in ps3bus_attach() 512 *result = dinfo->devtype; in ps3bus_read_ivar() [all …]
|
| /freebsd-13.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-13.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-13.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-13.1/contrib/file/magic/Magdir/ |
| H A D | finger | 12 >5 belong x \b, devtype %x 16 >5 belong x \b, devtype %x
|
| /freebsd-13.1/sys/dev/sound/pcm/ |
| H A D | sndstat.c | 240 const char *devtype; in sndstat_register() local 245 devtype = device_get_name(dev); in sndstat_register() 246 if (!strcmp(devtype, "pcm")) in sndstat_register() 248 else if (!strcmp(devtype, "midi")) in sndstat_register() 250 else if (!strcmp(devtype, "sequencer")) in sndstat_register()
|
| /freebsd-13.1/sys/security/audit/ |
| H A D | audit_trigger.c | 66 audit_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in audit_open() argument 83 audit_close(struct cdev *dev, int fflag, int devtype, struct thread *td) in audit_close() argument
|
| /freebsd-13.1/sys/mips/cavium/ |
| H A D | uart_cpu_octeonusart.c | 139 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 155 if (uart_getenv(devtype, di, class) == 0) in uart_cpu_getdev()
|
| /freebsd-13.1/sys/dev/cardbus/ |
| H A D | cardbus_device.c | 136 cardbus_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in cardbus_open() argument 143 cardbus_close(struct cdev *dev, int fflags, int devtype, struct thread *td) in cardbus_close() argument
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/zed/agents/ |
| H A D | zfs_agents.c | 197 device_type_t devtype = DEVICE_TYPE_PRIMARY; in zfs_agent_post_event() local 224 devtype = search.gs_vdev_type; in zfs_agent_post_event() 246 switch (devtype) { in zfs_agent_post_event()
|
| /freebsd-13.1/sys/dev/pccard/ |
| H A D | pccard_device.c | 111 pccard_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in pccard_open() argument 145 pccard_close(struct cdev *dev, int fflags, int devtype, struct thread *td) in pccard_close() argument
|
| /freebsd-13.1/sys/contrib/rdma/krping/ |
| H A D | krping_dev.c | 95 krping_open(struct cdev *dev, int oflags, int devtype, struct thread *p) in krping_open() argument 102 krping_close(struct cdev *dev, int fflag, int devtype, struct thread *p) in krping_close() argument
|
| /freebsd-13.1/sys/dev/virtio/ |
| H A D | virtio.h | 79 #define VIRTIO_SIMPLE_PNPINFO(driver, devtype, desc) \ argument 81 .device_type = devtype, \
|