Home
last modified time | relevance | path

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

12

/drivers/acpi/
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
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()
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()
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()
Dacpi_pad.c424 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_pad_notify()
Dbutton.c455 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_button_notify()
Dbattery.c1065 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_battery_notify()
Dscan.c1390 strcpy(pnp->device_class, ACPI_BUS_CLASS); in acpi_set_pnp_ids()
/drivers/vfio/
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()
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()
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
/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dacpi.c36 if (!strcmp(info->device_class, "ac_adapter")) in nvkm_acpi_ntfy()
/drivers/gpu/drm/radeon/
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()
/drivers/platform/x86/
Dtoshiba_haps.c136 acpi_bus_generate_netlink_event(device->pnp.device_class, in toshiba_haps_notify()
Deeepc-laptop.c1216 acpi_bus_generate_netlink_event(device->pnp.device_class, in eeepc_acpi_notify()
Dwmi.c1430 wblock->acpi_device->pnp.device_class, in acpi_wmi_notify_handler()
Dtoshiba_acpi.c2510 acpi_bus_generate_netlink_event(toshiba_acpi->acpi_dev->pnp.device_class, in toshiba_acpi_kbd_bl_work()
3555 acpi_bus_generate_netlink_event(acpi_dev->pnp.device_class, in toshiba_acpi_notify()
Dasus-laptop.c1525 acpi_bus_generate_netlink_event(asus->device->pnp.device_class, in asus_acpi_notify()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c451 event->device_class, event->type); in amdgpu_atif_handler()
453 if (strcmp(event->device_class, ACPI_VIDEO_CLASS) != 0) in amdgpu_atif_handler()
1199 if (strcmp(entry->device_class, ACPI_AC_CLASS) == 0) { in amdgpu_acpi_event()
/drivers/gpu/drm/i915/gvt/
Dopregion.c71 u16 device_class; member
/drivers/pci/hotplug/
Dacpiphp_ibm.c261 acpi_bus_generate_netlink_event(note->device->pnp.device_class, in ibm_handle_events()
/drivers/gpu/drm/nouveau/
Dnouveau_display.c552 if (!strcmp(info->device_class, ACPI_VIDEO_CLASS)) { in nouveau_display_acpi_ntfy()
/drivers/gpu/drm/i915/display/
Dintel_opregion.c660 if (strcmp(event->device_class, ACPI_VIDEO_CLASS) != 0) in intel_opregion_video_event()
/drivers/ufs/core/
Dufs-sysfs.c696 UFS_DEVICE_DESC_PARAM(device_class, _DEVICE_CLASS, 1);
/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.h345 u8 device_class; member

12