Lines Matching defs:mac
11 #define HBG_MAC_GET_PRIV(mac) ((struct hbg_priv *)(mac)->mdio_bus->priv) argument
23 static void hbg_mdio_set_command(struct hbg_mac *mac, u32 cmd) in hbg_mdio_set_command()
28 static void hbg_mdio_get_command(struct hbg_mac *mac, u32 *cmd) in hbg_mdio_get_command()
33 static void hbg_mdio_set_wdata_reg(struct hbg_mac *mac, u16 wdata_value) in hbg_mdio_set_wdata_reg()
39 static u32 hbg_mdio_get_rdata_reg(struct hbg_mac *mac) in hbg_mdio_get_rdata_reg()
46 static int hbg_mdio_wait_ready(struct hbg_mac *mac) in hbg_mdio_wait_ready()
60 static int hbg_mdio_cmd_send(struct hbg_mac *mac, u32 prt_addr, u32 dev_addr, in hbg_mdio_cmd_send()
82 struct hbg_mac *mac = HBG_MII_BUS_GET_MAC(bus); in hbg_mdio_read22() local
96 struct hbg_mac *mac = HBG_MII_BUS_GET_MAC(bus); in hbg_mdio_write22() local
106 struct hbg_mac *mac = &priv->mac; in hbg_mdio_init_hw() local
235 struct hbg_mac *mac = &priv->mac; in hbg_mdio_init() local