Searched refs:platdev (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_lpe_audio.c | 79 #define HAS_LPE_AUDIO(display) ((display)->audio.lpe.platdev) 87 struct platform_device *platdev; in lpe_audio_platdev_create() local 128 platdev = platform_device_register_full(&pinfo); in lpe_audio_platdev_create() 132 if (IS_ERR(platdev)) { in lpe_audio_platdev_create() 135 return platdev; in lpe_audio_platdev_create() 138 pm_runtime_no_callbacks(&platdev->dev); in lpe_audio_platdev_create() 140 return platdev; in lpe_audio_platdev_create() 153 platform_device_unregister(display->audio.lpe.platdev); in lpe_audio_platdev_destroy() 226 display->audio.lpe.platdev = lpe_audio_platdev_create(display); in lpe_audio_setup() 228 if (IS_ERR(display->audio.lpe.platdev)) { in lpe_audio_setup() [all …]
|
| /linux/arch/arm/mach-s3c/ |
| H A D | init.c | 88 struct platform_device *platdev; in s3c24xx_init_uartdevs() local 96 platdev = s3c24xx_uart_src[cfgptr->hwport]; in s3c24xx_init_uartdevs() 100 s3c24xx_uart_devs[uart] = platdev; in s3c24xx_init_uartdevs() 102 platdev->name = name; in s3c24xx_init_uartdevs() 103 platdev->resource = resp->resources; in s3c24xx_init_uartdevs() 104 platdev->num_resources = resp->nr_resources; in s3c24xx_init_uartdevs() 106 platdev->dev.platform_data = cfgptr; in s3c24xx_init_uartdevs()
|
| /linux/drivers/video/fbdev/via/ |
| H A D | via-core.c | 496 struct platform_device *platdev; member 517 info->platdev = platform_device_alloc(info->name, -1); in via_create_subdev() 518 if (!info->platdev) { in via_create_subdev() 523 info->platdev->dev.parent = &vdev->pdev->dev; in via_create_subdev() 524 info->platdev->dev.platform_data = vdev; in via_create_subdev() 525 ret = platform_device_add(info->platdev); in via_create_subdev() 529 platform_device_put(info->platdev); in via_create_subdev() 530 info->platdev = NULL; in via_create_subdev() 554 if (viafb_subdevs[i].platdev) { in via_teardown_subdevs() 555 viafb_subdevs[i].platdev->dev.platform_data = NULL; in via_teardown_subdevs() [all …]
|
| H A D | via-gpio.c | 204 static int viafb_gpio_probe(struct platform_device *platdev) in viafb_gpio_probe() argument 206 struct viafb_dev *vdev = platdev->dev.platform_data; in viafb_gpio_probe() 264 static void viafb_gpio_remove(struct platform_device *platdev) in viafb_gpio_remove() argument
|
| H A D | via_i2c.c | 220 static int viafb_i2c_probe(struct platform_device *platdev) in viafb_i2c_probe() argument 225 i2c_vdev = platdev->dev.platform_data; in viafb_i2c_probe() 249 static void viafb_i2c_remove(struct platform_device *platdev) in viafb_i2c_remove() argument
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-platform.c | 103 phy_pdev = pdata->platdev; in xgbe_of_get_phy_pdev() 142 phy_pdev = pdata->platdev; in xgbe_get_phy_pdev() 167 pdata->platdev = pdev; in xgbe_platform_probe() 327 ret = platform_get_irq(pdata->platdev, dma_irqnum++); in xgbe_platform_probe()
|
| H A D | xgbe.h | 978 struct platform_device *platdev; member
|
| /linux/drivers/media/platform/via/ |
| H A D | via-camera.c | 64 struct platform_device *platdev; member 134 dev_err(&(cam)->platdev->dev, fmt, ##arg) 136 dev_warn(&(cam)->platdev->dev, fmt, ##arg) 138 dev_dbg(&(cam)->platdev->dev, fmt, ##arg) 182 struct device *dev = &cam->platdev->dev; in via_sensor_power_setup() 1171 cam->platdev = pdev; in viacam_probe()
|
| /linux/drivers/tty/serial/ |
| H A D | samsung_tty.c | 1819 struct platform_device *platdev) in s3c24xx_serial_init_port() argument 1826 if (platdev == NULL) in s3c24xx_serial_init_port() 1833 port->dev = &platdev->dev; in s3c24xx_serial_init_port() 1844 res = platform_get_resource(platdev, IORESOURCE_MEM, 0); in s3c24xx_serial_init_port() 1859 ret = platform_get_irq(platdev, 0); in s3c24xx_serial_init_port() 1872 if (platdev->dev.of_node && of_find_property(platdev->dev.of_node, in s3c24xx_serial_init_port() 1883 ourport->clk = clk_get(&platdev->dev, "uart"); in s3c24xx_serial_init_port() 1886 dev_name(&platdev->dev)); in s3c24xx_serial_init_port()
|
| /linux/drivers/cpufreq/ |
| H A D | Makefile | 19 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
|
| H A D | Kconfig | 247 bool "Generic DT based cpufreq platdev driver" 250 This adds a generic DT based cpufreq platdev driver for frequency
|
| /linux/Documentation/networking/device_drivers/can/ctu/ |
| H A D | ctucanfd-driver.rst | 104 .. _sec:socketcan:platdev:
|