Lines Matching defs:mac
10 #define HBG_MAC_GET_PRIV(mac) ((struct hbg_priv *)(mac)->mdio_bus->priv) argument
20 static void hbg_mdio_set_command(struct hbg_mac *mac, u32 cmd) in hbg_mdio_set_command()
25 static void hbg_mdio_get_command(struct hbg_mac *mac, u32 *cmd) in hbg_mdio_get_command()
30 static void hbg_mdio_set_wdata_reg(struct hbg_mac *mac, u16 wdata_value) in hbg_mdio_set_wdata_reg()
36 static u32 hbg_mdio_get_rdata_reg(struct hbg_mac *mac) in hbg_mdio_get_rdata_reg()
43 static int hbg_mdio_wait_ready(struct hbg_mac *mac) in hbg_mdio_wait_ready()
57 static int hbg_mdio_cmd_send(struct hbg_mac *mac, u32 prt_addr, u32 dev_addr, in hbg_mdio_cmd_send()
79 struct hbg_mac *mac = HBG_MII_BUS_GET_MAC(bus); in hbg_mdio_read22() local
93 struct hbg_mac *mac = HBG_MII_BUS_GET_MAC(bus); in hbg_mdio_write22() local
103 struct hbg_mac *mac = &priv->mac; in hbg_mdio_init_hw() local
204 struct hbg_mac *mac = &priv->mac; in hbg_mdio_init() local