Home
last modified time | relevance | path

Searched refs:platform_dev (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/usb/host/ !
Dsl811_cs.c80 static struct platform_device platform_dev = { variable
93 if (platform_dev.dev.parent) in sl811_hc_init()
95 platform_dev.dev.parent = parent; in sl811_hc_init()
110 platform_dev.name = sl811h_driver.driver.name; in sl811_hc_init()
111 return platform_device_register(&platform_dev); in sl811_hc_init()
131 platform_device_unregister(&platform_dev); in sl811_cs_release()
/linux-6.6.21/drivers/media/platform/sunxi/sun6i-csi/ !
Dsun6i_csi.c231 struct platform_device *platform_dev) in sun6i_csi_resources_setup() argument
245 io_base = devm_platform_ioremap_resource(platform_dev, 0); in sun6i_csi_resources_setup()
288 irq = platform_get_irq(platform_dev, 0); in sun6i_csi_resources_setup()
319 static int sun6i_csi_probe(struct platform_device *platform_dev) in sun6i_csi_probe() argument
322 struct device *dev = &platform_dev->dev; in sun6i_csi_probe()
329 csi_dev->dev = &platform_dev->dev; in sun6i_csi_probe()
330 platform_set_drvdata(platform_dev, csi_dev); in sun6i_csi_probe()
332 ret = sun6i_csi_resources_setup(csi_dev, platform_dev); in sun6i_csi_probe()
/linux-6.6.21/drivers/staging/media/sunxi/sun6i-isp/ !
Dsun6i_isp.c336 struct platform_device *platform_dev) in sun6i_isp_resources_setup() argument
345 io_base = devm_platform_ioremap_resource(platform_dev, 0); in sun6i_isp_resources_setup()
387 irq = platform_get_irq(platform_dev, 0); in sun6i_isp_resources_setup()
421 static int sun6i_isp_probe(struct platform_device *platform_dev) in sun6i_isp_probe() argument
424 struct device *dev = &platform_dev->dev; in sun6i_isp_probe()
437 platform_set_drvdata(platform_dev, isp_dev); in sun6i_isp_probe()
441 ret = sun6i_isp_resources_setup(isp_dev, platform_dev); in sun6i_isp_probe()
495 static void sun6i_isp_remove(struct platform_device *platform_dev) in sun6i_isp_remove() argument
497 struct sun6i_isp_device *isp_dev = platform_get_drvdata(platform_dev); in sun6i_isp_remove()
/linux-6.6.21/drivers/media/platform/sunxi/sun6i-mipi-csi2/ !
Dsun6i_mipi_csi2.c632 struct platform_device *platform_dev) in sun6i_mipi_csi2_resources_setup() argument
640 io_base = devm_platform_ioremap_resource(platform_dev, 0); in sun6i_mipi_csi2_resources_setup()
710 static int sun6i_mipi_csi2_probe(struct platform_device *platform_dev) in sun6i_mipi_csi2_probe() argument
713 struct device *dev = &platform_dev->dev; in sun6i_mipi_csi2_probe()
721 platform_set_drvdata(platform_dev, csi2_dev); in sun6i_mipi_csi2_probe()
723 ret = sun6i_mipi_csi2_resources_setup(csi2_dev, platform_dev); in sun6i_mipi_csi2_probe()
739 static void sun6i_mipi_csi2_remove(struct platform_device *platform_dev) in sun6i_mipi_csi2_remove() argument
742 platform_get_drvdata(platform_dev); in sun6i_mipi_csi2_remove()
/linux-6.6.21/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ !
Dsun8i_a83t_mipi_csi2.c692 struct platform_device *platform_dev) in sun8i_a83t_mipi_csi2_resources_setup() argument
700 io_base = devm_platform_ioremap_resource(platform_dev, 0); in sun8i_a83t_mipi_csi2_resources_setup()
777 static int sun8i_a83t_mipi_csi2_probe(struct platform_device *platform_dev) in sun8i_a83t_mipi_csi2_probe() argument
780 struct device *dev = &platform_dev->dev; in sun8i_a83t_mipi_csi2_probe()
788 platform_set_drvdata(platform_dev, csi2_dev); in sun8i_a83t_mipi_csi2_probe()
790 ret = sun8i_a83t_mipi_csi2_resources_setup(csi2_dev, platform_dev); in sun8i_a83t_mipi_csi2_probe()
806 static void sun8i_a83t_mipi_csi2_remove(struct platform_device *platform_dev) in sun8i_a83t_mipi_csi2_remove() argument
809 platform_get_drvdata(platform_dev); in sun8i_a83t_mipi_csi2_remove()
/linux-6.6.21/arch/powerpc/platforms/powermac/ !
Dlow_i2c.c88 struct platform_device *platform_dev; member
1500 bus->platform_dev = in pmac_i2c_create_platform_devices()
1502 if (bus->platform_dev == NULL) in pmac_i2c_create_platform_devices()
1504 bus->platform_dev->dev.platform_data = bus; in pmac_i2c_create_platform_devices()
1505 bus->platform_dev->dev.of_node = bus->busnode; in pmac_i2c_create_platform_devices()
1506 platform_device_add(bus->platform_dev); in pmac_i2c_create_platform_devices()
/linux-6.6.21/drivers/ata/ !
Dpata_legacy.c149 struct platform_device *platform_dev; member
1031 ld->platform_dev = pdev; in legacy_init_one()
1039 ld->platform_dev = pdev; in legacy_init_one()
1282 platform_device_unregister(ld->platform_dev); in legacy_exit()
/linux-6.6.21/include/linux/soc/mediatek/ !
Dmtk_wed.h120 struct platform_device *platform_dev; member
/linux-6.6.21/drivers/video/fbdev/ !
Dskeletonfb.c942 static int xxxfb_resume(struct platform_dev *dev) in xxxfb_resume()
/linux-6.6.21/drivers/net/ieee802154/ !
Dmac802154_hwsim.c1070 goto platform_dev; in hwsim_init_module()
1081 platform_dev: in hwsim_init_module()
/linux-6.6.21/drivers/scsi/hisi_sas/ !
Dhisi_sas.h393 struct platform_device *platform_dev; member
Dhisi_sas_v2_hw.c3305 struct platform_device *pdev = hisi_hba->platform_dev; in hisi_sas_v2_interrupt_preinit()
3329 struct platform_device *pdev = hisi_hba->platform_dev; in interrupt_init_v2_hw()
3411 struct platform_device *pdev = hisi_hba->platform_dev; in interrupt_disable_v2_hw()
Dhisi_sas_main.c2345 struct platform_device *pdev = hisi_hba->platform_dev; in hisi_sas_get_fw_info()
2426 hisi_hba->platform_dev = pdev; in hisi_sas_shost_alloc()
Dhisi_sas_v1_hw.c1626 struct platform_device *pdev = hisi_hba->platform_dev; in interrupt_init_v1_hw()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/ !
Dmmio.c747 wed->wlan.platform_dev = plat_dev; in mt7915_mmio_wed_init()
/linux-6.6.21/drivers/base/ !
Dplatform.c1319 __ATTRIBUTE_GROUPS(platform_dev);
/linux-6.6.21/drivers/net/ethernet/mediatek/ !
Dmtk_wed.c1529 : &dev->wlan.platform_dev->dev; in mtk_wed_attach()