Lines Matching refs:platform_dev
179 struct platform_device platform_dev; member
195 platform_dev)
309 if (ftdi->platform_dev.dev.parent) in ftdi_elan_hcd_init()
314 ftdi->platform_dev.id = ftdi->sequence_num; in ftdi_elan_hcd_init()
315 ftdi->platform_dev.resource = ftdi->resources; in ftdi_elan_hcd_init()
316 ftdi->platform_dev.num_resources = ARRAY_SIZE(ftdi->resources); in ftdi_elan_hcd_init()
317 ftdi->platform_dev.dev.platform_data = &ftdi->platform_data; in ftdi_elan_hcd_init()
318 ftdi->platform_dev.dev.parent = NULL; in ftdi_elan_hcd_init()
319 ftdi->platform_dev.dev.release = ftdi_release_platform_dev; in ftdi_elan_hcd_init()
320 ftdi->platform_dev.dev.dma_mask = NULL; in ftdi_elan_hcd_init()
322 ftdi->platform_dev.name = ftdi->device_name; in ftdi_elan_hcd_init()
326 ftdi->platform_dev.name); in ftdi_elan_hcd_init()
327 result = platform_device_register(&ftdi->platform_dev); in ftdi_elan_hcd_init()
584 ftdi->platform_dev.dev.parent, in ftdi_elan_status_work()
585 &ftdi->platform_dev.dev); in ftdi_elan_status_work()
586 platform_device_unregister(&ftdi->platform_dev); in ftdi_elan_status_work()
587 ftdi->platform_dev.dev.parent = NULL; in ftdi_elan_status_work()
2866 platform_device_unregister(&ftdi->platform_dev); in ftdi_elan_disconnect()