Lines Matching defs:reg
614 #define tw32_mailbox(reg, val) tp->write32_mbox(tp, reg, val) argument
615 #define tw32_mailbox_f(reg, val) tw32_mailbox_flush(tp, (reg), (val)) argument
616 #define tw32_rx_mbox(reg, val) tp->write32_rx_mbox(tp, reg, val) argument
617 #define tw32_tx_mbox(reg, val) tp->write32_tx_mbox(tp, reg, val) argument
618 #define tr32_mailbox(reg) tp->read32_mbox(tp, reg) argument
620 #define tw32(reg, val) tp->write32(tp, reg, val) argument
621 #define tw32_f(reg, val) _tw32_flush(tp, (reg), (val), 0) argument
622 #define tw32_wait_f(reg, val, us) _tw32_flush(tp, (reg), (val), (us)) argument
623 #define tr32(reg) tp->read32(tp, reg) argument
1117 static int __tg3_readphy(struct tg3 *tp, unsigned int phy_addr, int reg, in __tg3_readphy()
1171 static int tg3_readphy(struct tg3 *tp, int reg, u32 *val) in tg3_readphy()
1176 static int __tg3_writephy(struct tg3 *tp, unsigned int phy_addr, int reg, in __tg3_writephy()
1230 static int tg3_writephy(struct tg3 *tp, int reg, u32 val) in tg3_writephy()
1281 static int tg3_phydsp_read(struct tg3 *tp, u32 reg, u32 *val) in tg3_phydsp_read()
1292 static int tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val) in tg3_phydsp_write()
1303 static int tg3_phy_auxctl_read(struct tg3 *tp, int reg, u32 *val) in tg3_phy_auxctl_read()
1316 static int tg3_phy_auxctl_write(struct tg3 *tp, int reg, u32 set) in tg3_phy_auxctl_write()
1345 static int tg3_phy_shdw_write(struct tg3 *tp, int reg, u32 val) in tg3_phy_shdw_write()
1382 static int tg3_mdio_read(struct mii_bus *bp, int mii_id, int reg) in tg3_mdio_read()
1397 static int tg3_mdio_write(struct mii_bus *bp, int mii_id, int reg, u16 val) in tg3_mdio_write()
1507 u32 reg; in tg3_mdio_init() local
1660 u32 reg, val; in tg3_phy_gather_ump_data() local
2220 u32 reg; in tg3_phy_toggle_apd() local
2261 u32 reg = MII_TG3_FET_SHDW_MISCCTRL; in tg3_phy_toggle_automdix() local
4954 u32 reg, bit; in tg3_setup_copper_phy() local
9443 u32 reg; in tg3_coal_tx_init() local
9478 u32 reg; in tg3_coal_rx_init() local
9712 u32 reg; in calc_crc() local
9844 u32 reg = MAC_RSS_INDIR_TBL_0; in tg3_rss_write_indir_tbl() local
16063 u32 reg; in tg3_detect_asic_rev() local