Searched refs:platdev (Results 1 – 8 of 8) sorted by relevance
/drivers/video/fbdev/via/ |
D | via-core.c | 537 struct platform_device *platdev; member 558 info->platdev = platform_device_alloc(info->name, -1); in via_create_subdev() 559 if (!info->platdev) { in via_create_subdev() 564 info->platdev->dev.parent = &vdev->pdev->dev; in via_create_subdev() 565 info->platdev->dev.platform_data = vdev; in via_create_subdev() 566 ret = platform_device_add(info->platdev); in via_create_subdev() 570 platform_device_put(info->platdev); in via_create_subdev() 571 info->platdev = NULL; in via_create_subdev() 595 if (viafb_subdevs[i].platdev) { in via_teardown_subdevs() 596 viafb_subdevs[i].platdev->dev.platform_data = NULL; in via_teardown_subdevs() [all …]
|
D | via-gpio.c | 209 static int viafb_gpio_probe(struct platform_device *platdev) in viafb_gpio_probe() argument 211 struct viafb_dev *vdev = platdev->dev.platform_data; in viafb_gpio_probe() 265 static int viafb_gpio_remove(struct platform_device *platdev) in viafb_gpio_remove() argument
|
D | via_i2c.c | 234 static int viafb_i2c_probe(struct platform_device *platdev) in viafb_i2c_probe() argument 239 i2c_vdev = platdev->dev.platform_data; in viafb_i2c_probe() 263 static int viafb_i2c_remove(struct platform_device *platdev) in viafb_i2c_remove() argument
|
/drivers/gpu/drm/ |
D | drm_platform.c | 42 static int drm_get_platform_dev(struct platform_device *platdev, in drm_get_platform_dev() argument 50 dev = drm_dev_alloc(driver, &platdev->dev); in drm_get_platform_dev() 54 dev->platformdev = platdev; in drm_get_platform_dev()
|
/drivers/media/platform/ |
D | via-camera.c | 62 struct platform_device *platdev; member 130 dev_err(&(cam)->platdev->dev, fmt, ##arg); 132 dev_warn(&(cam)->platdev->dev, fmt, ##arg); 134 dev_dbg(&(cam)->platdev->dev, fmt, ##arg); 185 dev_err(&cam->platdev->dev, "Unable to find GPIO lines\n"); in via_sensor_power_setup() 190 dev_err(&cam->platdev->dev, "Unable to request power GPIO\n"); in via_sensor_power_setup() 195 dev_err(&cam->platdev->dev, "Unable to request reset GPIO\n"); in via_sensor_power_setup() 643 videobuf_dma_unmap(&cam->platdev->dev, videobuf_to_dma(vb)); in viacam_vb_buf_release() 681 &cam->platdev->dev, &cam->viadev->reg_lock, in viacam_open() 1359 cam->platdev = pdev; in viacam_probe()
|
/drivers/tty/serial/ |
D | samsung.c | 1673 struct platform_device *platdev) in s3c24xx_serial_init_port() argument 1680 dbg("s3c24xx_serial_init_port: port=%p, platdev=%p\n", port, platdev); in s3c24xx_serial_init_port() 1682 if (platdev == NULL) in s3c24xx_serial_init_port() 1689 port->dev = &platdev->dev; in s3c24xx_serial_init_port() 1704 res = platform_get_resource(platdev, IORESOURCE_MEM, 0); in s3c24xx_serial_init_port() 1719 ret = platform_get_irq(platdev, 0); in s3c24xx_serial_init_port() 1728 ret = platform_get_irq(platdev, 1); in s3c24xx_serial_init_port() 1735 if (platdev->dev.of_node && of_find_property(platdev->dev.of_node, in s3c24xx_serial_init_port() 1746 ourport->clk = clk_get(&platdev->dev, "uart"); in s3c24xx_serial_init_port() 1749 dev_name(&platdev->dev)); in s3c24xx_serial_init_port()
|
/drivers/cpufreq/ |
D | Makefile | 21 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
|
D | Kconfig | 271 This adds a generic DT based cpufreq platdev driver for frequency
|