Home
last modified time | relevance | path

Searched refs:edev (Results 1 – 3 of 3) sorted by relevance

/u-boot/drivers/net/
A Dlan91c96.h62 #define SMCREG(edev, r) ((edev)->iobase+((r)<<SMC_IO_SHIFT)) argument
64 #define SMC_inl(edev, r) (*((volatile dword *)SMCREG(edev, r))) argument
65 #define SMC_inw(edev, r) (*((volatile word *)SMCREG(edev, r))) argument
73 #define SMC_outl(edev, d, r) (*((volatile dword *)SMCREG(edev, r)) = d) argument
74 #define SMC_outw(edev, d, r) (*((volatile word *)SMCREG(edev, r)) = d) argument
106 SMC_inl(edev, 0); \
116 SMC_inw(edev, 0); \
126 SMC_inb(edev, 0); \
136 #define SMC_inw(edev, r) (*((volatile word *)((edev)->iobase+(r)))) argument
137 #define SMC_inb(edev, r) (((r)&1) ? SMC_inw(edev, (r)&~1)>>8 :\ argument
[all …]
A Dfec_mxc.c563 miiphy_wait_aneg(edev); in fec_open()
1113 struct eth_device *edev; in fec_probe() local
1122 if (!edev) { in fec_probe()
1135 memset(edev, 0, sizeof(*edev)); in fec_probe()
1142 edev->priv = fec; in fec_probe()
1143 edev->init = fec_init; in fec_probe()
1144 edev->send = fec_send; in fec_probe()
1145 edev->recv = fec_recv; in fec_probe()
1146 edev->halt = fec_halt; in fec_probe()
1178 eth_register(edev); in fec_probe()
[all …]
/u-boot/drivers/qe/
A Duec_phy.c465 struct eth_device *edev = mii_info->dev; in bcm_init() local
466 struct uec_priv *uec = edev->priv; in bcm_init()
498 struct eth_device *edev = mii_info->dev; in uec_marvell_init() local
499 struct uec_priv *uec = edev->priv; in uec_marvell_init()

Completed in 10 milliseconds