| /freebsd-12.1/lib/libusb/ |
| H A D | libusb.h | 464 int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint); 469 int libusb_open(libusb_device * dev, libusb_device_handle ** devh); 471 void libusb_close(libusb_device_handle * devh); 472 libusb_device *libusb_get_device(libusb_device_handle * devh); 473 int libusb_get_configuration(libusb_device_handle * devh, int *config); 474 int libusb_set_configuration(libusb_device_handle * devh, int configuration); 477 int libusb_reset_device(libusb_device_handle * devh); 478 int libusb_check_connected(libusb_device_handle * devh); 479 int libusb_kernel_driver_active(libusb_device_handle * devh, int interface); 483 int libusb_detach_kernel_driver(libusb_device_handle * devh, int interface); [all …]
|
| H A D | libusb10_io.c | 471 if (devh == NULL) in libusb_control_transfer() 503 if (devh != NULL) in libusb10_get_context_by_device_handle() 504 ctx = libusb_get_device(devh)->ctx; in libusb10_get_context_by_device_handle() 539 if (devh == NULL) in libusb10_do_transfer() 549 ctx = libusb_get_device(devh)->ctx; in libusb10_do_transfer() 551 xfer->dev_handle = devh; in libusb10_do_transfer() 723 libusb_device_handle *devh, uint8_t *buf, in libusb_fill_control_transfer() argument 729 transfer->dev_handle = devh; in libusb_fill_control_transfer() 750 transfer->dev_handle = devh; in libusb_fill_bulk_transfer() 766 transfer->dev_handle = devh; in libusb_fill_interrupt_transfer() [all …]
|
| H A D | libusb10.c | 496 libusb_open(libusb_device *dev, libusb_device_handle **devh) in libusb_open() argument 502 if (devh == NULL) in libusb_open() 506 *devh = NULL; in libusb_open() 523 *devh = pdev; in libusb_open() 1493 struct libusb_device_handle *devh; in libusb_cancel_transfer() local 1501 if ((devh = uxfer->dev_handle) == NULL) in libusb_cancel_transfer() 1506 dev = libusb_get_device(devh); in libusb_cancel_transfer() 1517 pxfer0 = libusb10_get_transfer(devh, endpoint, 0); in libusb_cancel_transfer() 1518 pxfer1 = libusb10_get_transfer(devh, endpoint, 1); in libusb_cancel_transfer() 1546 libusb10_submit_transfer_sub(devh, endpoint); in libusb_cancel_transfer() [all …]
|
| H A D | libusb10_desc.c | 343 libusb_get_descriptor(libusb_device_handle * devh, uint8_t desc_type, in libusb_get_descriptor() argument 346 if (devh == NULL || data == NULL || length < 1) in libusb_get_descriptor() 352 return (libusb_control_transfer(devh, LIBUSB_ENDPOINT_IN, in libusb_get_descriptor()
|
| /freebsd-12.1/sys/dev/ipmi/ |
| H A D | ipmi_acpi.c | 80 ACPI_HANDLE devh; in ipmi_acpi_attach() local 88 devh = acpi_get_handle(dev); in ipmi_acpi_attach() 89 if (ACPI_FAILURE(acpi_GetInteger(devh, "_IFT", &interface_type))) in ipmi_acpi_attach() 92 if (ACPI_FAILURE(acpi_GetInteger(devh, "_SRV", &interface_version))) in ipmi_acpi_attach() 108 if (ACPI_FAILURE(acpi_GetInteger(devh, "_ADR", &flags))) in ipmi_acpi_attach() 169 if (ACPI_SUCCESS(AcpiEvaluateObject(devh, "_GPE", NULL, NULL))) in ipmi_acpi_attach()
|
| /freebsd-12.1/stand/powerpc/boot1.chrp/ |
| H A D | boot1.c | 247 ofw_close(ofwh_t devh) in ofw_close() argument 253 (u_ofwh_t)devh in ofw_close() 257 printf("ofw_close: devh=0x%x\n", devh); in ofw_close() 286 ofw_read(ofwh_t devh, void *buf, size_t len) in ofw_read() argument 292 (u_ofwh_t)devh, in ofw_read() 299 printf("ofw_read: devh=0x%x buf=%p len=%u\n", devh, buf, len); in ofw_read() 306 ofw_write(ofwh_t devh, const void *buf, size_t len) in ofw_write() argument 312 (u_ofwh_t)devh, in ofw_write() 326 ofw_seek(ofwh_t devh, uint64_t off) in ofw_seek() argument 332 (u_ofwh_t)devh, in ofw_seek() [all …]
|
| /freebsd-12.1/stand/sparc64/boot1/ |
| H A D | boot1.c | 197 ofw_close(ofwh_t devh) in ofw_close() argument 203 (u_ofwh_t)devh in ofw_close() 207 printf("ofw_close: devh=0x%x\n", devh); in ofw_close() 214 ofw_read(ofwh_t devh, void *buf, size_t len) in ofw_read() argument 220 (u_ofwh_t)devh, in ofw_read() 227 printf("ofw_read: devh=0x%x buf=%p len=%u\n", devh, buf, len); in ofw_read() 234 ofw_write(ofwh_t devh, const void *buf, size_t len) in ofw_write() argument 240 (u_ofwh_t)devh, in ofw_write() 254 ofw_seek(ofwh_t devh, uint64_t off) in ofw_seek() argument 260 (u_ofwh_t)devh, in ofw_seek() [all …]
|
| /freebsd-12.1/sys/dev/drm2/i915/ |
| H A D | intel_opregion.c | 342 static int acpi_is_video_device(ACPI_HANDLE devh) { in acpi_is_video_device() argument 344 if (ACPI_FAILURE(AcpiGetHandle(devh, "_DOD", &h)) || in acpi_is_video_device() 345 ACPI_FAILURE(AcpiGetHandle(devh, "_DOS", &h))) { in acpi_is_video_device()
|
| /freebsd-12.1/sys/dev/acpica/ |
| H A D | acpi_video.c | 227 ACPI_HANDLE devh, h; in acpi_video_probe() local 230 devh = acpi_get_handle(dev); in acpi_video_probe() 232 ACPI_FAILURE(AcpiGetHandle(devh, "_DOD", &h)) || in acpi_video_probe() 233 ACPI_FAILURE(AcpiGetHandle(devh, "_DOS", &h)) || in acpi_video_probe()
|