Searched refs:manufacturer (Results 1 - 25 of 75) sorted by relevance

123

/netbsd-current/external/bsd/libfido2/dist/src/
H A Dhid.c129 free(di->manufacturer);
158 const char *path, const char *manufacturer, const char *product,
164 if (path == NULL || manufacturer == NULL || product == NULL ||
171 (manu_copy = strdup(manufacturer)) == NULL ||
179 devlist[i].manufacturer = manu_copy;
215 return (di->manufacturer);
157 fido_dev_info_set(fido_dev_info_t *devlist, size_t i, const char *path, const char *manufacturer, const char *product, const fido_dev_io_t *io, const fido_dev_transport_t *transport) argument
H A Dhid_win.c125 get_manufacturer(HANDLE dev, char **manufacturer) argument
131 *manufacturer = NULL;
144 if ((*manufacturer = malloc((size_t)utf8_len)) == NULL) {
150 *manufacturer, utf8_len, NULL, NULL) != utf8_len) {
158 free(*manufacturer);
159 *manufacturer = NULL;
338 if (get_manufacturer(dev, &di->manufacturer) < 0) {
340 di->manufacturer = strdup("");
348 if (di->manufacturer == NULL || di->product == NULL) {
349 fido_log_debug("%s: manufacturer/produc
[all...]
H A Dhid_osx.c134 get_str(IOHIDDeviceRef dev, char **manufacturer, char **product) argument
139 *manufacturer = NULL;
143 *manufacturer = strdup("");
145 *manufacturer = strdup(buf);
152 if (*manufacturer == NULL || *product == NULL) {
160 free(*manufacturer);
162 *manufacturer = NULL;
229 get_str(dev, &di->manufacturer, &di->product) < 0 ||
232 free(di->manufacturer);
H A Dhid_hidapi.c68 di->manufacturer = wcs_to_cs(d->manufacturer_string);
70 di->manufacturer = strdup("");
78 di->manufacturer == NULL ||
81 free(di->manufacturer);
H A Dhid_freebsd.c87 (di->manufacturer = strdup(UHID_VENDOR)) == NULL ||
94 (di->manufacturer = strdup(udi.udi_vendor)) == NULL ||
108 free(di->manufacturer);
138 (di->manufacturer = strdup(udi.udi_vendor)) == NULL ||
151 free(di->manufacturer);
H A Dnfc_linux.c79 if ((di->manufacturer = get_usb_attr(dev, "manufacturer")) == NULL)
80 di->manufacturer = strdup("");
83 if (di->manufacturer == NULL || di->product == NULL)
102 free(di->manufacturer);
H A Dhid_linux.c164 if ((di->manufacturer = get_usb_attr(dev, "manufacturer")) == NULL)
165 di->manufacturer = strdup("");
168 if (di->path == NULL || di->manufacturer == NULL || di->product == NULL)
180 free(di->manufacturer);
H A Dhid_openbsd.c56 (di->manufacturer = strdup(udi.udi_vendor)) == NULL ||
70 free(di->manufacturer);
H A Dhid_netbsd.c102 (di->manufacturer = strdup(udi.udi_vendor)) == NULL ||
116 free(di->manufacturer);
/netbsd-current/sys/arch/acorn32/include/
H A Dpodulebus_machdep.h59 u_short manufacturer; member in struct:__anon7998
127 #define pa_manufacturer pa_podule->manufacturer
154 int manufacturer, int product, int required_slot);
/netbsd-current/external/bsd/wpa/dist/src/wps/
H A Dwps_dev_attr.c21 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0;
35 wpabuf_put_data(msg, dev->manufacturer, len);
255 os_free(dev->manufacturer);
256 dev->manufacturer = dup_binstr(str, str_len);
257 if (dev->manufacturer == NULL)
364 if (wps_process_manufacturer(dev, attr->manufacturer,
419 os_free(dev->manufacturer);
420 dev->manufacturer = NULL;
H A Dwps_er.h23 char *manufacturer; member in struct:wps_er_sta
47 char *manufacturer; member in struct:wps_er_ap
H A Dwps_attr_parse.h61 const u8 *manufacturer; member in struct:wps_parse_attr
H A Dwps_validate.c304 static int wps_validate_manufacturer(const u8 *manufacturer, size_t len, argument
307 if (manufacturer == NULL) {
315 if (len > 0 && manufacturer[len - 1] == 0) {
317 "attribute value", manufacturer, len);
1150 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len,
1208 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len,
1312 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len,
1367 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len,
1421 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len,
H A Dwps_er.c51 ev->manufacturer = sta->manufacturer;
79 os_free(sta->manufacturer);
139 evap->manufacturer = ap->manufacturer;
161 os_free(ap->manufacturer);
557 ap->manufacturer = xml_get_first_item(data, "manufacturer");
558 wpa_printf(MSG_DEBUG, "WPS ER: manufacturer='%s'", ap->manufacturer);
[all...]
/netbsd-current/crypto/external/cpl/trousers/dist/src/include/linux/
H A Dtpm.h37 extern ssize_t tpm_cap_manufacturer(int *manufacturer);
/netbsd-current/sys/arch/acorn32/podulebus/
H A Dpodulebus.c157 printf("manufacturer=%02x ", podule->manufacturer);
265 /* Do we know this manufacturer ? */
269 podule->manufacturer)
274 printf("man=%04x : ", podule->manufacturer);
370 podule->manufacturer = address[20] + (address[24] << 8);
482 podules[loop].manufacturer = value >> 16;
488 loop, podules[loop].manufacturer,
529 matchpodule(struct podule_attach_args *pa, int manufacturer, int product, int required_slot) argument
534 if (IS_PODULE(pa, manufacturer, produc
[all...]
H A Dnetslot.c120 podule->manufacturer = *address;
121 podule->manufacturer += (*address << 8);
/netbsd-current/sys/dev/sdmmc/
H A Dsdmmc_cis.c250 cis->manufacturer = sdmmc_io_read_1(sf0, reg++);
251 cis->manufacturer |= sdmmc_io_read_1(sf0, reg++) << 8;
305 cis->manufacturer, cis->product);
317 if (sf->cis.manufacturer == SDMMC_VENDOR_SPECTEC &&
H A Dsdmmc.c476 saa.manufacturer = sf->cis.manufacturer;
546 if ((cis->manufacturer != SDMMC_VENDOR_INVALID &&
549 x = !!(cis->manufacturer != SDMMC_VENDOR_INVALID);
553 if (cis->manufacturer != SDMMC_VENDOR_INVALID)
554 printf("manufacturer 0x%x%s",
555 cis->manufacturer, (--x == 0) ? "" : ", ");
691 sf->cis.manufacturer = SDMMC_VENDOR_INVALID;
/netbsd-current/sys/dev/pcmcia/
H A Dpcmciavar.h175 * Use int32_t for manufacturer and product so that they can
179 int32_t manufacturer; member in struct:pcmcia_card
203 int32_t manufacturer; member in struct:pcmcia_cis_quirk
211 int32_t manufacturer; member in struct:pcmcia_attach_args
H A Dpcmcia_cis_quirks.c276 if (card->manufacturer == quirk->manufacturer &&
277 card->manufacturer != PCMCIA_VENDOR_INVALID &&
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/dbus/
H A Ddbus_new_handlers_wps.c518 * wpas_dbus_getter_wps_manufacturer - Get current manufacturer name
532 return wpas_dbus_string_property_getter(iter, wpa_s->conf->manufacturer,
538 * wpas_dbus_setter_wps_manufacturer - Set current manufacturer name
551 char *methods, *manufacturer; local
560 manufacturer = os_strdup(methods);
561 if (!manufacturer)
564 os_free(wpa_s->conf->manufacturer);
565 wpa_s->conf->manufacturer = manufacturer;
/netbsd-current/sys/dev/podulebus/
H A Desp_podule.c97 int manufacturer; member in struct:__anon10836
113 if (pa->pa_manufacturer == devices[i].manufacturer &&
129 if (pa->pa_manufacturer == devices[i].manufacturer &&
133 aprint_error(": lost manufacturer 0x%04x, product 0x%04x\n",
/netbsd-current/sys/arch/evbarm/stand/boot2440/
H A Ddev_sdmmc.h70 int mid; /* manufacturer identification number */
143 uint16_t manufacturer; member in struct:sdmmc_cis

Completed in 620 milliseconds

123