/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_lpe_audio.c | 77 #define HAS_LPE_AUDIO(dev_priv) ((dev_priv)->lpe_audio.platdev != NULL) 85 struct platform_device *platdev; in lpe_audio_platdev_create() local 125 platdev = platform_device_register_full(&pinfo); in lpe_audio_platdev_create() 129 if (IS_ERR(platdev)) { in lpe_audio_platdev_create() 132 return platdev; in lpe_audio_platdev_create() 135 pm_runtime_no_callbacks(&platdev->dev); in lpe_audio_platdev_create() 137 return platdev; in lpe_audio_platdev_create() 150 platform_device_unregister(dev_priv->lpe_audio.platdev); in lpe_audio_platdev_destroy() 225 dev_priv->lpe_audio.platdev = lpe_audio_platdev_create(dev_priv); in lpe_audio_setup() 227 if (IS_ERR(dev_priv->lpe_audio.platdev)) { in lpe_audio_setup() [all …]
|
D | intel_audio.c | 1345 if ((dev_priv)->lpe_audio.platdev != NULL) in intel_audio_deinit()
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
D | init.c | 109 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()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/via/ |
D | via-core.c | 494 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 …]
|
D | via-gpio.c | 209 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
|
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 int viafb_i2c_remove(struct platform_device *platdev) in viafb_i2c_remove() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-platform.c | 241 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()
|
D | xgbe.h | 1020 struct platform_device *platdev; member
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
D | via-camera.c | 65 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()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | samsung_tty.c | 1851 struct platform_device *platdev) in s3c24xx_serial_init_port() argument 1858 if (platdev == NULL) in s3c24xx_serial_init_port() 1865 port->dev = &platdev->dev; in s3c24xx_serial_init_port() 1880 res = platform_get_resource(platdev, IORESOURCE_MEM, 0); in s3c24xx_serial_init_port() 1895 ret = platform_get_irq(platdev, 0); in s3c24xx_serial_init_port() 1905 ret = platform_get_irq(platdev, 1); in s3c24xx_serial_init_port() 1913 if (platdev->dev.of_node && of_find_property(platdev->dev.of_node, in s3c24xx_serial_init_port() 1924 ourport->clk = clk_get(&platdev->dev, "uart"); in s3c24xx_serial_init_port() 1927 dev_name(&platdev->dev)); in s3c24xx_serial_init_port()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | Makefile | 18 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
|
D | Kconfig | 223 This adds a generic DT based cpufreq platdev driver for frequency
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_drv.h | 1204 struct platform_device *platdev; member
|
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/ |
D | hispark_taurus.patch | 14968 + struct platform_device *platdev = hiedmac->dev; 14971 + hiedmac->clk = devm_clk_get(&(platdev->dev), "apb_pclk"); 14976 + hiedmac->axi_clk = devm_clk_get(&(platdev->dev), "axi_aclk"); 14981 + hiedmac->irq = platform_get_irq(platdev, 0); 14985 + hiedmac->rstc = devm_reset_control_get(&(platdev->dev), "dma-reset"); 14989 + res = platform_get_resource(platdev, IORESOURCE_MEM, 0); 14995 + hiedmac->base = devm_ioremap_resource(&(platdev->dev), res); 15003 + struct platform_device *platdev = hiedmac->dev; 15004 + struct device_node *np = platdev->dev.of_node; 15043 + struct platform_device *platdev = hiedmac->dev; [all …]
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 297927 + struct platform_device *platdev = hiedmac->dev; 297930 + hiedmac->clk = devm_clk_get(&(platdev->dev), "apb_pclk"); 297935 + hiedmac->axi_clk = devm_clk_get(&(platdev->dev), "axi_aclk"); 297940 + hiedmac->irq = platform_get_irq(platdev, 0); 297944 + hiedmac->rstc = devm_reset_control_get(&(platdev->dev), "dma-reset"); 297948 + res = platform_get_resource(platdev, IORESOURCE_MEM, 0); 297954 + hiedmac->base = devm_ioremap_resource(&(platdev->dev), res); 297962 + struct platform_device *platdev = hiedmac->dev; 297963 + struct device_node *np = platdev->dev.of_node; 298002 + struct platform_device *platdev = hiedmac->dev; [all …]
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 3977 diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c 3979 --- a/drivers/cpufreq/cpufreq-dt-platdev.c 3980 +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
|