| H A D | tg3.c | 93 #define tg3_flag(tp, flag) \ argument 94 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 95 #define tg3_flag_set(tp, flag) \ argument 96 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 97 #define tg3_flag_clear(tp, flag) \ argument 98 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 131 #define TG3_MAX_MTU(tp) \ argument 132 (tg3_flag(tp, JUMBO_CAPABLE) ? 9000 : 1500) 138 #define TG3_RX_STD_RING_SIZE(tp) \ argument 139 (tg3_flag(tp, LRG_PROD_RING_CA 142 TG3_RX_JMB_RING_SIZE(tp) global() argument 157 TG3_RX_STD_RING_BYTES(tp) global() argument 159 TG3_RX_JMB_RING_BYTES(tp) global() argument 161 TG3_RX_RCB_RING_BYTES(tp) global() argument 177 TG3_RX_STD_BUFF_RING_SIZE(tp) global() argument 180 TG3_RX_JMB_BUFF_RING_SIZE(tp) global() argument 196 TG3_RX_COPY_THRESH(tp) global() argument 198 TG3_RX_COPY_THRESH(tp) global() argument 202 TG3_RX_OFFSET(tp) global() argument 204 TG3_RX_OFFSET(tp) global() argument 214 TG3_MAX_UCAST_ADDR(tp) global() argument 215 TG3_UCAST_ADDR_IDX(tp) global() argument 471 tg3_write32(struct tg3 * tp,u32 off,u32 val) tg3_write32() argument 476 tg3_read32(struct tg3 * tp,u32 off) tg3_read32() argument 481 tg3_ape_write32(struct tg3 * tp,u32 off,u32 val) tg3_ape_write32() argument 486 tg3_ape_read32(struct tg3 * tp,u32 off) tg3_ape_read32() argument 491 tg3_write_indirect_reg32(struct tg3 * tp,u32 off,u32 val) tg3_write_indirect_reg32() argument 501 tg3_write_flush_reg32(struct tg3 * tp,u32 off,u32 val) tg3_write_flush_reg32() argument 507 tg3_read_indirect_reg32(struct tg3 * tp,u32 off) tg3_read_indirect_reg32() argument 519 tg3_write_indirect_mbox(struct tg3 * tp,u32 off,u32 val) tg3_write_indirect_mbox() argument 549 tg3_read_indirect_mbox(struct tg3 * tp,u32 off) tg3_read_indirect_mbox() argument 566 _tw32_flush(struct tg3 * tp,u32 off,u32 val,u32 usec_wait) _tw32_flush() argument 585 tw32_mailbox_flush(struct tg3 * tp,u32 off,u32 val) tw32_mailbox_flush() argument 594 tg3_write32_tx_mbox(struct tg3 * tp,u32 off,u32 val) tg3_write32_tx_mbox() argument 605 tg3_read32_mbox_5906(struct tg3 * tp,u32 off) tg3_read32_mbox_5906() argument 610 tg3_write32_mbox_5906(struct tg3 * tp,u32 off,u32 val) tg3_write32_mbox_5906() argument 626 tg3_write_mem(struct tg3 * tp,u32 off,u32 val) tg3_write_mem() argument 651 tg3_read_mem(struct tg3 * tp,u32 off,u32 * val) tg3_read_mem() argument 678 tg3_ape_lock_init(struct tg3 * tp) tg3_ape_lock_init() argument 708 tg3_ape_lock(struct tg3 * tp,int locknum) tg3_ape_lock() argument 771 tg3_ape_unlock(struct tg3 * tp,int locknum) tg3_ape_unlock() argument 808 tg3_ape_event_lock(struct tg3 * tp,u32 timeout_us) tg3_ape_event_lock() argument 830 tg3_ape_wait_for_event(struct tg3 * tp,u32 timeout_us) tg3_ape_wait_for_event() argument 846 tg3_ape_scratchpad_read(struct tg3 * tp,u32 * data,u32 base_off,u32 len) tg3_ape_scratchpad_read() argument 911 tg3_ape_send_event(struct tg3 * tp,u32 event) tg3_ape_send_event() argument 938 tg3_ape_driver_state_change(struct tg3 * tp,int kind) tg3_ape_driver_state_change() argument 986 tg3_send_ape_heartbeat(struct tg3 * tp,unsigned long interval) tg3_send_ape_heartbeat() argument 998 tg3_disable_ints(struct tg3 * tp) tg3_disable_ints() argument 1008 tg3_enable_ints(struct tg3 * tp) tg3_enable_ints() argument 1041 struct tg3 *tp = tnapi->tp; tg3_has_work() local 1070 struct tg3 *tp = tnapi->tp; tg3_int_reenable() local 1083 tg3_switch_clocks(struct tg3 * tp) tg3_switch_clocks() argument 1118 __tg3_readphy(struct tg3 * tp,unsigned int phy_addr,int reg,u32 * val) __tg3_readphy() argument 1172 tg3_readphy(struct tg3 * tp,int reg,u32 * val) tg3_readphy() argument 1177 __tg3_writephy(struct tg3 * tp,unsigned int phy_addr,int reg,u32 val) __tg3_writephy() argument 1231 tg3_writephy(struct tg3 * tp,int reg,u32 val) tg3_writephy() argument 1236 tg3_phy_cl45_write(struct tg3 * tp,u32 devad,u32 addr,u32 val) tg3_phy_cl45_write() argument 1259 tg3_phy_cl45_read(struct tg3 * tp,u32 devad,u32 addr,u32 * val) tg3_phy_cl45_read() argument 1282 tg3_phydsp_read(struct tg3 * tp,u32 reg,u32 * val) tg3_phydsp_read() argument 1293 tg3_phydsp_write(struct tg3 * tp,u32 reg,u32 val) tg3_phydsp_write() argument 1304 tg3_phy_auxctl_read(struct tg3 * tp,int reg,u32 * val) tg3_phy_auxctl_read() argument 1317 tg3_phy_auxctl_write(struct tg3 * tp,int reg,u32 set) tg3_phy_auxctl_write() argument 1325 tg3_phy_toggle_auxctl_smdsp(struct tg3 * tp,bool enable) tg3_phy_toggle_auxctl_smdsp() argument 1346 tg3_phy_shdw_write(struct tg3 * tp,int reg,u32 val) tg3_phy_shdw_write() argument 1352 tg3_bmcr_reset(struct tg3 * tp) tg3_bmcr_reset() argument 1385 struct tg3 *tp = bp->priv; tg3_mdio_read() local 1400 struct tg3 *tp = bp->priv; tg3_mdio_write() local 1413 tg3_mdio_config_5785(struct tg3 * tp) tg3_mdio_config_5785() argument 1494 tg3_mdio_start(struct tg3 * tp) tg3_mdio_start() argument 1505 tg3_mdio_init(struct tg3 * tp) tg3_mdio_init() argument 1605 tg3_mdio_fini(struct tg3 * tp) tg3_mdio_fini() argument 1615 tg3_generate_fw_event(struct tg3 * tp) tg3_generate_fw_event() argument 1629 tg3_wait_for_event_ack(struct tg3 * tp) tg3_wait_for_event_ack() argument 1659 tg3_phy_gather_ump_data(struct tg3 * tp,u32 * data) tg3_phy_gather_ump_data() argument 1694 tg3_ump_link_report(struct tg3 * tp) tg3_ump_link_report() argument 1716 tg3_stop_fw(struct tg3 * tp) tg3_stop_fw() argument 1732 tg3_write_sig_pre_reset(struct tg3 * tp,int kind) tg3_write_sig_pre_reset() argument 1761 tg3_write_sig_post_reset(struct tg3 * tp,int kind) tg3_write_sig_post_reset() argument 1782 tg3_write_sig_legacy(struct tg3 * tp,int kind) tg3_write_sig_legacy() argument 1807 tg3_poll_fw(struct tg3 * tp) tg3_poll_fw() argument 1871 tg3_link_report(struct tg3 * tp) tg3_link_report() argument 1961 tg3_setup_flow_control(struct tg3 * tp,u32 lcladv,u32 rmtadv) tg3_setup_flow_control() argument 2004 struct tg3 *tp = netdev_priv(dev); tg3_adjust_link() local 2084 tg3_phy_init(struct tg3 * tp) tg3_phy_init() argument 2130 tg3_phy_start(struct tg3 * tp) tg3_phy_start() argument 2153 tg3_phy_stop(struct tg3 * tp) tg3_phy_stop() argument 2161 tg3_phy_fini(struct tg3 * tp) tg3_phy_fini() argument 2169 tg3_phy_set_extloopbk(struct tg3 * tp) tg3_phy_set_extloopbk() argument 2199 tg3_phy_fet_toggle_apd(struct tg3 * tp,bool enable) tg3_phy_fet_toggle_apd() argument 2219 tg3_phy_toggle_apd(struct tg3 * tp,bool enable) tg3_phy_toggle_apd() argument 2250 tg3_phy_toggle_automdix(struct tg3 * tp,bool enable) tg3_phy_toggle_automdix() argument 2291 tg3_phy_set_wirespeed(struct tg3 * tp) tg3_phy_set_wirespeed() argument 2305 tg3_phy_apply_otp(struct tg3 * tp) tg3_phy_apply_otp() argument 2342 tg3_eee_pull_config(struct tg3 * tp,struct ethtool_keee * eee) tg3_eee_pull_config() argument 2382 tg3_phy_eee_adjust(struct tg3 * tp,bool current_link_up) tg3_phy_eee_adjust() argument 2422 tg3_phy_eee_enable(struct tg3 * tp) tg3_phy_eee_enable() argument 2441 tg3_wait_macro_done(struct tg3 * tp) tg3_wait_macro_done() argument 2459 tg3_phy_write_and_check_testpat(struct tg3 * tp,int * resetp) tg3_phy_write_and_check_testpat() argument 2525 tg3_phy_reset_chanpat(struct tg3 * tp) tg3_phy_reset_chanpat() argument 2545 tg3_phy_reset_5703_4_5(struct tg3 * tp) tg3_phy_reset_5703_4_5() argument 2613 tg3_carrier_off(struct tg3 * tp) tg3_carrier_off() argument 2619 tg3_warn_mgmt_link_flap(struct tg3 * tp) tg3_warn_mgmt_link_flap() argument 2629 tg3_phy_reset(struct tg3 * tp) tg3_phy_reset() argument 2786 tg3_set_function_status(struct tg3 * tp,u32 newstat) tg3_set_function_status() argument 2809 tg3_pwrsrc_switch_to_vmain(struct tg3 * tp) tg3_pwrsrc_switch_to_vmain() argument 2834 tg3_pwrsrc_die_with_vmain(struct tg3 * tp) tg3_pwrsrc_die_with_vmain() argument 2858 tg3_pwrsrc_switch_to_vaux(struct tg3 * tp) tg3_pwrsrc_switch_to_vaux() argument 2935 tg3_frob_aux_power_5717(struct tg3 * tp,bool wol_enable) tg3_frob_aux_power_5717() argument 2960 tg3_frob_aux_power(struct tg3 * tp,bool include_wol) tg3_frob_aux_power() argument 3004 tg3_5700_link_polarity(struct tg3 * tp,u32 speed) tg3_5700_link_polarity() argument 3017 tg3_phy_power_bug(struct tg3 * tp) tg3_phy_power_bug() argument 3042 tg3_phy_led_bug(struct tg3 * tp) tg3_phy_led_bug() argument 3056 tg3_power_down_phy(struct tg3 * tp,bool do_low_power) tg3_power_down_phy() argument 3131 tg3_nvram_lock(struct tg3 * tp) tg3_nvram_lock() argument 3154 tg3_nvram_unlock(struct tg3 * tp) tg3_nvram_unlock() argument 3165 tg3_enable_nvram_access(struct tg3 * tp) tg3_enable_nvram_access() argument 3175 tg3_disable_nvram_access(struct tg3 * tp) tg3_disable_nvram_access() argument 3184 tg3_nvram_read_using_eeprom(struct tg3 * tp,u32 offset,u32 * val) tg3_nvram_read_using_eeprom() argument 3226 tg3_nvram_exec_cmd(struct tg3 * tp,u32 nvram_cmd) tg3_nvram_exec_cmd() argument 3245 tg3_nvram_phys_addr(struct tg3 * tp,u32 addr) tg3_nvram_phys_addr() argument 3260 tg3_nvram_logical_addr(struct tg3 * tp,u32 addr) tg3_nvram_logical_addr() argument 3281 tg3_nvram_read(struct tg3 * tp,u32 offset,u32 * val) tg3_nvram_read() argument 3314 tg3_nvram_read_be32(struct tg3 * tp,u32 offset,__be32 * val) tg3_nvram_read_be32() argument 3323 tg3_nvram_write_block_using_eeprom(struct tg3 * tp,u32 offset,u32 len,u8 * buf) tg3_nvram_write_block_using_eeprom() argument 3373 tg3_nvram_write_block_unbuffered(struct tg3 * tp,u32 offset,u32 len,u8 * buf) tg3_nvram_write_block_unbuffered() argument 3472 tg3_nvram_write_block_buffered(struct tg3 * tp,u32 offset,u32 len,u8 * buf) tg3_nvram_write_block_buffered() argument 3527 tg3_nvram_write_block(struct tg3 * tp,u32 offset,u32 len,u8 * buf) tg3_nvram_write_block() argument 3582 tg3_pause_cpu(struct tg3 * tp,u32 cpu_base) tg3_pause_cpu() argument 3600 tg3_rxcpu_pause(struct tg3 * tp) tg3_rxcpu_pause() argument 3612 tg3_txcpu_pause(struct tg3 * tp) tg3_txcpu_pause() argument 3618 tg3_resume_cpu(struct tg3 * tp,u32 cpu_base) tg3_resume_cpu() argument 3625 tg3_rxcpu_resume(struct tg3 * tp) tg3_rxcpu_resume() argument 3631 tg3_halt_cpu(struct tg3 * tp,u32 cpu_base) tg3_halt_cpu() argument 3668 tg3_fw_data_len(struct tg3 * tp,const struct tg3_firmware_hdr * fw_hdr) tg3_fw_data_len() argument 3696 tg3_load_firmware_cpu(struct tg3 * tp,u32 cpu_base,u32 cpu_scratch_base,int cpu_scratch_size,const struct tg3_firmware_hdr * fw_hdr) tg3_load_firmware_cpu() argument 3762 tg3_pause_cpu_and_set_pc(struct tg3 * tp,u32 cpu_base,u32 pc) tg3_pause_cpu_and_set_pc() argument 3783 tg3_load_5701_a0_firmware_fix(struct tg3 * tp) tg3_load_5701_a0_firmware_fix() argument 3824 tg3_validate_rxcpu_state(struct tg3 * tp) tg3_validate_rxcpu_state() argument 3856 tg3_load_57766_firmware(struct tg3 * tp) tg3_load_57766_firmware() argument 3897 tg3_load_tso_firmware(struct tg3 * tp) tg3_load_tso_firmware() argument 3947 __tg3_set_one_mac_addr(struct tg3 * tp,const u8 * mac_addr,int index) __tg3_set_one_mac_addr() argument 3967 __tg3_set_mac_addr(struct tg3 * tp,bool skip_mac_1) __tg3_set_mac_addr() argument 3994 tg3_enable_register_access(struct tg3 * tp) tg3_enable_register_access() argument 4004 tg3_power_up(struct tg3 * tp) tg3_power_up() argument 4023 tg3_power_down_prepare(struct tg3 * tp) tg3_power_down_prepare() argument 4270 tg3_power_down(struct tg3 * tp) tg3_power_down() argument 4276 tg3_aux_stat_to_speed_duplex(struct tg3 * tp,u32 val,u32 * speed,u8 * duplex) tg3_aux_stat_to_speed_duplex() argument 4323 tg3_phy_autoneg_cfg(struct tg3 * tp,u32 advertise,u32 flowctrl) tg3_phy_autoneg_cfg() argument 4396 tg3_phy_copper_begin(struct tg3 * tp) tg3_phy_copper_begin() argument 4493 tg3_phy_pull_config(struct tg3 * tp) tg3_phy_pull_config() argument 4590 tg3_init_5401phy_dsp(struct tg3 * tp) tg3_init_5401phy_dsp() argument 4609 tg3_phy_eee_config_ok(struct tg3 * tp) tg3_phy_eee_config_ok() argument 4632 tg3_phy_copper_an_config_ok(struct tg3 * tp,u32 * lcladv) tg3_phy_copper_an_config_ok() argument 4676 tg3_phy_copper_fetch_rmtadv(struct tg3 * tp,u32 * rmtadv) tg3_phy_copper_fetch_rmtadv() argument 4698 tg3_test_and_report_link_chg(struct tg3 * tp,bool curr_link_up) tg3_test_and_report_link_chg() argument 4716 tg3_clear_mac_status(struct tg3 * tp) tg3_clear_mac_status() argument 4728 tg3_setup_eee(struct tg3 * tp) tg3_setup_eee() argument 4764 tg3_setup_copper_phy(struct tg3 * tp,bool force_reset) tg3_setup_copper_phy() argument 5141 tg3_fiber_aneg_smachine(struct tg3 * tp,struct tg3_fiber_aneginfo * ap) tg3_fiber_aneg_smachine() argument 5393 fiber_autoneg(struct tg3 * tp,u32 * txflags,u32 * rxflags) fiber_autoneg() argument 5438 tg3_init_bcm8002(struct tg3 * tp) tg3_init_bcm8002() argument 5488 tg3_setup_fiber_hw_autoneg(struct tg3 * tp,u32 mac_status) tg3_setup_fiber_hw_autoneg() argument 5632 tg3_setup_fiber_by_hand(struct tg3 * tp,u32 mac_status) tg3_setup_fiber_by_hand() argument 5697 tg3_setup_fiber_phy(struct tg3 * tp,bool force_reset) tg3_setup_fiber_phy() argument 5799 tg3_setup_fiber_mii_phy(struct tg3 * tp,bool force_reset) tg3_setup_fiber_mii_phy() argument 5990 tg3_serdes_parallel_detect(struct tg3 * tp) tg3_serdes_parallel_detect() argument 6050 tg3_setup_phy(struct tg3 * tp,bool force_reset) tg3_setup_phy() argument 6117 tg3_refclk_read(struct tg3 * tp,struct ptp_system_timestamp * sts) tg3_refclk_read() argument 6130 tg3_refclk_write(struct tg3 * tp,u64 newval) tg3_refclk_write() argument 6144 struct tg3 *tp = netdev_priv(dev); tg3_get_ts_info() local 6168 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_adjfine() local 6196 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_adjtime() local 6209 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_gettimex() local 6225 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_settime() local 6240 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_enable() local 6300 tg3_hwclock_to_timestamp(struct tg3 * tp,u64 hwclock,struct skb_shared_hwtstamps * timestamp) tg3_hwclock_to_timestamp() argument 6308 tg3_read_tx_tstamp(struct tg3 * tp,u64 * hwclock) tg3_read_tx_tstamp() argument 6316 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_ts_aux_work() local 6358 tg3_ptp_init(struct tg3 * tp) tg3_ptp_init() argument 6370 tg3_ptp_resume(struct tg3 * tp) tg3_ptp_resume() argument 6379 tg3_ptp_fini(struct tg3 * tp) tg3_ptp_fini() argument 6391 tg3_irq_sync(struct tg3 * tp) tg3_irq_sync() argument 6396 tg3_rd32_loop(struct tg3 * tp,u32 * dst,u32 off,u32 len) tg3_rd32_loop() argument 6405 tg3_dump_legacy_regs(struct tg3 * tp,u32 * regs) tg3_dump_legacy_regs() argument 6455 tg3_dump_state(struct tg3 * tp) tg3_dump_state() argument 6525 tg3_tx_recover(struct tg3 * tp) tg3_tx_recover() argument 6553 struct tg3 *tp = tnapi->tp; tg3_tx() local 6666 tg3_rx_data_free(struct tg3 * tp,struct ring_info * ri,u32 map_sz) tg3_rx_data_free() argument 6692 tg3_alloc_rx_data(struct tg3 * tp,struct tg3_rx_prodring_set * tpr,u32 opaque_key,u32 dest_idx_unmasked,unsigned int * frag_size) tg3_alloc_rx_data() argument 6764 struct tg3 *tp = tnapi->tp; tg3_recycle_rx() local 6831 struct tg3 *tp = tnapi->tp; tg3_rx() local 7039 tg3_poll_link(struct tg3 * tp) tg3_poll_link() argument 7063 tg3_rx_prodring_xfer(struct tg3 * tp,struct tg3_rx_prodring_set * dpr,struct tg3_rx_prodring_set * spr) tg3_rx_prodring_xfer() argument 7191 struct tg3 *tp = tnapi->tp; tg3_poll_work() local 7238 tg3_reset_task_schedule(struct tg3 * tp) tg3_reset_task_schedule() argument 7244 tg3_reset_task_cancel(struct tg3 * tp) tg3_reset_task_cancel() argument 7254 struct tg3 *tp = tnapi->tp; tg3_poll_msix() local 7311 tg3_process_error(struct tg3 * tp) tg3_process_error() argument 7348 struct tg3 *tp = tnapi->tp; tg3_poll() local 7394 tg3_napi_disable(struct tg3 * tp) tg3_napi_disable() argument 7417 tg3_napi_enable(struct tg3 * tp) tg3_napi_enable() argument 7441 tg3_napi_init(struct tg3 * tp) tg3_napi_init() argument 7453 tg3_napi_fini(struct tg3 * tp) tg3_napi_fini() argument 7461 tg3_netif_stop(struct tg3 * tp) tg3_netif_stop() argument 7470 tg3_netif_start(struct tg3 * tp) tg3_netif_start() argument 7488 tg3_irq_quiesce(struct tg3 * tp) tg3_irq_quiesce() argument 7512 tg3_full_lock(struct tg3 * tp,int irq_sync) tg3_full_lock() argument 7519 tg3_full_unlock(struct tg3 * tp) tg3_full_unlock() argument 7530 struct tg3 *tp = tnapi->tp; tg3_msi_1shot() local 7549 struct tg3 *tp = tnapi->tp; tg3_msi() local 7571 struct tg3 *tp = tnapi->tp; tg3_interrupt() local 7620 struct tg3 *tp = tnapi->tp; tg3_interrupt_tagged() local 7673 struct tg3 *tp = tnapi->tp; tg3_test_isr() local 7688 struct tg3 *tp = netdev_priv(dev); tg3_poll_controller() local 7700 struct tg3 *tp = netdev_priv(dev); tg3_tx_timeout() local 7721 tg3_4g_tso_overflow_test(struct tg3 * tp,dma_addr_t mapping,u32 len,u32 mss) tg3_4g_tso_overflow_test() argument 7733 tg3_40bit_overflow_test(struct tg3 * tp,dma_addr_t mapping,int len) tg3_40bit_overflow_test() argument 7759 struct tg3 *tp = tnapi->tp; tg3_tx_frag_set() local 7860 struct tg3 *tp = tnapi->tp; tigon3_dma_hwbug_workaround() local 7922 tg3_tso_bug(struct tg3 * tp,struct tg3_napi * tnapi,struct netdev_queue * txq,struct sk_buff * skb) tg3_tso_bug() argument 7965 struct tg3 *tp = netdev_priv(dev); __tg3_start_xmit() local 8246 struct tg3 *tp; tg3_start_xmit() local 8260 tg3_mac_loopback(struct tg3 * tp,bool enable) tg3_mac_loopback() argument 8288 tg3_phy_lpbk_set(struct tg3 * tp,u32 speed,bool extlpbk) tg3_phy_lpbk_set() argument 8383 struct tg3 *tp = netdev_priv(dev); tg3_set_loopback() local 8410 struct tg3 *tp = netdev_priv(dev); tg3_fix_features() local 8428 tg3_rx_prodring_free(struct tg3 * tp,struct tg3_rx_prodring_set * tpr) tg3_rx_prodring_free() argument 8469 tg3_rx_prodring_alloc(struct tg3 * tp,struct tg3_rx_prodring_set * tpr) tg3_rx_prodring_alloc() argument 8571 tg3_rx_prodring_fini(struct tg3 * tp,struct tg3_rx_prodring_set * tpr) tg3_rx_prodring_fini() argument 8590 tg3_rx_prodring_init(struct tg3 * tp,struct tg3_rx_prodring_set * tpr) tg3_rx_prodring_init() argument 8633 tg3_free_rings(struct tg3 * tp) tg3_free_rings() argument 8667 tg3_init_rings(struct tg3 * tp) tg3_init_rings() argument 8702 tg3_mem_tx_release(struct tg3 * tp) tg3_mem_tx_release() argument 8720 tg3_mem_tx_acquire(struct tg3 * tp) tg3_mem_tx_acquire() argument 8752 tg3_mem_rx_release(struct tg3 * tp) tg3_mem_rx_release() argument 8772 tg3_mem_rx_acquire(struct tg3 * tp) tg3_mem_rx_acquire() argument 8816 tg3_free_consistent(struct tg3 * tp) tg3_free_consistent() argument 8849 tg3_alloc_consistent(struct tg3 * tp) tg3_alloc_consistent() argument 8916 tg3_stop_block(struct tg3 * tp,unsigned long ofs,u32 enable_bit,bool silent) tg3_stop_block() argument 8968 tg3_abort_hw(struct tg3 * tp,bool silent) tg3_abort_hw() argument 9040 tg3_save_pci_state(struct tg3 * tp) tg3_save_pci_state() argument 9046 tg3_restore_pci_state(struct tg3 * tp) tg3_restore_pci_state() argument 9106 tg3_override_clk(struct tg3 * tp) tg3_override_clk() argument 9127 tg3_restore_clk(struct tg3 * tp) tg3_restore_clk() argument 9150 tg3_chip_reset(struct tg3 * tp) tg3_chip_reset() argument 9432 tg3_halt(struct tg3 * tp,int kind,bool silent) tg3_halt() argument 9469 struct tg3 *tp = netdev_priv(dev); tg3_set_mac_addr() local 9504 tg3_set_bdinfo(struct tg3 * tp,u32 bdinfo_addr,dma_addr_t mapping,u32 maxlen_flags,u32 nic_addr) tg3_set_bdinfo() argument 9525 tg3_coal_tx_init(struct tg3 * tp,struct ethtool_coalesce * ec) tg3_coal_tx_init() argument 9557 tg3_coal_rx_init(struct tg3 * tp,struct ethtool_coalesce * ec) tg3_coal_rx_init() argument 9591 __tg3_set_coalesce(struct tg3 * tp,struct ethtool_coalesce * ec) __tg3_set_coalesce() argument 9610 tg3_tx_rcbs_disable(struct tg3 * tp) tg3_tx_rcbs_disable() argument 9632 tg3_tx_rcbs_init(struct tg3 * tp) tg3_tx_rcbs_init() argument 9653 tg3_rx_ret_rcbs_disable(struct tg3 * tp) tg3_rx_ret_rcbs_disable() argument 9676 tg3_rx_ret_rcbs_init(struct tg3 * tp) tg3_rx_ret_rcbs_init() argument 9697 tg3_rings_reset(struct tg3 * tp) tg3_rings_reset() argument 9767 tg3_setup_rxbd_thresholds(struct tg3 * tp) tg3_setup_rxbd_thresholds() argument 9811 tg3_set_multi(struct tg3 * tp,unsigned int accept_all) tg3_set_multi() argument 9822 struct tg3 *tp = netdev_priv(dev); __tg3_set_rx_mode() local 9888 tg3_rss_init_dflt_indir_tbl(struct tg3 * tp,u32 qcnt) tg3_rss_init_dflt_indir_tbl() argument 9896 tg3_rss_check_indir_tbl(struct tg3 * tp) tg3_rss_check_indir_tbl() argument 9918 tg3_rss_write_indir_tbl(struct tg3 * tp) tg3_rss_write_indir_tbl() argument 9935 tg3_lso_rd_dma_workaround_bit(struct tg3 * tp) tg3_lso_rd_dma_workaround_bit() argument 9944 tg3_reset_hw(struct tg3 * tp,bool reset_phy) tg3_reset_hw() argument 10860 tg3_init_hw(struct tg3 * tp,bool reset_phy) tg3_init_hw() argument 10877 tg3_sd_scan_scratchpad(struct tg3 * tp,struct tg3_ocir * ocir) tg3_sd_scan_scratchpad() argument 10896 struct tg3 *tp = dev_get_drvdata(dev); tg3_show_temp() local 10922 tg3_hwmon_close(struct tg3 * tp) tg3_hwmon_close() argument 10930 tg3_hwmon_open(struct tg3 * tp) tg3_hwmon_open() argument 10958 tg3_hwmon_close(struct tg3 * tp) tg3_hwmon_close() argument 10959 tg3_hwmon_open(struct tg3 * tp) tg3_hwmon_open() argument 10970 tg3_periodic_fetch_stats(struct tg3 * tp) tg3_periodic_fetch_stats() argument 11036 tg3_chk_missed_msi(struct tg3 * tp) tg3_chk_missed_msi() argument 11061 struct tg3 *tp = timer_container_of(tp, t, timer); tg3_timer() local 11203 tg3_timer_init(struct tg3 * tp) tg3_timer_init() argument 11221 tg3_timer_start(struct tg3 * tp) tg3_timer_start() argument 11230 tg3_timer_stop(struct tg3 * tp) tg3_timer_stop() argument 11238 tg3_restart_hw(struct tg3 * tp,bool reset_phy) tg3_restart_hw() argument 11265 struct tg3 *tp = container_of(work, struct tg3, reset_task); tg3_reset_task() local 11319 tg3_request_irq(struct tg3 * tp,int irq_num) tg3_request_irq() argument 11359 tg3_test_interrupt(struct tg3 * tp) tg3_test_interrupt() argument 11436 tg3_test_msi(struct tg3 * tp) tg3_test_msi() argument 11494 tg3_request_firmware(struct tg3 * tp) tg3_request_firmware() argument 11525 tg3_irq_count(struct tg3 * tp) tg3_irq_count() argument 11541 tg3_enable_msix(struct tg3 * tp) tg3_enable_msix() argument 11600 tg3_ints_init(struct tg3 * tp) tg3_ints_init() argument 11639 tg3_ints_fini(struct tg3 * tp) tg3_ints_fini() argument 11651 tg3_start(struct tg3 * tp,bool reset_phy,bool test_irq,bool init) tg3_start() argument 11768 tg3_stop(struct tg3 * tp) tg3_stop() argument 11805 struct tg3 *tp = netdev_priv(dev); tg3_open() local 11862 struct tg3 *tp = netdev_priv(dev); tg3_close() local 11885 tg3_calc_crc_errors(struct tg3 * tp) tg3_calc_crc_errors() argument 11913 tg3_get_estats(struct tg3 * tp,struct tg3_ethtool_stats * estats) tg3_get_estats() argument 11997 tg3_get_nstats(struct tg3 * tp,struct rtnl_link_stats64 * stats) tg3_get_nstats() argument 12080 struct tg3 *tp = netdev_priv(dev); tg3_get_regs() local 12098 struct tg3 *tp = netdev_priv(dev); tg3_get_eeprom_len() local 12105 struct tg3 *tp = netdev_priv(dev); tg3_get_eeprom() local 12196 struct tg3 *tp = netdev_priv(dev); tg3_set_eeprom() local 12253 struct tg3 *tp = netdev_priv(dev); tg3_get_link_ksettings() local 12328 struct tg3 *tp = netdev_priv(dev); tg3_set_link_ksettings() local 12423 struct tg3 *tp = netdev_priv(dev); tg3_get_drvinfo() local 12432 struct tg3 *tp = netdev_priv(dev); tg3_get_wol() local 12446 struct tg3 *tp = netdev_priv(dev); tg3_set_wol() local 12467 struct tg3 *tp = netdev_priv(dev); tg3_get_msglevel() local 12473 struct tg3 *tp = netdev_priv(dev); tg3_set_msglevel() local 12479 struct tg3 *tp = netdev_priv(dev); tg3_nway_reset() local 12518 struct tg3 *tp = netdev_priv(dev); tg3_get_ringparam() local 12542 struct tg3 *tp = netdev_priv(dev); tg3_set_ringparam() local 12599 struct tg3 *tp = netdev_priv(dev); tg3_get_pauseparam() local 12616 struct tg3 *tp = netdev_priv(dev); tg3_set_pauseparam() local 12723 struct tg3 *tp = netdev_priv(dev); tg3_get_rx_ring_count() local 12737 struct tg3 *tp = netdev_priv(dev); tg3_get_rxfh_indir_size() local 12747 struct tg3 *tp = netdev_priv(dev); tg3_get_rxfh() local 12763 struct tg3 *tp = netdev_priv(dev); tg3_set_rxfh() local 12796 struct tg3 *tp = netdev_priv(dev); tg3_get_channels() local 12821 struct tg3 *tp = netdev_priv(dev); tg3_set_channels() local 12863 struct tg3 *tp = netdev_priv(dev); tg3_set_phys_id() local 12895 struct tg3 *tp = netdev_priv(dev); tg3_get_ethtool_stats() local 12903 tg3_vpd_readblock(struct tg3 * tp,unsigned int * vpdlen) tg3_vpd_readblock() argument 12974 tg3_test_nvram(struct tg3 * tp) tg3_test_nvram() argument 13138 tg3_test_link(struct tg3 * tp) tg3_test_link() argument 13162 tg3_test_registers(struct tg3 * tp) tg3_test_registers() argument 13382 tg3_do_mem_test(struct tg3 * tp,u32 offset,u32 len) tg3_do_mem_test() argument 13401 tg3_test_memory(struct tg3 * tp) tg3_test_memory() argument 13494 tg3_run_loopback(struct tg3 * tp,u32 pktsz,bool tso_loopback) tg3_run_loopback() argument 13710 tg3_test_loopback(struct tg3 * tp,u64 * data,bool do_extlpbk) tg3_test_loopback() argument 13828 struct tg3 *tp = netdev_priv(dev); tg3_self_test() local 13920 struct tg3 *tp = netdev_priv(dev); tg3_hwtstamp_set() local 14000 struct tg3 *tp = netdev_priv(dev); tg3_hwtstamp_get() local 14060 struct tg3 *tp = netdev_priv(dev); tg3_ioctl() local 14121 struct tg3 *tp = netdev_priv(dev); tg3_get_coalesce() local 14132 struct tg3 *tp = netdev_priv(dev); tg3_set_coalesce() local 14178 struct tg3 *tp = netdev_priv(dev); tg3_set_eee() local 14217 struct tg3 *tp = netdev_priv(dev); tg3_get_eee() local 14274 struct tg3 *tp = netdev_priv(dev); tg3_get_stats64() local 14289 struct tg3 *tp = netdev_priv(dev); tg3_set_rx_mode() local 14299 tg3_set_mtu(struct net_device * dev,struct tg3 * tp,int new_mtu) tg3_set_mtu() argument 14322 struct tg3 *tp = netdev_priv(dev); tg3_change_mtu() local 14388 tg3_get_eeprom_size(struct tg3 * tp) tg3_get_eeprom_size() argument 14422 tg3_get_nvram_size(struct tg3 * tp) tg3_get_nvram_size() argument 14455 tg3_get_nvram_info(struct tg3 * tp) tg3_get_nvram_info() argument 14506 tg3_nvram_get_pagesize(struct tg3 * tp,u32 nvmcfg1) tg3_nvram_get_pagesize() argument 14533 tg3_get_5752_nvram_info(struct tg3 * tp) tg3_get_5752_nvram_info() argument 14574 tg3_get_5755_nvram_info(struct tg3 * tp) tg3_get_5755_nvram_info() argument 14630 tg3_get_5787_nvram_info(struct tg3 * tp) tg3_get_5787_nvram_info() argument 14668 tg3_get_5761_nvram_info(struct tg3 * tp) tg3_get_5761_nvram_info() argument 14743 tg3_get_5906_nvram_info(struct tg3 * tp) tg3_get_5906_nvram_info() argument 14750 tg3_get_57780_nvram_info(struct tg3 * tp) tg3_get_57780_nvram_info() argument 14823 tg3_get_5717_nvram_info(struct tg3 * tp) tg3_get_5717_nvram_info() argument 14901 tg3_get_5720_nvram_info(struct tg3 * tp) tg3_get_5720_nvram_info() argument 15066 tg3_nvram_init(struct tg3 * tp) tg3_nvram_init() argument 15209 tg3_lookup_by_subsys(struct tg3 * tp) tg3_lookup_by_subsys() argument 15223 tg3_get_eeprom_hw_cfg(struct tg3 * tp) tg3_get_eeprom_hw_cfg() argument 15440 tg3_ape_otp_read(struct tg3 * tp,u32 offset,u32 * val) tg3_ape_otp_read() argument 15473 tg3_issue_otp_command(struct tg3 * tp,u32 cmd) tg3_issue_otp_command() argument 15496 tg3_read_otp_phycfg(struct tg3 * tp) tg3_read_otp_phycfg() argument 15522 tg3_phy_init_link_config(struct tg3 * tp) tg3_phy_init_link_config() argument 15551 tg3_phy_probe(struct tg3 * tp) tg3_phy_probe() argument 15709 tg3_read_vpd(struct tg3 * tp) tg3_read_vpd() argument 15805 tg3_fw_img_is_valid(struct tg3 * tp,u32 offset) tg3_fw_img_is_valid() argument 15818 tg3_read_bc_ver(struct tg3 * tp) tg3_read_bc_ver() argument 15870 tg3_read_hwsb_ver(struct tg3 * tp) tg3_read_hwsb_ver() argument 15886 tg3_read_sb_ver(struct tg3 * tp,u32 val) tg3_read_sb_ver() argument 15941 tg3_read_mgmtfw_ver(struct tg3 * tp) tg3_read_mgmtfw_ver() argument 15993 tg3_probe_ncsi(struct tg3 * tp) tg3_probe_ncsi() argument 16009 tg3_read_dash_ver(struct tg3 * tp) tg3_read_dash_ver() argument 16034 tg3_read_otp_ver(struct tg3 * tp) tg3_read_otp_ver() argument 16059 tg3_read_fw_ver(struct tg3 * tp) tg3_read_fw_ver() argument 16096 tg3_rx_ret_ring_size(struct tg3 * tp) tg3_rx_ret_ring_size() argument 16113 tg3_find_peer(struct tg3 * tp) tg3_find_peer() argument 16141 tg3_detect_asic_rev(struct tg3 * tp,u32 misc_ctrl_reg) tg3_detect_asic_rev() argument 16229 tg3_10_100_only_device(struct tg3 * tp,const struct pci_device_id * ent) tg3_10_100_only_device() argument 16251 tg3_get_invariants(struct tg3 * tp,const struct pci_device_id * ent) tg3_get_invariants() argument 17039 tg3_get_device_address(struct tg3 * tp,u8 * addr) tg3_get_device_address() argument 17122 tg3_calc_dma_bndry(struct tg3 * tp,u32 val) tg3_calc_dma_bndry() argument 17263 tg3_do_test_dma(struct tg3 * tp,u32 * buf,dma_addr_t buf_dma,int size,bool to_device) tg3_do_test_dma() argument 17351 tg3_test_dma(struct tg3 * tp) tg3_test_dma() argument 17525 tg3_init_bufmgr_config(struct tg3 * tp) tg3_init_bufmgr_config() argument 17581 tg3_phy_string(struct tg3 * tp) tg3_phy_string() argument 17613 tg3_bus_string(struct tg3 * tp,char * str) tg3_bus_string() argument 17649 tg3_init_coal(struct tg3 * tp) tg3_init_coal() argument 17684 struct tg3 *tp; tg3_init_one() local 18078 struct tg3 *tp = netdev_priv(dev); tg3_remove_one() local 18110 struct tg3 *tp = netdev_priv(dev); tg3_suspend() local 18144 struct tg3 *tp = netdev_priv(dev); tg3_resume() local 18231 struct tg3 *tp = netdev_priv(dev); tg3_shutdown() local 18275 struct tg3 *tp = netdev_priv(netdev); tg3_io_error_detected() local 18336 struct tg3 *tp = netdev_priv(netdev); tg3_io_slot_reset() local 18384 struct tg3 *tp = netdev_priv(netdev); tg3_io_resume() local [all...] |