| /freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
| HD | ecore_dev.c | 108 static void ecore_db_recovery_dp_entry(struct ecore_hwfn *p_hwfn, in ecore_db_recovery_dp_entry() argument 112 …DP_VERBOSE(p_hwfn, ECORE_MSG_SPQ, "(%s: db_entry %p, addr %p, data %p, width %s, %s space, hwfn %d… in ecore_db_recovery_dp_entry() 146 struct ecore_hwfn *p_hwfn; in ecore_db_rec_find_hwfn() local 150 p_hwfn = db_addr < p_dev->hwfns[1].doorbells ? in ecore_db_rec_find_hwfn() 153 p_hwfn = ECORE_LEADING_HWFN(p_dev); in ecore_db_rec_find_hwfn() 155 return p_hwfn; in ecore_db_rec_find_hwfn() 166 struct ecore_hwfn *p_hwfn; in ecore_db_recovery_add() local 179 p_hwfn = ecore_db_rec_find_hwfn(p_dev, db_addr); in ecore_db_recovery_add() 182 db_entry = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, sizeof(*db_entry)); in ecore_db_recovery_add() 193 db_entry->hwfn_idx = p_hwfn->my_id; in ecore_db_recovery_add() [all …]
|
| HD | ecore_int.c | 92 #define SB_ATTN_ALIGNED_SIZE(p_hwfn) \ argument 93 ALIGNED_TYPE_SIZE(struct atten_status_block, p_hwfn) 122 enum _ecore_status_t (*cb)(struct ecore_hwfn *p_hwfn); 134 static enum _ecore_status_t ecore_mcp_attn_cb(struct ecore_hwfn *p_hwfn) in ecore_mcp_attn_cb() argument 136 u32 tmp = ecore_rd(p_hwfn, p_hwfn->p_dpc_ptt, MCP_REG_CPU_STATE); in ecore_mcp_attn_cb() 138 DP_INFO(p_hwfn->p_dev, "MCP_REG_CPU_STATE: %08x - Masking...\n", in ecore_mcp_attn_cb() 140 ecore_wr(p_hwfn, p_hwfn->p_dpc_ptt, MCP_REG_CPU_EVENT_MASK, in ecore_mcp_attn_cb() 170 static enum _ecore_status_t ecore_pswhst_attn_cb(struct ecore_hwfn *p_hwfn) in ecore_pswhst_attn_cb() argument 172 u32 tmp = ecore_rd(p_hwfn, p_hwfn->p_dpc_ptt, PSWHST_REG_VF_DISABLED_ERROR_VALID); in ecore_pswhst_attn_cb() 178 addr = ecore_rd(p_hwfn, p_hwfn->p_dpc_ptt, in ecore_pswhst_attn_cb() [all …]
|
| HD | ecore_hw.c | 73 static void __ecore_ptt_pool_free(struct ecore_hwfn *p_hwfn) in __ecore_ptt_pool_free() argument 75 OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_ptt_pool); in __ecore_ptt_pool_free() 76 p_hwfn->p_ptt_pool = OSAL_NULL; in __ecore_ptt_pool_free() 79 enum _ecore_status_t ecore_ptt_pool_alloc(struct ecore_hwfn *p_hwfn) in ecore_ptt_pool_alloc() argument 81 struct ecore_ptt_pool *p_pool = OSAL_ALLOC(p_hwfn->p_dev, in ecore_ptt_pool_alloc() 94 p_pool->ptts[i].hwfn_id = p_hwfn->my_id; in ecore_ptt_pool_alloc() 104 p_hwfn->p_ptt_pool = p_pool; in ecore_ptt_pool_alloc() 106 if (OSAL_SPIN_LOCK_ALLOC(p_hwfn, &p_pool->lock)) { in ecore_ptt_pool_alloc() 107 __ecore_ptt_pool_free(p_hwfn); in ecore_ptt_pool_alloc() 115 void ecore_ptt_invalidate(struct ecore_hwfn *p_hwfn) in ecore_ptt_invalidate() argument [all …]
|
| HD | ecore_mcp.c | 66 DRV_INNER_WR(p_hwfn, _p_ptt, drv_mb_addr, \ 89 bool ecore_mcp_is_init(struct ecore_hwfn *p_hwfn) in ecore_mcp_is_init() argument 91 if (!p_hwfn->mcp_info || !p_hwfn->mcp_info->public_base) in ecore_mcp_is_init() 96 void ecore_mcp_cmd_port_init(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_port_init() argument 99 u32 addr = SECTION_OFFSIZE_ADDR(p_hwfn->mcp_info->public_base, in ecore_mcp_cmd_port_init() 101 u32 mfw_mb_offsize = ecore_rd(p_hwfn, p_ptt, addr); in ecore_mcp_cmd_port_init() 103 p_hwfn->mcp_info->port_addr = SECTION_ADDR(mfw_mb_offsize, in ecore_mcp_cmd_port_init() 104 MFW_PORT(p_hwfn)); in ecore_mcp_cmd_port_init() 105 DP_VERBOSE(p_hwfn, ECORE_MSG_SP, in ecore_mcp_cmd_port_init() 107 p_hwfn->mcp_info->port_addr, MFW_PORT(p_hwfn)); in ecore_mcp_cmd_port_init() [all …]
|
| HD | ecore_spq.c | 78 static void ecore_iscsi_eq_dump(struct ecore_hwfn *p_hwfn, in ecore_iscsi_eq_dump() argument 82 DP_NOTICE(p_hwfn, false, "Unknown iSCSI EQ: %x\n", in ecore_iscsi_eq_dump() 93 DP_VERBOSE(p_hwfn, ECORE_MSG_STORAGE, in ecore_iscsi_eq_dump() 95 p_hwfn->port_id, p_eqe->opcode, in ecore_iscsi_eq_dump() 125 static void ecore_spq_blocking_cb(struct ecore_hwfn *p_hwfn, void *cookie, in ecore_spq_blocking_cb() argument 137 OSAL_SMP_WMB(p_hwfn->p_dev); in ecore_spq_blocking_cb() 140 static enum _ecore_status_t __ecore_spq_block(struct ecore_hwfn *p_hwfn, in __ecore_spq_block() argument 152 if (CHIP_REV_IS_EMUL(p_hwfn->p_dev) && sleep_between_iter) in __ecore_spq_block() 157 OSAL_POLL_MODE_DPC(p_hwfn); in __ecore_spq_block() 158 OSAL_SMP_RMB(p_hwfn->p_dev); in __ecore_spq_block() [all …]
|
| HD | ecore_sriov.c | 54 static enum _ecore_status_t ecore_sriov_eqe_event(struct ecore_hwfn *p_hwfn, 107 static enum _ecore_status_t ecore_sp_vf_start(struct ecore_hwfn *p_hwfn, in ecore_sp_vf_start() argument 118 init_data.cid = ecore_spq_get_cid(p_hwfn); in ecore_sp_vf_start() 122 rc = ecore_sp_init_request(p_hwfn, &p_ent, in ecore_sp_vf_start() 133 switch (p_hwfn->hw_info.personality) { in ecore_sp_vf_start() 142 DP_NOTICE(p_hwfn, true, "Unknown VF personality %d\n", in ecore_sp_vf_start() 143 p_hwfn->hw_info.personality); in ecore_sp_vf_start() 150 DP_VERBOSE(p_hwfn, ECORE_MSG_IOV, in ecore_sp_vf_start() 161 DP_VERBOSE(p_hwfn, ECORE_MSG_IOV, in ecore_sp_vf_start() 165 return ecore_spq_post(p_hwfn, p_ent, OSAL_NULL); in ecore_sp_vf_start() [all …]
|
| HD | ecore_cxt.c | 114 #define CONN_CXT_SIZE(p_hwfn) \ argument 115 ALIGNED_TYPE_SIZE(union conn_context, p_hwfn) 120 #define TYPE0_TASK_CXT_SIZE(p_hwfn) \ argument 121 ALIGNED_TYPE_SIZE(union type0_task_context, p_hwfn) 124 #define TYPE1_TASK_CXT_SIZE(p_hwfn) sizeof(union type1_task_context) argument 383 static void ecore_cxt_qm_iids(struct ecore_hwfn *p_hwfn, in ecore_cxt_qm_iids() argument 386 struct ecore_cxt_mngr *p_mngr = p_hwfn->p_cxt_mngr; in ecore_cxt_qm_iids() 412 DP_VERBOSE(p_hwfn, ECORE_MSG_ILT, in ecore_cxt_qm_iids() 417 static struct ecore_tid_seg *ecore_cxt_tid_seg_info(struct ecore_hwfn *p_hwfn, in ecore_cxt_tid_seg_info() argument 420 struct ecore_cxt_mngr *p_cfg = p_hwfn->p_cxt_mngr; in ecore_cxt_tid_seg_info() [all …]
|
| HD | ecore_vf.c | 53 static void *ecore_vf_pf_prep(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_prep() argument 56 struct ecore_vf_iov *p_iov = p_hwfn->vf_iov_info; in ecore_vf_pf_prep() 66 DP_VERBOSE(p_hwfn, ECORE_MSG_IOV, "preparing to send %s tlv over vf pf channel\n", in ecore_vf_pf_prep() 88 static void ecore_vf_pf_req_end(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_req_end() argument 91 union pfvf_tlvs *resp = p_hwfn->vf_iov_info->pf2vf_reply; in ecore_vf_pf_req_end() 93 DP_VERBOSE(p_hwfn, ECORE_MSG_IOV, in ecore_vf_pf_req_end() 97 OSAL_MUTEX_RELEASE(&(p_hwfn->vf_iov_info->mutex)); in ecore_vf_pf_req_end() 109 ecore_send_msg2pf(struct ecore_hwfn *p_hwfn, in ecore_send_msg2pf() argument 112 union vfpf_tlvs *p_req = p_hwfn->vf_iov_info->vf2pf_request; in ecore_send_msg2pf() 121 ecore_dp_tlv_list(p_hwfn, p_req); in ecore_send_msg2pf() [all …]
|
| HD | ecore_iov_api.h | 44 #define IS_PF_SRIOV(p_hwfn) (!!((p_hwfn)->p_dev->p_iov_info)) argument 46 #define IS_PF_SRIOV(p_hwfn) (0) argument 48 #define IS_PF_SRIOV_ALLOC(p_hwfn) (!!((p_hwfn)->pf_iov_info)) argument 49 #define IS_PF_PDA(p_hwfn) 0 /* @@TBD Michalk */ argument 155 ecore_iov_get_vf_sw_mbx(struct ecore_hwfn *p_hwfn, 218 ecore_iov_init_hw_for_vf(struct ecore_hwfn *p_hwfn, 230 void ecore_iov_process_mbx_req(struct ecore_hwfn *p_hwfn, 246 enum _ecore_status_t ecore_iov_release_hw_for_vf(struct ecore_hwfn *p_hwfn, 259 enum _ecore_status_t ecore_iov_set_vf_ctx(struct ecore_hwfn *p_hwfn, 271 enum _ecore_status_t ecore_iov_vf_flr_cleanup(struct ecore_hwfn *p_hwfn, [all …]
|
| HD | ecore_init_fw_funcs.c | 175 …p_hwfn, map, chip, pq_id, rl_valid, vp_pq_id, rl_id, ext_voq, wrr) OSAL_MEMSET(&map, 0, sizeof(ma… argument 184 static u8 ecore_get_ext_voq(struct ecore_hwfn *p_hwfn, in ecore_get_ext_voq() argument 190 …return NUM_OF_PHYS_TCS * (ECORE_IS_E5(p_hwfn->p_dev) ? MAX_NUM_PORTS_E5 : MAX_NUM_PORTS_BB) + port… in ecore_get_ext_voq() 192 return port_id * (ECORE_IS_E5(p_hwfn->p_dev) ? NUM_OF_PHYS_TCS : max_phys_tcs_per_port) + tc; in ecore_get_ext_voq() 196 static void ecore_enable_pf_rl(struct ecore_hwfn *p_hwfn, in ecore_enable_pf_rl() argument 199 STORE_RT_REG(p_hwfn, QM_REG_RLPFENABLE_RT_OFFSET, pf_rl_en ? 1 : 0); in ecore_enable_pf_rl() 201 u8 num_ext_voqs = ECORE_IS_E5(p_hwfn->p_dev) ? QM_E5_NUM_EXT_VOQ : MAX_NUM_VOQS_E4; in ecore_enable_pf_rl() 205 STORE_RT_REG(p_hwfn, QM_REG_RLPFVOQENABLE_RT_OFFSET, (u32)voq_bit_mask); in ecore_enable_pf_rl() 208 STORE_RT_REG(p_hwfn, QM_REG_RLPFVOQENABLE_MSB_RT_OFFSET, (u32)(voq_bit_mask >> 32)); in ecore_enable_pf_rl() 212 STORE_RT_REG(p_hwfn, QM_REG_RLPFPERIOD_RT_OFFSET, QM_RL_PERIOD_CLK_25M); in ecore_enable_pf_rl() [all …]
|
| HD | ecore_init_ops.c | 66 void ecore_init_clear_rt_data(struct ecore_hwfn *p_hwfn) in ecore_init_clear_rt_data() argument 71 p_hwfn->rt_data.b_valid[i] = false; in ecore_init_clear_rt_data() 74 void ecore_init_store_rt_reg(struct ecore_hwfn *p_hwfn, in ecore_init_store_rt_reg() argument 78 DP_ERR(p_hwfn, in ecore_init_store_rt_reg() 84 p_hwfn->rt_data.init_val[rt_offset] = val; in ecore_init_store_rt_reg() 85 p_hwfn->rt_data.b_valid[rt_offset] = true; in ecore_init_store_rt_reg() 88 void ecore_init_store_rt_agg(struct ecore_hwfn *p_hwfn, in ecore_init_store_rt_agg() argument 95 DP_ERR(p_hwfn, in ecore_init_store_rt_agg() 103 p_hwfn->rt_data.init_val[rt_offset + i] = p_val[i]; in ecore_init_store_rt_agg() 104 p_hwfn->rt_data.b_valid[rt_offset + i] = true; in ecore_init_store_rt_agg() [all …]
|
| HD | ecore_dcbx.c | 157 static bool ecore_dcbx_iwarp_tlv(struct ecore_hwfn *p_hwfn, u32 app_info_bitmap, in ecore_dcbx_iwarp_tlv() argument 162 if (!p_hwfn->p_dcbx_info->iwarp_port) in ecore_dcbx_iwarp_tlv() 171 return !!(port && (proto_id == p_hwfn->p_dcbx_info->iwarp_port)); in ecore_dcbx_iwarp_tlv() 175 ecore_dcbx_dp_protocol(struct ecore_hwfn *p_hwfn, in ecore_dcbx_dp_protocol() argument 181 DP_VERBOSE(p_hwfn, ECORE_MSG_DCB, "DCBX negotiated: %d\n", in ecore_dcbx_dp_protocol() 187 DP_VERBOSE(p_hwfn, ECORE_MSG_DCB, in ecore_dcbx_dp_protocol() 191 p_data->arr[id].tc, p_hwfn->hw_info.num_active_tc, in ecore_dcbx_dp_protocol() 197 u8 ecore_dcbx_get_dscp_value(struct ecore_hwfn *p_hwfn, u8 pri) in ecore_dcbx_get_dscp_value() argument 199 struct ecore_dcbx_dscp_params *dscp = &p_hwfn->p_dcbx_info->get.dscp; in ecore_dcbx_get_dscp_value() 214 struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_dcbx_set_params() argument [all …]
|
| HD | ecore_mcp.h | 47 #define MCP_PF_ID_BY_REL(p_hwfn, rel_pfid) (ECORE_IS_BB((p_hwfn)->p_dev) ? \ argument 49 ((p_hwfn)->abs_pf_id & 1) << 3) : \ 51 #define MCP_PF_ID(p_hwfn) MCP_PF_ID_BY_REL(p_hwfn, (p_hwfn)->rel_pf_id) argument 137 enum _ecore_status_t ecore_mcp_cmd_init(struct ecore_hwfn *p_hwfn, 147 void ecore_mcp_cmd_port_init(struct ecore_hwfn *p_hwfn, 158 enum _ecore_status_t ecore_mcp_free(struct ecore_hwfn *p_hwfn); 172 enum _ecore_status_t ecore_mcp_handle_events(struct ecore_hwfn *p_hwfn, 189 enum _ecore_status_t ecore_issue_pulse(struct ecore_hwfn *p_hwfn, 218 enum _ecore_status_t ecore_mcp_load_req(struct ecore_hwfn *p_hwfn, 230 enum _ecore_status_t ecore_mcp_load_done(struct ecore_hwfn *p_hwfn, [all …]
|
| HD | ecore_l2.c | 72 enum _ecore_status_t ecore_l2_alloc(struct ecore_hwfn *p_hwfn) in ecore_l2_alloc() argument 78 if (!ECORE_IS_L2_PERSONALITY(p_hwfn)) in ecore_l2_alloc() 81 p_l2_info = OSAL_VZALLOC(p_hwfn->p_dev, sizeof(*p_l2_info)); in ecore_l2_alloc() 84 p_hwfn->p_l2_info = p_l2_info; in ecore_l2_alloc() 86 if (IS_PF(p_hwfn->p_dev)) { in ecore_l2_alloc() 87 p_l2_info->queues = RESC_NUM(p_hwfn, ECORE_L2_QUEUE); in ecore_l2_alloc() 91 ecore_vf_get_num_rxqs(p_hwfn, &rx); in ecore_l2_alloc() 92 ecore_vf_get_num_txqs(p_hwfn, &tx); in ecore_l2_alloc() 97 pp_qids = OSAL_VZALLOC(p_hwfn->p_dev, in ecore_l2_alloc() 105 pp_qids[i] = OSAL_VZALLOC(p_hwfn->p_dev, in ecore_l2_alloc() [all …]
|
| HD | ecore_sp_commands.c | 55 enum _ecore_status_t ecore_sp_init_request(struct ecore_hwfn *p_hwfn, in ecore_sp_init_request() argument 69 rc = ecore_spq_get_entry(p_hwfn, pp_ent); in ecore_sp_init_request() 102 DP_NOTICE(p_hwfn, true, "Unknown SPQE completion mode %d\n", in ecore_sp_init_request() 107 DP_VERBOSE(p_hwfn, ECORE_MSG_SPQ, in ecore_sp_init_request() 215 ecore_tunn_set_pf_update_params(struct ecore_hwfn *p_hwfn, in ecore_tunn_set_pf_update_params() argument 219 struct ecore_tunnel_info *p_tun = &p_hwfn->p_dev->tunnel; in ecore_tunn_set_pf_update_params() 249 static void ecore_set_hw_tunn_mode(struct ecore_hwfn *p_hwfn, in ecore_set_hw_tunn_mode() argument 253 ecore_set_gre_enable(p_hwfn, p_ptt, p_tun->l2_gre.b_mode_enabled, in ecore_set_hw_tunn_mode() 255 ecore_set_vxlan_enable(p_hwfn, p_ptt, p_tun->vxlan.b_mode_enabled); in ecore_set_hw_tunn_mode() 257 ecore_set_geneve_enable(p_hwfn, p_ptt, p_tun->l2_geneve.b_mode_enabled, in ecore_set_hw_tunn_mode() [all …]
|
| HD | ecore_dbg_fw_funcs.c | 1837 static void ecore_grc_set_param(struct ecore_hwfn *p_hwfn, in ecore_grc_set_param() argument 1841 struct dbg_tools_data *dev_data = &p_hwfn->dbg_info; in ecore_grc_set_param() 1847 static u32 ecore_grc_get_param(struct ecore_hwfn *p_hwfn, in ecore_grc_get_param() argument 1850 struct dbg_tools_data *dev_data = &p_hwfn->dbg_info; in ecore_grc_get_param() 1856 static void ecore_dbg_grc_init_params(struct ecore_hwfn *p_hwfn) in ecore_dbg_grc_init_params() argument 1858 struct dbg_tools_data *dev_data = &p_hwfn->dbg_info; in ecore_dbg_grc_init_params() 1861 ecore_dbg_grc_set_params_default(p_hwfn); in ecore_dbg_grc_init_params() 1867 static enum dbg_status ecore_dbg_dev_init(struct ecore_hwfn *p_hwfn, in ecore_dbg_dev_init() argument 1870 struct dbg_tools_data *dev_data = &p_hwfn->dbg_info; in ecore_dbg_dev_init() 1878 if (ECORE_IS_E5(p_hwfn->p_dev)) { in ecore_dbg_dev_init() [all …]
|
| HD | ecore_vf_api.h | 46 enum _ecore_status_t ecore_vf_read_bulletin(struct ecore_hwfn *p_hwfn, 55 void ecore_vf_get_link_params(struct ecore_hwfn *p_hwfn, 64 void ecore_vf_get_link_state(struct ecore_hwfn *p_hwfn, 73 void ecore_vf_get_link_caps(struct ecore_hwfn *p_hwfn, 82 void ecore_vf_get_num_rxqs(struct ecore_hwfn *p_hwfn, 91 void ecore_vf_get_num_txqs(struct ecore_hwfn *p_hwfn, 100 void ecore_vf_get_num_cids(struct ecore_hwfn *p_hwfn, u8 *num_cids); 108 void ecore_vf_get_port_mac(struct ecore_hwfn *p_hwfn, 117 void ecore_vf_get_num_vlan_filters(struct ecore_hwfn *p_hwfn, 126 void ecore_vf_get_num_mac_filters(struct ecore_hwfn *p_hwfn, [all …]
|
| HD | ecore_dbg_fw_funcs.h | 69 enum chip_ids ecore_dbg_get_chip_id(struct ecore_hwfn *p_hwfn); 80 void ecore_read_regs(struct ecore_hwfn *p_hwfn, 116 enum dbg_status ecore_dbg_bus_reset(struct ecore_hwfn *p_hwfn, 139 enum dbg_status ecore_dbg_bus_set_pci_output(struct ecore_hwfn *p_hwfn, 179 enum dbg_status ecore_dbg_bus_set_nw_output(struct ecore_hwfn *p_hwfn, 215 enum dbg_status ecore_dbg_bus_enable_block(struct ecore_hwfn *p_hwfn, 239 enum dbg_status ecore_dbg_bus_enable_storm(struct ecore_hwfn *p_hwfn, 265 enum dbg_status ecore_dbg_bus_enable_timestamp(struct ecore_hwfn *p_hwfn, 285 enum dbg_status ecore_dbg_bus_add_eid_range_sem_filter(struct ecore_hwfn *p_hwfn, 303 enum dbg_status ecore_dbg_bus_add_eid_mask_sem_filter(struct ecore_hwfn *p_hwfn, [all …]
|
| HD | ecore_cxt.h | 60 u32 ecore_cxt_get_proto_cid_count(struct ecore_hwfn *p_hwfn, 64 u32 ecore_cxt_get_proto_tid_count(struct ecore_hwfn *p_hwfn, 67 u32 ecore_cxt_get_proto_cid_start(struct ecore_hwfn *p_hwfn, 70 u32 ecore_cxt_get_srq_count(struct ecore_hwfn *p_hwfn); 72 u32 ecore_cxt_get_xrc_srq_count(struct ecore_hwfn *p_hwfn); 81 enum _ecore_status_t ecore_cxt_set_pf_params(struct ecore_hwfn *p_hwfn, 92 enum _ecore_status_t ecore_cxt_cfg_ilt_compute(struct ecore_hwfn *p_hwfn, 101 u32 ecore_cxt_cfg_ilt_compute_excess(struct ecore_hwfn *p_hwfn, u32 used_lines); 110 enum _ecore_status_t ecore_cxt_mngr_alloc(struct ecore_hwfn *p_hwfn); 117 void ecore_cxt_mngr_free(struct ecore_hwfn *p_hwfn); [all …]
|
| HD | ecore_vf.h | 97 enum _ecore_status_t ecore_vf_pf_get_coalesce(struct ecore_hwfn *p_hwfn, 110 enum _ecore_status_t ecore_vf_pf_set_coalesce(struct ecore_hwfn *p_hwfn, 123 enum _ecore_status_t ecore_vf_hw_prepare(struct ecore_hwfn *p_hwfn); 139 enum _ecore_status_t ecore_vf_pf_rxq_start(struct ecore_hwfn *p_hwfn, 160 ecore_vf_pf_txq_start(struct ecore_hwfn *p_hwfn, 174 enum _ecore_status_t ecore_vf_pf_rxq_stop(struct ecore_hwfn *p_hwfn, 186 enum _ecore_status_t ecore_vf_pf_txq_stop(struct ecore_hwfn *p_hwfn, 204 enum _ecore_status_t ecore_vf_pf_rxqs_update(struct ecore_hwfn *p_hwfn, 219 enum _ecore_status_t ecore_vf_pf_vport_update(struct ecore_hwfn *p_hwfn, 229 enum _ecore_status_t ecore_vf_pf_reset(struct ecore_hwfn *p_hwfn); [all …]
|
| HD | ecore_init_fw_funcs.h | 73 int ecore_qm_common_rt_init(struct ecore_hwfn *p_hwfn, 116 int ecore_qm_pf_rt_init(struct ecore_hwfn *p_hwfn, 146 int ecore_init_pf_wfq(struct ecore_hwfn *p_hwfn, 161 int ecore_init_pf_rl(struct ecore_hwfn *p_hwfn, 178 int ecore_init_vport_wfq(struct ecore_hwfn *p_hwfn, 195 int ecore_init_vport_rl(struct ecore_hwfn *p_hwfn, 214 bool ecore_send_qm_stop_cmd(struct ecore_hwfn *p_hwfn, 235 void ecore_init_nig_ets(struct ecore_hwfn *p_hwfn, 249 void ecore_init_nig_lb_rl(struct ecore_hwfn *p_hwfn, 264 void ecore_init_nig_pri_tc_map(struct ecore_hwfn *p_hwfn, [all …]
|
| HD | ecore_int.h | 43 #define SB_ALIGNED_SIZE(p_hwfn) \ argument 44 ALIGNED_TYPE_SIZE(struct status_block_e4, p_hwfn) 86 int ecore_int_igu_reset_cam(struct ecore_hwfn *p_hwfn, 95 int ecore_int_igu_reset_cam_default(struct ecore_hwfn *p_hwfn, 106 u16 ecore_get_igu_sb_id(struct ecore_hwfn *p_hwfn, u16 sb_id); 117 ecore_get_igu_free_sb(struct ecore_hwfn *p_hwfn, bool b_is_pf); 120 void ecore_int_igu_init_pure_rt(struct ecore_hwfn *p_hwfn, 125 void ecore_int_igu_init_rt(struct ecore_hwfn *p_hwfn); 138 enum _ecore_status_t ecore_int_igu_read_cam(struct ecore_hwfn *p_hwfn, 141 typedef enum _ecore_status_t(*ecore_int_comp_cb_t)(struct ecore_hwfn *p_hwfn, [all …]
|
| HD | bcm_osal.h | 67 extern uint32_t qlnx_direct_reg_rd32(void *p_hwfn, uint32_t *reg_addr); 68 extern void qlnx_direct_reg_wr32(void *p_hwfn, void *reg_addr, uint32_t value); 69 extern void qlnx_direct_reg_wr64(void *p_hwfn, void *reg_addr, uint64_t value); 71 extern uint32_t qlnx_reg_rd32(void *p_hwfn, uint32_t reg_addr); 72 extern void qlnx_reg_wr32(void *p_hwfn, uint32_t reg_addr, uint32_t value); 73 extern void qlnx_reg_wr16(void *p_hwfn, uint32_t reg_addr, uint16_t value); 75 extern void qlnx_dbell_wr32(void *p_hwfn, uint32_t reg_addr, uint32_t value); 76 extern void qlnx_dbell_wr32_db(void *p_hwfn, void *reg_addr, uint32_t value); 83 extern void qlnx_link_update(void *p_hwfn); 84 extern void qlnx_barrier(void *p_hwfn); [all …]
|
| HD | ecore_hw.h | 97 void ecore_ptt_invalidate(struct ecore_hwfn *p_hwfn); 106 enum _ecore_status_t ecore_ptt_pool_alloc(struct ecore_hwfn *p_hwfn); 113 void ecore_ptt_pool_free(struct ecore_hwfn *p_hwfn); 132 void ecore_ptt_set_win(struct ecore_hwfn *p_hwfn, 144 struct ecore_ptt *ecore_get_reserved_ptt(struct ecore_hwfn *p_hwfn, 155 void ecore_wr(struct ecore_hwfn *p_hwfn, 167 u32 ecore_rd(struct ecore_hwfn *p_hwfn, 181 void ecore_memcpy_from(struct ecore_hwfn *p_hwfn, 197 void ecore_memcpy_to(struct ecore_hwfn *p_hwfn, 213 void ecore_fid_pretend(struct ecore_hwfn *p_hwfn, [all …]
|
| HD | ecore_mcp_api.h | 585 *p_hwfn); 595 *p_hwfn); 605 *ecore_mcp_get_link_capabilities(struct ecore_hwfn *p_hwfn); 616 enum _ecore_status_t ecore_mcp_set_link(struct ecore_hwfn *p_hwfn, 630 enum _ecore_status_t ecore_mcp_get_mfw_ver(struct ecore_hwfn *p_hwfn, 644 enum _ecore_status_t ecore_mcp_get_mbi_ver(struct ecore_hwfn *p_hwfn, 659 enum _ecore_status_t ecore_mcp_get_media_type(struct ecore_hwfn *p_hwfn, 674 enum _ecore_status_t ecore_mcp_get_transceiver_data(struct ecore_hwfn *p_hwfn, 690 enum _ecore_status_t ecore_mcp_trans_speed_mask(struct ecore_hwfn *p_hwfn, 705 enum _ecore_status_t ecore_mcp_get_board_config(struct ecore_hwfn *p_hwfn, [all …]
|