Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/host/
Du132-hcd.c182 struct platform_device *platform_dev; member
213 usb_ftdi_elan_read_pcimem(u132->platform_dev, offsetof(struct \
216 usb_ftdi_elan_write_pcimem(u132->platform_dev, offsetof(struct \
251 struct platform_device *pdev = u132->platform_dev; in u132_hcd_delete()
257 dev_warn(&u132->platform_dev->dev, "FREEING the hcd=%p and thus the u13" in u132_hcd_delete()
424 dev_err(&u132->platform_dev->dev, "error %d accessing device co" in read_roothub_info()
430 dev_err(&u132->platform_dev->dev, "device revision is not valid" in read_roothub_info()
436 dev_err(&u132->platform_dev->dev, "error %d accessing device co" in read_roothub_info()
443 dev_err(&u132->platform_dev->dev, "error %d accessing device re" in read_roothub_info()
449 dev_err(&u132->platform_dev->dev, "error %d accessing device re" in read_roothub_info()
[all …]
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-v6.1/drivers/media/platform/sunxi/sun6i-mipi-csi2/
Dsun6i_mipi_csi2.c625 struct platform_device *platform_dev) in sun6i_mipi_csi2_resources_setup() argument
633 io_base = devm_platform_ioremap_resource(platform_dev, 0); in sun6i_mipi_csi2_resources_setup()
703 static int sun6i_mipi_csi2_probe(struct platform_device *platform_dev) in sun6i_mipi_csi2_probe() argument
706 struct device *dev = &platform_dev->dev; in sun6i_mipi_csi2_probe()
714 platform_set_drvdata(platform_dev, csi2_dev); in sun6i_mipi_csi2_probe()
716 ret = sun6i_mipi_csi2_resources_setup(csi2_dev, platform_dev); in sun6i_mipi_csi2_probe()
732 static int sun6i_mipi_csi2_remove(struct platform_device *platform_dev) in sun6i_mipi_csi2_remove() argument
735 platform_get_drvdata(platform_dev); in sun6i_mipi_csi2_remove()
/Linux-v6.1/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
Dsun8i_a83t_mipi_csi2.c685 struct platform_device *platform_dev) in sun8i_a83t_mipi_csi2_resources_setup() argument
693 io_base = devm_platform_ioremap_resource(platform_dev, 0); in sun8i_a83t_mipi_csi2_resources_setup()
770 static int sun8i_a83t_mipi_csi2_probe(struct platform_device *platform_dev) in sun8i_a83t_mipi_csi2_probe() argument
773 struct device *dev = &platform_dev->dev; in sun8i_a83t_mipi_csi2_probe()
781 platform_set_drvdata(platform_dev, csi2_dev); in sun8i_a83t_mipi_csi2_probe()
783 ret = sun8i_a83t_mipi_csi2_resources_setup(csi2_dev, platform_dev); in sun8i_a83t_mipi_csi2_probe()
799 static int sun8i_a83t_mipi_csi2_remove(struct platform_device *platform_dev) in sun8i_a83t_mipi_csi2_remove() argument
802 platform_get_drvdata(platform_dev); in sun8i_a83t_mipi_csi2_remove()
/Linux-v6.1/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi.c857 struct platform_device *platform_dev) in sun6i_csi_resources_setup() argument
871 io_base = devm_platform_ioremap_resource(platform_dev, 0); in sun6i_csi_resources_setup()
914 irq = platform_get_irq(platform_dev, 0); in sun6i_csi_resources_setup()
946 static int sun6i_csi_probe(struct platform_device *platform_dev) in sun6i_csi_probe() argument
949 struct device *dev = &platform_dev->dev; in sun6i_csi_probe()
956 csi_dev->dev = &platform_dev->dev; in sun6i_csi_probe()
957 platform_set_drvdata(platform_dev, csi_dev); in sun6i_csi_probe()
959 ret = sun6i_csi_resources_setup(csi_dev, platform_dev); in sun6i_csi_probe()
/Linux-v6.1/drivers/usb/misc/
Dftdi-elan.c175 struct platform_device platform_dev; member
191 platform_dev)
305 if (ftdi->platform_dev.dev.parent) in ftdi_elan_hcd_init()
311 ftdi->platform_dev.id = ftdi->sequence_num; in ftdi_elan_hcd_init()
312 ftdi->platform_dev.resource = ftdi->resources; in ftdi_elan_hcd_init()
313 ftdi->platform_dev.num_resources = ARRAY_SIZE(ftdi->resources); in ftdi_elan_hcd_init()
314 ftdi->platform_dev.dev.platform_data = &ftdi->platform_data; in ftdi_elan_hcd_init()
315 ftdi->platform_dev.dev.parent = NULL; in ftdi_elan_hcd_init()
316 ftdi->platform_dev.dev.release = ftdi_release_platform_dev; in ftdi_elan_hcd_init()
317 ftdi->platform_dev.dev.dma_mask = NULL; in ftdi_elan_hcd_init()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/include/linux/soc/mediatek/
Dmtk_wed.h52 struct platform_device *platform_dev; member
/Linux-v6.1/drivers/video/fbdev/
Dskeletonfb.c942 static int xxxfb_resume(struct platform_dev *dev) in xxxfb_resume()
/Linux-v6.1/drivers/net/ieee802154/
Dmac802154_hwsim.c903 goto platform_dev; in hwsim_init_module()
914 platform_dev: in hwsim_init_module()
/Linux-v6.1/drivers/scsi/hisi_sas/
Dhisi_sas.h391 struct platform_device *platform_dev; member
Dhisi_sas_v2_hw.c3295 struct platform_device *pdev = hisi_hba->platform_dev; in hisi_sas_v2_interrupt_preinit()
3319 struct platform_device *pdev = hisi_hba->platform_dev; in interrupt_init_v2_hw()
3401 struct platform_device *pdev = hisi_hba->platform_dev; in interrupt_disable_v2_hw()
Dhisi_sas_main.c2282 struct platform_device *pdev = hisi_hba->platform_dev; in hisi_sas_get_fw_info()
2363 hisi_hba->platform_dev = pdev; in hisi_sas_shost_alloc()
Dhisi_sas_v1_hw.c1627 struct platform_device *pdev = hisi_hba->platform_dev; in interrupt_init_v1_hw()
/Linux-v6.1/drivers/base/
Dplatform.c1315 __ATTRIBUTE_GROUPS(platform_dev);
/Linux-v6.1/drivers/net/ethernet/mediatek/
Dmtk_wed.c861 : &dev->wlan.platform_dev->dev; in mtk_wed_attach()