Searched refs:platdev (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/arch/arm/plat-samsung/ |
D | init.c | 108 struct platform_device *platdev; in s3c24xx_init_uartdevs() local 116 platdev = s3c24xx_uart_src[cfgptr->hwport]; in s3c24xx_init_uartdevs() 120 s3c24xx_uart_devs[uart] = platdev; in s3c24xx_init_uartdevs() 122 platdev->name = name; in s3c24xx_init_uartdevs() 123 platdev->resource = resp->resources; in s3c24xx_init_uartdevs() 124 platdev->num_resources = resp->nr_resources; in s3c24xx_init_uartdevs() 126 platdev->dev.platform_data = cfgptr; in s3c24xx_init_uartdevs()
|
/linux-2.6.39/drivers/video/via/ |
D | via-core.c | 530 struct platform_device *platdev; member 551 info->platdev = platform_device_alloc(info->name, -1); in via_create_subdev() 552 if (!info->platdev) { in via_create_subdev() 557 info->platdev->dev.parent = &vdev->pdev->dev; in via_create_subdev() 558 info->platdev->dev.platform_data = vdev; in via_create_subdev() 559 ret = platform_device_add(info->platdev); in via_create_subdev() 563 platform_device_put(info->platdev); in via_create_subdev() 564 info->platdev = NULL; in via_create_subdev() 588 if (viafb_subdevs[i].platdev) { in via_teardown_subdevs() 589 viafb_subdevs[i].platdev->dev.platform_data = NULL; in via_teardown_subdevs() [all …]
|
D | via-gpio.c | 214 static __devinit int viafb_gpio_probe(struct platform_device *platdev) in viafb_gpio_probe() argument 216 struct viafb_dev *vdev = platdev->dev.platform_data; in viafb_gpio_probe() 268 static int viafb_gpio_remove(struct platform_device *platdev) in viafb_gpio_remove() argument
|
D | via_i2c.c | 228 static int viafb_i2c_probe(struct platform_device *platdev) in viafb_i2c_probe() argument 233 i2c_vdev = platdev->dev.platform_data; in viafb_i2c_probe() 257 static int viafb_i2c_remove(struct platform_device *platdev) in viafb_i2c_remove() argument
|
/linux-2.6.39/drivers/gpu/drm/ |
D | drm_platform.c | 41 int drm_get_platform_dev(struct platform_device *platdev, in drm_get_platform_dev() argument 53 dev->platformdev = platdev; in drm_get_platform_dev() 54 dev->dev = &platdev->dev; in drm_get_platform_dev() 66 dev_set_drvdata(&platdev->dev, dev); in drm_get_platform_dev()
|
/linux-2.6.39/drivers/tty/serial/ |
D | samsung.c | 1054 struct platform_device *platdev) in s3c24xx_serial_init_port() argument 1061 dbg("s3c24xx_serial_init_port: port=%p, platdev=%p\n", port, platdev); in s3c24xx_serial_init_port() 1063 if (platdev == NULL) in s3c24xx_serial_init_port() 1066 cfg = s3c24xx_dev_to_cfg(&platdev->dev); in s3c24xx_serial_init_port() 1078 port->dev = &platdev->dev; in s3c24xx_serial_init_port() 1095 res = platform_get_resource(platdev, IORESOURCE_MEM, 0); in s3c24xx_serial_init_port() 1105 ret = platform_get_irq(platdev, 0); in s3c24xx_serial_init_port() 1114 ret = platform_get_irq(platdev, 1); in s3c24xx_serial_init_port() 1118 ourport->clk = clk_get(&platdev->dev, "uart"); in s3c24xx_serial_init_port()
|
/linux-2.6.39/drivers/media/video/ |
D | via-camera.c | 66 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); 193 dev_err(&cam->platdev->dev, "Unable to find GPIO lines\n"); in via_sensor_power_setup() 198 dev_err(&cam->platdev->dev, "Unable to request power GPIO\n"); in via_sensor_power_setup() 203 dev_err(&cam->platdev->dev, "Unable to request reset GPIO\n"); in via_sensor_power_setup() 649 videobuf_dma_unmap(&cam->platdev->dev, videobuf_to_dma(vb)); in viacam_vb_buf_release() 687 &cam->platdev->dev, &cam->viadev->reg_lock, in viacam_open() 1392 cam->platdev = pdev; in viacam_probe()
|