Lines Matching refs:pch_gbe_regs
29 static void pch_gbe_mac_read(struct pch_gbe_regs *mac_regs, u8 *addr) in pch_gbe_mac_read()
45 static int pch_gbe_mac_write(struct pch_gbe_regs *mac_regs, u8 *addr) in pch_gbe_mac_write()
72 struct pch_gbe_regs *mac_regs = priv->mac_regs; in pch_gbe_reset()
117 struct pch_gbe_regs *mac_regs = priv->mac_regs; in pch_gbe_rx_descs_init()
140 struct pch_gbe_regs *mac_regs = priv->mac_regs; in pch_gbe_tx_descs_init()
155 static void pch_gbe_adjust_link(struct pch_gbe_regs *mac_regs, in pch_gbe_adjust_link()
197 struct pch_gbe_regs *mac_regs = priv->mac_regs; in pch_gbe_start()
249 struct pch_gbe_regs *mac_regs = priv->mac_regs; in pch_gbe_send()
295 struct pch_gbe_regs *mac_regs = priv->mac_regs; in pch_gbe_recv()
323 struct pch_gbe_regs *mac_regs = priv->mac_regs; in pch_gbe_free_pkt()
340 static int pch_gbe_mdio_ready(struct pch_gbe_regs *mac_regs) in pch_gbe_mdio_ready()
356 struct pch_gbe_regs *mac_regs = bus->priv; in pch_gbe_mdio_read()
376 struct pch_gbe_regs *mac_regs = bus->priv; in pch_gbe_mdio_write()
393 static int pch_gbe_mdio_init(const char *name, struct pch_gbe_regs *mac_regs) in pch_gbe_mdio_init()
455 priv->mac_regs = (struct pch_gbe_regs *)iobase; in pch_gbe_probe()