Home
last modified time | relevance | path

Searched refs:device_s (Results 1 – 25 of 28) sorted by relevance

12

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/include/
H A DdrvDevice.h96 struct device_s;
105 int (*probe) (struct device_s * dev);
106 int (*remove) (struct device_s * dev);
107 void (*shutdown) (struct device_s * dev);
108 int (*suspend) (struct device_s * dev, U32 state, U32 level);
109 int (*resume) (struct device_s * dev, U32 level);
113 struct device_s { struct
121 struct device_s * parent; argument
135 void (*release)(struct device_s * dev); argument
139 dev_set_drvdata (struct device_s *dev, void *data) in dev_set_drvdata()
[all …]
H A DdrvUSB.h128 struct device_s dev;
171 struct device_s *controller;
224 struct device_s dev;
249 static __inline__ struct usb_device *to_usb_device(struct device_s *d) in to_usb_device()
256 static __inline__ struct usb_interface *to_usb_interface(struct device_s *d) in to_usb_interface()
H A DdrvCPE_AMBA.h86 struct device_s dev;
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/include/
H A DdrvDevice.h91 struct device_s;
100 int (*probe) (struct device_s * dev);
101 int (*remove) (struct device_s * dev);
105 struct device_s { struct
112 struct device_s * parent; argument
124 void (*release_func)(struct device_s * dev); argument
128 ms_dev_set_drvdata (struct device_s *dev, void *data) in ms_dev_set_drvdata()
134 ms_dev_get_drvdata (struct device_s *dev) in ms_dev_get_drvdata()
139 extern void ms_device_initialize(struct device_s *dev);
141 static __inline__ struct device_s *ms_get_device(struct device_s *dev_ptr) in ms_get_device()
[all …]
H A DdrvUSBHost.h118 struct device_s dev;
149 struct device_s *controller;
185 struct device_s dev;
207 static __inline__ struct usb_device *ms_to_usb_device(struct device_s *d) in ms_to_usb_device()
213 static __inline__ struct usb_interface *get_usb_interface(struct device_s *d) in get_usb_interface()
H A DdrvCPE_AMBA.h86 struct device_s dev;
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvBus.c94 void ms_device_bind_driver(struct device_s * ms_gdev) in ms_device_bind_driver()
109 static int ms_bus_match(struct device_s * ms_gdev, struct device_driver * ms_drv) in ms_bus_match()
140 static int ms_device_attach(struct device_s * ms_gdev) in ms_device_attach()
178 struct device_s * ms_gdev; in ms_driver_attach()
187 ms_gdev = (struct device_s *)((char *)_mtr - (char *)offsetof(struct device_s, bus_list) ); in ms_driver_attach()
202 void ms_device_release_driver(struct device_s * ms_gdev) in ms_device_release_driver()
225 struct device_s *ms_gdev; in ms_driver_detach()
232 … ms_gdev = (struct device_s *)( (char *)_mptr - (char *)offsetof(struct device_s, driver_list) ); in ms_driver_detach()
244 int ms_bus_add_device(struct device_s * ms_gdev) in ms_bus_add_device()
264 void ms_bus_remove_device(struct device_s * ms_gdev) in ms_bus_remove_device()
H A DdrvUSB.c111 static int ms_generic_probe (struct device_s *pDev) in ms_generic_probe()
115 static int ms_generic_remove (struct device_s *pDev) in ms_generic_remove()
209 int ms_usb_probe_interface(struct device_s *pDev) in ms_usb_probe_interface()
247 int ms_usb_unbind_interface(struct device_s *pDev) in ms_usb_unbind_interface()
307 struct device_s *pDev;
312 … pDev = (struct device_s *) ( (char *)_mptr - (char *)offsetof(struct device_s, driver_list) );
359 static int ms_usb_device_match (struct device_s *pDev, struct device_driver *pDrv) in ms_usb_device_match()
380 void ms_usb_release_dev(struct device_s *pDev) in ms_usb_release_dev()
428 struct device_s *pDev_t; in ms_usb_get_dev()
589 int ms_usb_new_device(struct usb_device *pUdev, struct device_s *parent) in ms_usb_new_device()
H A DdrvCore.c94 void ms_device_initialize(struct device_s *ms_gdev) in ms_device_initialize()
110 int ms_device_add(struct device_s *ms_gdev) in ms_device_add()
112 struct device_s * parent; in ms_device_add()
138 static void ms_device_del(struct device_s * ms_gdev) in ms_device_del()
140 struct device_s * parent = ms_gdev->parent; in ms_device_del()
155 void ms_device_unregister(struct device_s * ms_gdev) in ms_device_unregister()
H A DdrvEHsTest.c98 const struct device_s *__mptr = hcd->controller; in issueSE0()
109 const struct device_s *__mptr = hcd->controller; in issueTestJ()
123 const struct device_s *__mptr = hcd->controller; in issueTestK()
137 const struct device_s *__mptr = hcd->controller; in issueTestPacket()
H A DdrvUsbd.h118 struct device_s *controller;
201 extern int ms_usb_new_device(struct usb_device *dev, struct device_s *parent);
H A DdrvHub.c134 static __inline__ struct device_s *ms_hubdev (struct usb_device *ms_dev) in ms_hubdev()
743 const struct device_s *__mptr = hcd->controller; in ms_hub_port_reset()
915 const struct device_s *__mptr = pHcd->controller; in ms_hub_port_connect_change()
H A DdrvConfig.c174 static void ms_usb_release_intf(struct device_s *dev) in ms_usb_release_intf()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvBus.c89 void device_bind_driver(struct device_s * dev) in device_bind_driver()
97 static int bus_match(struct device_s * dev, struct device_driver * drv) in bus_match()
119 static int device_attach(struct device_s * dev) in device_attach()
149 struct device_s * dev; in driver_attach()
157 dev = (struct device_s *)((char *)_mtr - (char *)offsetof(struct device_s, bus_list) ); in driver_attach()
166 void device_release_driver(struct device_s * dev) in device_release_driver()
183 struct device_s *dev; in driver_detach()
189 dev = (struct device_s *)( (char *)_mptr - (char *)offsetof(struct device_s, driver_list) ); in driver_detach()
196 int bus_add_device(struct device_s * dev) in bus_add_device()
209 void bus_remove_device(struct device_s * dev) in bus_remove_device()
H A DdrvUSB.c129 static int generic_probe (struct device_s *dev) in generic_probe()
133 static int generic_remove (struct device_s *dev) in generic_remove()
249 int usb_probe_interface(struct device_s *dev) in usb_probe_interface()
370 int usb_unbind_interface(struct device_s *dev) in usb_unbind_interface()
1997 struct device_s *dev; in usb_find_interface()
2002 dev = (struct device_s *) ( (char *)_mptr - (char *)offsetof(struct device_s, driver_list) ); in usb_find_interface()
2087 struct device_s *dev; in usb_find_dev_for_driver()
2092 dev = (struct device_s *) ( (char *)_mptr - (char *)offsetof(struct device_s, driver_list) ); in usb_find_dev_for_driver()
2169 static int usb_device_match (struct device_s *dev, struct device_driver *drv) in usb_device_match()
2227 static int usb_hotplug (struct device_s *dev, char **envp, int num_envp, in usb_hotplug()
[all …]
H A DdrvCore.c89 void device_initialize(struct device_s *dev) in device_initialize()
98 int device_add(struct device_s *dev) in device_add()
100 struct device_s * parent; in device_add()
120 void device_del(struct device_s * dev) in device_del()
122 struct device_s * parent = dev->parent; in device_del()
131 void device_unregister(struct device_s * dev) in device_unregister()
H A DdrvEhciHcd_2.c134 extern int ehci_hcd_cpe_ehci_drv_remove(struct device_s *_dev);
135 extern int ehci_hcd_cpe_ehci_drv_suspend(struct device_s *_dev, U32 state, U32 level);
136 extern int ehci_hcd_cpe_ehci_drv_resume(struct device_s *_dev, U32 level);
317 static int ehci_hcd_cpe_ehci_drv_probe_Port2(struct device_s *_dev) in ehci_hcd_cpe_ehci_drv_probe_Port2()
323 const struct device_s *__mptr = _dev; in ehci_hcd_cpe_ehci_drv_probe_Port2()
H A DdrvAMBA.c89 int AMBA_match(struct device_s * dev, struct device_driver * drv) in AMBA_match()
108 int AMBA_match_Port2(struct device_s * dev, struct device_driver * drv) in AMBA_match_Port2()
126 int AMBA_match_EX(struct device_s * dev, struct device_driver * drv) in AMBA_match_EX()
130 const struct device_s *__mptr = dev; in AMBA_match_EX()
H A DdrvEHsTest.c98 const struct device_s *__mptr = hcd->controller; in issueSE0()
109 const struct device_s *__mptr = hcd->controller; in issueTestJ()
123 const struct device_s *__mptr = hcd->controller; in issueTestK()
137 const struct device_s *__mptr = hcd->controller; in issueTestPacket()
H A DdrvHCD.h133 struct device_s *controller;
375 extern int usb_new_device(struct usb_device *dev, struct device_s *parent);
541 struct device_s *parent_dev);
H A DdrvEhciHcd.c1267 const struct device_s *__mptr = hcd->controller; in ehci_hub_control()
9488 static int ehci_hcd_cpe_ehci_drv_probe(struct device_s *_dev) in ehci_hcd_cpe_ehci_drv_probe()
9494 const struct device_s *__mptr = _dev; in ehci_hcd_cpe_ehci_drv_probe()
9515 int ehci_hcd_cpe_ehci_drv_remove(struct device_s *_dev) in ehci_hcd_cpe_ehci_drv_remove()
9520 const struct device_s *__mptr = _dev; in ehci_hcd_cpe_ehci_drv_remove()
9532 int ehci_hcd_cpe_ehci_drv_suspend(struct device_s *_dev, U32 state, U32 level) in ehci_hcd_cpe_ehci_drv_suspend()
9546 int ehci_hcd_cpe_ehci_drv_resume(struct device_s *_dev, U32 level) in ehci_hcd_cpe_ehci_drv_resume()
9782 static int ehci_hcd_cpe_ehci_drv_probe_EX(struct device_s *_dev) in ehci_hcd_cpe_ehci_drv_probe_EX()
9788 const struct device_s *__mptr = _dev; in ehci_hcd_cpe_ehci_drv_probe_EX()
H A DdrvUSBCore.h87 extern int usb_probe_interface (struct device_s *dev);
88 extern int usb_unbind_interface (struct device_s *dev);
H A DdrvHCD.c1146 int usb_register_root_hub (struct usb_device *usb_dev, struct device_s *parent_dev) in usb_register_root_hub()
1172 struct device_s *parent_dev = hcd->controller; in register_root_hub()
1856 struct device_s *sys = 0; in hcd_unlink_urb()
H A DdrvHub.c331 static __inline__ struct device_s *hubdev (struct usb_device *dev) in hubdev()
1686 struct device_s *hub_dev; in hub_configure()
H A DdrvConfig.c208 static void usb_release_intf(struct device_s *dev) in usb_release_intf()

12