Home
last modified time | relevance | path

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

/dflybsd-src/sys/sys/
H A Ddevfs_rules.h62 u_long dev_type; /* Type of device to which the rule applies */ member
80 u_long dev_type; /* Type of device to which the rule applies */ member
H A Dsoundcard.h755 int dev_type; member
/dflybsd-src/contrib/wpa_supplicant/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()
H A Dwps_dev_attr.c341 const u8 *dev_type) in wps_process_primary_dev_type() argument
347 if (dev_type == NULL) { in wps_process_primary_dev_type()
352 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN); in wps_process_primary_dev_type()
H A Dwps.h911 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]);
912 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
/dflybsd-src/sys/vfs/devfs/
H A Ddevfs_rules.c129 rule->dev_type = templ->dev_type; in devfs_rule_alloc()
298 ( (rule->dev_type == 0) || (!dev_is_good(node->d_dev)) || in devfs_rule_check_apply()
299 (!(dev_dflags(node->d_dev) & rule->dev_type))) ) in devfs_rule_check_apply()
/dflybsd-src/contrib/wpa_supplicant/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()
/dflybsd-src/contrib/grep/lib/
H A Dfts.c677 struct dev_type struct
691 struct dev_type const *ax = x; in dev_type_hash() argument
699 struct dev_type const *ax = x; in dev_type_compare()
700 struct dev_type const *ay = y; in dev_type_compare()
713 struct dev_type *ent; in filesystem_type()
727 struct dev_type tmp; in filesystem_type()
740 struct dev_type *t2 = malloc (sizeof *t2); in filesystem_type()
/dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/
H A Dwps_supplicant.c738 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_ap_add() local
742 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_ap_add()
743 sizeof(dev_type)); in wpa_supplicant_wps_event_er_ap_add()
745 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_ap_add()
749 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
772 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_enrollee_add() local
776 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
777 sizeof(dev_type)); in wpa_supplicant_wps_event_er_enrollee_add()
779 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_enrollee_add()
785 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
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".
H A Dctrl_iface.c5310 u8 dev_type[WPS_DEV_TYPE_LEN], *_dev_type = NULL; in p2p_ctrl_find() local
5338 if (wps_dev_type_str2bin(pos, dev_type) < 0) in p2p_ctrl_find()
5340 _dev_type = dev_type; in p2p_ctrl_find()
/dflybsd-src/sbin/devfsctl/
H A Ddevfsctl.c486 dr->dev_type = id->devtype; in rule_fill()
/dflybsd-src/sys/bus/cam/
H A Dcam_ccb.h677 u_int8_t dev_type; /* Value for dev type field in EDT */ member
/dflybsd-src/contrib/wpa_supplicant/src/p2p/
H A Dp2p_i.h872 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
H A Dp2p.c2115 static int dev_type_match(const u8 *dev_type, const u8 *req_dev_type) in dev_type_match() argument
2117 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0) in dev_type_match()
2119 if (os_memcmp(dev_type, req_dev_type, 2) == 0 && in dev_type_match()
2127 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[], in dev_type_list_match() argument
2132 if (dev_type_match(dev_type, req_dev_type[i])) in dev_type_list_match()
/dflybsd-src/sys/dev/sound/midi/
H A Dsequencer.c1373 midiinfo->dev_type = 0x01; in seq_ioctl()