Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_lpe_audio.c88 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(dev_priv->display.audio.lpe.platdev); in lpe_audio_platdev_destroy()
230 if (IS_ERR(dev_priv->display.audio.lpe.platdev)) { in lpe_audio_setup()
231 ret = PTR_ERR(dev_priv->display.audio.lpe.platdev); in lpe_audio_setup()
249 dev_priv->display.audio.lpe.platdev = NULL; in lpe_audio_setup()
[all …]
H A Dintel_display_core.h110 struct platform_device *platdev; member
H A Dintel_audio.c1325 if (!i915->display.audio.lpe.platdev) in intel_audio_register()
1336 if (i915->display.audio.lpe.platdev != NULL) in intel_audio_deinit()
/openbmc/linux/arch/arm/mach-s3c/
H A Dinit.c88 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()
/openbmc/linux/drivers/video/fbdev/via/
H A 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 …]
H A Dvia-gpio.c205 static int viafb_gpio_probe(struct platform_device *platdev) in viafb_gpio_probe() argument
207 struct viafb_dev *vdev = platdev->dev.platform_data; in viafb_gpio_probe()
265 static void viafb_gpio_remove(struct platform_device *platdev) in viafb_gpio_remove() argument
H A 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 void viafb_i2c_remove(struct platform_device *platdev) in viafb_i2c_remove() argument
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A 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()
H A Dxgbe.h1054 struct platform_device *platdev; member
/openbmc/linux/drivers/media/platform/via/
H A Dvia-camera.c64 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()
1173 cam->platdev = pdev; in viacam_probe()
/openbmc/linux/drivers/tty/serial/
H A Dsamsung_tty.c1907 struct platform_device *platdev) in s3c24xx_serial_init_port() argument
1914 if (platdev == NULL) in s3c24xx_serial_init_port()
1921 port->dev = &platdev->dev; in s3c24xx_serial_init_port()
1932 res = platform_get_resource(platdev, IORESOURCE_MEM, 0); in s3c24xx_serial_init_port()
1947 ret = platform_get_irq(platdev, 0); in s3c24xx_serial_init_port()
1958 ret = platform_get_irq(platdev, 1); in s3c24xx_serial_init_port()
1970 if (platdev->dev.of_node && of_find_property(platdev->dev.of_node, in s3c24xx_serial_init_port()
1981 ourport->clk = clk_get(&platdev->dev, "uart"); in s3c24xx_serial_init_port()
1984 dev_name(&platdev->dev)); in s3c24xx_serial_init_port()
/openbmc/linux/drivers/cpufreq/
H A DMakefile18 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
H A DKconfig221 tristate "Generic DT based cpufreq platdev driver"
224 This adds a generic DT based cpufreq platdev driver for frequency
/openbmc/linux/Documentation/networking/device_drivers/can/ctu/
H A Dctucanfd-driver.rst104 .. _sec:socketcan:platdev: