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()
3153 int t4_get_exprom_version(struct adapter *adap, u32 *vers) in t4_get_exprom_version()
3361 int t4_check_fw_version(struct adapter *adap) in t4_check_fw_version()
3435 static int should_install_fs_fw(struct adapter *adap, int card_fw_usable, in should_install_fs_fw()
3463 int t4_prep_fw(struct adapter *adap, struct fw_info *fw_info, in t4_prep_fw()
3599 static bool t4_fw_matches_chip(const struct adapter *adap, in t4_fw_matches_chip()
3624 int t4_load_fw(struct adapter *adap, const u8 *fw_data, unsigned int size) in t4_load_fw()
3713 int t4_phy_fw_ver(struct adapter *adap, int *phy_fw_ver) in t4_phy_fw_ver()
3754 int t4_load_phy_fw(struct adapter *adap, int win, in t4_load_phy_fw()
3845 int t4_fwcache(struct adapter *adap, enum fw_params_param_dev_fwcache op) in t4_fwcache()
3864 void t4_cim_read_pif_la(struct adapter *adap, u32 *pif_req, u32 *pif_rsp, in t4_cim_read_pif_la()
3898 void t4_cim_read_ma_la(struct adapter *adap, u32 *ma_req, u32 *ma_rsp) in t4_cim_read_ma_la()
3919 void t4_ulprx_read_la(struct adapter *adap, u32 *la_buf) in t4_ulprx_read_la()
4240 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) in t4_restart_aneg()
4714 static void le_intr_handler(struct adapter *adap) in le_intr_handler()
4882 static void ma_intr_handler(struct adapter *adap) in ma_intr_handler()
4910 static void smb_intr_handler(struct adapter *adap) in smb_intr_handler()
4926 static void ncsi_intr_handler(struct adapter *adap) in ncsi_intr_handler()
4943 static void xgmac_intr_handler(struct adapter *adap, int port) in xgmac_intr_handler()
4971 static void pl_intr_handler(struct adapter *adap) in pl_intr_handler()
5117 unsigned int t4_chip_rss_size(struct adapter *adap) in t4_chip_rss_size()
5247 static int rd_rss_row(struct adapter *adap, int row, u32 *val) in rd_rss_row()
5277 static unsigned int t4_use_ldst(struct adapter *adap) in t4_use_ldst()
5294 static int t4_tp_fw_ldst_rw(struct adapter *adap, int cmd, u32 *vals, in t4_tp_fw_ldst_rw()
5338 static void t4_tp_indirect_rw(struct adapter *adap, u32 reg_addr, u32 reg_data, in t4_tp_indirect_rw()
5385 void t4_tp_pio_read(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_pio_read()
5402 static void t4_tp_pio_write(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_pio_write()
5419 void t4_tp_tm_pio_read(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_tm_pio_read()
5436 void t4_tp_mib_read(struct adapter *adap, u32 *buff, u32 nregs, u32 start_index, in t4_tp_mib_read()
5451 void t4_read_rss_key(struct adapter *adap, u32 *key, bool sleep_ok) in t4_read_rss_key()
5467 void t4_write_rss_key(struct adapter *adap, const u32 *key, int idx, in t4_write_rss_key()
5587 void t4_tp_get_tcp_stats(struct adapter *adap, struct tp_tcp_stats *v4, in t4_tp_get_tcp_stats()
5625 void t4_tp_get_err_stats(struct adapter *adap, struct tp_err_stats *st, in t4_tp_get_err_stats()
5658 void t4_tp_get_cpl_stats(struct adapter *adap, struct tp_cpl_stats *st, in t4_tp_get_cpl_stats()
5676 void t4_tp_get_rdma_stats(struct adapter *adap, struct tp_rdma_stats *st, in t4_tp_get_rdma_stats()
5692 void t4_get_fcoe_stats(struct adapter *adap, unsigned int idx, in t4_get_fcoe_stats()
5717 void t4_get_usm_stats(struct adapter *adap, struct tp_usm_stats *st, in t4_get_usm_stats()
5736 void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log) in t4_read_mtu_tbl()
5759 void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]) in t4_read_cong_tbl()
5781 void t4_tp_wr_bits_indirect(struct adapter *adap, unsigned int addr, in t4_tp_wr_bits_indirect()
5848 void t4_load_mtus(struct adapter *adap, const unsigned short *mtus, in t4_load_mtus()
5889 static u64 chan_rate(struct adapter *adap, unsigned int bytes256) in chan_rate()
5905 void t4_get_chan_txrate(struct adapter *adap, u64 *nic_rate, u64 *ofld_rate) in t4_get_chan_txrate()
5937 int t4_set_trace_filter(struct adapter *adap, const struct trace_params *tp, in t4_set_trace_filter()
6003 void t4_get_trace_filter(struct adapter *adap, struct trace_params *tp, int idx, in t4_get_trace_filter()
6045 void t4_pmtx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmtx_get_stats()
6072 void t4_pmrx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmrx_get_stats()
6237 unsigned int t4_get_tp_ch_map(struct adapter *adap, int pidx) in t4_get_tp_ch_map()
6320 void t4_get_port_stats_offset(struct adapter *adap, int idx, in t4_get_port_stats_offset()
6342 void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p) in t4_get_port_stats()
6439 void t4_get_lb_stats(struct adapter *adap, int idx, struct lb_port_stats *p) in t4_get_lb_stats()
6507 int t4_fwaddrspace_write(struct adapter *adap, unsigned int mbox, in t4_fwaddrspace_write()
6537 int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_rd()
6571 int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_wr()
6765 int t4_sge_ctxt_flush(struct adapter *adap, unsigned int mbox, int ctxt_type) in t4_sge_ctxt_flush()
6795 int t4_read_sge_dbqtimers(struct adapter *adap, unsigned int ndbqtimers, in t4_read_sge_dbqtimers()
6837 int t4_fw_hello(struct adapter *adap, unsigned int mbox, unsigned int evt_mbox, in t4_fw_hello()
6963 int t4_fw_bye(struct adapter *adap, unsigned int mbox) in t4_fw_bye()
6980 int t4_early_init(struct adapter *adap, unsigned int mbox) in t4_early_init()
6997 int t4_fw_reset(struct adapter *adap, unsigned int mbox, int reset) in t4_fw_reset()
7023 static int t4_fw_halt(struct adapter *adap, unsigned int mbox, int force) in t4_fw_halt()
7089 static int t4_fw_restart(struct adapter *adap, unsigned int mbox, int reset) in t4_fw_restart()
7152 int t4_fw_upgrade(struct adapter *adap, unsigned int mbox, in t4_fw_upgrade()
7216 int t4_fl_pkt_align(struct adapter *adap) in t4_fl_pkt_align()
7270 int t4_fixup_host_params(struct adapter *adap, unsigned int page_size, in t4_fixup_host_params()
7418 int t4_fw_initialize(struct adapter *adap, unsigned int mbox) in t4_fw_initialize()
7442 int t4_query_params_rw(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params_rw()
7474 int t4_query_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params()
7482 int t4_query_params_ns(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params_ns()
7504 int t4_set_params_timeout(struct adapter *adap, unsigned int mbox, in t4_set_params_timeout()
7543 int t4_set_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_set_params()
7572 int t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_cfg_pfvf()
7618 int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port, in t4_alloc_vi()
7675 int t4_free_vi(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_free_vi()
7707 int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_rxmode()
7768 int t4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_encap_mac_filt()
7808 int t4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_raw_mac_filt()
7859 int t4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_alloc_encap_mac_filt()
7907 int t4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, in t4_alloc_raw_mac_filt()
7970 int t4_alloc_mac_filt(struct adapter *adap, unsigned int mbox, in t4_alloc_mac_filt()
8055 int t4_free_mac_filt(struct adapter *adap, unsigned int mbox, in t4_free_mac_filt()
8136 int t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_change_mac()
8195 int t4_set_addr_hash(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_addr_hash()
8223 int t4_enable_vi_params(struct adapter *adap, unsigned int mbox, in t4_enable_vi_params()
8249 int t4_enable_vi(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_enable_vi()
8270 int t4_enable_pi_params(struct adapter *adap, unsigned int mbox, in t4_enable_pi_params()
8292 int t4_identify_port(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_identify_port()
8321 int t4_iq_stop(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_iq_stop()
8352 int t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_iq_free()
8380 int t4_eth_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_eth_eq_free()
8405 int t4_ctrl_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ctrl_eq_free()
8430 int t4_ofld_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ofld_eq_free()
8841 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) in t4_handle_fw_rpl()
8950 static int t4_get_flash_params(struct adapter *adap) in t4_get_flash_params()
9322 int t4_init_devlog_params(struct adapter *adap) in t4_init_devlog_params()
9407 int t4_init_tp_params(struct adapter *adap, bool sleep_ok) in t4_init_tp_params()
9515 int t4_filter_field_shift(const struct adapter *adap, int filter_sel) in t4_filter_field_shift()
9561 int t4_init_rss_mode(struct adapter *adap, int mbox) in t4_init_rss_mode()
9694 int t4_port_init(struct adapter *adap, int mbox, int pf, int vf) in t4_port_init()
9741 void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size, u16 *thres) in t4_read_cimq_cfg()
9777 int t4_read_cim_ibq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_ibq()
9819 int t4_read_cim_obq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_obq()
9860 int t4_cim_read(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_read()
9887 int t4_cim_write(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_write()
9904 static int t4_cim_write1(struct adapter *adap, unsigned int addr, in t4_cim_write1()
9920 int t4_cim_read_la(struct adapter *adap, u32 *la_buf, unsigned int *wrptr) in t4_cim_read_la()
9989 void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr) in t4_tp_read_la()
10161 int t4_load_cfg(struct adapter *adap, const u8 *cfg_data, unsigned int size) in t4_load_cfg()
10260 void t4_read_pace_tbl(struct adapter *adap, unsigned int pace_vals[NTX_SCHED]) in t4_read_pace_tbl()
10281 void t4_get_tx_sched(struct adapter *adap, unsigned int sched, in t4_get_tx_sched()
10319 int t4_sge_ctxt_rd(struct adapter *adap, unsigned int mbox, unsigned int cid, in t4_sge_ctxt_rd()
10359 int t4_sge_ctxt_rd_bd(struct adapter *adap, unsigned int cid, in t4_sge_ctxt_rd_bd()
10415 int t4_i2c_rd(struct adapter *adap, unsigned int mbox, int port, in t4_i2c_rd()
10467 int t4_set_vlan_acl(struct adapter *adap, unsigned int mbox, unsigned int vf, in t4_set_vlan_acl()
10574 int t4_load_boot(struct adapter *adap, u8 *boot_data, in t4_load_boot()
10704 int t4_load_bootcfg(struct adapter *adap, const u8 *cfg_data, unsigned int size) in t4_load_bootcfg()