Lines Matching refs:lpc32xx_eth_device
200 struct lpc32xx_eth_device { struct
207 #define LPC32XX_ETH_DEVICE_SIZE (sizeof(struct lpc32xx_eth_device)) argument
210 #define to_lpc32xx_eth(_d) container_of(_d, struct lpc32xx_eth_device, dev)
231 struct lpc32xx_eth_device *dlpc32xx_eth = to_lpc32xx_eth(dev); in mii_reg_read()
290 struct lpc32xx_eth_device *dlpc32xx_eth = to_lpc32xx_eth(dev); in mii_reg_write()
345 static struct lpc32xx_eth_device lpc32xx_eth = {
357 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_send() local
358 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_send()
359 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_send()
360 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_send()
393 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_recv() local
394 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_recv()
395 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_recv()
396 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_recv()
427 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_write_hwaddr() local
428 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_write_hwaddr()
429 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_write_hwaddr()
444 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_init() local
445 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_init()
446 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_init()
447 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_init()
462 if (lpc32xx_eth_device->phy_rmii) in lpc32xx_eth_init()
537 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_halt() local
538 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_halt()
539 struct lpc32xx_eth_registers *regs = lpc32xx_eth_device->regs; in lpc32xx_eth_halt()
553 struct lpc32xx_eth_device *lpc32xx_eth_device = in lpc32xx_eth_phylib_init() local
554 container_of(dev, struct lpc32xx_eth_device, dev); in lpc32xx_eth_phylib_init()
575 if (lpc32xx_eth_device->phy_rmii) in lpc32xx_eth_phylib_init()