Home
last modified time | relevance | path

Searched refs:adev (Results 1 – 11 of 11) sorted by relevance

/src/lib/libusb/
H A Dlibusb10_hotplug.c164 struct libusb20_device *adev = _adev->os_priv; in libusb_hotplug_equal() local
167 if (adev->bus_number != bdev->bus_number) in libusb_hotplug_equal()
169 if (adev->device_address != bdev->device_address) in libusb_hotplug_equal()
171 if (memcmp(&adev->ddesc, &bdev->ddesc, sizeof(adev->ddesc))) in libusb_hotplug_equal()
173 if (memcmp(&adev->session_data, &bdev->session_data, sizeof(adev->session_data))) in libusb_hotplug_equal()
223 libusb_device *adev; in libusb_hotplug_scan() local
273 while ((adev = TAILQ_FIRST(&ctx->hotplug_devs)) != NULL) { in libusb_hotplug_scan()
274 TAILQ_REMOVE(&ctx->hotplug_devs, adev, hotplug_entry); in libusb_hotplug_scan()
275 libusb_unref_device(adev); in libusb_hotplug_scan()
293 TAILQ_FOREACH_SAFE(adev, &ctx->hotplug_devs, hotplug_entry, temp) { in libusb_hotplug_scan()
[all …]
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dacpi.c17 struct acpi_device *adev = ACPI_COMPANION(dev); in brcmf_acpi_probe() local
19 if (!adev) in brcmf_acpi_probe()
22 if (!ACPI_FAILURE(acpi_dev_get_property(adev, "module-instance", in brcmf_acpi_probe()
33 status = acpi_evaluate_object(adev->handle, "RWCV", NULL, &buf); in brcmf_acpi_probe()
H A Dbcmsdh.c1013 struct acpi_device *adev; in brcmf_sdiod_acpi_save_power_manageable() local
1015 adev = ACPI_COMPANION(&sdiodev->func1->dev); in brcmf_sdiod_acpi_save_power_manageable()
1016 if (adev) in brcmf_sdiod_acpi_save_power_manageable()
1017 sdiodev->func1_power_manageable = adev->flags.power_manageable; in brcmf_sdiod_acpi_save_power_manageable()
1019 adev = ACPI_COMPANION(&sdiodev->func2->dev); in brcmf_sdiod_acpi_save_power_manageable()
1020 if (adev) in brcmf_sdiod_acpi_save_power_manageable()
1021 sdiodev->func2_power_manageable = adev->flags.power_manageable; in brcmf_sdiod_acpi_save_power_manageable()
1029 struct acpi_device *adev; in brcmf_sdiod_acpi_set_power_manageable() local
1031 adev = ACPI_COMPANION(&sdiodev->func1->dev); in brcmf_sdiod_acpi_set_power_manageable()
1032 if (adev) in brcmf_sdiod_acpi_set_power_manageable()
[all …]
/src/sys/dev/bnxt/bnxt_re/
H A Dmain.c114 void _bnxt_re_remove(struct auxiliary_device *adev);
1076 static int bnxt_re_handle_start(struct auxiliary_device *adev) in bnxt_re_handle_start() argument
1078 struct bnxt_re_en_dev_info *en_info = auxiliary_get_drvdata(adev); in bnxt_re_handle_start()
1093 __func__, adev, en_info->rdev); in bnxt_re_handle_start()
1104 en_info->num_msix_requested, adev); in bnxt_re_handle_start()
1118 rdev->adev = adev; in bnxt_re_handle_start()
1186 NULL, netdev, rdev->adev); in bnxt_re_stop()
1196 bnxt_re_remove_device(rdev, BNXT_RE_PRE_RECOVERY_REMOVE, rdev->adev); in bnxt_re_stop()
1234 bnxt_re_remove_device(rdev, BNXT_RE_COMPLETE_REMOVE, rdev->adev); in bnxt_re_shutdown()
1382 rdev->adev); in bnxt_re_register_netdev()
[all …]
H A Dbnxt_re.h211 struct auxiliary_device *adev; member
509 struct auxiliary_device *adev; member
/src/sys/compat/linuxkpi/common/include/linux/
H A Dacpi.h44 static inline void acpi_dev_put(struct acpi_device *adev) {} in acpi_dev_put() argument
/src/sys/dev/bnxt/bnxt_en/
H A Dbnxt_ulp.c472 struct auxiliary_device *adev; in bnxt_rdma_aux_device_del() local
474 adev = &bnxt_adev->aux_dev; in bnxt_rdma_aux_device_del()
475 auxiliary_device_delete(adev); in bnxt_rdma_aux_device_del()
476 auxiliary_device_uninit(adev); in bnxt_rdma_aux_device_del()
/src/sys/geom/
H A Dgeom_dev.c353 struct cdev *dev, *adev; in g_dev_taste() local
411 error = make_dev_alias_p(MAKEDEV_CHECKNAME | MAKEDEV_WAITOK, &adev, dev, in g_dev_taste()
/src/sys/dev/usb/
H A Dusb_device.c1758 struct usb_device *adev; in usb_alloc_device() local
1856 adev = udev; in usb_alloc_device()
1863 udev->hs_port_no = adev->port_no; in usb_alloc_device()
1866 adev = hub; in usb_alloc_device()
/src/sys/dev/axgbe/
H A Dxgbe.h1014 struct acpi_device *adev; member
/src/sys/dev/acpica/
H A Dacpi.c957 struct acpi_device *adev = device_get_ivars(child); in acpi_print_child() local
958 struct resource_list *rl = &adev->ad_rl; in acpi_print_child()