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()
206 static void get_mbox_rpl(struct adapter *adap, __be64 *rpl, int nflit, in get_mbox_rpl()
216 static void fw_asrt(struct adapter *adap, u32 mbox_addr) in fw_asrt()
227 static void dump_mbox(struct adapter *adap, int mbox, u32 data_reg) in dump_mbox()
264 int t4_wr_mbox_meat_timeout(struct adapter *adap, int mbox, const void *cmd, in t4_wr_mbox_meat_timeout()
342 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size, in t4_wr_mbox_meat()
349 static int t4_edc_err_read(struct adapter *adap, int idx) in t4_edc_err_read()
403 int t4_memory_rw(struct adapter *adap, int win, int mtype, u32 addr, in t4_memory_rw()
573 u32 t4_read_pcie_cfg4(struct adapter *adap, int reg) in t4_read_pcie_cfg4()
614 static u32 t4_get_window(struct adapter *adap, u32 pci_base, u64 pci_mask, in t4_get_window()
644 u32 t4_get_util_window(struct adapter *adap) in t4_get_util_window()
654 void t4_setup_memwin(struct adapter *adap, u32 memwin_base, u32 window) in t4_setup_memwin()
698 void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size) in t4_get_regs()
2947 int t4_get_exprom_version(struct adapter *adap, u32 *vers) in t4_get_exprom_version()
2982 int t4_check_fw_version(struct adapter *adap) in t4_check_fw_version()
3056 static int should_install_fs_fw(struct adapter *adap, int card_fw_usable, in should_install_fs_fw()
3084 int t4_prep_fw(struct adapter *adap, struct fw_info *fw_info, in t4_prep_fw()
3220 static bool t4_fw_matches_chip(const struct adapter *adap, in t4_fw_matches_chip()
3245 int t4_load_fw(struct adapter *adap, const u8 *fw_data, unsigned int size) in t4_load_fw()
3333 int t4_phy_fw_ver(struct adapter *adap, int *phy_fw_ver) in t4_phy_fw_ver()
3377 int t4_load_phy_fw(struct adapter *adap, in t4_load_phy_fw()
3471 int t4_fwcache(struct adapter *adap, enum fw_params_param_dev_fwcache op) in t4_fwcache()
3490 void t4_cim_read_pif_la(struct adapter *adap, u32 *pif_req, u32 *pif_rsp, in t4_cim_read_pif_la()
3524 void t4_cim_read_ma_la(struct adapter *adap, u32 *ma_req, u32 *ma_rsp) in t4_cim_read_ma_la()
3545 void t4_ulprx_read_la(struct adapter *adap, u32 *la_buf) in t4_ulprx_read_la()
3577 int t4_link_l1cfg(struct adapter *adap, unsigned int mbox, unsigned int port, in t4_link_l1cfg()
3618 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) in t4_restart_aneg()
4053 static void le_intr_handler(struct adapter *adap) in le_intr_handler()
4205 static void ma_intr_handler(struct adapter *adap) in ma_intr_handler()
4233 static void smb_intr_handler(struct adapter *adap) in smb_intr_handler()
4249 static void ncsi_intr_handler(struct adapter *adap) in ncsi_intr_handler()
4266 static void xgmac_intr_handler(struct adapter *adap, int port) in xgmac_intr_handler()
4294 static void pl_intr_handler(struct adapter *adap) in pl_intr_handler()
4568 static int rd_rss_row(struct adapter *adap, int row, u32 *val) in rd_rss_row()
4597 static unsigned int t4_use_ldst(struct adapter *adap) in t4_use_ldst()
4612 static void t4_fw_tp_pio_rw(struct adapter *adap, u32 *vals, unsigned int nregs, in t4_fw_tp_pio_rw()
4643 void t4_read_rss_key(struct adapter *adap, u32 *key) in t4_read_rss_key()
4662 void t4_write_rss_key(struct adapter *adap, const u32 *key, int idx) in t4_write_rss_key()
4800 void t4_tp_get_tcp_stats(struct adapter *adap, struct tp_tcp_stats *v4, in t4_tp_get_tcp_stats()
4837 void t4_tp_get_err_stats(struct adapter *adap, struct tp_err_stats *st) in t4_tp_get_err_stats()
4869 void t4_tp_get_cpl_stats(struct adapter *adap, struct tp_cpl_stats *st) in t4_tp_get_cpl_stats()
4887 void t4_tp_get_rdma_stats(struct adapter *adap, struct tp_rdma_stats *st) in t4_tp_get_rdma_stats()
4901 void t4_get_fcoe_stats(struct adapter *adap, unsigned int idx, in t4_get_fcoe_stats()
4922 void t4_get_usm_stats(struct adapter *adap, struct tp_usm_stats *st) in t4_get_usm_stats()
4941 void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log) in t4_read_mtu_tbl()
4964 void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]) in t4_read_cong_tbl()
4986 void t4_tp_wr_bits_indirect(struct adapter *adap, unsigned int addr, in t4_tp_wr_bits_indirect()
5053 void t4_load_mtus(struct adapter *adap, const unsigned short *mtus, in t4_load_mtus()
5094 static u64 chan_rate(struct adapter *adap, unsigned int bytes256) in chan_rate()
5110 void t4_get_chan_txrate(struct adapter *adap, u64 *nic_rate, u64 *ofld_rate) in t4_get_chan_txrate()
5142 int t4_set_trace_filter(struct adapter *adap, const struct trace_params *tp, in t4_set_trace_filter()
5210 void t4_get_trace_filter(struct adapter *adap, struct trace_params *tp, int idx, in t4_get_trace_filter()
5252 void t4_pmtx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmtx_get_stats()
5279 void t4_pmrx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmrx_get_stats()
5307 unsigned int t4_get_mps_bg_map(struct adapter *adap, int idx) in t4_get_mps_bg_map()
5356 void t4_get_port_stats_offset(struct adapter *adap, int idx, in t4_get_port_stats_offset()
5378 void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p) in t4_get_port_stats()
5461 void t4_get_lb_stats(struct adapter *adap, int idx, struct lb_port_stats *p) in t4_get_lb_stats()
5529 int t4_fwaddrspace_write(struct adapter *adap, unsigned int mbox, in t4_fwaddrspace_write()
5559 int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_rd()
5593 int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_wr()
5727 int t4_sge_ctxt_flush(struct adapter *adap, unsigned int mbox) in t4_sge_ctxt_flush()
5756 int t4_fw_hello(struct adapter *adap, unsigned int mbox, unsigned int evt_mbox, in t4_fw_hello()
5882 int t4_fw_bye(struct adapter *adap, unsigned int mbox) in t4_fw_bye()
5899 int t4_early_init(struct adapter *adap, unsigned int mbox) in t4_early_init()
5916 int t4_fw_reset(struct adapter *adap, unsigned int mbox, int reset) in t4_fw_reset()
5942 static int t4_fw_halt(struct adapter *adap, unsigned int mbox, int force) in t4_fw_halt()
6007 static int t4_fw_restart(struct adapter *adap, unsigned int mbox, int reset) in t4_fw_restart()
6070 int t4_fw_upgrade(struct adapter *adap, unsigned int mbox, in t4_fw_upgrade()
6109 int t4_fixup_host_params(struct adapter *adap, unsigned int page_size, in t4_fixup_host_params()
6216 int t4_fw_initialize(struct adapter *adap, unsigned int mbox) in t4_fw_initialize()
6239 int t4_query_params_rw(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params_rw()
6271 int t4_query_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params()
6292 int t4_set_params_timeout(struct adapter *adap, unsigned int mbox, in t4_set_params_timeout()
6331 int t4_set_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_set_params()
6360 int t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_cfg_pfvf()
6404 int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port, in t4_alloc_vi()
6451 int t4_free_vi(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_free_vi()
6482 int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_rxmode()
6536 int t4_alloc_mac_filt(struct adapter *adap, unsigned int mbox, in t4_alloc_mac_filt()
6627 int t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_change_mac()
6669 int t4_set_addr_hash(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_addr_hash()
6697 int t4_enable_vi_params(struct adapter *adap, unsigned int mbox, in t4_enable_vi_params()
6723 int t4_enable_vi(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_enable_vi()
6738 int t4_identify_port(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_identify_port()
6765 int t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_iq_free()
6793 int t4_eth_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_eth_eq_free()
6818 int t4_ctrl_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ctrl_eq_free()
6843 int t4_ofld_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ofld_eq_free()
6865 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) in t4_handle_fw_rpl()
6964 static int get_flash_params(struct adapter *adap) in get_flash_params()
7201 int t4_init_devlog_params(struct adapter *adap) in t4_init_devlog_params()
7285 int t4_init_tp_params(struct adapter *adap) in t4_init_tp_params()
7343 int t4_filter_field_shift(const struct adapter *adap, int filter_sel) in t4_filter_field_shift()
7389 int t4_init_rss_mode(struct adapter *adap, int mbox) in t4_init_rss_mode()
7412 int t4_port_init(struct adapter *adap, int mbox, int pf, int vf) in t4_port_init()
7482 void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size, u16 *thres) in t4_read_cimq_cfg()
7518 int t4_read_cim_ibq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_ibq()
7560 int t4_read_cim_obq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_obq()
7601 int t4_cim_read(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_read()
7628 int t4_cim_write(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_write()
7645 static int t4_cim_write1(struct adapter *adap, unsigned int addr, in t4_cim_write1()
7661 int t4_cim_read_la(struct adapter *adap, u32 *la_buf, unsigned int *wrptr) in t4_cim_read_la()
7721 void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr) in t4_tp_read_la()