Home
last modified time | relevance | path

Searched refs:platdev (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_lpe_audio.c76 #define HAS_LPE_AUDIO(dev_priv) ((dev_priv)->lpe_audio.platdev != NULL)
84 struct platform_device *platdev; in lpe_audio_platdev_create() local
124 platdev = platform_device_register_full(&pinfo); in lpe_audio_platdev_create()
128 if (IS_ERR(platdev)) { in lpe_audio_platdev_create()
130 return platdev; in lpe_audio_platdev_create()
133 pm_runtime_no_callbacks(&platdev->dev); in lpe_audio_platdev_create()
135 return platdev; in lpe_audio_platdev_create()
148 platform_device_unregister(dev_priv->lpe_audio.platdev); in lpe_audio_platdev_destroy()
221 dev_priv->lpe_audio.platdev = lpe_audio_platdev_create(dev_priv); in lpe_audio_setup()
223 if (IS_ERR(dev_priv->lpe_audio.platdev)) { in lpe_audio_setup()
[all …]
Dintel_audio.c1155 if ((dev_priv)->lpe_audio.platdev != NULL) in intel_audio_deinit()
/Linux-v5.4/arch/arm/plat-samsung/
Dinit.c109 struct platform_device *platdev; in s3c24xx_init_uartdevs() local
117 platdev = s3c24xx_uart_src[cfgptr->hwport]; in s3c24xx_init_uartdevs()
121 s3c24xx_uart_devs[uart] = platdev; in s3c24xx_init_uartdevs()
123 platdev->name = name; in s3c24xx_init_uartdevs()
124 platdev->resource = resp->resources; in s3c24xx_init_uartdevs()
125 platdev->num_resources = resp->nr_resources; in s3c24xx_init_uartdevs()
127 platdev->dev.platform_data = cfgptr; in s3c24xx_init_uartdevs()
/Linux-v5.4/drivers/video/fbdev/via/
Dvia-core.c494 struct platform_device *platdev; member
515 info->platdev = platform_device_alloc(info->name, -1); in via_create_subdev()
516 if (!info->platdev) { in via_create_subdev()
521 info->platdev->dev.parent = &vdev->pdev->dev; in via_create_subdev()
522 info->platdev->dev.platform_data = vdev; in via_create_subdev()
523 ret = platform_device_add(info->platdev); in via_create_subdev()
527 platform_device_put(info->platdev); in via_create_subdev()
528 info->platdev = NULL; in via_create_subdev()
552 if (viafb_subdevs[i].platdev) { in via_teardown_subdevs()
553 viafb_subdevs[i].platdev->dev.platform_data = NULL; in via_teardown_subdevs()
[all …]
Dvia-gpio.c209 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
Dvia_i2c.c220 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 int viafb_i2c_remove(struct platform_device *platdev) in viafb_i2c_remove() argument
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-platform.c241 phy_pdev = pdata->platdev; in xgbe_of_get_phy_pdev()
285 phy_pdev = pdata->platdev; in xgbe_get_phy_pdev()
316 pdata->platdev = pdev; in xgbe_platform_probe()
476 ret = platform_get_irq(pdata->platdev, dma_irqnum++); in xgbe_platform_probe()
Dxgbe.h1027 struct platform_device *platdev; member
/Linux-v5.4/drivers/media/platform/
Dvia-camera.c65 struct platform_device *platdev; member
135 dev_err(&(cam)->platdev->dev, fmt, ##arg);
137 dev_warn(&(cam)->platdev->dev, fmt, ##arg);
139 dev_dbg(&(cam)->platdev->dev, fmt, ##arg);
188 dev_err(&cam->platdev->dev, "Unable to find GPIO lines\n"); in via_sensor_power_setup()
193 dev_err(&cam->platdev->dev, "Unable to request power GPIO\n"); in via_sensor_power_setup()
198 dev_err(&cam->platdev->dev, "Unable to request reset GPIO\n"); in via_sensor_power_setup()
1181 cam->platdev = pdev; in viacam_probe()
/Linux-v5.4/drivers/tty/serial/
Dsamsung.c1739 struct platform_device *platdev) in s3c24xx_serial_init_port() argument
1746 dbg("s3c24xx_serial_init_port: port=%p, platdev=%p\n", port, platdev); in s3c24xx_serial_init_port()
1748 if (platdev == NULL) in s3c24xx_serial_init_port()
1755 port->dev = &platdev->dev; in s3c24xx_serial_init_port()
1770 res = platform_get_resource(platdev, IORESOURCE_MEM, 0); in s3c24xx_serial_init_port()
1785 ret = platform_get_irq(platdev, 0); in s3c24xx_serial_init_port()
1794 ret = platform_get_irq(platdev, 1); in s3c24xx_serial_init_port()
1801 if (platdev->dev.of_node && of_find_property(platdev->dev.of_node, in s3c24xx_serial_init_port()
1812 ourport->clk = clk_get(&platdev->dev, "uart"); in s3c24xx_serial_init_port()
1815 dev_name(&platdev->dev)); in s3c24xx_serial_init_port()
/Linux-v5.4/drivers/cpufreq/
DMakefile18 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
DKconfig219 This adds a generic DT based cpufreq platdev driver for frequency
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_drv.h1748 struct platform_device *platdev; member