Home
last modified time | relevance | path

Searched refs:pdesc (Results 1 – 9 of 9) sorted by relevance

/freebsd/usr.sbin/gpioctl/
H A Dgpioctl.c88 struct flag_desc * pdesc = gpio_flags; in cap2str() local
89 while (pdesc->name) { in cap2str()
90 if (pdesc->flag == cap) in cap2str()
91 return pdesc->name; in cap2str()
92 pdesc++; in cap2str()
101 struct flag_desc * pdesc = gpio_flags; in str2cap() local
102 while (pdesc->name) { in str2cap()
103 if (strcasecmp(str, pdesc->name) == 0) in str2cap()
104 return pdesc->flag; in str2cap()
105 pdesc++; in str2cap()
/freebsd/lib/libusb/
H A Dlibusb10_desc.c54 struct LIBUSB20_DEVICE_DESC_DECODED *pdesc; in libusb_get_device_descriptor() local
61 pdesc = libusb20_dev_get_device_desc(pdev); in libusb_get_device_descriptor()
63 desc->bLength = pdesc->bLength; in libusb_get_device_descriptor()
64 desc->bDescriptorType = pdesc->bDescriptorType; in libusb_get_device_descriptor()
65 desc->bcdUSB = pdesc->bcdUSB; in libusb_get_device_descriptor()
66 desc->bDeviceClass = pdesc->bDeviceClass; in libusb_get_device_descriptor()
67 desc->bDeviceSubClass = pdesc->bDeviceSubClass; in libusb_get_device_descriptor()
68 desc->bDeviceProtocol = pdesc->bDeviceProtocol; in libusb_get_device_descriptor()
69 desc->bMaxPacketSize0 = pdesc->bMaxPacketSize0; in libusb_get_device_descriptor()
70 desc->idVendor = pdesc->idVendor; in libusb_get_device_descriptor()
[all …]
H A Dlibusb20_desc.c252 libusb20_desc_foreach(const struct libusb20_me_struct *pdesc, in libusb20_desc_foreach() argument
260 if (pdesc == NULL) in libusb20_desc_foreach()
263 start = (const uint8_t *)pdesc->ptr; in libusb20_desc_foreach()
264 end = LIBUSB20_ADD_BYTES(start, pdesc->len); in libusb20_desc_foreach()
H A Dlibusb10.c592 struct LIBUSB20_DEVICE_DESC_DECODED *pdesc; in libusb_open_device_with_vid_pid() local
610 pdesc = libusb20_dev_get_device_desc(tdev); in libusb_open_device_with_vid_pid()
616 if (pdesc->idVendor == vendor_id && in libusb_open_device_with_vid_pid()
617 pdesc->idProduct == product_id) { in libusb_open_device_with_vid_pid()
H A Dlibusb20_desc.h593 const uint8_t *libusb20_desc_foreach(const struct libusb20_me_struct *pdesc, const uint8_t *psubdes…
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_sugar.c446 dt_node_t *acts, *pdesc; in dt_sugar_makeerrorclause() local
448 pdesc = dt_node_pdesc_by_name(strdup("dtrace:::ERROR")); in dt_sugar_makeerrorclause()
453 return (dt_node_clause(pdesc, NULL, acts)); in dt_sugar_makeerrorclause()
/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c216 dtrace_bufdesc_t **pdesc = (dtrace_bufdesc_t **) addr; in dtrace_ioctl() local
223 if (copyin((void *) *pdesc, &desc, sizeof (desc)) != 0) in dtrace_ioctl()
265 if (copyout(&desc, (void *) *pdesc, sz) != 0) in dtrace_ioctl()
293 if (copyout(&desc, (void *) *pdesc, sizeof (desc)) != 0) in dtrace_ioctl()
353 if (copyout(&desc, (void *) *pdesc, sizeof (desc)) != 0) in dtrace_ioctl()
/freebsd/sys/dev/sound/pci/hda/
H A Dhdaa.c6576 const char *pdesc; in hdaa_probe() local
6580 pdesc = device_get_desc(device_get_parent(dev)); in hdaa_probe()
6582 (int)(strlen(pdesc) - 10), pdesc); in hdaa_probe()
6934 const char *pdesc; in hdaa_pcm_probe() local
6979 pdesc = device_get_desc(device_get_parent(dev)); in hdaa_pcm_probe()
6981 (int)(strlen(pdesc) - 21), pdesc, in hdaa_pcm_probe()
/freebsd/sys/dev/usb/wlan/
H A Dif_uath.c2477 struct uath_rx_desc **pdesc) in uath_data_rxeof() argument
2617 *pdesc = desc; in uath_data_rxeof()