Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/sys/arch/hppa/stand/common/
H A Ddev_hppa.c52 int dev_type; member
88 if (dp >= &pdc_devs[NENTS(pdc_devs)] || dp->dev_type < 0) in devopen()
90 bdev = dp->dev_type; in devopen()
119 if ((rc = (*devsw[dp->dev_type].dv_open)(f, file)) == 0) { in devopen()
120 f->f_dev = &devsw[dp->dev_type]; in devopen()
128 f->f_dev = &devsw[dp->dev_type]; in devopen()
/netbsd-src/sys/arch/arc/arc/
H A Dautoconf.c111 const char *dev_type; member
192 bd.dev_type = dp->dev; in makebootdev()
198 bd.dev_type = "sd"; in makebootdev()
267 if (strcmp(b->dev_type, "sd") == 0) in device_register()
283 if (!device_is_a(dev, b->dev_type)) in device_register()
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dofw_machdep.c772 char dev_type[16]; in find_pci_host_node() local
778 &dev_type, sizeof(dev_type)); in find_pci_host_node()
781 if (!strcmp(dev_type, "pci") || in find_pci_host_node()
782 !strcmp(dev_type, "pciex")) in find_pci_host_node()
807 char dev_type[32]; in OF_mapintr() local
864 if (((len = OF_getprop(node, "device_type", &dev_type, in OF_mapintr()
865 sizeof(dev_type))) > 0) && in OF_mapintr()
866 (!strcmp(dev_type, "pci") || in OF_mapintr()
867 !strcmp(dev_type, "pciex")) && in OF_mapintr()
/netbsd-src/external/bsd/wpa/dist/src/wps/
H A Dwps_common.c462 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) in wps_dev_type_str2bin()
467 WPA_PUT_BE16(dev_type, atoi(str)); in wps_dev_type_str2bin()
472 if (hexstr2bin(pos, &dev_type[2], 4)) in wps_dev_type_str2bin()
478 WPA_PUT_BE16(&dev_type[6], atoi(pos)); in wps_dev_type_str2bin()
485 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, in wps_dev_type_bin2str()
491 WPA_GET_BE16(dev_type), WPA_GET_BE32(&dev_type[2]), in wps_dev_type_bin2str()
492 WPA_GET_BE16(&dev_type[6])); in wps_dev_type_bin2str()
/netbsd-src/external/bsd/wpa/dist/wpa_supplicant/dbus/
H A Ddbus_new_handlers_wps.c782 u8 *dev_type; in wpas_dbus_setter_wps_device_device_type() local
794 dbus_message_iter_get_fixed_array(&array_iter, &dev_type, &dev_len); in wpas_dbus_setter_wps_device_device_type()
799 os_memcpy(wpa_s->conf->device_type, dev_type, WPS_DEV_TYPE_LEN); in wpas_dbus_setter_wps_device_device_type()
/netbsd-src/sys/arch/rs6000/rs6000/
H A Dmachdep.c360 printf("BUC type: %d\n", bucinfo[i]->dev_type); in initppc()
/netbsd-src/sys/arch/rs6000/include/
H A Diplcb.h178 int dev_type; /* 1 buc is executable memory member
/netbsd-src/sys/dev/pci/
H A Dips.c793 int dev_type; in ips_attach() local
796 dev_type = idev->params & SID_TYPE; in ips_attach()
797 if (idev->state && dev_type != T_DIRECT) { in ips_attach()
/netbsd-src/sys/dev/pci/ixgbe/
H A Dixgbe_x550.c357 u32 dev_type, u16 *phy_data) in ixgbe_read_phy_reg_mdi_22() argument
360 UNREFERENCED_1PARAMETER(dev_type); in ixgbe_read_phy_reg_mdi_22()
404 u32 dev_type, u16 phy_data) in ixgbe_write_phy_reg_mdi_22() argument
407 UNREFERENCED_1PARAMETER(dev_type); in ixgbe_write_phy_reg_mdi_22()
/netbsd-src/external/bsd/wpa/dist/wpa_supplicant/
H A DREADME-P2P75 [dev_id=<addr>] [dev_type=<device type>] \
93 The optional dev_type option can be used to specify a single device type
95 "p2p_find dev_type=1-0050F204-1".