Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_lpe_audio.c78 #define HAS_LPE_AUDIO(dev_priv) ((dev_priv)->display.audio.lpe.platdev != NULL)
87 struct platform_device *platdev; in lpe_audio_platdev_create() local
127 platdev = platform_device_register_full(&pinfo); in lpe_audio_platdev_create()
131 if (IS_ERR(platdev)) { in lpe_audio_platdev_create()
134 return platdev; in lpe_audio_platdev_create()
137 pm_runtime_no_callbacks(&platdev->dev); in lpe_audio_platdev_create()
139 return platdev; in lpe_audio_platdev_create()
152 platform_device_unregister(dev_priv->display.audio.lpe.platdev); in lpe_audio_platdev_destroy()
227 dev_priv->display.audio.lpe.platdev = lpe_audio_platdev_create(dev_priv); in lpe_audio_setup()
229 if (IS_ERR(dev_priv->display.audio.lpe.platdev)) { in lpe_audio_setup()
[all …]
Dintel_display_core.h102 struct platform_device *platdev; member
Dintel_audio.c1406 if (dev_priv->display.audio.lpe.platdev != NULL) in intel_audio_deinit()
/Linux-v6.1/arch/arm/mach-s3c/
Dinit.c111 struct platform_device *platdev; in s3c24xx_init_uartdevs() local
119 platdev = s3c24xx_uart_src[cfgptr->hwport]; in s3c24xx_init_uartdevs()
123 s3c24xx_uart_devs[uart] = platdev; in s3c24xx_init_uartdevs()
125 platdev->name = name; in s3c24xx_init_uartdevs()
126 platdev->resource = resp->resources; in s3c24xx_init_uartdevs()
127 platdev->num_resources = resp->nr_resources; in s3c24xx_init_uartdevs()
129 platdev->dev.platform_data = cfgptr; in s3c24xx_init_uartdevs()
/Linux-v6.1/drivers/video/fbdev/via/
Dvia-core.c495 struct platform_device *platdev; member
516 info->platdev = platform_device_alloc(info->name, -1); in via_create_subdev()
517 if (!info->platdev) { in via_create_subdev()
522 info->platdev->dev.parent = &vdev->pdev->dev; in via_create_subdev()
523 info->platdev->dev.platform_data = vdev; in via_create_subdev()
524 ret = platform_device_add(info->platdev); in via_create_subdev()
528 platform_device_put(info->platdev); in via_create_subdev()
529 info->platdev = NULL; in via_create_subdev()
553 if (viafb_subdevs[i].platdev) { in via_teardown_subdevs()
554 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-v6.1/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.h1047 struct platform_device *platdev; member
/Linux-v6.1/drivers/media/platform/via/
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()
1184 cam->platdev = pdev; in viacam_probe()
/Linux-v6.1/drivers/tty/serial/
Dsamsung_tty.c1991 struct platform_device *platdev) in s3c24xx_serial_init_port() argument
1998 if (platdev == NULL) in s3c24xx_serial_init_port()
2005 port->dev = &platdev->dev; in s3c24xx_serial_init_port()
2016 res = platform_get_resource(platdev, IORESOURCE_MEM, 0); in s3c24xx_serial_init_port()
2031 ret = platform_get_irq(platdev, 0); in s3c24xx_serial_init_port()
2042 ret = platform_get_irq(platdev, 1); in s3c24xx_serial_init_port()
2054 if (platdev->dev.of_node && of_find_property(platdev->dev.of_node, in s3c24xx_serial_init_port()
2065 ourport->clk = clk_get(&platdev->dev, "uart"); in s3c24xx_serial_init_port()
2068 dev_name(&platdev->dev)); in s3c24xx_serial_init_port()
/Linux-v6.1/drivers/cpufreq/
DMakefile18 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
DKconfig224 This adds a generic DT based cpufreq platdev driver for frequency
/Linux-v6.1/Documentation/networking/device_drivers/can/ctu/
Dctucanfd-driver.rst104 .. _sec:socketcan:platdev: