Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 25 of 93) sorted by relevance

1234

/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_gadget.h40 return req ? container_of(req, struct musb_request, request) : NULL; in to_musb_request()
79 return ep ? container_of(ep, struct musb_ep, end_point) : NULL; in to_musb_ep()
88 return container_of(queue->next, struct musb_request, list); in next_request()
H A Dmusb_host.h19 return container_of((void *) musb, struct usb_hcd, hcd_priv); in musb_to_hcd()
/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Dgadget.h27 #define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint))
28 #define gadget_to_dwc(g) (container_of(g, struct dwc3, gadget))
61 #define to_dwc3_request(r) (container_of(r, struct dwc3_request, request))
/rk3399_rockchip-uboot/lib/
H A Dlist_sort.c207 ela = container_of(a, struct debug_el, list); in cmp()
208 elb = container_of(b, struct debug_el, list); in cmp()
265 el = container_of(cur, struct debug_el, list); in list_sort_test()
266 el1 = container_of(cur->next, struct debug_el, list); in list_sort_test()
292 kfree(container_of(cur, struct debug_el, list)); in list_sort_test()
/rk3399_rockchip-uboot/drivers/core/
H A Ddevres.c82 struct devres *dr = container_of(res, struct devres, data); in devres_free()
91 struct devres *dr = container_of(res, struct devres, data); in devres_add()
118 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get()
139 struct devres *dr = container_of(res, struct devres, data); in devres_remove()
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/bcm281xx/
H A Dclk-core.h463 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()
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/bcm235xx/
H A Dclk-core.h463 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()
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dlist.h18 #define container_of(ptr, type, member) ({ \ macro
40 container_of(ptr, type, member)
/rk3399_rockchip-uboot/drivers/net/
H A Dlpc32xx_eth.c211 #define to_lpc32xx_eth(_d) container_of(_d, struct lpc32xx_eth_device, dev)
361 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()
541 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_halt()
557 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_phylib_init()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/brcmnand/
H A Dbcm63158_nand.c41 container_of(soc, struct bcm63158_nand_soc, soc); in bcm63158_nand_intc_ack()
59 container_of(soc, struct bcm63158_nand_soc, soc); in bcm63158_nand_intc_set()
H A Dbcm6838_nand.c39 container_of(soc, struct bcm6838_nand_soc, soc); in bcm6838_nand_intc_ack()
57 container_of(soc, struct bcm6838_nand_soc, soc); in bcm6838_nand_intc_set()
H A Dbcm6858_nand.c41 container_of(soc, struct bcm6858_nand_soc, soc); in bcm6858_nand_intc_ack()
59 container_of(soc, struct bcm6858_nand_soc, soc); in bcm6858_nand_intc_set()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Datmel_usba_udc.h305 return container_of(ep, struct usba_ep, ep); in to_usba_ep()
310 return container_of(req, struct usba_request, req); in to_usba_req()
315 return container_of(gadget, struct usba_udc, gadget); in to_usba_udc()
H A Dfotg210.c504 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_enable()
548 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_disable()
579 req = container_of(_req, struct fotg210_request, req); in fotg210_ep_free_request()
586 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_queue()
591 req = container_of(_req, struct fotg210_request, req); in fotg210_ep_queue()
645 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_dequeue()
671 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_halt()
738 chip = container_of(_gadget, struct fotg210_chip, gadget); in fotg210_pullup()
752 chip = container_of(_gadget, struct fotg210_chip, gadget); in fotg210_get_frame()
H A Dci_udc.c262 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_alloc_request()
286 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_free_request()
287 struct ci_req *ci_req = container_of(req, struct ci_req, req); in ci_ep_free_request()
327 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_enable()
351 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_disable()
530 struct ci_ep *ci_ep = container_of(_ep, struct ci_ep, ep); in ci_ep_dequeue()
555 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep); in ci_ep_queue()
556 struct ci_req *ci_req = container_of(req, struct ci_req, req); in ci_ep_queue()
H A Dpxa25x_udc.c300 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_enable()
352 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_disable()
406 req = container_of(_req, struct pxa25x_request, req); in pxa25x_ep_free_request()
731 req = container_of(_req, struct pxa25x_request, req); in pxa25x_ep_queue()
738 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_queue()
863 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_dequeue()
892 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_set_halt()
947 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_fifo_status()
966 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_fifo_flush()
1063 udc = container_of(_gadget, struct pxa25x_udc, gadget); in pxa25x_udc_vbus_session()
[all …]
H A Dat91_udc.h140 return container_of(g, struct at91_udc, gadget); in to_udc()
/rk3399_rockchip-uboot/drivers/power/power_delivery/
H A Dfusb302.c247 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, in tcpm_init()
278 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, in tcpm_get_vbus()
287 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip,
445 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, in tcpm_set_cc()
544 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, in tcpm_get_cc()
563 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, in tcpm_set_vconn()
591 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, in tcpm_set_vbus()
673 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, in tcpm_set_pd_rx()
717 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, in tcpm_set_roles()
746 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, in tcpm_start_toggling()
[all …]
/rk3399_rockchip-uboot/drivers/spi/
H A Dsh_spi.h65 return container_of(slave, struct sh_spi, slave); in to_sh_spi()
H A Datmel_spi.h89 return container_of(slave, struct atmel_spi_slave, slave); in to_atmel_spi()
H A Dlpc32xx_ssp.c48 return container_of(slave, struct lpc32xx_spi_slave, slave); in to_lpc32xx_spi_slave()
/rk3399_rockchip-uboot/drivers/mmc/
H A Drockchip_sdhci.c208 container_of(host, struct rockchip_sdhc, host); in rockchip_emmc_set_clock()
314 container_of(host, struct rockchip_sdhc, host); in rk3399_sdhci_emmc_set_clock()
331 struct rockchip_sdhc *priv = container_of(host, struct rockchip_sdhc, host); in dwcmshc_sdhci_emmc_set_clock()
482 container_of(host, struct rockchip_sdhc, host); in rockchip_sdhci_set_clock()
493 container_of(host, struct rockchip_sdhc, host); in rockchip_sdhci_set_ios_post()
502 struct rockchip_sdhc *priv = container_of(host, struct rockchip_sdhc, host); in rockchip_sdhci_set_enhanced_strobe()
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_gop.c42 gopobj = container_of(this, struct efi_gop_obj, ops); in gop_query_mode()
65 struct efi_gop_obj *gopobj = container_of(this, struct efi_gop_obj, ops); in gop_blt()
/rk3399_rockchip-uboot/include/linux/
H A Drbtree.h40 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
/rk3399_rockchip-uboot/drivers/pci/
H A Dpci_msc01.c25 return container_of(hose, struct msc01_pci_controller, hose); in hose_to_msc01()

1234