Lines Matching defs:adap

119 void t4_read_indirect(struct adapter *adap, unsigned int addr_reg,  in t4_read_indirect()
142 void t4_write_indirect(struct adapter *adap, unsigned int addr_reg, in t4_write_indirect()
162 u32 t4_hw_pci_read_cfg4(adapter_t *adap, int reg) in t4_hw_pci_read_cfg4()
197 void t4_report_fw_error(struct adapter *adap) in t4_report_fw_error()
221 static void get_mbox_rpl(struct adapter *adap, __be64 *rpl, int nflit, in get_mbox_rpl()
231 static void fw_asrt(struct adapter *adap, struct fw_debug_cmd *asrt) in fw_asrt()
247 t4_port_reg(struct adapter *adap, u8 port, u32 reg) in t4_port_reg()
326 int t4_wr_mbox_meat_timeout(struct adapter *adap, int mbox, const void *cmd, in t4_wr_mbox_meat_timeout()
508 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size, in t4_wr_mbox_meat()
516 static int t4_edc_err_read(struct adapter *adap, int idx) in t4_edc_err_read()
565 int t4_mc_read(struct adapter *adap, int idx, u32 addr, __be32 *data, u64 *ecc) in t4_mc_read()
620 int t4_edc_read(struct adapter *adap, int idx, u32 addr, __be32 *data, u64 *ecc) in t4_edc_read()
688 int t4_mem_read(struct adapter *adap, int mtype, u32 addr, u32 len, in t4_mem_read()
740 u32 t4_read_pcie_cfg4(struct adapter *adap, int reg, int drv_fw_attach) in t4_read_pcie_cfg4()
822 void t4_get_regs(struct adapter *adap, u8 *buf, size_t buf_size) in t4_get_regs()
3541 static int t4_fw_matches_chip(struct adapter *adap, in t4_fw_matches_chip()
3567 int t4_load_fw(struct adapter *adap, const u8 *fw_data, unsigned int size) in t4_load_fw()
3661 int t4_fwcache(struct adapter *adap, enum fw_params_param_dev_fwcache op) in t4_fwcache()
3680 void t4_cim_read_pif_la(struct adapter *adap, u32 *pif_req, u32 *pif_rsp, in t4_cim_read_pif_la()
3714 void t4_cim_read_ma_la(struct adapter *adap, u32 *ma_req, u32 *ma_rsp) in t4_cim_read_ma_la()
3735 void t4_ulprx_read_la(struct adapter *adap, u32 *la_buf) in t4_ulprx_read_la()
3878 int t4_link_l1cfg(struct adapter *adap, unsigned int mbox, unsigned int port, in t4_link_l1cfg()
4023 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) in t4_restart_aneg()
4072 t4_show_intr_info(struct adapter *adap, const struct intr_info *ii, u32 cause) in t4_show_intr_info()
4105 t4_handle_intr(struct adapter *adap, const struct intr_info *ii, in t4_handle_intr()
4146 static bool pcie_intr_handler(struct adapter *adap, int arg, bool verbose) in pcie_intr_handler()
4281 static bool tp_intr_handler(struct adapter *adap, int arg, bool verbose) in tp_intr_handler()
4304 static bool sge_intr_handler(struct adapter *adap, int arg, bool verbose) in sge_intr_handler()
4466 static bool cim_intr_handler(struct adapter *adap, int arg, bool verbose) in cim_intr_handler()
4605 static bool ulprx_intr_handler(struct adapter *adap, int arg, bool verbose) in ulprx_intr_handler()
4647 static bool ulptx_intr_handler(struct adapter *adap, int arg, bool verbose) in ulptx_intr_handler()
4683 static bool pmtx_dump_dbg_stats(struct adapter *adap, int arg, bool verbose) in pmtx_dump_dbg_stats()
4701 static bool pmtx_intr_handler(struct adapter *adap, int arg, bool verbose) in pmtx_intr_handler()
4740 static bool pmrx_intr_handler(struct adapter *adap, int arg, bool verbose) in pmrx_intr_handler()
4780 static bool cplsw_intr_handler(struct adapter *adap, int arg, bool verbose) in cplsw_intr_handler()
4822 static bool le_intr_handler(struct adapter *adap, int arg, bool verbose) in le_intr_handler()
4878 static bool mps_intr_handler(struct adapter *adap, int arg, bool verbose) in mps_intr_handler()
5021 static bool mem_intr_handler(struct adapter *adap, int idx, bool verbose) in mem_intr_handler()
5094 static bool ma_wrap_status(struct adapter *adap, int arg, bool verbose) in ma_wrap_status()
5111 static bool ma_intr_handler(struct adapter *adap, int arg, bool verbose) in ma_intr_handler()
5158 static bool smb_intr_handler(struct adapter *adap, int arg, bool verbose) in smb_intr_handler()
5182 static bool ncsi_intr_handler(struct adapter *adap, int arg, bool verbose) in ncsi_intr_handler()
5208 static bool mac_intr_handler(struct adapter *adap, int port, bool verbose) in mac_intr_handler()
5267 static bool pl_timeout_status(struct adapter *adap, int arg, bool verbose) in pl_timeout_status()
5277 static bool plpl_intr_handler(struct adapter *adap, int arg, bool verbose) in plpl_intr_handler()
5314 bool t4_slow_intr_handler(struct adapter *adap, bool verbose) in t4_slow_intr_handler()
5422 void t4_intr_enable(struct adapter *adap) in t4_intr_enable()
5450 void t4_intr_disable(struct adapter *adap) in t4_intr_disable()
5633 static int rd_rss_row(struct adapter *adap, int row, u32 *val) in rd_rss_row()
5675 static int t4_tp_fw_ldst_rw(struct adapter *adap, int cmd, u32 *vals, in t4_tp_fw_ldst_rw()
5719 static void t4_tp_indirect_rw(struct adapter *adap, u32 reg_addr, u32 reg_data, in t4_tp_indirect_rw()
5766 void t4_tp_pio_read(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_pio_read()
5783 void t4_tp_pio_write(struct adapter *adap, const u32 *buff, u32 nregs, in t4_tp_pio_write()
5800 void t4_tp_tm_pio_read(struct adapter *adap, u32 *buff, u32 nregs, in t4_tp_tm_pio_read()
5817 void t4_tp_mib_read(struct adapter *adap, u32 *buff, u32 nregs, u32 start_index, in t4_tp_mib_read()
5832 void t4_read_rss_key(struct adapter *adap, u32 *key, bool sleep_ok) in t4_read_rss_key()
5848 void t4_write_rss_key(struct adapter *adap, const u32 *key, int idx, in t4_write_rss_key()
6052 void t4_tp_get_tcp_stats(struct adapter *adap, struct tp_tcp_stats *v4, in t4_tp_get_tcp_stats()
6090 void t4_tp_get_err_stats(struct adapter *adap, struct tp_err_stats *st, in t4_tp_get_err_stats()
6131 void t4_tp_get_tnl_stats(struct adapter *adap, struct tp_tnl_stats *st, in t4_tp_get_tnl_stats()
6149 void t4_tp_get_proxy_stats(struct adapter *adap, struct tp_proxy_stats *st, in t4_tp_get_proxy_stats()
6165 void t4_tp_get_cpl_stats(struct adapter *adap, struct tp_cpl_stats *st, in t4_tp_get_cpl_stats()
6182 void t4_tp_get_rdma_stats(struct adapter *adap, struct tp_rdma_stats *st, in t4_tp_get_rdma_stats()
6198 void t4_get_fcoe_stats(struct adapter *adap, unsigned int idx, in t4_get_fcoe_stats()
6223 void t4_get_usm_stats(struct adapter *adap, struct tp_usm_stats *st, in t4_get_usm_stats()
6243 void t4_tp_get_tid_stats(struct adapter *adap, struct tp_tid_stats *st, in t4_tp_get_tid_stats()
6258 void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log) in t4_read_mtu_tbl()
6281 void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]) in t4_read_cong_tbl()
6303 void t4_tp_wr_bits_indirect(struct adapter *adap, unsigned int addr, in t4_tp_wr_bits_indirect()
6370 void t4_load_mtus(struct adapter *adap, const unsigned short *mtus, in t4_load_mtus()
6411 int t4_set_pace_tbl(struct adapter *adap, const unsigned int *pace_vals, in t4_set_pace_tbl()
6441 int t4_set_sched_bps(struct adapter *adap, int sched, unsigned int kbps) in t4_set_sched_bps()
6485 int t4_set_sched_ipg(struct adapter *adap, int sched, unsigned int ipg) in t4_set_sched_ipg()
6516 static u64 chan_rate(struct adapter *adap, unsigned int bytes256) in chan_rate()
6532 void t4_get_chan_txrate(struct adapter *adap, u64 *nic_rate, u64 *ofld_rate) in t4_get_chan_txrate()
6564 int t4_set_trace_filter(struct adapter *adap, const struct trace_params *tp, in t4_set_trace_filter()
6644 void t4_get_trace_filter(struct adapter *adap, struct trace_params *tp, int idx, in t4_get_trace_filter()
6686 void t4_pmtx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmtx_get_stats()
6713 void t4_pmrx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) in t4_pmrx_get_stats()
6741 static unsigned int t4_get_mps_bg_map(struct adapter *adap, int idx) in t4_get_mps_bg_map()
6760 static unsigned int t4_get_rx_e_chan_map(struct adapter *adap, int idx) in t4_get_rx_e_chan_map()
6775 static unsigned int t4_get_rx_c_chan(struct adapter *adap, int idx) in t4_get_rx_c_chan()
6785 static unsigned int t4_get_tx_c_chan(struct adapter *adap, int idx) in t4_get_tx_c_chan()
6835 void t4_get_port_stats_offset(struct adapter *adap, int idx, in t4_get_port_stats_offset()
6857 void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p) in t4_get_port_stats()
6961 void t4_get_lb_stats(struct adapter *adap, int idx, struct lb_port_stats *p) in t4_get_lb_stats()
7010 void t4_wol_magic_enable(struct adapter *adap, unsigned int port, in t4_wol_magic_enable()
7051 int t4_wol_pat_enable(struct adapter *adap, unsigned int port, unsigned int map, in t4_wol_pat_enable()
7129 int t4_fwaddrspace_write(struct adapter *adap, unsigned int mbox, in t4_fwaddrspace_write()
7159 int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_rd()
7193 int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_wr()
7378 int t4_sge_ctxt_flush(struct adapter *adap, unsigned int mbox, int ctxt_type) in t4_sge_ctxt_flush()
7409 int t4_fw_hello(struct adapter *adap, unsigned int mbox, unsigned int evt_mbox, in t4_fw_hello()
7533 int t4_fw_bye(struct adapter *adap, unsigned int mbox) in t4_fw_bye()
7550 int t4_fw_reset(struct adapter *adap, unsigned int mbox, int reset) in t4_fw_reset()
7576 int t4_fw_halt(struct adapter *adap, unsigned int mbox, int force) in t4_fw_halt()
7628 int t4_fw_restart(struct adapter *adap, unsigned int mbox) in t4_fw_restart()
7664 int t4_fw_upgrade(struct adapter *adap, unsigned int mbox, in t4_fw_upgrade()
7696 int t4_fw_initialize(struct adapter *adap, unsigned int mbox) in t4_fw_initialize()
7719 int t4_query_params_rw(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params_rw()
7760 int t4_query_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_query_params()
7781 int t4_set_params_timeout(struct adapter *adap, unsigned int mbox, in t4_set_params_timeout()
7820 int t4_set_params(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_set_params()
7849 int t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_cfg_pfvf()
7896 int t4_alloc_vi_func(struct adapter *adap, unsigned int mbox, in t4_alloc_vi_func()
7966 int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port, in t4_alloc_vi()
7984 int t4_free_vi(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_free_vi()
8015 int t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_rxmode()
8063 int t4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_alloc_encap_mac_filt()
8111 int t4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, in t4_alloc_raw_mac_filt()
8174 int t4_alloc_mac_filt(struct adapter *adap, unsigned int mbox, in t4_alloc_mac_filt()
8256 int t4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_encap_mac_filt()
8299 int t4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, in t4_free_raw_mac_filt()
8347 int t4_free_mac_filt(struct adapter *adap, unsigned int mbox, in t4_free_mac_filt()
8429 int t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_change_mac()
8481 int t4_set_addr_hash(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_set_addr_hash()
8510 int t4_enable_vi_params(struct adapter *adap, unsigned int mbox, in t4_enable_vi_params()
8537 int t4_enable_vi(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_enable_vi()
8552 int t4_identify_port(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_identify_port()
8581 int t4_iq_stop(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_iq_stop()
8612 int t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_iq_free()
8641 int t4_eth_eq_stop(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_eth_eq_stop()
8666 int t4_eth_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_eth_eq_free()
8691 int t4_ctrl_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ctrl_eq_free()
8716 int t4_ofld_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, in t4_ofld_eq_free()
8987 int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) in t4_handle_fw_rpl()
9476 int t4_init_devlog_params(struct adapter *adap, int fw_attach) in t4_init_devlog_params()
9651 read_filter_mode_and_ingress_config(struct adapter *adap) in read_filter_mode_and_ingress_config()
9717 int t4_init_tp_params(struct adapter *adap) in t4_init_tp_params()
9761 int t4_filter_field_shift(const struct adapter *adap, int filter_sel) in t4_filter_field_shift()
9807 int t4_port_init(struct adapter *adap, int mbox, int pf, int vf, int port_id) in t4_port_init()
9864 void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size, u16 *thres) in t4_read_cimq_cfg()
9899 int t4_read_cim_ibq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_ibq()
9941 int t4_read_cim_obq(struct adapter *adap, unsigned int qid, u32 *data, size_t n) in t4_read_cim_obq()
9989 int t4_cim_read(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_read()
10016 int t4_cim_write(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_write()
10033 static int t4_cim_write1(struct adapter *adap, unsigned int addr, in t4_cim_write1()
10048 int t4_cim_ctl_read(struct adapter *adap, unsigned int addr, unsigned int n, in t4_cim_ctl_read()
10064 int t4_cim_read_la(struct adapter *adap, u32 *la_buf, unsigned int *wrptr) in t4_cim_read_la()
10133 void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr) in t4_tp_read_la()
10346 void t4_read_pace_tbl(struct adapter *adap, unsigned int pace_vals[NTX_SCHED]) in t4_read_pace_tbl()
10366 void t4_get_tx_sched(struct adapter *adap, unsigned int sched, unsigned int *kbps, in t4_get_tx_sched()
10403 int t4_load_cfg(struct adapter *adap, const u8 *cfg_data, unsigned int size) in t4_load_cfg()
10461 int t5_fw_init_extern_mem(struct adapter *adap) in t5_fw_init_extern_mem()
10639 int t4_load_boot(struct adapter *adap, u8 *boot_data, in t4_load_boot()
10780 int t4_load_bootcfg(struct adapter *adap,const u8 *cfg_data, unsigned int size) in t4_load_bootcfg()
10845 int t4_set_filter_cfg(struct adapter *adap, int mode, int mask, int vnic_mode) in t4_set_filter_cfg()
10937 void t4_clr_port_stats(struct adapter *adap, int idx) in t4_clr_port_stats()
10975 int t4_i2c_io(struct adapter *adap, unsigned int mbox, in t4_i2c_io()
11025 int t4_i2c_rd(struct adapter *adap, unsigned int mbox, in t4_i2c_rd()
11033 int t4_i2c_wr(struct adapter *adap, unsigned int mbox, in t4_i2c_wr()
11051 int t4_sge_ctxt_rd(struct adapter *adap, unsigned int mbox, unsigned int cid, in t4_sge_ctxt_rd()
11095 int t4_sge_ctxt_rd_bd(struct adapter *adap, unsigned int cid, enum ctxt_type ctype, in t4_sge_ctxt_rd_bd()
11306 int t4_configure_add_smac(struct adapter *adap) in t4_configure_add_smac()
11337 int t4_configure_ringbb(struct adapter *adap) in t4_configure_ringbb()
11380 int t4_set_vlan_acl(struct adapter *adap, unsigned int pf, unsigned int vf, in t4_set_vlan_acl()
11424 int t4_del_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_del_mac()
11473 int t4_add_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, in t4_add_mac()