Symbol: adapter_t
sys/dev/cxgb/common/cxgb_ael1002.c
2244
adapter_t *adapter = phy->adapter;
sys/dev/cxgb/common/cxgb_aq100x.c
469
adapter_t *adapter = pinfo->adapter;
sys/dev/cxgb/common/cxgb_common.h
148
int (*read)(adapter_t *adapter, int phy_addr, int mmd_addr,
sys/dev/cxgb/common/cxgb_common.h
150
int (*write)(adapter_t *adapter, int phy_addr, int mmd_addr,
sys/dev/cxgb/common/cxgb_common.h
446
adapter_t *adapter;
sys/dev/cxgb/common/cxgb_common.h
460
adapter_t *adapter; /* backpointer to adapter */
sys/dev/cxgb/common/cxgb_common.h
474
adapter_t *adapter;
sys/dev/cxgb/common/cxgb_common.h
578
adapter_t *adapter; /* associated adapter */
sys/dev/cxgb/common/cxgb_common.h
583
int (*mdio_read)(adapter_t *adapter, int phy_addr, int mmd_addr,
sys/dev/cxgb/common/cxgb_common.h
585
int (*mdio_write)(adapter_t *adapter, int phy_addr, int mmd_addr,
sys/dev/cxgb/common/cxgb_common.h
603
static inline void cphy_init(struct cphy *phy, adapter_t *adapter, pinfo_t *pinfo,
sys/dev/cxgb/common/cxgb_common.h
645
static inline int uses_xaui(const adapter_t *adap)
sys/dev/cxgb/common/cxgb_common.h
650
static inline int is_10G(const adapter_t *adap)
sys/dev/cxgb/common/cxgb_common.h
655
static inline int is_offload(const adapter_t *adap)
sys/dev/cxgb/common/cxgb_common.h
660
static inline unsigned int core_ticks_per_usec(const adapter_t *adap)
sys/dev/cxgb/common/cxgb_common.h
665
static inline unsigned int dack_ticks_to_usec(const adapter_t *adap,
sys/dev/cxgb/common/cxgb_common.h
671
static inline unsigned int is_pcie(const adapter_t *adap)
sys/dev/cxgb/common/cxgb_common.h
676
void t3_set_reg_field(adapter_t *adap, unsigned int addr, u32 mask, u32 val);
sys/dev/cxgb/common/cxgb_common.h
677
void t3_write_regs(adapter_t *adapter, const struct addr_val_pair *p, int n,
sys/dev/cxgb/common/cxgb_common.h
679
int t3_wait_op_done_val(adapter_t *adapter, int reg, u32 mask, int polarity,
sys/dev/cxgb/common/cxgb_common.h
682
static inline int t3_wait_op_done(adapter_t *adapter, int reg, u32 mask,
sys/dev/cxgb/common/cxgb_common.h
700
void t3_intr_enable(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
701
void t3_intr_disable(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
702
void t3_intr_clear(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
703
void t3_xgm_intr_enable(adapter_t *adapter, int idx);
sys/dev/cxgb/common/cxgb_common.h
704
void t3_xgm_intr_disable(adapter_t *adapter, int idx);
sys/dev/cxgb/common/cxgb_common.h
705
void t3_port_intr_enable(adapter_t *adapter, int idx);
sys/dev/cxgb/common/cxgb_common.h
706
void t3_port_intr_disable(adapter_t *adapter, int idx);
sys/dev/cxgb/common/cxgb_common.h
707
void t3_port_intr_clear(adapter_t *adapter, int idx);
sys/dev/cxgb/common/cxgb_common.h
708
int t3_slow_intr_handler(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
710
void t3_link_changed(adapter_t *adapter, int port_id);
sys/dev/cxgb/common/cxgb_common.h
713
int t3_seeprom_read(adapter_t *adapter, u32 addr, u32 *data);
sys/dev/cxgb/common/cxgb_common.h
714
int t3_seeprom_write(adapter_t *adapter, u32 addr, u32 data);
sys/dev/cxgb/common/cxgb_common.h
715
int t3_seeprom_wp(adapter_t *adapter, int enable);
sys/dev/cxgb/common/cxgb_common.h
716
int t3_get_vpd_len(adapter_t *adapter, struct generic_vpd *vpd);
sys/dev/cxgb/common/cxgb_common.h
717
int t3_read_vpd(adapter_t *adapter, struct generic_vpd *vpd);
sys/dev/cxgb/common/cxgb_common.h
718
int t3_read_flash(adapter_t *adapter, unsigned int addr, unsigned int nwords,
sys/dev/cxgb/common/cxgb_common.h
720
int t3_get_tp_version(adapter_t *adapter, u32 *vers);
sys/dev/cxgb/common/cxgb_common.h
721
int t3_check_tpsram_version(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
722
int t3_check_tpsram(adapter_t *adapter, const u8 *tp_ram, unsigned int size);
sys/dev/cxgb/common/cxgb_common.h
723
int t3_load_fw(adapter_t *adapter, const u8 *fw_data, unsigned int size);
sys/dev/cxgb/common/cxgb_common.h
724
int t3_get_fw_version(adapter_t *adapter, u32 *vers);
sys/dev/cxgb/common/cxgb_common.h
725
int t3_check_fw_version(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
726
int t3_load_boot(adapter_t *adapter, u8 *fw_data, unsigned int size);
sys/dev/cxgb/common/cxgb_common.h
727
int t3_init_hw(adapter_t *adapter, u32 fw_params);
sys/dev/cxgb/common/cxgb_common.h
728
void mac_prep(struct cmac *mac, adapter_t *adapter, int index);
sys/dev/cxgb/common/cxgb_common.h
729
void early_hw_init(adapter_t *adapter, const struct adapter_info *ai);
sys/dev/cxgb/common/cxgb_common.h
730
int t3_reset_adapter(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
731
int t3_prep_adapter(adapter_t *adapter, const struct adapter_info *ai, int reset);
sys/dev/cxgb/common/cxgb_common.h
732
int t3_reinit_adapter(adapter_t *adap);
sys/dev/cxgb/common/cxgb_common.h
733
void t3_led_ready(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
734
void t3_fatal_err(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
735
void t3_set_vlan_accel(adapter_t *adapter, unsigned int ports, int on);
sys/dev/cxgb/common/cxgb_common.h
736
void t3_enable_filters(adapter_t *adap);
sys/dev/cxgb/common/cxgb_common.h
737
void t3_disable_filters(adapter_t *adap);
sys/dev/cxgb/common/cxgb_common.h
738
void t3_tp_set_offload_mode(adapter_t *adap, int enable);
sys/dev/cxgb/common/cxgb_common.h
739
void t3_config_rss(adapter_t *adapter, unsigned int rss_config, const u8 *cpus,
sys/dev/cxgb/common/cxgb_common.h
741
int t3_read_rss(adapter_t *adapter, u8 *lkup, u16 *map);
sys/dev/cxgb/common/cxgb_common.h
742
int t3_set_proto_sram(adapter_t *adap, const u8 *data);
sys/dev/cxgb/common/cxgb_common.h
743
int t3_mps_set_active_ports(adapter_t *adap, unsigned int port_mask);
sys/dev/cxgb/common/cxgb_common.h
744
void t3_port_failover(adapter_t *adapter, int port);
sys/dev/cxgb/common/cxgb_common.h
745
void t3_failover_done(adapter_t *adapter, int port);
sys/dev/cxgb/common/cxgb_common.h
746
void t3_failover_clear(adapter_t *adapter);
sys/dev/cxgb/common/cxgb_common.h
747
int t3_cim_ctl_blk_read(adapter_t *adap, unsigned int addr, unsigned int n,
sys/dev/cxgb/common/cxgb_common.h
768
void t3_mc5_prep(adapter_t *adapter, struct mc5 *mc5, int mode);
sys/dev/cxgb/common/cxgb_common.h
775
int t3_tp_set_coalescing_size(adapter_t *adap, unsigned int size, int psh);
sys/dev/cxgb/common/cxgb_common.h
776
void t3_tp_set_max_rxsize(adapter_t *adap, unsigned int size);
sys/dev/cxgb/common/cxgb_common.h
777
void t3_tp_get_mib_stats(adapter_t *adap, struct tp_mib_stats *tps);
sys/dev/cxgb/common/cxgb_common.h
778
void t3_load_mtus(adapter_t *adap, unsigned short mtus[NMTUS],
sys/dev/cxgb/common/cxgb_common.h
781
void t3_read_hw_mtus(adapter_t *adap, unsigned short mtus[NMTUS]);
sys/dev/cxgb/common/cxgb_common.h
782
void t3_get_cong_cntl_tab(adapter_t *adap,
sys/dev/cxgb/common/cxgb_common.h
784
void t3_config_trace_filter(adapter_t *adapter, const struct trace_params *tp,
sys/dev/cxgb/common/cxgb_common.h
786
void t3_query_trace_filter(adapter_t *adapter, struct trace_params *tp,
sys/dev/cxgb/common/cxgb_common.h
788
int t3_config_sched(adapter_t *adap, unsigned int kbps, int sched);
sys/dev/cxgb/common/cxgb_common.h
789
int t3_set_sched_ipg(adapter_t *adap, int sched, unsigned int ipg);
sys/dev/cxgb/common/cxgb_common.h
790
void t3_get_tx_sched(adapter_t *adap, unsigned int sched, unsigned int *kbps,
sys/dev/cxgb/common/cxgb_common.h
792
void t3_read_pace_tbl(adapter_t *adap, unsigned int pace_vals[NTX_SCHED]);
sys/dev/cxgb/common/cxgb_common.h
793
void t3_set_pace_tbl(adapter_t *adap, unsigned int *pace_vals,
sys/dev/cxgb/common/cxgb_common.h
796
int t3_get_up_la(adapter_t *adapter, u32 *stopped, u32 *index,
sys/dev/cxgb/common/cxgb_common.h
798
int t3_get_up_ioqs(adapter_t *adapter, u32 *size, void *data);
sys/dev/cxgb/common/cxgb_common.h
800
void t3_sge_prep(adapter_t *adap, struct sge_params *p);
sys/dev/cxgb/common/cxgb_common.h
801
void t3_sge_init(adapter_t *adap, struct sge_params *p);
sys/dev/cxgb/common/cxgb_common.h
802
int t3_sge_init_ecntxt(adapter_t *adapter, unsigned int id, int gts_enable,
sys/dev/cxgb/common/cxgb_common.h
806
int t3_sge_init_flcntxt(adapter_t *adapter, unsigned int id, int gts_enable,
sys/dev/cxgb/common/cxgb_common.h
809
int t3_sge_init_rspcntxt(adapter_t *adapter, unsigned int id, int irq_vec_idx,
sys/dev/cxgb/common/cxgb_common.h
812
int t3_sge_init_cqcntxt(adapter_t *adapter, unsigned int id, u64 base_addr,
sys/dev/cxgb/common/cxgb_common.h
815
int t3_sge_enable_ecntxt(adapter_t *adapter, unsigned int id, int enable);
sys/dev/cxgb/common/cxgb_common.h
816
int t3_sge_disable_fl(adapter_t *adapter, unsigned int id);
sys/dev/cxgb/common/cxgb_common.h
817
int t3_sge_disable_rspcntxt(adapter_t *adapter, unsigned int id);
sys/dev/cxgb/common/cxgb_common.h
818
int t3_sge_disable_cqcntxt(adapter_t *adapter, unsigned int id);
sys/dev/cxgb/common/cxgb_common.h
819
int t3_sge_read_ecntxt(adapter_t *adapter, unsigned int id, u32 data[4]);
sys/dev/cxgb/common/cxgb_common.h
820
int t3_sge_read_fl(adapter_t *adapter, unsigned int id, u32 data[4]);
sys/dev/cxgb/common/cxgb_common.h
821
int t3_sge_read_cq(adapter_t *adapter, unsigned int id, u32 data[4]);
sys/dev/cxgb/common/cxgb_common.h
822
int t3_sge_read_rspq(adapter_t *adapter, unsigned int id, u32 data[4]);
sys/dev/cxgb/common/cxgb_common.h
823
int t3_sge_cqcntxt_op(adapter_t *adapter, unsigned int id, unsigned int op,
sys/dev/cxgb/common/cxgb_common.h
826
int t3_elmr_blk_write(adapter_t *adap, int start, const u32 *vals, int n);
sys/dev/cxgb/common/cxgb_common.h
827
int t3_elmr_blk_read(adapter_t *adap, int start, u32 *vals, int n);
sys/dev/cxgb/common/cxgb_common.h
828
int t3_vsc7323_init(adapter_t *adap, int nports);
sys/dev/cxgb/common/cxgb_common.h
829
int t3_vsc7323_set_speed_fc(adapter_t *adap, int speed, int fc, int port);
sys/dev/cxgb/common/cxgb_common.h
830
int t3_vsc7323_set_mtu(adapter_t *adap, unsigned int mtu, int port);
sys/dev/cxgb/common/cxgb_common.h
831
int t3_vsc7323_set_addr(adapter_t *adap, u8 addr[6], int port);
sys/dev/cxgb/common/cxgb_common.h
832
int t3_vsc7323_enable(adapter_t *adap, int port, int which);
sys/dev/cxgb/common/cxgb_common.h
833
int t3_vsc7323_disable(adapter_t *adap, int port, int which);
sys/dev/cxgb/common/cxgb_common.h
836
int t3_i2c_read8(adapter_t *adapter, int chained, u8 *valp);
sys/dev/cxgb/common/cxgb_common.h
837
int t3_i2c_write8(adapter_t *adapter, int chained, u8 val);
sys/dev/cxgb/common/cxgb_common.h
839
int t3_mi1_read(adapter_t *adapter, int phy_addr, int mmd_addr, int reg_addr,
sys/dev/cxgb/common/cxgb_common.h
841
int t3_mi1_write(adapter_t *adapter, int phy_addr, int mmd_addr, int reg_addr,
sys/dev/cxgb/common/cxgb_common.h
848
int t3_vsc8211_fifo_depth(adapter_t *adap, unsigned int mtu, int port);
sys/dev/cxgb/common/cxgb_mc5.c
100
static inline void dbgi_wr_data3(adapter_t *adapter, u32 v1, u32 v2, u32 v3)
sys/dev/cxgb/common/cxgb_mc5.c
107
static inline void dbgi_rd_rsp3(adapter_t *adapter, u32 *v1, u32 *v2, u32 *v3)
sys/dev/cxgb/common/cxgb_mc5.c
119
static int mc5_write(adapter_t *adapter, u32 addr_lo, u32 cmd)
sys/dev/cxgb/common/cxgb_mc5.c
133
adapter_t *adap = mc5->adapter;
sys/dev/cxgb/common/cxgb_mc5.c
181
adapter_t *adap = mc5->adapter;
sys/dev/cxgb/common/cxgb_mc5.c
245
adapter_t *adap = mc5->adapter;
sys/dev/cxgb/common/cxgb_mc5.c
333
adapter_t *adap = mc5->adapter;
sys/dev/cxgb/common/cxgb_mc5.c
395
adapter_t *adap = mc5->adapter;
sys/dev/cxgb/common/cxgb_mc5.c
430
adapter_t *adap = mc5->adapter;
sys/dev/cxgb/common/cxgb_mc5.c
471
void __devinit t3_mc5_prep(adapter_t *adapter, struct mc5 *mc5, int mode)
sys/dev/cxgb/common/cxgb_mc5.c
93
static int mc5_cmd_write(adapter_t *adapter, u32 cmd)
sys/dev/cxgb/common/cxgb_t3_hw.c
100
void t3_set_reg_field(adapter_t *adapter, unsigned int addr, u32 mask, u32 val)
sys/dev/cxgb/common/cxgb_t3_hw.c
1003
static int flash_wait_op(adapter_t *adapter, int attempts, int delay)
sys/dev/cxgb/common/cxgb_t3_hw.c
1034
int t3_read_flash(adapter_t *adapter, unsigned int addr, unsigned int nwords,
sys/dev/cxgb/common/cxgb_t3_hw.c
1072
static int t3_write_flash(adapter_t *adapter, unsigned int addr,
sys/dev/cxgb/common/cxgb_t3_hw.c
1121
int t3_get_tp_version(adapter_t *adapter, u32 *vers)
sys/dev/cxgb/common/cxgb_t3_hw.c
1142
int t3_check_tpsram_version(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
1181
int t3_check_tpsram(adapter_t *adapter, const u8 *tp_sram, unsigned int size)
sys/dev/cxgb/common/cxgb_t3_hw.c
120
static void t3_read_indirect(adapter_t *adap, unsigned int addr_reg,
sys/dev/cxgb/common/cxgb_t3_hw.c
1213
int t3_get_fw_version(adapter_t *adapter, u32 *vers)
sys/dev/cxgb/common/cxgb_t3_hw.c
1229
int t3_check_fw_version(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
1268
static int t3_flash_erase_sectors(adapter_t *adapter, int start, int end)
sys/dev/cxgb/common/cxgb_t3_hw.c
1294
int t3_load_fw(adapter_t *adapter, const u8 *fw_data, unsigned int size)
sys/dev/cxgb/common/cxgb_t3_hw.c
1358
int t3_load_boot(adapter_t *adapter, u8 *boot_data, unsigned int size)
sys/dev/cxgb/common/cxgb_t3_hw.c
1417
int t3_cim_ctl_blk_read(adapter_t *adap, unsigned int addr, unsigned int n,
sys/dev/cxgb/common/cxgb_t3_hw.c
1472
static int t3_detect_link_fault(adapter_t *adapter, int port_id)
sys/dev/cxgb/common/cxgb_t3_hw.c
148
adapter_t *adap = mc7->adapter;
sys/dev/cxgb/common/cxgb_t3_hw.c
1495
static void t3_clear_faults(adapter_t *adapter, int port_id)
sys/dev/cxgb/common/cxgb_t3_hw.c
1519
void t3_link_changed(adapter_t *adapter, int port_id)
sys/dev/cxgb/common/cxgb_t3_hw.c
1715
void t3_set_vlan_accel(adapter_t *adapter, unsigned int ports, int on)
sys/dev/cxgb/common/cxgb_t3_hw.c
1744
static int t3_handle_intr_status(adapter_t *adapter, unsigned int reg,
sys/dev/cxgb/common/cxgb_t3_hw.c
1828
static void pci_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
1864
static void pcie_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
1898
static void tp_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
1922
static void cim_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
1960
static void ulprx_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
1982
static void ulptx_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
2010
static void pmtx_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
2040
static void pmrx_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
205
int t3_i2c_read8(adapter_t *adapter, int chained, u8 *valp)
sys/dev/cxgb/common/cxgb_t3_hw.c
2061
static void cplsw_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
2081
static void mps_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
2100
adapter_t *adapter = mc7->adapter;
sys/dev/cxgb/common/cxgb_t3_hw.c
2151
static int mac_intr_handler(adapter_t *adap, unsigned int idx)
sys/dev/cxgb/common/cxgb_t3_hw.c
2208
static int phy_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
2246
int t3_slow_intr_handler(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
229
int t3_i2c_write8(adapter_t *adapter, int chained, u8 val)
sys/dev/cxgb/common/cxgb_t3_hw.c
2298
static unsigned int calc_gpio_intr(adapter_t *adap)
sys/dev/cxgb/common/cxgb_t3_hw.c
2317
void t3_intr_enable(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
2368
void t3_intr_disable(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
2381
void t3_intr_clear(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
2416
void t3_xgm_intr_enable(adapter_t *adapter, int idx)
sys/dev/cxgb/common/cxgb_t3_hw.c
2424
void t3_xgm_intr_disable(adapter_t *adapter, int idx)
sys/dev/cxgb/common/cxgb_t3_hw.c
2440
void t3_port_intr_enable(adapter_t *adapter, int idx)
sys/dev/cxgb/common/cxgb_t3_hw.c
2456
void t3_port_intr_disable(adapter_t *adapter, int idx)
sys/dev/cxgb/common/cxgb_t3_hw.c
2472
void t3_port_intr_clear(adapter_t *adapter, int idx)
sys/dev/cxgb/common/cxgb_t3_hw.c
248
static void mi1_init(adapter_t *adap, const struct adapter_info *ai)
sys/dev/cxgb/common/cxgb_t3_hw.c
2491
static int t3_sge_write_context(adapter_t *adapter, unsigned int id,
sys/dev/cxgb/common/cxgb_t3_hw.c
2528
static int clear_sge_ctxt(adapter_t *adap, unsigned int id, unsigned int type)
sys/dev/cxgb/common/cxgb_t3_hw.c
2561
int t3_sge_init_ecntxt(adapter_t *adapter, unsigned int id, int gts_enable,
sys/dev/cxgb/common/cxgb_t3_hw.c
2604
int t3_sge_init_flcntxt(adapter_t *adapter, unsigned int id, int gts_enable,
sys/dev/cxgb/common/cxgb_t3_hw.c
261
int t3_mi1_read(adapter_t *adapter, int phy_addr, int mmd_addr,
sys/dev/cxgb/common/cxgb_t3_hw.c
2643
int t3_sge_init_rspcntxt(adapter_t *adapter, unsigned int id, int irq_vec_idx,
sys/dev/cxgb/common/cxgb_t3_hw.c
2686
int t3_sge_init_cqcntxt(adapter_t *adapter, unsigned int id, u64 base_addr,
sys/dev/cxgb/common/cxgb_t3_hw.c
2717
int t3_sge_enable_ecntxt(adapter_t *adapter, unsigned int id, int enable)
sys/dev/cxgb/common/cxgb_t3_hw.c
2741
int t3_sge_disable_fl(adapter_t *adapter, unsigned int id)
sys/dev/cxgb/common/cxgb_t3_hw.c
2765
int t3_sge_disable_rspcntxt(adapter_t *adapter, unsigned int id)
sys/dev/cxgb/common/cxgb_t3_hw.c
2789
int t3_sge_disable_cqcntxt(adapter_t *adapter, unsigned int id)
sys/dev/cxgb/common/cxgb_t3_hw.c
281
int t3_mi1_write(adapter_t *adapter, int phy_addr, int mmd_addr,
sys/dev/cxgb/common/cxgb_t3_hw.c
2819
int t3_sge_cqcntxt_op(adapter_t *adapter, unsigned int id, unsigned int op,
sys/dev/cxgb/common/cxgb_t3_hw.c
2859
static int t3_sge_read_context(unsigned int type, adapter_t *adapter,
sys/dev/cxgb/common/cxgb_t3_hw.c
2886
int t3_sge_read_ecntxt(adapter_t *adapter, unsigned int id, u32 data[4])
sys/dev/cxgb/common/cxgb_t3_hw.c
2902
int t3_sge_read_cq(adapter_t *adapter, unsigned int id, u32 data[4])
sys/dev/cxgb/common/cxgb_t3_hw.c
2918
int t3_sge_read_fl(adapter_t *adapter, unsigned int id, u32 data[4])
sys/dev/cxgb/common/cxgb_t3_hw.c
2934
int t3_sge_read_rspq(adapter_t *adapter, unsigned int id, u32 data[4])
sys/dev/cxgb/common/cxgb_t3_hw.c
2953
void t3_config_rss(adapter_t *adapter, unsigned int rss_config, const u8 *cpus,
sys/dev/cxgb/common/cxgb_t3_hw.c
2989
int t3_read_rss(adapter_t *adapter, u8 *lkup, u16 *map)
sys/dev/cxgb/common/cxgb_t3_hw.c
3024
void t3_tp_set_offload_mode(adapter_t *adap, int enable)
sys/dev/cxgb/common/cxgb_t3_hw.c
3040
static void tp_wr_bits_indirect(adapter_t *adap, unsigned int addr,
sys/dev/cxgb/common/cxgb_t3_hw.c
3054
void t3_enable_filters(adapter_t *adap)
sys/dev/cxgb/common/cxgb_t3_hw.c
3068
void t3_disable_filters(adapter_t *adap)
sys/dev/cxgb/common/cxgb_t3_hw.c
308
static int mi1_ext_read(adapter_t *adapter, int phy_addr, int mmd_addr,
sys/dev/cxgb/common/cxgb_t3_hw.c
3106
static void partition_mem(adapter_t *adap, const struct tp_params *p)
sys/dev/cxgb/common/cxgb_t3_hw.c
3164
static inline void tp_wr_indirect(adapter_t *adap, unsigned int addr, u32 val)
sys/dev/cxgb/common/cxgb_t3_hw.c
3170
static inline u32 tp_rd_indirect(adapter_t *adap, unsigned int addr)
sys/dev/cxgb/common/cxgb_t3_hw.c
3176
static void tp_config(adapter_t *adap, const struct tp_params *p)
sys/dev/cxgb/common/cxgb_t3_hw.c
3254
static void tp_set_timers(adapter_t *adap, unsigned int core_clk)
sys/dev/cxgb/common/cxgb_t3_hw.c
3299
int t3_tp_set_coalescing_size(adapter_t *adap, unsigned int size, int psh)
sys/dev/cxgb/common/cxgb_t3_hw.c
331
static int mi1_ext_write(adapter_t *adapter, int phy_addr, int mmd_addr,
sys/dev/cxgb/common/cxgb_t3_hw.c
3329
void t3_tp_set_max_rxsize(adapter_t *adap, unsigned int size)
sys/dev/cxgb/common/cxgb_t3_hw.c
3419
void t3_load_mtus(adapter_t *adap, unsigned short mtus[NMTUS],
sys/dev/cxgb/common/cxgb_t3_hw.c
3458
void t3_read_hw_mtus(adapter_t *adap, unsigned short mtus[NMTUS])
sys/dev/cxgb/common/cxgb_t3_hw.c
3479
void t3_get_cong_cntl_tab(adapter_t *adap,
sys/dev/cxgb/common/cxgb_t3_hw.c
3500
void t3_tp_get_mib_stats(adapter_t *adap, struct tp_mib_stats *tps)
sys/dev/cxgb/common/cxgb_t3_hw.c
3513
void t3_read_pace_tbl(adapter_t *adap, unsigned int pace_vals[NTX_SCHED])
sys/dev/cxgb/common/cxgb_t3_hw.c
3532
void t3_set_pace_tbl(adapter_t *adap, unsigned int *pace_vals,
sys/dev/cxgb/common/cxgb_t3_hw.c
3553
static void ulp_config(adapter_t *adap, const struct tp_params *p)
sys/dev/cxgb/common/cxgb_t3_hw.c
3575
int t3_set_proto_sram(adapter_t *adap, const u8 *data)
sys/dev/cxgb/common/cxgb_t3_hw.c
3604
void t3_config_trace_filter(adapter_t *adapter, const struct trace_params *tp,
sys/dev/cxgb/common/cxgb_t3_hw.c
3646
void t3_query_trace_filter(adapter_t *adapter, struct trace_params *tp,
sys/dev/cxgb/common/cxgb_t3_hw.c
3689
int t3_config_sched(adapter_t *adap, unsigned int kbps, int sched)
sys/dev/cxgb/common/cxgb_t3_hw.c
3733
int t3_set_sched_ipg(adapter_t *adap, int sched, unsigned int ipg)
sys/dev/cxgb/common/cxgb_t3_hw.c
3763
void t3_get_tx_sched(adapter_t *adap, unsigned int sched, unsigned int *kbps,
sys/dev/cxgb/common/cxgb_t3_hw.c
3801
static int tp_init(adapter_t *adap, const struct tp_params *p)
sys/dev/cxgb/common/cxgb_t3_hw.c
3829
int t3_mps_set_active_ports(adapter_t *adap, unsigned int port_mask)
sys/dev/cxgb/common/cxgb_t3_hw.c
3846
static void chan_init_hw(adapter_t *adap, unsigned int chan_map)
sys/dev/cxgb/common/cxgb_t3_hw.c
3883
static int calibrate_xgm(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
3910
static void calibrate_xgm_t3b(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
3940
static int wrreg_wait(adapter_t *adapter, unsigned int addr, u32 val)
sys/dev/cxgb/common/cxgb_t3_hw.c
3965
adapter_t *adapter = mc7->adapter;
sys/dev/cxgb/common/cxgb_t3_hw.c
4065
static void config_pcie(adapter_t *adap)
sys/dev/cxgb/common/cxgb_t3_hw.c
4144
int t3_init_hw(adapter_t *adapter, u32 fw_params)
sys/dev/cxgb/common/cxgb_t3_hw.c
4228
static void __devinit get_pci_mode(adapter_t *adapter, struct pci_params *p)
sys/dev/cxgb/common/cxgb_t3_hw.c
4303
static void __devinit mc7_prep(adapter_t *adapter, struct mc7 *mc7,
sys/dev/cxgb/common/cxgb_t3_hw.c
4316
void mac_prep(struct cmac *mac, adapter_t *adapter, int index)
sys/dev/cxgb/common/cxgb_t3_hw.c
4356
void early_hw_init(adapter_t *adapter, const struct adapter_info *ai)
sys/dev/cxgb/common/cxgb_t3_hw.c
4390
int t3_reset_adapter(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
4419
static int init_parity(adapter_t *adap)
sys/dev/cxgb/common/cxgb_t3_hw.c
4458
int __devinit t3_prep_adapter(adapter_t *adapter,
sys/dev/cxgb/common/cxgb_t3_hw.c
4605
int t3_reinit_adapter(adapter_t *adap)
sys/dev/cxgb/common/cxgb_t3_hw.c
4644
void t3_led_ready(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
4650
void t3_port_failover(adapter_t *adapter, int port)
sys/dev/cxgb/common/cxgb_t3_hw.c
4659
void t3_failover_done(adapter_t *adapter, int port)
sys/dev/cxgb/common/cxgb_t3_hw.c
4665
void t3_failover_clear(adapter_t *adapter)
sys/dev/cxgb/common/cxgb_t3_hw.c
4671
static int t3_cim_hac_read(adapter_t *adapter, u32 addr, u32 *val)
sys/dev/cxgb/common/cxgb_t3_hw.c
4685
static int t3_cim_hac_write(adapter_t *adapter, u32 addr, u32 val)
sys/dev/cxgb/common/cxgb_t3_hw.c
4700
int t3_get_up_la(adapter_t *adapter, u32 *stopped, u32 *index,
sys/dev/cxgb/common/cxgb_t3_hw.c
4763
int t3_get_up_ioqs(adapter_t *adapter, u32 *size, void *data)
sys/dev/cxgb/common/cxgb_t3_hw.c
52
int t3_wait_op_done_val(adapter_t *adapter, int reg, u32 mask, int polarity,
sys/dev/cxgb/common/cxgb_t3_hw.c
655
int t3_seeprom_read(adapter_t *adapter, u32 addr, u32 *data)
sys/dev/cxgb/common/cxgb_t3_hw.c
688
int t3_seeprom_write(adapter_t *adapter, u32 addr, u32 data)
sys/dev/cxgb/common/cxgb_t3_hw.c
720
int t3_seeprom_wp(adapter_t *adapter, int enable)
sys/dev/cxgb/common/cxgb_t3_hw.c
741
static int get_desc_len(adapter_t *adapter, u32 offset)
sys/dev/cxgb/common/cxgb_t3_hw.c
778
static int is_end_tag(adapter_t * adapter, u32 offset)
sys/dev/cxgb/common/cxgb_t3_hw.c
805
int t3_get_vpd_len(adapter_t * adapter, struct generic_vpd *vpd)
sys/dev/cxgb/common/cxgb_t3_hw.c
81
void t3_write_regs(adapter_t *adapter, const struct addr_val_pair *p, int n,
sys/dev/cxgb/common/cxgb_t3_hw.c
837
int t3_read_vpd(adapter_t *adapter, struct generic_vpd *vpd)
sys/dev/cxgb/common/cxgb_t3_hw.c
859
static int get_vpd_params(adapter_t *adapter, struct vpd_params *p)
sys/dev/cxgb/common/cxgb_t3_hw.c
955
static int sf1_read(adapter_t *adapter, unsigned int byte_cnt, int cont,
sys/dev/cxgb/common/cxgb_t3_hw.c
982
static int sf1_write(adapter_t *adapter, unsigned int byte_cnt, int cont,
sys/dev/cxgb/common/cxgb_vsc7323.c
111
int t3_vsc7323_init(adapter_t *adap, int nports)
sys/dev/cxgb/common/cxgb_vsc7323.c
193
int t3_vsc7323_set_speed_fc(adapter_t *adap, int speed, int fc, int port)
sys/dev/cxgb/common/cxgb_vsc7323.c
224
int t3_vsc7323_set_mtu(adapter_t *adap, unsigned int mtu, int port)
sys/dev/cxgb/common/cxgb_vsc7323.c
229
int t3_vsc7323_set_addr(adapter_t *adap, u8 addr[6], int port)
sys/dev/cxgb/common/cxgb_vsc7323.c
241
int t3_vsc7323_enable(adapter_t *adap, int port, int which)
sys/dev/cxgb/common/cxgb_vsc7323.c
259
int t3_vsc7323_disable(adapter_t *adap, int port, int which)
sys/dev/cxgb/common/cxgb_vsc7323.c
51
int t3_elmr_blk_write(adapter_t *adap, int start, const u32 *vals, int n)
sys/dev/cxgb/common/cxgb_vsc7323.c
69
static int elmr_write(adapter_t *adap, int addr, u32 val)
sys/dev/cxgb/common/cxgb_vsc7323.c
74
int t3_elmr_blk_read(adapter_t *adap, int start, u32 *vals, int n)
sys/dev/cxgb/common/cxgb_vsc8211.c
392
int t3_vsc8211_fifo_depth(adapter_t *adap, unsigned int mtu, int port)
sys/dev/cxgb/common/cxgb_xgmac.c
159
adapter_t *adap = mac->adapter;
sys/dev/cxgb/common/cxgb_xgmac.c
222
adapter_t *adap = mac->adapter;
sys/dev/cxgb/common/cxgb_xgmac.c
435
adapter_t *adap = mac->adapter;
sys/dev/cxgb/common/cxgb_xgmac.c
478
adapter_t *adap = mac->adapter;
sys/dev/cxgb/common/cxgb_xgmac.c
48
adapter_t *adap = mac->adapter;
sys/dev/cxgb/common/cxgb_xgmac.c
571
adapter_t *adap = mac->adapter;
sys/dev/cxgb/common/cxgb_xgmac.c
649
adapter_t *adap = mac->adapter;
sys/dev/cxgb/common/cxgb_xgmac.c
700
adapter_t *adap = mac->adapter;
sys/dev/cxgb/common/cxgb_xgmac.c
725
adapter_t *adap = mac->adapter;
sys/dev/cxgb/common/cxgb_xgmac.c
73
adapter_t *adap = mac->adapter;
sys/dev/cxgb/cxgb_adapter.h
429
t3_read_reg(adapter_t *adapter, uint32_t reg_addr)
sys/dev/cxgb/cxgb_adapter.h
435
t3_write_reg(adapter_t *adapter, uint32_t reg_addr, uint32_t val)
sys/dev/cxgb/cxgb_adapter.h
441
t3_os_pci_read_config_4(adapter_t *adapter, int reg, uint32_t *val)
sys/dev/cxgb/cxgb_adapter.h
447
t3_os_pci_write_config_4(adapter_t *adapter, int reg, uint32_t val)
sys/dev/cxgb/cxgb_adapter.h
453
t3_os_pci_read_config_2(adapter_t *adapter, int reg, uint16_t *val)
sys/dev/cxgb/cxgb_adapter.h
459
t3_os_pci_write_config_2(adapter_t *adapter, int reg, uint16_t val)
sys/dev/cxgb/cxgb_adapter.h
477
int t3_os_find_pci_capability(adapter_t *adapter, int cap);
sys/dev/cxgb/cxgb_adapter.h
481
void t3_os_link_changed(adapter_t *adapter, int port_id, int link_status,
sys/dev/cxgb/cxgb_adapter.h
484
void t3_sge_err_intr_handler(adapter_t *adapter);
sys/dev/cxgb/cxgb_adapter.h
488
void t3_os_set_hw_addr(adapter_t *adapter, int port_idx, u8 hw_addr[]);
sys/dev/cxgb/cxgb_adapter.h
489
int t3_mgmt_tx(adapter_t *adap, struct mbuf *m);
sys/dev/cxgb/cxgb_adapter.h
494
int t3_sge_alloc_qset(adapter_t *, uint32_t, int, int, const struct qset_params *,
sys/dev/cxgb/cxgb_adapter.h
496
void t3_free_sge_resources(adapter_t *, int);
sys/dev/cxgb/cxgb_adapter.h
497
void t3_sge_start(adapter_t *);
sys/dev/cxgb/cxgb_adapter.h
498
void t3_sge_stop(adapter_t *);
sys/dev/cxgb/cxgb_adapter.h
503
int t3_sge_init_adapter(adapter_t *);
sys/dev/cxgb/cxgb_adapter.h
504
int t3_sge_reset_adapter(adapter_t *);
sys/dev/cxgb/cxgb_adapter.h
510
void t3_add_attach_sysctls(adapter_t *sc);
sys/dev/cxgb/cxgb_adapter.h
511
void t3_add_configured_sysctls(adapter_t *sc);
sys/dev/cxgb/cxgb_adapter.h
544
static inline int offload_running(adapter_t *adapter)
sys/dev/cxgb/cxgb_adapter.h
557
int cxgb_debugnet_poll_rx(adapter_t *adap, struct sge_qset *qs);
sys/dev/cxgb/cxgb_main.c
103
static void setup_rss(adapter_t *sc);
sys/dev/cxgb/cxgb_main.c
1137
t3_os_find_pci_capability(adapter_t *sc, int cap)
sys/dev/cxgb/cxgb_main.c
1173
t3_os_link_changed(adapter_t *adapter, int port_id, int link_status, int speed,
sys/dev/cxgb/cxgb_main.c
1226
t3_os_set_hw_addr(adapter_t *adapter, int port_idx, u8 hw_addr[])
sys/dev/cxgb/cxgb_main.c
124
static void cxgb_get_regs(adapter_t *sc, struct ch_ifconf_regs *regs, uint8_t *buf);
sys/dev/cxgb/cxgb_main.c
1358
setup_rss(adapter_t *adap)
sys/dev/cxgb/cxgb_main.c
1416
bind_qsets(adapter_t *sc)
sys/dev/cxgb/cxgb_main.c
2219
adapter_t *sc = data;
sys/dev/cxgb/cxgb_main.c
2308
adapter_t *sc = (adapter_t *)arg;
sys/dev/cxgb/cxgb_main.c
2337
adapter_t *sc = (adapter_t *)arg;
sys/dev/cxgb/cxgb_main.c
2484
adapter_t *sc = pi->adapter;
sys/dev/cxgb/cxgb_main.c
3152
cxgb_get_regs(adapter_t *sc, struct ch_ifconf_regs *regs, uint8_t *buf)
sys/dev/cxgb/cxgb_main.c
3542
adapter_t *adap;
sys/dev/cxgb/cxgb_main.c
3591
adapter_t *adap;
sys/dev/cxgb/cxgb_main.c
383
upgrade_fw(adapter_t *sc)
sys/dev/cxgb/cxgb_main.c
819
setup_sge_qsets(adapter_t *sc)
sys/dev/cxgb/cxgb_main.c
85
static int cxgb_setup_interrupts(adapter_t *);
sys/dev/cxgb/cxgb_main.c
854
cxgb_teardown_interrupts(adapter_t *sc)
sys/dev/cxgb/cxgb_main.c
86
static void cxgb_teardown_interrupts(adapter_t *);
sys/dev/cxgb/cxgb_main.c
892
cxgb_setup_interrupts(adapter_t *sc)
sys/dev/cxgb/cxgb_main.c
97
static int setup_sge_qsets(adapter_t *);
sys/dev/cxgb/cxgb_sge.c
1009
t3_sge_init_adapter(adapter_t *sc)
sys/dev/cxgb/cxgb_sge.c
1018
t3_sge_reset_adapter(adapter_t *sc)
sys/dev/cxgb/cxgb_sge.c
1041
refill_rspq(adapter_t *sc, const struct sge_rspq *q, u_int credits)
sys/dev/cxgb/cxgb_sge.c
1064
adapter_t *sc = pi->adapter;
sys/dev/cxgb/cxgb_sge.c
1230
check_ring_tx_db(adapter_t *adap, struct sge_txq *q, int mustring)
sys/dev/cxgb/cxgb_sge.c
1354
adapter_t *sc;
sys/dev/cxgb/cxgb_sge.c
1829
check_desc_avail(adapter_t *adap, struct sge_txq *q,
sys/dev/cxgb/cxgb_sge.c
1886
ctrl_xmit(adapter_t *adap, struct sge_qset *qs, struct mbuf *m)
sys/dev/cxgb/cxgb_sge.c
1937
adapter_t *adap = qs->port->adapter;
sys/dev/cxgb/cxgb_sge.c
1987
t3_free_qset(adapter_t *sc, struct sge_qset *q)
sys/dev/cxgb/cxgb_sge.c
2061
t3_free_sge_resources(adapter_t *sc, int nqsets)
sys/dev/cxgb/cxgb_sge.c
2079
t3_sge_start(adapter_t *sc)
sys/dev/cxgb/cxgb_sge.c
2098
t3_sge_stop(adapter_t *sc)
sys/dev/cxgb/cxgb_sge.c
2195
write_ofld_wr(adapter_t *adap, struct mbuf *m, struct sge_txq *q,
sys/dev/cxgb/cxgb_sge.c
2263
ofld_xmit(adapter_t *adap, struct sge_qset *qs, struct mbuf *m)
sys/dev/cxgb/cxgb_sge.c
2312
adapter_t *adap = qs->port->adapter;
sys/dev/cxgb/cxgb_sge.c
2412
t3_sge_alloc_qset(adapter_t *sc, u_int id, int nports, int irq_vec_idx,
sys/dev/cxgb/cxgb_sge.c
2673
get_packet(adapter_t *adap, unsigned int drop_thres, struct sge_qset *qs,
sys/dev/cxgb/cxgb_sge.c
2798
check_ring_db(adapter_t *adap, struct sge_qset *qs,
sys/dev/cxgb/cxgb_sge.c
2820
process_responses(adapter_t *adap, struct sge_qset *qs, int budget)
sys/dev/cxgb/cxgb_sge.c
2993
process_responses_gts(adapter_t *adap, struct sge_rspq *rq)
sys/dev/cxgb/cxgb_sge.c
3012
cxgb_debugnet_poll_rx(adapter_t *adap, struct sge_qset *qs)
sys/dev/cxgb/cxgb_sge.c
3030
adapter_t *adap = data;
sys/dev/cxgb/cxgb_sge.c
3061
adapter_t *adap = data;
sys/dev/cxgb/cxgb_sge.c
3082
adapter_t *adap = qs->port->adapter;
sys/dev/cxgb/cxgb_sge.c
3279
adapter_t *sc = arg1;
sys/dev/cxgb/cxgb_sge.c
3325
adapter_t *sc = arg1;
sys/dev/cxgb/cxgb_sge.c
3347
t3_add_attach_sysctls(adapter_t *sc)
sys/dev/cxgb/cxgb_sge.c
3410
t3_add_configured_sysctls(adapter_t *sc)
sys/dev/cxgb/cxgb_sge.c
428
t3_sge_init(adapter_t *adap, struct sge_params *p)
sys/dev/cxgb/cxgb_sge.c
481
get_imm_packet(adapter_t *sc, const struct rsp_desc *resp, struct mbuf *m)
sys/dev/cxgb/cxgb_sge.c
520
t3_sge_err_intr_handler(adapter_t *adapter)
sys/dev/cxgb/cxgb_sge.c
548
t3_sge_prep(adapter_t *adap, struct sge_params *p)
sys/dev/cxgb/cxgb_sge.c
601
t3_sge_alloc(adapter_t *sc)
sys/dev/cxgb/cxgb_sge.c
703
refill_fl(adapter_t *sc, struct sge_fl *q, int n)
sys/dev/cxgb/cxgb_sge.c
789
free_rx_bufs(adapter_t *sc, struct sge_fl *q)
sys/dev/cxgb/cxgb_sge.c
817
__refill_fl(adapter_t *adap, struct sge_fl *fl)
sys/dev/cxgb/cxgb_sge.c
823
__refill_fl_lt(adapter_t *adap, struct sge_fl *fl, int max)
sys/dev/cxgb/cxgb_sge.c
841
recycle_rx_buf(adapter_t *adap, struct sge_fl *q, unsigned int idx)
sys/dev/cxgb/cxgb_sge.c
871
alloc_ring(adapter_t *sc, size_t nelem, size_t elem_size, size_t sw_size,
sys/dev/cxgb/cxgb_sge.c
920
adapter_t *sc = arg;
sys/dev/cxgb/cxgb_sge.c
959
adapter_t *sc = arg;
sys/dev/cxgbe/common/common.h
683
u32 t4_hw_pci_read_cfg4(adapter_t *adapter, int reg);
sys/dev/cxgbe/common/t4_hw.c
196
u32 t4_hw_pci_read_cfg4(adapter_t *adap, int reg)