/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_mc_if.m | 53 enum dpaa2_dev_type devtype) 57 dpaa2_dev, devtype)); 63 enum dpaa2_dev_type devtype, uint32_t obj_id) 67 dpaa2_dev, devtype, obj_id)); 73 enum dpaa2_dev_type devtype) 77 dpaa2_dev, devtype)); 83 enum dpaa2_dev_type devtype) 87 dpaa2_dev, devtype)); 93 enum dpaa2_dev_type devtype) 97 dpaa2_dev, devtype)); [all …]
|
H A D | dpaa2_mc.h | 209 enum dpaa2_dev_type devtype); 211 enum dpaa2_dev_type devtype, uint32_t obj_id); 213 enum dpaa2_dev_type devtype); 215 enum dpaa2_dev_type devtype); 217 enum dpaa2_dev_type devtype);
|
H A D | dpaa2_mc.c | 490 enum dpaa2_dev_type devtype) in dpaa2_mc_get_free_dev() argument 500 rm = dpaa2_mc_rman(mcdev, devtype, 0); in dpaa2_mc_get_free_dev() 518 enum dpaa2_dev_type devtype, uint32_t obj_id) in dpaa2_mc_get_dev() argument 535 if (dinfo->dtype == devtype && dinfo->id == obj_id) { in dpaa2_mc_get_dev() 549 enum dpaa2_dev_type devtype) in dpaa2_mc_get_shared_dev() argument 569 if ((dinfo->dtype == devtype) && in dpaa2_mc_get_shared_dev() 588 enum dpaa2_dev_type devtype) in dpaa2_mc_reserve_dev() argument 618 enum dpaa2_dev_type devtype) in dpaa2_mc_release_dev() argument
|
/freebsd/sys/dev/uart/ |
H A D | uart_cpu_arm64.c | 81 uart_cpu_fdt_setup(struct uart_class *class, int devtype, struct uart_devinfo *di) in uart_cpu_fdt_setup() argument 89 &shift, &iowidth, devtype); in uart_cpu_fdt_setup() 115 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 122 err = uart_getenv(devtype, di, class); in uart_cpu_getdev() 128 if (uart_cpu_acpi_setup(devtype, di) == 0) in uart_cpu_getdev() 132 if (uart_cpu_fdt_setup(class, devtype, di) == 0) in uart_cpu_getdev()
|
H A D | uart_cpu_x86.c | 54 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 64 if (uart_getenv(devtype, di, class) == 0) in uart_cpu_getdev() 73 if (late_console && uart_cpu_acpi_setup(devtype, di) == 0) in uart_cpu_getdev() 85 if (devtype == UART_DEV_CONSOLE && !UART_FLAGS_CONSOLE(ivar)) in uart_cpu_getdev() 87 if (devtype == UART_DEV_DBGPORT && !UART_FLAGS_DBGPORT(ivar)) in uart_cpu_getdev()
|
H A D | uart_cpu_fdt.c | 73 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 83 err = uart_getenv(devtype, di, class); in uart_cpu_getdev() 88 &shift, &iowidth, devtype); in uart_cpu_getdev()
|
H A D | uart_cpu_acpi.c | 142 uart_cpu_acpi_spcr(int devtype, struct uart_devinfo *di) in uart_cpu_acpi_spcr() argument 315 uart_cpu_acpi_setup(int devtype, struct uart_devinfo *di) in uart_cpu_acpi_setup() argument 319 switch(devtype) { in uart_cpu_acpi_setup() 321 return (uart_cpu_acpi_spcr(devtype, di)); in uart_cpu_acpi_setup()
|
H A D | uart_cpu_powerpc.c | 109 uart_cpu_getdev(int devtype, struct uart_devinfo *di) in uart_cpu_getdev() argument 118 switch (devtype) { in uart_cpu_getdev()
|
/freebsd/sbin/camcontrol/ |
H A D | fwdownload.c | 283 camcontrol_devtype devtype, 290 camcontrol_devtype devtype); 660 fw_check_device_ready(struct cam_device *dev, camcontrol_devtype devtype, in fw_check_device_ready() argument 674 if (devtype != CC_DT_SCSI) { in fw_check_device_ready() 686 switch (devtype) { in fw_check_device_ready() 717 /*devtype*/ devtype); in fw_check_device_ready() 727 warnx("Unknown disk type %d", devtype); in fw_check_device_ready() 737 warn("error sending %s CCB", (devtype == CC_DT_SCSI) ? in fw_check_device_ready() 827 camcontrol_devtype devtype) in fw_download_img() argument 845 retval = fw_check_device_ready(cam_dev, devtype, vp, printerrors, in fw_download_img() [all …]
|
H A D | epc.c | 129 static int epc_list(struct cam_device *device, camcontrol_devtype devtype, 133 static int epc_getmode(struct cam_device *device, camcontrol_devtype devtype, 137 camcontrol_devtype devtype, union ccb *ccb, 189 epc_list(struct cam_device *device, camcontrol_devtype devtype, union ccb *ccb, 224 /*devtype*/ devtype); in epc_list() 270 epc_getmode(struct cam_device *device, camcontrol_devtype devtype, 334 /*devtype*/ devtype); in epc_getmode() 411 /*devtype*/ devtyp in epc_getmode() 190 epc_list(struct cam_device * device,camcontrol_devtype devtype,union ccb * ccb,int retry_count,int timeout) epc_list() argument 271 epc_getmode(struct cam_device * device,camcontrol_devtype devtype,union ccb * ccb,int retry_count,int timeout,int power_only) epc_getmode() argument 521 epc_set_features(struct cam_device * device,camcontrol_devtype devtype,union ccb * ccb,int retry_count,int timeout,int action,int power_cond,int timer,int enable,int save,int delayed_entry,int hold,int power_src,int restore_src) epc_set_features() argument 617 camcontrol_devtype devtype; epc() local [all...] |
H A D | zone.c | 329 camcontrol_devtype devtype; in zone() 433 /*printerrors*/ 1, &devtype); in zone() 446 switch (devtype) { in zone() 513 /*devtype*/ devtype); in zone() 526 warnx("%s: Unknown device type %d", __func__,devtype); in zone() 539 switch (devtype) { in zone() 605 /*devtype*/ devtype); in zone() 615 warnx("%s: Unknown device type %d", __func__,devtype); in zone() 330 camcontrol_devtype devtype; zone() local [all...] |
H A D | camcontrol.h | 67 int verbosemode, camcontrol_devtype *devtype); 74 int is48bit, camcontrol_devtype devtype);
|
/freebsd/sys/powerpc/ps3/ |
H A D | ps3bus.c | 82 uint64_t devtype; member 246 dinfo->bustype, dinfo->devtype, result); in ps3bus_resources_init() 317 dinfo->bustype, dinfo->devtype, result); in ps3bus_resources_init_by_type() 334 uint64_t dev, devtype; in ps3bus_attach() local 377 lv1_repository_string("type"), 0, &devtype, &junk); in ps3bus_attach() 390 switch (devtype) { in ps3bus_attach() 404 dinfo->devtype = devtype; in ps3bus_attach() 430 dinfo->devtype = devtype; in ps3bus_attach() [all...] |
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_parse.c | 41 char devtype[WPS_DEV_TYPE_BUFSIZE]; in p2p_parse_attribute() local 201 wps_dev_type_bin2str(msg->pri_dev_type, devtype, in p2p_parse_attribute() 202 sizeof(devtype)), in p2p_parse_attribute() 499 char devtype[WPS_DEV_TYPE_BUFSIZE]; in p2p_parse_wps_ie() local 502 wps_dev_type_bin2str(msg->wps_pri_dev_type, devtype, in p2p_parse_wps_ie() 503 sizeof(devtype))); in p2p_parse_wps_ie() 741 char devtype[WPS_DEV_TYPE_BUFSIZE]; in p2p_group_info_text() local 759 devtype, in p2p_group_info_text() 760 sizeof(devtype))); in p2p_group_info_text() 769 devtype, sizeof(devtype))); in p2p_group_info_text() [all …]
|
/freebsd/sys/dev/scc/ |
H A D | scc_bfe_quicc.c | 49 uintptr_t devtype, rclk; in scc_quicc_probe() local 54 error = BUS_READ_IVAR(parent, dev, QUICC_IVAR_DEVTYPE, &devtype); in scc_quicc_probe() 57 if (devtype != QUICC_DEVTYPE_SCC) in scc_quicc_probe()
|
/freebsd/tests/sys/cddl/zfs/tests/devices/ |
H A D | devices_common.kshlib | 42 devtype=$($DF -T / | $AWK '{print $2}') 43 case $devtype in 72 "for / ($devtype)," \
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | finger | 12 >5 belong x \b, devtype %x 16 >5 belong x \b, devtype %x
|
/freebsd/sys/security/audit/ |
H A D | audit_trigger.c | 63 audit_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in audit_open() argument 80 audit_close(struct cdev *dev, int fflag, int devtype, struct thread *td) in audit_close() argument
|
/freebsd/sys/dev/cardbus/ |
H A D | cardbus_device.c | 134 cardbus_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in cardbus_open() argument 141 cardbus_close(struct cdev *dev, int fflags, int devtype, struct thread *td) in cardbus_close() argument
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_helper.c | 275 } else if (device->devtype == RAID_DEVICE) { in pqisrc_display_device_info() 289 } else if (device->devtype == CONTROLLER_DEVICE) { in pqisrc_display_device_info() 317 device->devtype); in pqisrc_display_device_info()
|
/freebsd/tools/test/stress2/misc/ |
H A D | fpclone.sh | 115 fpclone_open(struct cdev *dev, int oflags, int devtype, struct thread *td) 129 fpclone_close(struct cdev *dev, int fflag, int devtype, struct thread *td)
|
/freebsd/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/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_retire.c | 404 const char *devtype; in zfs_retire_recv() local 408 &devtype) == 0) { in zfs_retire_recv() 409 if (strcmp(devtype, VDEV_TYPE_SPARE) == 0) in zfs_retire_recv() 411 else if (strcmp(devtype, VDEV_TYPE_L2CACHE) == 0) in zfs_retire_recv()
|
H A D | zfs_agents.c | 213 device_type_t devtype = DEVICE_TYPE_PRIMARY; in zfs_agent_post_event() local 247 devtype = search.gs_vdev_type; in zfs_agent_post_event() 270 switch (devtype) { in zfs_agent_post_event()
|
/freebsd/sys/dev/virtio/ |
H A D | virtio.h | 77 #define VIRTIO_SIMPLE_PNPINFO(driver, devtype, desc) \ argument 79 .device_type = devtype, \
|