Symbol: tg3
usr/src/grub/grub-0.97/netboot/tg3.c
100
pci_write_config_dword(tg3.pdev, TG3PCI_REG_BASE_ADDR, off);
usr/src/grub/grub-0.97/netboot/tg3.c
101
pci_write_config_dword(tg3.pdev, TG3PCI_REG_DATA, val);
usr/src/grub/grub-0.97/netboot/tg3.c
105
#define tw32_mailbox(reg, val) writel(((val) & 0xffffffff), tg3.regs + (reg))
usr/src/grub/grub-0.97/netboot/tg3.c
106
#define tw16(reg,val) writew(((val) & 0xffff), tg3.regs + (reg))
usr/src/grub/grub-0.97/netboot/tg3.c
107
#define tw8(reg,val) writeb(((val) & 0xff), tg3.regs + (reg))
usr/src/grub/grub-0.97/netboot/tg3.c
108
#define tr32(reg) readl(tg3.regs + (reg))
usr/src/grub/grub-0.97/netboot/tg3.c
109
#define tr16(reg) readw(tg3.regs + (reg))
usr/src/grub/grub-0.97/netboot/tg3.c
110
#define tr8(reg) readb(tg3.regs + (reg))
usr/src/grub/grub-0.97/netboot/tg3.c
1196
static int tg3_setup_fiber_phy(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
127
pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_BASE_ADDR, off);
usr/src/grub/grub-0.97/netboot/tg3.c
128
pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_DATA, val);
usr/src/grub/grub-0.97/netboot/tg3.c
131
pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_BASE_ADDR, 0);
usr/src/grub/grub-0.97/netboot/tg3.c
136
pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_BASE_ADDR, off);
usr/src/grub/grub-0.97/netboot/tg3.c
137
pci_read_config_dword(tg3.pdev, TG3PCI_MEM_WIN_DATA, val);
usr/src/grub/grub-0.97/netboot/tg3.c
1381
static int tg3_setup_phy(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
140
pci_write_config_dword(tg3.pdev, TG3PCI_MEM_WIN_BASE_ADDR, 0);
usr/src/grub/grub-0.97/netboot/tg3.c
1412
static int tg3_stop_block(struct tg3 *tp, unsigned long ofs, uint32_t enable_bit)
usr/src/grub/grub-0.97/netboot/tg3.c
143
static void tg3_disable_ints(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
1453
static int tg3_abort_hw(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
150
static void tg3_switch_clocks(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
1513
static void tg3_chip_reset(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
1582
static void tg3_stop_fw(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
1602
static int tg3_restart_fw(struct tg3 *tp, uint32_t state)
usr/src/grub/grub-0.97/netboot/tg3.c
1629
static int tg3_halt(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
1637
static void __tg3_set_mac_addr(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
1671
static void tg3_set_bdinfo(struct tg3 *tp, uint32_t bdinfo_addr,
usr/src/grub/grub-0.97/netboot/tg3.c
1690
static void tg3_init_rings(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
172
static int tg3_readphy(struct tg3 *tp, int reg, uint32_t *val)
usr/src/grub/grub-0.97/netboot/tg3.c
1742
static int tg3_setup_hw(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
212
static int tg3_writephy(struct tg3 *tp, int reg, uint32_t val)
usr/src/grub/grub-0.97/netboot/tg3.c
2214
static void tg3_nvram_init(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
2247
struct tg3 *tp __unused, uint32_t offset, uint32_t *val)
usr/src/grub/grub-0.97/netboot/tg3.c
2282
static int tg3_nvram_read(struct tg3 *tp, uint32_t offset, uint32_t *val)
usr/src/grub/grub-0.97/netboot/tg3.c
2374
static int tg3_phy_probe(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
248
static int tg3_writedsp(struct tg3 *tp, uint16_t addr, uint16_t val)
usr/src/grub/grub-0.97/netboot/tg3.c
2556
static void tg3_read_partno(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
257
static void tg3_phy_set_wirespeed(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
26
struct tg3 tg3;
usr/src/grub/grub-0.97/netboot/tg3.c
2620
static int tg3_get_invariants(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
269
static int tg3_bmcr_reset(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
2811
static int tg3_get_device_address(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
2860
static int tg3_setup_dma(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
2913
static void tg3_init_link_config(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
2927
static const char * tg3_phy_string(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
2946
static void tg3_poll_link(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
2971
static void tg3_ack_irqs(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
2998
struct tg3 *tp = &tg3;
usr/src/grub/grub-0.97/netboot/tg3.c
300
static int tg3_wait_macro_done(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
3038
static void tg3_set_txd(struct tg3 *tp, int entry,
usr/src/grub/grub-0.97/netboot/tg3.c
3068
struct tg3 *tp;
usr/src/grub/grub-0.97/netboot/tg3.c
3073
tp = &tg3;
usr/src/grub/grub-0.97/netboot/tg3.c
3120
struct tg3 *tp = &tg3;
usr/src/grub/grub-0.97/netboot/tg3.c
3159
struct tg3 *tp = &tg3;
usr/src/grub/grub-0.97/netboot/tg3.c
317
static int tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp)
usr/src/grub/grub-0.97/netboot/tg3.c
383
static int tg3_phy_reset_chanpat(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
403
static int tg3_phy_reset_5703_4_5(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
469
static int tg3_phy_reset(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
495
static void tg3_set_power_state_0(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
519
static void tg3_link_report(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
540
static void tg3_setup_flow_control(struct tg3 *tp, uint32_t local_adv, uint32_t remote_adv)
usr/src/grub/grub-0.97/netboot/tg3.c
581
struct tg3 *tp __unused, uint32_t val, uint8_t *speed, uint8_t *duplex)
usr/src/grub/grub-0.97/netboot/tg3.c
599
static int tg3_phy_copper_begin(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
654
static int tg3_init_5401phy_dsp(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
672
static int tg3_setup_copper_phy(struct tg3 *tp)
usr/src/grub/grub-0.97/netboot/tg3.c
952
static int tg3_fiber_aneg_smachine(struct tg3 *tp,