Lines Matching defs:tp
143 static void tg3_disable_ints(struct tg3 *tp) in tg3_disable_ints()
150 static void tg3_switch_clocks(struct tg3 *tp) in tg3_switch_clocks()
172 static int tg3_readphy(struct tg3 *tp, int reg, uint32_t *val) in tg3_readphy()
212 static int tg3_writephy(struct tg3 *tp, int reg, uint32_t val) in tg3_writephy()
248 static int tg3_writedsp(struct tg3 *tp, uint16_t addr, uint16_t val) in tg3_writedsp()
257 static void tg3_phy_set_wirespeed(struct tg3 *tp) in tg3_phy_set_wirespeed()
269 static int tg3_bmcr_reset(struct tg3 *tp) in tg3_bmcr_reset()
300 static int tg3_wait_macro_done(struct tg3 *tp) in tg3_wait_macro_done()
317 static int tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) in tg3_phy_write_and_check_testpat()
383 static int tg3_phy_reset_chanpat(struct tg3 *tp) in tg3_phy_reset_chanpat()
403 static int tg3_phy_reset_5703_4_5(struct tg3 *tp) in tg3_phy_reset_5703_4_5()
469 static int tg3_phy_reset(struct tg3 *tp) in tg3_phy_reset()
495 static void tg3_set_power_state_0(struct tg3 *tp) in tg3_set_power_state_0()
519 static void tg3_link_report(struct tg3 *tp) in tg3_link_report()
537 #define tg3_link_report(tp) argument
540 static void tg3_setup_flow_control(struct tg3 *tp, uint32_t local_adv, uint32_t remote_adv) in tg3_setup_flow_control()
599 static int tg3_phy_copper_begin(struct tg3 *tp) in tg3_phy_copper_begin()
654 static int tg3_init_5401phy_dsp(struct tg3 *tp) in tg3_init_5401phy_dsp()
672 static int tg3_setup_copper_phy(struct tg3 *tp) in tg3_setup_copper_phy()
952 static int tg3_fiber_aneg_smachine(struct tg3 *tp, in tg3_fiber_aneg_smachine()
1196 static int tg3_setup_fiber_phy(struct tg3 *tp) in tg3_setup_fiber_phy()
1381 static int tg3_setup_phy(struct tg3 *tp) in tg3_setup_phy()
1412 static int tg3_stop_block(struct tg3 *tp, unsigned long ofs, uint32_t enable_bit) in tg3_stop_block()
1453 static int tg3_abort_hw(struct tg3 *tp) in tg3_abort_hw()
1513 static void tg3_chip_reset(struct tg3 *tp) in tg3_chip_reset()
1582 static void tg3_stop_fw(struct tg3 *tp) in tg3_stop_fw()
1602 static int tg3_restart_fw(struct tg3 *tp, uint32_t state) in tg3_restart_fw()
1629 static int tg3_halt(struct tg3 *tp) in tg3_halt()
1637 static void __tg3_set_mac_addr(struct tg3 *tp) in __tg3_set_mac_addr()
1671 static void tg3_set_bdinfo(struct tg3 *tp, uint32_t bdinfo_addr, in tg3_set_bdinfo()
1690 static void tg3_init_rings(struct tg3 *tp) in tg3_init_rings()
1742 static int tg3_setup_hw(struct tg3 *tp) in tg3_setup_hw()
2214 static void tg3_nvram_init(struct tg3 *tp) in tg3_nvram_init()
2282 static int tg3_nvram_read(struct tg3 *tp, uint32_t offset, uint32_t *val) in tg3_nvram_read()
2374 static int tg3_phy_probe(struct tg3 *tp) in tg3_phy_probe()
2556 static void tg3_read_partno(struct tg3 *tp) in tg3_read_partno()
2620 static int tg3_get_invariants(struct tg3 *tp) in tg3_get_invariants()
2811 static int tg3_get_device_address(struct tg3 *tp) in tg3_get_device_address()
2860 static int tg3_setup_dma(struct tg3 *tp) in tg3_setup_dma()
2913 static void tg3_init_link_config(struct tg3 *tp) in tg3_init_link_config()
2927 static const char * tg3_phy_string(struct tg3 *tp) in tg3_phy_string()
2946 static void tg3_poll_link(struct tg3 *tp) in tg3_poll_link()
2971 static void tg3_ack_irqs(struct tg3 *tp) in tg3_ack_irqs()
2998 struct tg3 *tp = &tg3; in tg3_poll() local
3068 struct tg3 *tp; in tg3_transmit() local
3120 struct tg3 *tp = &tg3; in tg3_disable() local
3159 struct tg3 *tp = &tg3; in tg3_probe() local