Searched defs:platform_device (Results 1 - 10 of 10) sorted by relevance

/drivers/gpu/drm/
H A Ddrm_platform.c42 static int drm_get_platform_dev(struct platform_device *platdev,
92 * @platform_device: platform device to register
100 int drm_platform_init(struct drm_driver *driver, struct platform_device *platform_device) argument
104 return drm_get_platform_dev(platform_device, driver);
/drivers/platform/x86/
H A Dasus-wmi.h30 #include <linux/platform_device.h>
74 int (*probe) (struct platform_device *device);
78 struct platform_device *platform_device; member in struct:asus_wmi_driver
H A Dalienware-wmi.c22 #include <linux/platform_device.h>
152 static struct platform_device *platform_device; variable in typeref:struct:platform_device
364 static int alienware_zone_init(struct platform_device *dev)
425 static void alienware_zone_exit(struct platform_device *dev)
555 static void remove_hdmi(struct platform_device *dev)
561 static int create_hdmi(struct platform_device *dev)
595 platform_device = platform_device_alloc("alienware-wmi", -1);
596 if (!platform_device) {
600 ret = platform_device_add(platform_device);
[all...]
H A Ddell-laptop.c19 #include <linux/platform_device.h>
91 static struct platform_device *platform_device; variable in typeref:struct:platform_device
622 wifi_rfkill = rfkill_alloc("dell-wifi", &platform_device->dev,
636 &platform_device->dev,
650 &platform_device->dev,
815 platform_device = platform_device_alloc("dell-laptop", -1);
816 if (!platform_device) {
820 ret = platform_device_add(platform_device);
843 touchpad_led_init(&platform_device
[all...]
H A Dideapad-laptop.c31 #include <linux/platform_device.h>
85 struct platform_device *platform_device; member in struct:ideapad_private
507 &priv->platform_device->dev,
544 return sysfs_create_group(&priv->platform_device->dev.kobj,
550 sysfs_remove_group(&priv->platform_device->dev.kobj,
583 inputdev->dev.parent = &priv->platform_device->dev;
713 &priv->platform_device->dev,
850 static int ideapad_acpi_add(struct platform_device *pdev)
871 priv->platform_device
[all...]
H A Deeepc-laptop.c25 #include <linux/platform_device.h>
166 struct platform_device *platform_device; member in struct:eeepc_laptop
454 eeepc->platform_device = platform_device_alloc(EEEPC_LAPTOP_FILE, -1);
455 if (!eeepc->platform_device)
457 platform_set_drvdata(eeepc->platform_device, eeepc);
459 result = platform_device_add(eeepc->platform_device);
463 result = sysfs_create_group(&eeepc->platform_device->dev.kobj,
470 platform_device_del(eeepc->platform_device);
472 platform_device_put(eeepc->platform_device);
[all...]
H A Dsamsung-laptop.c23 #include <linux/platform_device.h>
330 struct platform_device *platform_device; member in struct:samsung_laptop
885 *rfkill = rfkill_alloc(name, &samsung->platform_device->dev,
1067 ret = led_classdev_register(&samsung->platform_device->dev,
1099 &samsung->platform_device->dev,
1117 struct platform_device *pdev = to_platform_device(dev);
1138 struct platform_device *device = samsung->platform_device;
1145 struct platform_device *devic
[all...]
H A Dasus-laptop.c48 #include <linux/platform_device.h>
255 struct platform_device *platform_device; member in struct:asus_laptop
526 ipd->input->dev.parent = &asus->platform_device->dev;
696 return led_classdev_register(&asus->platform_device->dev, led_cdev);
757 r = led_classdev_register(&asus->platform_device->dev, cdev);
829 &asus->platform_device->dev, asus,
1364 rfk->rfkill = rfkill_alloc(name, &asus->platform_device->dev,
1502 input->dev.parent = &asus->platform_device->dev;
1606 struct platform_device *pde
[all...]
H A Dasus-wmi.c46 #include <linux/platform_device.h>
187 struct platform_device *platform_device; member in struct:asus_wmi
229 asus->inputdev->dev.parent = &asus->platform_device->dev;
538 rv = led_classdev_register(&asus->platform_device->dev,
552 rv = led_classdev_register(&asus->platform_device->dev,
569 rv = led_classdev_register(&asus->platform_device->dev,
878 *rfkill = rfkill_alloc(name, &asus->platform_device->dev, type,
881 *rfkill = rfkill_alloc(name, &asus->platform_device->dev, type,
1085 struct platform_device *pde
1932 struct platform_device *platform_device; local
[all...]
/drivers/watchdog/
H A Dxen_wdt.c27 #include <linux/platform_device.h>
35 static struct platform_device *platform_device; variable in typeref:struct:platform_device
247 static int xen_wdt_probe(struct platform_device *dev)
283 static int xen_wdt_remove(struct platform_device *dev)
294 static void xen_wdt_shutdown(struct platform_device *dev)
299 static int xen_wdt_suspend(struct platform_device *dev, pm_message_t state)
308 static int xen_wdt_resume(struct platform_device *dev)
341 platform_device = platform_device_register_simple(DRV_NAME,
343 if (IS_ERR(platform_device)) {
[all...]

Completed in 110 milliseconds