/openbmc/linux/drivers/acpi/ |
H A D | event.c | 31 strcpy(event.device_class, dev->pnp.device_class); in acpi_notifier_call_chain() 55 acpi_device_class device_class; member 94 int acpi_bus_generate_netlink_event(const char *device_class, in acpi_bus_generate_netlink_event() argument 133 strscpy(event->device_class, device_class, sizeof(event->device_class)); in acpi_bus_generate_netlink_event() 153 int acpi_bus_generate_netlink_event(const char *device_class, in acpi_bus_generate_netlink_event() argument
|
H A D | processor_driver.c | 72 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify() 78 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify() 83 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify()
|
H A D | ac.c | 156 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_ac_notify() 177 if (strcmp(event->device_class, ACPI_BATTERY_CLASS) == 0 && in acpi_ac_battery_notify()
|
H A D | thermal.c | 450 acpi_bus_generate_netlink_event(adev->pnp.device_class, in acpi_thermal_trips_update() 544 acpi_bus_generate_netlink_event(tz->device->pnp.device_class, in acpi_thermal_zone_device_hot() 553 acpi_bus_generate_netlink_event(tz->device->pnp.device_class, in acpi_thermal_zone_device_critical()
|
H A D | acpi_pad.c | 426 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_pad_notify()
|
H A D | button.c | 466 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_button_notify()
|
/openbmc/qemu/rust/qemu-api/tests/ |
H A D | tests.rs | 11 device_class, device_class_init, 60 const PARENT_TYPE_NAME: Option<&'static CStr> = Some(device_class::TYPE_DEVICE); in test_device_decl_macros()
|
/openbmc/linux/drivers/vfio/ |
H A D | vfio_main.c | 47 struct class *device_class; member 258 device->device.class = vfio.device_class; in vfio_init_device() 1659 vfio.device_class = class_create("vfio-dev"); in vfio_init() 1660 if (IS_ERR(vfio.device_class)) { in vfio_init() 1661 ret = PTR_ERR(vfio.device_class); in vfio_init() 1665 ret = vfio_cdev_init(vfio.device_class); in vfio_init() 1673 class_destroy(vfio.device_class); in vfio_init() 1674 vfio.device_class = NULL; in vfio_init() 1686 class_destroy(vfio.device_class); in vfio_cleanup() 1687 vfio.device_class = NULL; in vfio_cleanup()
|
H A D | device_cdev.c | 218 int vfio_cdev_init(struct class *device_class) in vfio_cdev_init() argument 220 device_class->devnode = vfio_device_devnode; in vfio_cdev_init()
|
H A D | vfio.h | 381 int vfio_cdev_init(struct class *device_class); 414 static inline int vfio_cdev_init(struct class *device_class) in vfio_cdev_init() argument
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | acpi.c | 36 if (!strcmp(info->device_class, "ac_adapter")) in nvkm_acpi_ntfy()
|
/openbmc/qemu/rust/qemu-api/ |
H A D | meson.build | 14 'src/device_class.rs',
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_acpi.c | 366 event->device_class, event->type); in radeon_atif_handler() 368 if (strcmp(event->device_class, ACPI_VIDEO_CLASS) != 0) in radeon_atif_handler() 684 if (strcmp(entry->device_class, ACPI_AC_CLASS) == 0) { in radeon_acpi_event()
|
/openbmc/linux/include/acpi/ |
H A D | acpi_bus.h | 246 acpi_device_class device_class; /* " */ member 255 #define acpi_device_class(d) ((d)->pnp.device_class) 506 acpi_device_class device_class; member
|
/openbmc/qemu/rust/qemu-api/src/ |
H A D | lib.rs | 34 pub mod device_class; module
|
/openbmc/linux/drivers/platform/x86/ |
H A D | toshiba_haps.c | 136 acpi_bus_generate_netlink_event(device->pnp.device_class, in toshiba_haps_notify()
|
/openbmc/qemu/rust/hw/char/pl011/src/ |
H A D | device.rs | 15 device_class::TYPE_SYS_BUS_DEVICE, 124 Some(crate::device_class::pl011_class_init);
|
H A D | lib.rs | 48 pub mod device_class; module
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_acpi.c | 460 event->device_class, event->type); in amdgpu_atif_handler() 462 if (strcmp(event->device_class, ACPI_VIDEO_CLASS) != 0) in amdgpu_atif_handler() 1209 if (strcmp(entry->device_class, ACPI_AC_CLASS) == 0) { in amdgpu_acpi_event()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_device_path_to_text.c | 139 ucdp->device_class, ucdp->device_subclass, in dp_msging()
|
H A D | efi_device_path.c | 588 udp->device_class = desc->bDeviceClass; in dp_fill()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | opregion.c | 71 u16 device_class; member
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | acpiphp_ibm.c | 261 acpi_bus_generate_netlink_event(note->device->pnp.device_class, in ibm_handle_events()
|
/openbmc/qemu/hw/usb/ |
H A D | redirect.c | 1523 dev->device_info.device_class, in usbredir_check_filter() 1688 device_connect->device_class); in usbredir_device_connect() 1692 device_connect->device_class); in usbredir_device_connect() 2506 VMSTATE_UINT8(device_class, struct usb_redir_device_connect_header),
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.c | 552 if (!strcmp(info->device_class, ACPI_VIDEO_CLASS)) { in nouveau_display_acpi_ntfy()
|