Home
last modified time | relevance | path

Searched refs:device_driver (Results 1 – 12 of 12) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvBus.c109 static int ms_bus_match(struct device_s * ms_gdev, struct device_driver * ms_drv) in ms_bus_match()
144 struct device_driver * ms_drv; in ms_device_attach()
158 …ms_drv = (struct device_driver *)((char *)_mtr - (char *)offsetof(struct device_driver, bus_list) … in ms_device_attach()
174 void ms_driver_attach(struct device_driver * ms_drv) in ms_driver_attach()
204 struct device_driver * ms_drv = ms_gdev->driver; in ms_device_release_driver()
222 static void ms_driver_detach(struct device_driver * ms_drv) in ms_driver_detach()
281 int ms_bus_add_driver(struct device_driver * ms_drv) in ms_bus_add_driver()
304 void ms_bus_remove_driver(struct device_driver * ms_drv) in ms_bus_remove_driver()
H A DdrvDriver.c91 int ms_driver_register(struct device_driver * ms_drv) in ms_driver_register()
105 void ms_driver_unregister(struct device_driver * ms_drv) in ms_driver_unregister()
H A DdrvUSB.c120 static struct device_driver ms_usb_generic_driver = {
304 BOOL ms_usb_find_dev_for_driver(struct device_driver *pDriver, struct usb_device **pudev, struct us…
359 static int ms_usb_device_match (struct device_s *pDev, struct device_driver *pDrv) in ms_usb_device_match()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvBus.c97 static int bus_match(struct device_s * dev, struct device_driver * drv) in bus_match()
123 struct device_driver * drv; in device_attach()
134 drv = (struct device_driver *)((char *)_mtr - (char *)offsetof(struct device_driver, bus_list) ); in device_attach()
145 void driver_attach(struct device_driver * drv) in driver_attach()
168 struct device_driver * drv = dev->driver; in device_release_driver()
180 static void driver_detach(struct device_driver * drv) in driver_detach()
219 int bus_add_driver(struct device_driver * drv) in bus_add_driver()
235 void bus_remove_driver(struct device_driver * drv) in bus_remove_driver()
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()
H A DdrvDriver.c155 int driver_register(struct device_driver * m_drv) in driver_register()
224 void driver_unregister(struct device_driver * m_drv) in driver_unregister()
H A DdrvUSB.c138 static struct device_driver usb_generic_driver = {
2084 BOOL usb_find_dev_for_driver(struct device_driver *pDriver, struct usb_device **pudev, struct usb_h… in usb_find_dev_for_driver()
2169 static int usb_device_match (struct device_s *dev, struct device_driver *drv) in usb_device_match()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/include/
H A DdrvDevice.h93 struct device_driver { struct
119 struct device_driver *driver; // this device allocated driver argument
170 int (*match_func)(struct device_s * dev, struct device_driver * drv);
184 extern int ms_driver_register(struct device_driver * drv);
185 extern void ms_driver_unregister(struct device_driver * drv);
189 extern int ms_bus_add_driver(struct device_driver * drv);
190 extern void ms_bus_remove_driver(struct device_driver * drv);
H A DdrvUSBHost.h247 struct device_driver driver;
251 static __inline__ struct usb_driver *get_usb_driver(struct device_driver *dev_ptr) in get_usb_driver()
253 const struct device_driver *__mptr = (dev_ptr); in get_usb_driver()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/include/
H A DdrvDevice.h98 struct device_driver { struct
129 struct device_driver *driver; /* which driver has allocated this device */ argument
223 int (*match)(struct device_s * dev, struct device_driver * drv);
242 extern int driver_register(struct device_driver * drv);
243 extern void driver_unregister(struct device_driver * drv);
248 extern int bus_add_driver(struct device_driver * drv);
249 extern void bus_remove_driver(struct device_driver * drv);
H A DdrvUSB.h363 struct device_driver driver;
373 static __inline__ struct usb_driver *to_usb_driver(struct device_driver *dev_ptr) in to_usb_driver()
375 const struct device_driver *__mptr = (dev_ptr); in to_usb_driver()
H A DdrvCPE_AMBA.h98 struct device_driver drv;