Lines Matching defs:adap

113 void t4_read_indirect(struct adapter *adap, unsigned int addr_reg,  in t4_read_indirect()
136 void t4_write_indirect(struct adapter *adap, unsigned int addr_reg, in t4_write_indirect()
152 void t4_hw_pci_read_cfg4(struct adapter *adap, int reg, u32 *val) in t4_hw_pci_read_cfg4()
183 static void t4_report_fw_error(struct adapter *adap) in t4_report_fw_error()
208 static void get_mbox_rpl(struct adapter *adap, __be64 *rpl, int nflit, in get_mbox_rpl()
218 static void fw_asrt(struct adapter *adap, u32 mbox_addr) in fw_asrt()
282 int t4_wr_mbox_meat_timeout(struct adapter *adap, int mbox, const void *cmd, in t4_wr_mbox_meat_timeout()
442 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size, in t4_wr_mbox_meat()
449 static int t4_edc_err_read(struct adapter *adap, int idx) in t4_edc_err_read()
497 int t4_memory_rw_init(struct adapter *adap, int win, int mtype, u32 *mem_off, in t4_memory_rw_init()
551 void t4_memory_update_win(struct adapter *adap, int win, u32 addr) in t4_memory_update_win()
573 void t4_memory_rw_residual(struct adapter *adap, u32 off, u32 addr, u8 *buf, in t4_memory_rw_residual()
614 int t4_memory_rw(struct adapter *adap, int win, int mtype, u32 addr, in t4_memory_rw()
731 u32 t4_read_pcie_cfg4(struct adapter *adap, int reg) in t4_read_pcie_cfg4()
772 static u32 t4_get_window(struct adapter *adap, u32 pci_base, u64 pci_mask, in t4_get_window()
802 u32 t4_get_util_window(struct adapter *adap) in t4_get_util_window()
812 void t4_setup_memwin(struct adapter *adap, u32 memwin_base, u32 window) in t4_setup_memwin()
856 void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size) in t4_get_regs()
3180 int t4_get_exprom_version(struct adapter *adap, u32 *vers) in t4_get_exprom_version()
3388 int t4_check_fw_version(struct adapter *adap) in t4_check_fw_version()
3462 static int should_install_fs_fw(struct adapter *adap, int card_fw_usable, in should_install_fs_fw()
3490 int t4_prep_fw(struct adapter *adap, struct fw_info *fw_info, in t4_prep_fw()
3626 static bool t4_fw_matches_chip(const struct adapter *adap, in t4_fw_matches_chip()
3651 int t4_load_fw(struct adapter *adap, const u8 *fw_data, unsigned int size) in t4_load_fw()
3740 int t4_phy_fw_ver(struct adapter *adap, int *phy_fw_ver) in t4_phy_fw_ver()
3784 int t4_load_phy_fw(struct adapter *adap, in t4_load_phy_fw()
3878 int t4_fwcache(struct adapter *adap, enum fw_params_param_dev_fwcache op) in t4_fwcache()
3897 void t4_cim_read_pif_la(struct adapter *adap, u32 *pif_req, u32 *pif_rsp, in t4_cim_read_pif_la()
3931 void t4_cim_read_ma_la(struct adapter *adap, u32 *ma_req, u32 *ma_rsp) in t4_cim_read_ma_la()
3952 void t4_ulprx_read_la(struct adapter *adap, u32 *la_buf) in t4_ulprx_read_la()
4272 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) in t4_restart_aneg()
4730 static void le_intr_handler(struct adapter *adap) in le_intr_handler()
4896 static void ma_intr_handler(struct adapter *adap) in ma_intr_handler()
4924 static void smb_intr_handler(struct adapter *adap) in smb_intr_handler()
4940 static void ncsi_intr_handler(struct adapter *adap) in ncsi_intr_handler()
4957 static void xgmac_intr_handler(struct adapter *adap, int port) in xgmac_intr_handler()
4985 static void pl_intr_handler(struct adapter *adap) in pl_intr_handler()
5131 unsigned int t4_chip_rss_size(struct adapter *adap) in t4_chip_rss_size()
5261 static int rd_rss_row(struct adapter *adap, int row, u32 *val) in rd_rss_row()
5291 static unsigned int t4_use_ldst(struct adapter *adap) in t4_use_ldst()
5308 static int t4_tp_fw_ldst_rw(struct adapter *adap, int cmd, u32 *vals, in t4_tp_fw_ldst_rw()
5352 static void t4_tp_indirect_rw(struct adapter *adap, u32 reg_addr, u32 reg_data, in t4_tp_indirect_rw()
5399 void t4_tp_pio_read(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_pio_read()
5416 static void t4_tp_pio_write(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_pio_write()
5433 void t4_tp_tm_pio_read(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_tm_pio_read()
5450 void t4_tp_mib_read(struct adapter *adap, u32 *buff, u32 nregs, u32 start_index, in t4_tp_mib_read()
5465 void t4_read_rss_key(struct adapter *adap, u32 *key, bool sleep_ok) in t4_read_rss_key()
5481 void t4_write_rss_key(struct adapter *adap, const u32 *key, int idx, in t4_write_rss_key()
5601 void t4_tp_get_tcp_stats(struct adapter *adap, struct tp_tcp_stats *v4, in t4_tp_get_tcp_stats()
5639 void t4_tp_get_err_stats(struct adapter *adap, struct tp_err_stats *st, in t4_tp_get_err_stats()
5672 void t4_tp_get_cpl_stats(struct adapter *adap, struct tp_cpl_stats *st, in t4_tp_get_cpl_stats()
5690 void t4_tp_get_rdma_stats(struct adapter *adap, struct tp_rdma_stats *st, in t4_tp_get_rdma_stats()
5706 void t4_get_fcoe_stats(struct adapter *adap, unsigned int idx, in t4_get_fcoe_stats()
5731 void t4_get_usm_stats(struct adapter *adap, struct tp_usm_stats *st, in t4_get_usm_stats()
5750 void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log) in t4_read_mtu_tbl()
5773 void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]) in t4_read_cong_tbl()
5795 void t4_tp_wr_bits_indirect(struct adapter *adap, unsigned int addr, in t4_tp_wr_bits_indirect()
5862 void t4_load_mtus(struct adapter *adap, const unsigned short *mtus, in t4_load_mtus()
5903 static u64 chan_rate(struct adapter *adap, unsigned int bytes256) in chan_rate()
5919 void t4_get_chan_txrate(struct adapter *adap, u64 *nic_rate, u64 *ofld_rate) in t4_get_chan_txrate()
5951 int t4_set_trace_filter(struct adapter *adap, const struct trace_params *tp, in t4_set_trace_filter()
6017 void t4_get_trace_filter(struct adapter *adap, struct trace_params *tp, int idx, in t4_get_trace_filter()
6059 void t4_pmtx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmtx_get_stats()
6086 void t4_pmrx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmrx_get_stats()
6251 unsigned int t4_get_tp_ch_map(struct adapter *adap, int pidx) in t4_get_tp_ch_map()
6334 void t4_get_port_stats_offset(struct adapter *adap, int idx, in t4_get_port_stats_offset()
6356 void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p) in t4_get_port_stats()
6453 void t4_get_lb_stats(struct adapter *adap, int idx, struct lb_port_stats *p) in t4_get_lb_stats()
6521 int t4_fwaddrspace_write(struct adapter *adap, unsigned int mbox, in t4_fwaddrspace_write()
6551 int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_rd()
6585 int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_wr()
6779 int t4_sge_ctxt_flush(struct adapter *adap, unsigned int mbox, int ctxt_type) in t4_sge_ctxt_flush()
6809 int t4_read_sge_dbqtimers(struct adapter *adap, unsigned int ndbqtimers, in t4_read_sge_dbqtimers()
6851 int t4_fw_hello(struct adapter *adap, unsigned int mbox, unsigned int evt_mbox, in t4_fw_hello()
6977 int t4_fw_bye(struct adapter *adap, unsigned int mbox) in t4_fw_bye()
6994 int t4_early_init(struct adapter *adap, unsigned int mbox) in t4_early_init()
7011 int t4_fw_reset(struct adapter *adap, unsigned int mbox, int reset) in t4_fw_reset()
7037 static int t4_fw_halt(struct adapter *adap, unsigned int mbox, int force) in t4_fw_halt()
7102 static int t4_fw_restart(struct adapter *adap, unsigned int mbox, int reset) in t4_fw_restart()
7165 int t4_fw_upgrade(struct adapter *adap, unsigned int mbox, in t4_fw_upgrade()
7229 int t4_fl_pkt_align(struct adapter *adap) in t4_fl_pkt_align()
7283 int t4_fixup_host_params(struct adapter *adap, unsigned int page_size, in t4_fixup_host_params()
7431 int t4_fw_initialize(struct adapter *adap, unsigned int mbox) in t4_fw_initialize()
7455 int t4_query_params_rw(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params_rw()
7487 int t4_query_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params()
7495 int t4_query_params_ns(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params_ns()
7517 int t4_set_params_timeout(struct adapter *adap, unsigned int mbox, in t4_set_params_timeout()
7556 int t4_set_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_set_params()
7585 int t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_cfg_pfvf()
7629 int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port, in t4_alloc_vi()
7686 int t4_free_vi(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_free_vi()
7717 int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_rxmode()
7760 int t4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_encap_mac_filt()
7801 int t4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_raw_mac_filt()
7852 int t4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_alloc_encap_mac_filt()
7900 int t4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, in t4_alloc_raw_mac_filt()
7963 int t4_alloc_mac_filt(struct adapter *adap, unsigned int mbox, in t4_alloc_mac_filt()
8048 int t4_free_mac_filt(struct adapter *adap, unsigned int mbox, in t4_free_mac_filt()
8129 int t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_change_mac()
8188 int t4_set_addr_hash(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_addr_hash()
8216 int t4_enable_vi_params(struct adapter *adap, unsigned int mbox, in t4_enable_vi_params()
8242 int t4_enable_vi(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_enable_vi()
8263 int t4_enable_pi_params(struct adapter *adap, unsigned int mbox, in t4_enable_pi_params()
8285 int t4_identify_port(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_identify_port()
8314 int t4_iq_stop(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_iq_stop()
8345 int t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_iq_free()
8373 int t4_eth_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_eth_eq_free()
8398 int t4_ctrl_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ctrl_eq_free()
8423 int t4_ofld_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ofld_eq_free()
8830 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) in t4_handle_fw_rpl()
8939 static int t4_get_flash_params(struct adapter *adap) in t4_get_flash_params()
9312 int t4_init_devlog_params(struct adapter *adap) in t4_init_devlog_params()
9397 int t4_init_tp_params(struct adapter *adap, bool sleep_ok) in t4_init_tp_params()
9505 int t4_filter_field_shift(const struct adapter *adap, int filter_sel) in t4_filter_field_shift()
9551 int t4_init_rss_mode(struct adapter *adap, int mbox) in t4_init_rss_mode()
9684 int t4_port_init(struct adapter *adap, int mbox, int pf, int vf) in t4_port_init()
9715 void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size, u16 *thres) in t4_read_cimq_cfg()
9751 int t4_read_cim_ibq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_ibq()
9793 int t4_read_cim_obq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_obq()
9834 int t4_cim_read(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_read()
9861 int t4_cim_write(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_write()
9878 static int t4_cim_write1(struct adapter *adap, unsigned int addr, in t4_cim_write1()
9894 int t4_cim_read_la(struct adapter *adap, u32 *la_buf, unsigned int *wrptr) in t4_cim_read_la()
9963 void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr) in t4_tp_read_la()
10135 int t4_load_cfg(struct adapter *adap, const u8 *cfg_data, unsigned int size) in t4_load_cfg()
10234 void t4_read_pace_tbl(struct adapter *adap, unsigned int pace_vals[NTX_SCHED]) in t4_read_pace_tbl()
10255 void t4_get_tx_sched(struct adapter *adap, unsigned int sched, in t4_get_tx_sched()
10293 int t4_sge_ctxt_rd(struct adapter *adap, unsigned int mbox, unsigned int cid, in t4_sge_ctxt_rd()
10333 int t4_sge_ctxt_rd_bd(struct adapter *adap, unsigned int cid, in t4_sge_ctxt_rd_bd()
10386 int t4_i2c_rd(struct adapter *adap, unsigned int mbox, int port, in t4_i2c_rd()
10438 int t4_set_vlan_acl(struct adapter *adap, unsigned int mbox, unsigned int vf, in t4_set_vlan_acl()