/u-boot/drivers/usb/musb-new/ |
A D | musb_gadget.h | 39 return req ? container_of(req, struct musb_request, request) : NULL; in to_musb_request() 78 return ep ? container_of(ep, struct musb_ep, end_point) : NULL; in to_musb_ep() 87 return container_of(queue->next, struct musb_request, list); in next_request()
|
A D | musb_host.h | 18 return container_of((void *) musb, struct usb_hcd, hcd_priv); in musb_to_hcd()
|
/u-boot/drivers/usb/dwc3/ |
A D | gadget.h | 26 #define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint)) 27 #define gadget_to_dwc(g) (container_of(g, struct dwc3, gadget)) 60 #define to_dwc3_request(r) (container_of(r, struct dwc3_request, request))
|
/u-boot/include/linux/ |
A D | clk-provider.h | 74 #define to_clk_mux(_clk) container_of(_clk, struct clk_mux, clk) 101 #define to_clk_gate(_clk) container_of(_clk, struct clk_gate, clk) 130 #define to_clk_divider(_clk) container_of(_clk, struct clk_divider, clk) 195 #define to_clk_fixed_factor(_clk) container_of(_clk, struct clk_fixed_factor,\ 218 #define to_clk_composite(_clk) container_of(_clk, struct clk_composite, clk)
|
/u-boot/fs/btrfs/ |
A D | extent-io.c | 50 es = container_of(cache, struct extent_state, cache_node); in free_extent_state_func() 83 other = container_of(other_node, struct extent_state, in merge_state() 95 other = container_of(other_node, struct extent_state, in merge_state() 249 state = container_of(node, struct extent_state, cache_node); in clear_extent_bits() 347 state = container_of(node, struct extent_state, cache_node); in set_extent_bits() 533 state = container_of(node, struct extent_state, cache_node); in set_state_private() 554 state = container_of(node, struct extent_state, cache_node); in get_state_private() 650 eb = container_of(cache, struct extent_buffer, cache_node); in find_extent_buffer() 664 eb = container_of(cache, struct extent_buffer, cache_node); in find_first_extent_buffer() 680 eb = container_of(cache, struct extent_buffer, cache_node); in alloc_extent_buffer() [all …]
|
/u-boot/lib/ |
A D | list_sort.c | 209 ela = container_of(a, struct debug_el, list); in cmp() 210 elb = container_of(b, struct debug_el, list); in cmp() 267 el = container_of(cur, struct debug_el, list); in list_sort_test() 268 el1 = container_of(cur->next, struct debug_el, list); in list_sort_test() 294 kfree(container_of(cur, struct debug_el, list)); in list_sort_test()
|
/u-boot/scripts/kconfig/ |
A D | list.h | 19 #define container_of(ptr, type, member) ({ \ macro 41 container_of(ptr, type, member)
|
/u-boot/drivers/core/ |
A D | devres.c | 97 struct devres *dr = container_of(res, struct devres, data); in devres_free() 106 struct devres *dr = container_of(res, struct devres, data); in devres_add() 138 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get() 159 struct devres *dr = container_of(res, struct devres, data); in devres_remove()
|
/u-boot/arch/arm/cpu/armv7/bcm235xx/ |
A D | clk-core.h | 463 return container_of(clock, struct refclk, clk); in to_refclk() 468 return container_of(clock, struct peri_clock, clk); in to_peri_clk() 473 return container_of(clock, struct ccu_clock, clk); in to_ccu_clk() 478 return container_of(clock, struct bus_clock, clk); in to_bus_clk() 483 return container_of(clock, struct ref_clock, clk); in to_ref_clk()
|
/u-boot/arch/arm/cpu/armv7/bcm281xx/ |
A D | clk-core.h | 463 return container_of(clock, struct refclk, clk); in to_refclk() 468 return container_of(clock, struct peri_clock, clk); in to_peri_clk() 473 return container_of(clock, struct ccu_clock, clk); in to_ccu_clk() 478 return container_of(clock, struct bus_clock, clk); in to_bus_clk() 483 return container_of(clock, struct ref_clock, clk); in to_ref_clk()
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
A D | bcm63158_nand.c | 43 container_of(soc, struct bcm63158_nand_soc, soc); in bcm63158_nand_intc_ack() 61 container_of(soc, struct bcm63158_nand_soc, soc); in bcm63158_nand_intc_set()
|
A D | bcm68360_nand.c | 42 container_of(soc, struct bcm68360_nand_soc, soc); in bcm68360_nand_intc_ack() 60 container_of(soc, struct bcm68360_nand_soc, soc); in bcm68360_nand_intc_set()
|
A D | bcm6838_nand.c | 41 container_of(soc, struct bcm6838_nand_soc, soc); in bcm6838_nand_intc_ack() 59 container_of(soc, struct bcm6838_nand_soc, soc); in bcm6838_nand_intc_set()
|
A D | bcm6858_nand.c | 43 container_of(soc, struct bcm6858_nand_soc, soc); in bcm6858_nand_intc_ack() 61 container_of(soc, struct bcm6858_nand_soc, soc); in bcm6858_nand_intc_set()
|
/u-boot/drivers/net/ |
A D | lpc32xx_eth.c | 212 #define to_lpc32xx_eth(_d) container_of(_d, struct lpc32xx_eth_device, dev) 360 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_send() 397 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_recv() 431 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_write_hwaddr() 448 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_init() 546 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_halt() 562 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_phylib_init()
|
A D | smc911x.c | 404 struct smc911x_priv *priv = container_of(dev, struct smc911x_priv, dev); in smc911x_miiphy_read() 423 struct smc911x_priv *priv = container_of(dev, struct smc911x_priv, dev); in smc911x_miiphy_write() 460 struct smc911x_priv *priv = container_of(dev, struct smc911x_priv, dev); in smc911x_init() 467 struct smc911x_priv *priv = container_of(dev, struct smc911x_priv, dev); in smc911x_halt() 474 struct smc911x_priv *priv = container_of(dev, struct smc911x_priv, dev); in smc911x_send() 481 struct smc911x_priv *priv = container_of(dev, struct smc911x_priv, dev); in smc911x_recv()
|
A D | ks8851_mll.c | 511 struct ks_net *ks = container_of(dev, struct ks_net, dev); in ks8851_mll_init() 518 struct ks_net *ks = container_of(dev, struct ks_net, dev); in ks8851_mll_halt() 525 struct ks_net *ks = container_of(dev, struct ks_net, dev); in ks8851_mll_send() 532 struct ks_net *ks = container_of(dev, struct ks_net, dev); in ks8851_mll_recv() 544 struct ks_net *ks = container_of(dev, struct ks_net, dev); in ks8851_mll_write_hwaddr()
|
/u-boot/include/kendryte/ |
A D | bypass.h | 20 #define to_k210_bypass(_clk) container_of(_clk, struct k210_bypass, clk)
|
A D | pll.h | 36 #define to_k210_pll(_clk) container_of(_clk, struct k210_pll, clk)
|
/u-boot/drivers/usb/gadget/ |
A D | atmel_usba_udc.h | 304 return container_of(ep, struct usba_ep, ep); in to_usba_ep() 309 return container_of(req, struct usba_request, req); in to_usba_req() 314 return container_of(gadget, struct usba_udc, gadget); in to_usba_udc()
|
A D | fotg210.c | 506 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_enable() 550 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_disable() 581 req = container_of(_req, struct fotg210_request, req); in fotg210_ep_free_request() 588 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_queue() 593 req = container_of(_req, struct fotg210_request, req); in fotg210_ep_queue() 647 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_dequeue() 673 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_halt() 740 chip = container_of(_gadget, struct fotg210_chip, gadget); in fotg210_pullup() 754 chip = container_of(_gadget, struct fotg210_chip, gadget); in fotg210_get_frame()
|
A D | ci_udc.c | 269 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_alloc_request() 293 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_free_request() 294 struct ci_req *ci_req = container_of(req, struct ci_req, req); in ci_ep_free_request() 334 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_enable() 359 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_disable() 539 struct ci_ep *ci_ep = container_of(_ep, struct ci_ep, ep); in ci_ep_dequeue() 564 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_queue() 565 struct ci_req *ci_req = container_of(req, struct ci_req, req); in ci_ep_queue()
|
/u-boot/drivers/usb/mtu3/ |
A D | mtu3.h | 345 return container_of(g, struct mtu3, g); in gadget_to_mtu3() 356 return req ? container_of(req, struct mtu3_request, request) : NULL; in to_mtu3_request() 361 return ep ? container_of(ep, struct mtu3_ep, ep) : NULL; in to_mtu3_ep()
|
/u-boot/drivers/clk/at91/ |
A D | clk-main.c | 40 #define to_clk_main_rc(_clk) container_of(_clk, struct clk_main_rc, clk) 47 #define to_clk_main_osc(_clk) container_of(_clk, struct clk_main_osc, clk) 58 #define to_clk_main(_clk) container_of(_clk, struct clk_main, clk)
|
/u-boot/lib/efi_loader/ |
A D | efi_gop.c | 55 gopobj = container_of(this, struct efi_gop_obj, ops); in gop_query_mode() 98 struct efi_gop_obj *gopobj = container_of(this, struct efi_gop_obj, ops); in gop_blt_int() 225 struct efi_gop_obj *gopobj = container_of(this, struct efi_gop_obj, ops); in gop_get_bpp() 344 gopobj = container_of(this, struct efi_gop_obj, ops); in gop_set_mode()
|