Home
last modified time | relevance | path

Searched refs:devtype (Results 1 – 25 of 113) sorted by relevance

12345

/freebsd-13.1/sys/mips/nlm/hal/
H A Dnlm_hal.c65 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 Duart_cpu_chipc.c92 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 Dfwdownload.c283 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 Depc.c140 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 Dzone.c334 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 Dcamcontrol.h69 int verbosemode, camcontrol_devtype *devtype);
76 int is48bit, camcontrol_devtype devtype);
/freebsd-13.1/sys/dev/uart/
H A Duart_cpu_x86.c55 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 Duart_cpu_arm64.c83 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 Duart_cpu_fdt.c75 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 Duart_cpu_acpi.c76 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 Duart_cpu_powerpc.c112 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument
121 switch (devtype) { in uart_cpu_getdev()
H A Duart_cpu_acpi.h70 int uart_cpu_acpi_spcr(int devtype, struct uart_devinfo *di);
/freebsd-13.1/sys/powerpc/ps3/
H A Dps3bus.c80 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 Ddevices_common.kshlib47 devtype=$($DF -T / | $AWK '{print $2}')
48 case $devtype in
77 "for / ($devtype)," \
/freebsd-13.1/sys/dev/scc/
H A Dscc_bfe_quicc.c52 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 Dp2p_parse.c41 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 Dfinger12 >5 belong x \b, devtype %x
16 >5 belong x \b, devtype %x
/freebsd-13.1/sys/dev/sound/pcm/
H A Dsndstat.c240 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 Daudit_trigger.c66 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 Duart_cpu_octeonusart.c139 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 Dcardbus_device.c136 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 Dzfs_agents.c197 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 Dpccard_device.c111 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 Dkrping_dev.c95 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 Dvirtio.h79 #define VIRTIO_SIMPLE_PNPINFO(driver, devtype, desc) \ argument
81 .device_type = devtype, \

12345