Home
last modified time | relevance | path

Searched refs:__mptr (Results 1 – 20 of 20) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvEHsTest.c98 const struct device_s *__mptr = hcd->controller; in issueSE0() local
99 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in issueSE0()
109 const struct device_s *__mptr = hcd->controller; in issueTestJ() local
110 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in issueTestJ()
123 const struct device_s *__mptr = hcd->controller; in issueTestK() local
124 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in issueTestK()
137 const struct device_s *__mptr = hcd->controller; in issueTestPacket() local
138 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in issueTestPacket()
H A DdrvPCIMEM.c193 const struct list_head *__mptr = entry; in ms_mem_pool_alloc() local
194 …ms_page = (struct ms_mem_page *)( (char *)__mptr - (char *)offsetof(struct ms_mem_page,page_list)); in ms_mem_pool_alloc()
258 const struct list_head *__mptr = pMem_pool->page_list.next; in ms_mem_pool_destroy() local
259 …ms_page = (struct ms_mem_page *)( (char *)__mptr - (char *)offsetof(struct ms_mem_page,page_list) … in ms_mem_pool_destroy()
304 const struct list_head *__mptr = pEntry; in ms_mem_pool_free() local
305 …ms_page = (struct ms_mem_page *)( (char *)__mptr - (char *)offsetof(struct ms_mem_page,page_list) … in ms_mem_pool_free()
H A DdrvUsbd.c1352 struct list_head *__mptr; in ms_usb_hcd_flush_endpoint() local
1375 __mptr = pUrb->urb_list.next, in ms_usb_hcd_flush_endpoint()
1376 pUrb = (struct urb *)( (char *)__mptr - (char *)offsetof(struct urb,urb_list) ) in ms_usb_hcd_flush_endpoint()
1424 struct list_head *__mptr; in ms_hcd_check_dev_urb() local
1438 __mptr = pUrb->urb_list.next, in ms_hcd_check_dev_urb()
1439 pUrb = (struct urb *)( (char *)__mptr - (char *)offsetof(struct urb,urb_list) ) in ms_hcd_check_dev_urb()
H A DdrvHub.c743 const struct device_s *__mptr = hcd->controller; in ms_hub_port_reset() local
744 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in ms_hub_port_reset()
915 const struct device_s *__mptr = pHcd->controller; in ms_hub_port_connect_change() local
916 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in ms_hub_port_connect_change()
H A DdrvEHCI.h187 const struct usb_hcd *__mptr = (hcd_ptr); in hcd_to_ehci() local
188 return (struct ehci_hcd *)( (char *)__mptr - (char *)offsetof(struct ehci_hcd,hcd) ); in hcd_to_ehci()
H A DdrvEhciHcd.c497 const struct device_s *__mptr = pHcd->controller; in ms_hub_control() local
498 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in ms_hub_control()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvEHsTest.c98 const struct device_s *__mptr = hcd->controller; in issueSE0() local
99 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in issueSE0()
109 const struct device_s *__mptr = hcd->controller; in issueTestJ() local
110 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in issueTestJ()
123 const struct device_s *__mptr = hcd->controller; in issueTestK() local
124 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in issueTestK()
137 const struct device_s *__mptr = hcd->controller; in issueTestPacket() local
138 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in issueTestPacket()
H A DdrvPCIMEM.c258 const struct list_head *__mptr = entry; in pci_pool_alloc() local
259 page = (struct pci_page *)( (char *)__mptr - (char *)offsetof(struct pci_page,page_list)); in pci_pool_alloc()
360 const struct list_head *__mptr = pool->page_list.next; in pci_pool_destroy() local
361 page = (struct pci_page *)( (char *)__mptr - (char *)offsetof(struct pci_page,page_list) ); in pci_pool_destroy()
421 const struct list_head *__mptr = entry; in pool_find_page() local
422 page = (struct pci_page *)( (char *)__mptr - (char *)offsetof(struct pci_page,page_list) ); in pool_find_page()
H A DdrvEhciHcd.c1267 const struct device_s *__mptr = hcd->controller; in ehci_hub_control() local
1268 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in ehci_hub_control()
9494 const struct device_s *__mptr = _dev; in ehci_hcd_cpe_ehci_drv_probe() local
9495 dev = (struct cpe_dev *)( (char *)__mptr - (char *)offsetof(struct cpe_dev,dev) ); in ehci_hcd_cpe_ehci_drv_probe()
9520 const struct device_s *__mptr = _dev; in ehci_hcd_cpe_ehci_drv_remove() local
9521 dev = (struct cpe_dev *)( (char *)__mptr - (char *)offsetof(struct cpe_dev,dev) ); in ehci_hcd_cpe_ehci_drv_remove()
9537 const struct device *__mptr = _dev; in ehci_hcd_cpe_ehci_drv_suspend() local
9538 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in ehci_hcd_cpe_ehci_drv_suspend()
9551 const struct device *__mptr = _dev; in ehci_hcd_cpe_ehci_drv_resume() local
9552 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in ehci_hcd_cpe_ehci_drv_resume()
[all …]
H A DdrvAMBA.c130 const struct device_s *__mptr = dev; in AMBA_match_EX() local
131 _dev = (struct cpe_dev *)( (char *)__mptr - (char *)offsetof(struct cpe_dev,dev) ); in AMBA_match_EX()
H A DdrvHUB.h263 const struct cpe_dev *__mptr = (cpe_ptr); in cpe_to_gVar() local
264 …return (struct s_gVar4UsbPort *)( (char *)__mptr - (char *)offsetof(struct s_gVar4UsbPort, cpe_ehc… in cpe_to_gVar()
H A DdrvEHCIDBG.cpp707 struct ehci_qtd *__mptr; in show_periodic() local
799 __mptr = qtd->qtd_list.next, in show_periodic()
800 qtd = (struct ehci_qtd *)((char *)__mptr - offsetof(struct ehci_qtd, qtd_list)) in show_periodic()
H A DdrvEhciHcd_2.c323 const struct device_s *__mptr = _dev; in ehci_hcd_cpe_ehci_drv_probe_Port2() local
324 dev = (struct cpe_dev *)( (char *)__mptr - (char *)offsetof(struct cpe_dev,dev) ); in ehci_hcd_cpe_ehci_drv_probe_Port2()
H A DdrvEHCI.h430 const struct usb_hcd *__mptr = (hcd_ptr); in hcd_to_ehci() local
431 return (struct ehci_hcd *)( (char *)__mptr - (char *)offsetof(struct ehci_hcd,hcd) ); in hcd_to_ehci()
H A DdrvHCD.c1972 struct list_head *__mptr; in hcd_endpoint_disable() local
2002 __mptr = urb->urb_list.next, in hcd_endpoint_disable()
2003 urb = (struct urb *)( (char *)__mptr - (char *)offsetof(struct urb,urb_list) ) in hcd_endpoint_disable()
H A DdrvUSBEntry.c1629 const struct device_s *__mptr = hcd->controller; in Usb_host_Init_EX() local
1662 cdev = (struct cpe_dev *)( (char *)__mptr - (char *)offsetof(struct cpe_dev,dev) ); in Usb_host_Init_EX()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/include/
H A DdrvUSBHost.h209 const struct usb_interface *__mptr = (struct usb_interface *)(d); in ms_to_usb_device() local
210 return (struct usb_device *)( (char *)__mptr - (char *)offsetof(struct usb_device,dev)); in ms_to_usb_device()
215 const struct usb_interface *__mptr = (struct usb_interface *)(d); in get_usb_interface() local
216 return (struct usb_interface *)((char *)__mptr - (char *)offsetof(struct usb_interface,dev)); in get_usb_interface()
221 const struct usb_device *__mptr = (struct usb_device *)(ptr->dev.parent); in interface_to_usbdev() local
222 return (struct usb_device *)((char *)__mptr - (char *)offsetof( struct usb_device, dev)); in interface_to_usbdev()
253 const struct device_driver *__mptr = (dev_ptr); in get_usb_driver() local
254 return (struct usb_driver *)( (char *)__mptr - (char *)offsetof(struct usb_driver,driver) ); in get_usb_driver()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/include/
H A DdrvUSB.h251 const struct usb_interface *__mptr = (struct usb_interface *)(d); in to_usb_device() local
252 return (struct usb_device *)( (char *)__mptr - (char *)offsetof(struct usb_device,dev)); in to_usb_device()
258 const struct usb_interface *__mptr = (struct usb_interface *)(d); in to_usb_interface() local
259 return (struct usb_interface *)((char *)__mptr - (char *)offsetof(struct usb_interface,dev)); in to_usb_interface()
264 const struct usb_device *__mptr = (struct usb_device *)(ptr->dev.parent); in interface_to_usbdev() local
265 return (struct usb_device *)((char *)__mptr - (char *)offsetof( struct usb_device, dev)); in interface_to_usbdev()
375 const struct device_driver *__mptr = (dev_ptr); in to_usb_driver() local
376 return (struct usb_driver *)( (char *)__mptr - (char *)offsetof(struct usb_driver,driver) ); in to_usb_driver()
H A DdrvList.h125 const member_type *__mptr = (ptr); \
126 result = (type *)( (char *)__mptr - offsetof(type,member) ); \
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/nos/
H A Dutopia_dapi.c22 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
23 (type *)( (char *)__mptr - offsetof(type,member) );})