• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:tg3

32 static struct tg3 tg3;  variable
106 pci_write_config_dword(tg3.pdev, TG3PCI_REG_BASE_ADDR, off); in tg3_write_indirect_reg32()
107 pci_write_config_dword(tg3.pdev, TG3PCI_REG_DATA, val); in tg3_write_indirect_reg32()
111 #define tw32_mailbox(reg, val) writel(((val) & 0xffffffff), tg3.regs + (reg))
112 #define tw16(reg,val) writew(((val) & 0xffff), tg3.regs + (reg))
113 #define tw8(reg,val) writeb(((val) & 0xff), tg3.regs + (reg))
114 #define tr32(reg) readl(tg3.regs + (reg))
115 #define tr16(reg) readw(tg3.regs + (reg))
116 #define tr8(reg) readb(tg3.regs + (reg))
133 pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_BASE_ADDR, off); in tg3_write_mem()
134 pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_DATA, val); in tg3_write_mem()
137 pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_BASE_ADDR, 0); in tg3_write_mem()
142 pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_BASE_ADDR, off); in tg3_read_mem()
143 pci_read_config_dword(tg3.pdev, TG3PCI_MEM_WIN_DATA, val); in tg3_read_mem()
146 pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_BASE_ADDR, 0); in tg3_read_mem()
149 static void tg3_disable_ints(struct tg3 *tp) in tg3_disable_ints()
156 static void tg3_switch_clocks(struct tg3 *tp) in tg3_switch_clocks()
180 static int tg3_readphy(struct tg3 *tp, int reg, uint32_t *val) in tg3_readphy()
220 static int tg3_writephy(struct tg3 *tp, int reg, uint32_t val) in tg3_writephy()
256 static int tg3_writedsp(struct tg3 *tp, uint16_t addr, uint16_t val) in tg3_writedsp()
265 static void tg3_phy_set_wirespeed(struct tg3 *tp) in tg3_phy_set_wirespeed()
277 static int tg3_bmcr_reset(struct tg3 *tp) in tg3_bmcr_reset()
308 static int tg3_wait_macro_done(struct tg3 *tp) in tg3_wait_macro_done()
325 static int tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) in tg3_phy_write_and_check_testpat()
391 static int tg3_phy_reset_chanpat(struct tg3 *tp) in tg3_phy_reset_chanpat()
411 static int tg3_phy_reset_5703_4_5(struct tg3 *tp) in tg3_phy_reset_5703_4_5()
477 static int tg3_phy_reset(struct tg3 *tp) in tg3_phy_reset()
514 static void tg3_set_power_state_0(struct tg3 *tp) in tg3_set_power_state_0()
538 static void tg3_link_report(struct tg3 *tp) in tg3_link_report()
559 static void tg3_setup_flow_control(struct tg3 *tp, uint32_t local_adv, uint32_t remote_adv) in tg3_setup_flow_control()
600 struct tg3 *tp __unused, uint32_t val, uint8_t *speed, uint8_t *duplex) in tg3_aux_stat_to_speed_duplex()
618 static int tg3_phy_copper_begin(struct tg3 *tp) in tg3_phy_copper_begin()
673 static int tg3_init_5401phy_dsp(struct tg3 *tp) in tg3_init_5401phy_dsp()
691 static int tg3_setup_copper_phy(struct tg3 *tp) in tg3_setup_copper_phy()
972 static int tg3_fiber_aneg_smachine(struct tg3 *tp, in tg3_fiber_aneg_smachine()
1216 static int tg3_setup_fiber_phy(struct tg3 *tp) in tg3_setup_fiber_phy()
1401 static int tg3_setup_phy(struct tg3 *tp) in tg3_setup_phy()
1432 static int tg3_stop_block(struct tg3 *tp, unsigned long ofs, uint32_t enable_bit) in tg3_stop_block()
1474 static int tg3_abort_hw(struct tg3 *tp) in tg3_abort_hw()
1541 static void tg3_chip_reset(struct tg3 *tp) in tg3_chip_reset()
1634 static void tg3_stop_fw(struct tg3 *tp) in tg3_stop_fw()
1654 static int tg3_restart_fw(struct tg3 *tp, uint32_t state) in tg3_restart_fw()
1689 static int tg3_halt(struct tg3 *tp) in tg3_halt()
1697 static void __tg3_set_mac_addr(struct tg3 *tp) in __tg3_set_mac_addr()
1731 static void tg3_set_bdinfo(struct tg3 *tp, uint32_t bdinfo_addr, in tg3_set_bdinfo()
1750 static void tg3_init_rings(struct tg3 *tp) in tg3_init_rings()
1802 static int tg3_setup_hw(struct tg3 *tp) in tg3_setup_hw()
2294 static void tg3_nvram_init(struct tg3 *tp) in tg3_nvram_init()
2327 struct tg3 *tp __unused, uint32_t offset, uint32_t *val) in tg3_nvram_read_using_eeprom()
2362 static int tg3_nvram_read(struct tg3 *tp, uint32_t offset, uint32_t *val) in tg3_nvram_read()
2458 static int tg3_phy_probe(struct tg3 *tp) in tg3_phy_probe()
2640 static void tg3_read_partno(struct tg3 *tp) in tg3_read_partno()
2704 static int tg3_get_invariants(struct tg3 *tp) in tg3_get_invariants()
2907 static int tg3_get_device_address(struct tg3 *tp) in tg3_get_device_address()
2956 static int tg3_setup_dma(struct tg3 *tp) in tg3_setup_dma()
3015 static void tg3_init_link_config(struct tg3 *tp) in tg3_init_link_config()
3029 static const char * tg3_phy_string(struct tg3 *tp) in tg3_phy_string()
3052 static void tg3_poll_link(struct tg3 *tp) in tg3_poll_link()
3077 static void tg3_ack_irqs(struct tg3 *tp) in tg3_ack_irqs()
3104 struct tg3 *tp = &tg3; in tg3_poll()
3144 static void tg3_set_txd(struct tg3 *tp, int entry,
3169 struct tg3 *tp; in tg3_transmit()
3174 tp = &tg3; in tg3_transmit()
3220 struct tg3 *tp = &tg3; in tg3_disable()
3266 struct tg3 *tp = &tg3; in tg3_probe()