Home
last modified time | relevance | path

Searched refs:device_class (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/linux/drivers/acpi/
H A Devent.c31 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 Dprocessor_driver.c72 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 Dac.c156 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 Dthermal.c450 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 Dacpi_pad.c426 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_pad_notify()
H A Dbutton.c466 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_button_notify()
/openbmc/qemu/rust/qemu-api/tests/
H A Dtests.rs11 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 Dvfio_main.c47 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 Ddevice_cdev.c218 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 Dvfio.h381 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 Dacpi.c36 if (!strcmp(info->device_class, "ac_adapter")) in nvkm_acpi_ntfy()
/openbmc/qemu/rust/qemu-api/
H A Dmeson.build14 'src/device_class.rs',
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_acpi.c366 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 Dacpi_bus.h246 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 Dlib.rs34 pub mod device_class; module
/openbmc/linux/drivers/platform/x86/
H A Dtoshiba_haps.c136 acpi_bus_generate_netlink_event(device->pnp.device_class, in toshiba_haps_notify()
/openbmc/qemu/rust/hw/char/pl011/src/
H A Ddevice.rs15 device_class::TYPE_SYS_BUS_DEVICE,
124 Some(crate::device_class::pl011_class_init);
H A Dlib.rs48 pub mod device_class; module
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acpi.c460 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 Defi_device_path_to_text.c139 ucdp->device_class, ucdp->device_subclass, in dp_msging()
H A Defi_device_path.c588 udp->device_class = desc->bDeviceClass; in dp_fill()
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dopregion.c71 u16 device_class; member
/openbmc/linux/drivers/pci/hotplug/
H A Dacpiphp_ibm.c261 acpi_bus_generate_netlink_event(note->device->pnp.device_class, in ibm_handle_events()
/openbmc/qemu/hw/usb/
H A Dredirect.c1523 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 Dnouveau_display.c552 if (!strcmp(info->device_class, ACPI_VIDEO_CLASS)) { in nouveau_display_acpi_ntfy()

12