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()
3174 int t4_get_exprom_version(struct adapter *adap, u32 *vers) in t4_get_exprom_version()
3382 int t4_check_fw_version(struct adapter *adap) in t4_check_fw_version()
3456 static int should_install_fs_fw(struct adapter *adap, int card_fw_usable, in should_install_fs_fw()
3484 int t4_prep_fw(struct adapter *adap, struct fw_info *fw_info, in t4_prep_fw()
3620 static bool t4_fw_matches_chip(const struct adapter *adap, in t4_fw_matches_chip()
3645 int t4_load_fw(struct adapter *adap, const u8 *fw_data, unsigned int size) in t4_load_fw()
3734 int t4_phy_fw_ver(struct adapter *adap, int *phy_fw_ver) in t4_phy_fw_ver()
3775 int t4_load_phy_fw(struct adapter *adap, int win, in t4_load_phy_fw()
3864 int t4_fwcache(struct adapter *adap, enum fw_params_param_dev_fwcache op) in t4_fwcache()
3883 void t4_cim_read_pif_la(struct adapter *adap, u32 *pif_req, u32 *pif_rsp, in t4_cim_read_pif_la()
3917 void t4_cim_read_ma_la(struct adapter *adap, u32 *ma_req, u32 *ma_rsp) in t4_cim_read_ma_la()
3938 void t4_ulprx_read_la(struct adapter *adap, u32 *la_buf) in t4_ulprx_read_la()
4259 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) in t4_restart_aneg()
4733 static void le_intr_handler(struct adapter *adap) in le_intr_handler()
4901 static void ma_intr_handler(struct adapter *adap) in ma_intr_handler()
4929 static void smb_intr_handler(struct adapter *adap) in smb_intr_handler()
4945 static void ncsi_intr_handler(struct adapter *adap) in ncsi_intr_handler()
4962 static void xgmac_intr_handler(struct adapter *adap, int port) in xgmac_intr_handler()
4990 static void pl_intr_handler(struct adapter *adap) in pl_intr_handler()
5136 unsigned int t4_chip_rss_size(struct adapter *adap) in t4_chip_rss_size()
5266 static int rd_rss_row(struct adapter *adap, int row, u32 *val) in rd_rss_row()
5296 static unsigned int t4_use_ldst(struct adapter *adap) in t4_use_ldst()
5313 static int t4_tp_fw_ldst_rw(struct adapter *adap, int cmd, u32 *vals, in t4_tp_fw_ldst_rw()
5357 static void t4_tp_indirect_rw(struct adapter *adap, u32 reg_addr, u32 reg_data, in t4_tp_indirect_rw()
5404 void t4_tp_pio_read(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_pio_read()
5421 static void t4_tp_pio_write(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_pio_write()
5438 void t4_tp_tm_pio_read(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_tm_pio_read()
5455 void t4_tp_mib_read(struct adapter *adap, u32 *buff, u32 nregs, u32 start_index, in t4_tp_mib_read()
5470 void t4_read_rss_key(struct adapter *adap, u32 *key, bool sleep_ok) in t4_read_rss_key()
5486 void t4_write_rss_key(struct adapter *adap, const u32 *key, int idx, in t4_write_rss_key()
5606 void t4_tp_get_tcp_stats(struct adapter *adap, struct tp_tcp_stats *v4, in t4_tp_get_tcp_stats()
5644 void t4_tp_get_err_stats(struct adapter *adap, struct tp_err_stats *st, in t4_tp_get_err_stats()
5677 void t4_tp_get_cpl_stats(struct adapter *adap, struct tp_cpl_stats *st, in t4_tp_get_cpl_stats()
5695 void t4_tp_get_rdma_stats(struct adapter *adap, struct tp_rdma_stats *st, in t4_tp_get_rdma_stats()
5711 void t4_get_fcoe_stats(struct adapter *adap, unsigned int idx, in t4_get_fcoe_stats()
5736 void t4_get_usm_stats(struct adapter *adap, struct tp_usm_stats *st, in t4_get_usm_stats()
5755 void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log) in t4_read_mtu_tbl()
5778 void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]) in t4_read_cong_tbl()
5800 void t4_tp_wr_bits_indirect(struct adapter *adap, unsigned int addr, in t4_tp_wr_bits_indirect()
5867 void t4_load_mtus(struct adapter *adap, const unsigned short *mtus, in t4_load_mtus()
5908 static u64 chan_rate(struct adapter *adap, unsigned int bytes256) in chan_rate()
5924 void t4_get_chan_txrate(struct adapter *adap, u64 *nic_rate, u64 *ofld_rate) in t4_get_chan_txrate()
5956 int t4_set_trace_filter(struct adapter *adap, const struct trace_params *tp, in t4_set_trace_filter()
6022 void t4_get_trace_filter(struct adapter *adap, struct trace_params *tp, int idx, in t4_get_trace_filter()
6064 void t4_pmtx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmtx_get_stats()
6091 void t4_pmrx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmrx_get_stats()
6256 unsigned int t4_get_tp_ch_map(struct adapter *adap, int pidx) in t4_get_tp_ch_map()
6339 void t4_get_port_stats_offset(struct adapter *adap, int idx, in t4_get_port_stats_offset()
6361 void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p) in t4_get_port_stats()
6458 void t4_get_lb_stats(struct adapter *adap, int idx, struct lb_port_stats *p) in t4_get_lb_stats()
6526 int t4_fwaddrspace_write(struct adapter *adap, unsigned int mbox, in t4_fwaddrspace_write()
6556 int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_rd()
6590 int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_wr()
6784 int t4_sge_ctxt_flush(struct adapter *adap, unsigned int mbox, int ctxt_type) in t4_sge_ctxt_flush()
6814 int t4_read_sge_dbqtimers(struct adapter *adap, unsigned int ndbqtimers, in t4_read_sge_dbqtimers()
6856 int t4_fw_hello(struct adapter *adap, unsigned int mbox, unsigned int evt_mbox, in t4_fw_hello()
6982 int t4_fw_bye(struct adapter *adap, unsigned int mbox) in t4_fw_bye()
6999 int t4_early_init(struct adapter *adap, unsigned int mbox) in t4_early_init()
7016 int t4_fw_reset(struct adapter *adap, unsigned int mbox, int reset) in t4_fw_reset()
7042 static int t4_fw_halt(struct adapter *adap, unsigned int mbox, int force) in t4_fw_halt()
7108 static int t4_fw_restart(struct adapter *adap, unsigned int mbox, int reset) in t4_fw_restart()
7171 int t4_fw_upgrade(struct adapter *adap, unsigned int mbox, in t4_fw_upgrade()
7235 int t4_fl_pkt_align(struct adapter *adap) in t4_fl_pkt_align()
7289 int t4_fixup_host_params(struct adapter *adap, unsigned int page_size, in t4_fixup_host_params()
7437 int t4_fw_initialize(struct adapter *adap, unsigned int mbox) in t4_fw_initialize()
7461 int t4_query_params_rw(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params_rw()
7493 int t4_query_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params()
7501 int t4_query_params_ns(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params_ns()
7523 int t4_set_params_timeout(struct adapter *adap, unsigned int mbox, in t4_set_params_timeout()
7562 int t4_set_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_set_params()
7591 int t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_cfg_pfvf()
7637 int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port, in t4_alloc_vi()
7694 int t4_free_vi(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_free_vi()
7726 int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_rxmode()
7787 int t4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_encap_mac_filt()
7828 int t4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_raw_mac_filt()
7879 int t4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_alloc_encap_mac_filt()
7927 int t4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, in t4_alloc_raw_mac_filt()
7990 int t4_alloc_mac_filt(struct adapter *adap, unsigned int mbox, in t4_alloc_mac_filt()
8075 int t4_free_mac_filt(struct adapter *adap, unsigned int mbox, in t4_free_mac_filt()
8156 int t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_change_mac()
8215 int t4_set_addr_hash(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_addr_hash()
8243 int t4_enable_vi_params(struct adapter *adap, unsigned int mbox, in t4_enable_vi_params()
8269 int t4_enable_vi(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_enable_vi()
8290 int t4_enable_pi_params(struct adapter *adap, unsigned int mbox, in t4_enable_pi_params()
8312 int t4_identify_port(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_identify_port()
8341 int t4_iq_stop(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_iq_stop()
8372 int t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_iq_free()
8400 int t4_eth_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_eth_eq_free()
8425 int t4_ctrl_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ctrl_eq_free()
8450 int t4_ofld_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ofld_eq_free()
8861 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) in t4_handle_fw_rpl()
8970 static int t4_get_flash_params(struct adapter *adap) in t4_get_flash_params()
9342 int t4_init_devlog_params(struct adapter *adap) in t4_init_devlog_params()
9427 int t4_init_tp_params(struct adapter *adap, bool sleep_ok) in t4_init_tp_params()
9535 int t4_filter_field_shift(const struct adapter *adap, int filter_sel) in t4_filter_field_shift()
9581 int t4_init_rss_mode(struct adapter *adap, int mbox) in t4_init_rss_mode()
9714 int t4_port_init(struct adapter *adap, int mbox, int pf, int vf) in t4_port_init()
9761 void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size, u16 *thres) in t4_read_cimq_cfg()
9797 int t4_read_cim_ibq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_ibq()
9839 int t4_read_cim_obq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_obq()
9880 int t4_cim_read(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_read()
9907 int t4_cim_write(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_write()
9924 static int t4_cim_write1(struct adapter *adap, unsigned int addr, in t4_cim_write1()
9940 int t4_cim_read_la(struct adapter *adap, u32 *la_buf, unsigned int *wrptr) in t4_cim_read_la()
10009 void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr) in t4_tp_read_la()
10181 int t4_load_cfg(struct adapter *adap, const u8 *cfg_data, unsigned int size) in t4_load_cfg()
10280 void t4_read_pace_tbl(struct adapter *adap, unsigned int pace_vals[NTX_SCHED]) in t4_read_pace_tbl()
10301 void t4_get_tx_sched(struct adapter *adap, unsigned int sched, in t4_get_tx_sched()
10339 int t4_sge_ctxt_rd(struct adapter *adap, unsigned int mbox, unsigned int cid, in t4_sge_ctxt_rd()
10379 int t4_sge_ctxt_rd_bd(struct adapter *adap, unsigned int cid, in t4_sge_ctxt_rd_bd()
10435 int t4_i2c_rd(struct adapter *adap, unsigned int mbox, int port, in t4_i2c_rd()
10487 int t4_set_vlan_acl(struct adapter *adap, unsigned int mbox, unsigned int vf, in t4_set_vlan_acl()
10594 int t4_load_boot(struct adapter *adap, u8 *boot_data, in t4_load_boot()
10723 int t4_load_bootcfg(struct adapter *adap, const u8 *cfg_data, unsigned int size) in t4_load_bootcfg()