Lines Matching refs:lpc32xx_eth_device
201 struct lpc32xx_eth_device { struct
208 #define LPC32XX_ETH_DEVICE_SIZE (sizeof(struct lpc32xx_eth_device)) argument
211 #define to_lpc32xx_eth(_d) container_of(_d, struct lpc32xx_eth_device, dev)
234 struct lpc32xx_eth_device *dlpc32xx_eth = to_lpc32xx_eth(dev); in mii_reg_read()
293 struct lpc32xx_eth_device *dlpc32xx_eth = to_lpc32xx_eth(dev); in mii_reg_write()
348 static struct lpc32xx_eth_device lpc32xx_eth = {
360 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_send() local
361 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_send()
362 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_send()
363 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_send()
396 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_recv() local
397 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_recv()
398 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_recv()
399 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_recv()
430 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_write_hwaddr() local
431 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_write_hwaddr()
432 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_write_hwaddr()
447 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_init() local
448 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_init()
449 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_init()
450 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_init()
465 if (lpc32xx_eth_device->phy_rmii) in lpc32xx_eth_init()
540 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_halt() local
541 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_halt()
542 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_halt()
556 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_phylib_init() local
557 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_phylib_init()
578 if (lpc32xx_eth_device->phy_rmii) in lpc32xx_eth_phylib_init()