sys/dev/qlnx/qlnxe/ecore.h
1009
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore.h
1014
void ecore_clean_wfq_db(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore.h
1068
struct ecore_ptt *p_ptt, u32 addr,
sys/dev/qlnx/qlnxe/ecore_cxt.c
1593
void ecore_qm_init_pf(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_cxt.c
1605
ecore_qm_pf_rt_init(p_hwfn, p_ptt, p_hwfn->port_id,
sys/dev/qlnx/qlnxe/ecore_cxt.c
1979
void ecore_cxt_hw_init_pf(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_cxt.c
1981
ecore_qm_init_pf(p_hwfn, p_ptt, true);
sys/dev/qlnx/qlnxe/ecore_cxt.c
2401
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_cxt.c
2455
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_cxt.c
2456
if (!p_ptt) {
sys/dev/qlnx/qlnxe/ecore_cxt.c
2507
ecore_dmae_host2grc(p_hwfn, p_ptt, (u64)(osal_uintptr_t)&ilt_hw_entry,
sys/dev/qlnx/qlnxe/ecore_cxt.c
2516
ecore_wr(p_hwfn, p_ptt, PRS_REG_ROCE_DEST_QP_MAX_PF,
sys/dev/qlnx/qlnxe/ecore_cxt.c
2529
ecore_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 1);
sys/dev/qlnx/qlnxe/ecore_cxt.c
2535
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_cxt.c
2555
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_cxt.c
2592
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_cxt.c
2593
if (!p_ptt) {
sys/dev/qlnx/qlnxe/ecore_cxt.c
2619
ecore_dmae_host2grc(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_cxt.c
2626
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_cxt.h
146
void ecore_cxt_hw_init_pf(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_cxt.h
155
void ecore_qm_init_pf(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_cxt.h
167
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
1854
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
1889
if (ecore_rd(p_hwfn, p_ptt, MISCS_REG_ECO_RESERVED) & 0x20000000) {
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
1951
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
1974
dest[i] = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
1981
dest[i] = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2079
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2102
ecore_read_fw_info(p_hwfn, p_ptt, storm_id, &fw_info);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2130
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2143
public_data_addr = ecore_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR) | MCP_REG_SCRATCH;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2147
global_section_offsize = ecore_rd(p_hwfn, p_ptt, global_section_offsize_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2151
mfw_ver = ecore_rd(p_hwfn, p_ptt, global_section_addr + OFFSETOF(struct public_global, mfw_ver));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2176
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2190
offset += ecore_dump_fw_ver_param(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2191
offset += ecore_dump_mfw_ver_param(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2223
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2232
reg_val[i] = ecore_rd(p_hwfn, p_ptt, s_reset_regs_defs[i].addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2244
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2247
ecore_wr(p_hwfn, p_ptt, DBG_REG_DBG_BLOCK_ON, enable ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2252
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2258
old_reset_reg_val = ecore_rd(p_hwfn, p_ptt, dbg_reset_reg_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2261
ecore_wr(p_hwfn, p_ptt, dbg_reset_reg_addr, new_reset_reg_val);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2262
ecore_wr(p_hwfn, p_ptt, dbg_reset_reg_addr, old_reset_reg_val);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2266
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2269
ecore_wr(p_hwfn, p_ptt, DBG_REG_FRAMING_MODE, (u8)mode);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2276
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2279
ecore_wr(p_hwfn, p_ptt, DBG_REG_CLIENT_ENABLE, client_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2284
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2301
ecore_wr(p_hwfn, p_ptt, storm->sem_frame_mode_addr, DBG_BUS_SEMI_FRAME_MODE_0SLOW_4FAST);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2302
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DEBUG_MODE, storm_mode->id_in_hw);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2303
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DEBUG_ACTIVE, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2309
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DBG_MODE23_SRC_DISABLE, SEM_FAST_MODE23_SRC_ENABLE_VAL);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2310
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DBG_MODE4_SRC_DISABLE, SEM_FAST_MODE4_SRC_ENABLE_VAL);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2311
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DBG_MODE6_SRC_DISABLE, SEM_FAST_MODE6_SRC_ENABLE_VAL);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2315
ecore_wr(p_hwfn, p_ptt, storm->sem_frame_mode_addr, DBG_BUS_SEMI_FRAME_MODE_4SLOW_0FAST);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2316
ecore_wr(p_hwfn, p_ptt, storm->sem_slow_enable_addr, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2317
ecore_wr(p_hwfn, p_ptt, storm->sem_slow_mode_addr, storm_mode->id_in_hw);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2318
ecore_wr(p_hwfn, p_ptt, storm->sem_slow_mode1_conf_addr, SEM_SLOW_MODE1_DATA_ENABLE);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2323
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_FILTER_CID, storm_bus->cid);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2332
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_EVENT_ID_RANGE_STRT, eid_filter->range.min);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2333
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_EVENT_ID_RANGE_END, eid_filter->range.max);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2337
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_FILTER_EVENT_ID, eid_filter->mask.val);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2338
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_EVENT_ID_MASK, ~eid_filter->mask.mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2345
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_RECORD_FILTER_ENABLE, sem_filter_params);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2350
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2365
ecore_wr(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_DBG_MODE23_SRC_DISABLE, SEM_FAST_MODE23_SRC_DISABLE_VAL);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2366
ecore_wr(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_DBG_MODE4_SRC_DISABLE, SEM_FAST_MODE4_SRC_DISABLE_VAL);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2367
ecore_wr(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_DBG_MODE6_SRC_DISABLE, SEM_FAST_MODE6_SRC_DISABLE_VAL);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2381
if (dev_data->block_in_reset[storm->block_id] || ecore_rd(p_hwfn, p_ptt, storm->sem_sync_dbg_empty_addr)) {
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2411
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DEBUG_ACTIVE, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2412
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_RECORD_FILTER_ENABLE, DBG_BUS_FILTER_TYPE_OFF);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2413
ecore_wr(p_hwfn, p_ptt, storm->sem_frame_mode_addr, DBG_BUS_FRAME_MODE_4HW_0ST);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2414
ecore_wr(p_hwfn, p_ptt, storm->sem_slow_enable_addr, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2418
ecore_bus_enable_clients(p_hwfn, p_ptt, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2425
ecore_wr(p_hwfn, p_ptt, block->dbg_enable_addr, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2429
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP_VALID_EN, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2432
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_ENABLE, DBG_BUS_FILTER_TYPE_OFF);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2433
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_ENABLE, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2440
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2463
ecore_wr(p_hwfn, p_ptt, (is_filter ? DBG_REG_FILTER_CNSTR_OPRTN_0 : DBG_REG_TRIGGER_STATE_SET_CNSTR_OPRTN_0) + reg_offset, hw_op_val);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2464
ecore_wr(p_hwfn, p_ptt, (is_filter ? DBG_REG_FILTER_CNSTR_DATA_0 : DBG_REG_TRIGGER_STATE_SET_CNSTR_DATA_0) + reg_offset, data_val);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2465
ecore_wr(p_hwfn, p_ptt, (is_filter ? DBG_REG_FILTER_CNSTR_DATA_MASK_0 : DBG_REG_TRIGGER_STATE_SET_CNSTR_DATA_MASK_0) + reg_offset, data_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2466
ecore_wr(p_hwfn, p_ptt, (is_filter ? DBG_REG_FILTER_CNSTR_FRAME_0 : DBG_REG_TRIGGER_STATE_SET_CNSTR_FRAME_0) + reg_offset, frame_bit);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2467
ecore_wr(p_hwfn, p_ptt, (is_filter ? DBG_REG_FILTER_CNSTR_FRAME_MASK_0 : DBG_REG_TRIGGER_STATE_SET_CNSTR_FRAME_MASK_0) + reg_offset, frame_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2468
ecore_wr(p_hwfn, p_ptt, (is_filter ? DBG_REG_FILTER_CNSTR_OFFSET_0 : DBG_REG_TRIGGER_STATE_SET_CNSTR_OFFSET_0) + reg_offset, dword_offset);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2469
ecore_wr(p_hwfn, p_ptt, (is_filter ? DBG_REG_FILTER_CNSTR_RANGE_0 : DBG_REG_TRIGGER_STATE_SET_CNSTR_RANGE_0) + reg_offset, range);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2470
ecore_wr(p_hwfn, p_ptt, (is_filter ? DBG_REG_FILTER_CNSTR_CYCLIC_0 : DBG_REG_TRIGGER_STATE_SET_CNSTR_CYCLIC_0) + reg_offset, cyclic_bit);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2471
ecore_wr(p_hwfn, p_ptt, (is_filter ? DBG_REG_FILTER_CNSTR_MUST_0 : DBG_REG_TRIGGER_STATE_SET_CNSTR_MUST_0) + reg_offset, must_bit);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2478
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2493
dump_buf[offset + INT_BUF_LINE_SIZE_IN_DWORDS - 1 - i] = ecore_rd(p_hwfn, p_ptt, reg_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2502
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2508
last_written_line = ecore_rd(p_hwfn, p_ptt, DBG_REG_INTR_BUFFER_WR_PTR);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2510
if (ecore_rd(p_hwfn, p_ptt, DBG_REG_WRAP_ON_INT_BUFFER)) {
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2515
offset += ecore_bus_dump_int_buf_range(p_hwfn, p_ptt, dump_buf + offset, dump, last_written_line + 1, INT_BUF_NUM_OF_LINES - 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2516
offset += ecore_bus_dump_int_buf_range(p_hwfn, p_ptt, dump_buf + offset, dump, 0, last_written_line);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2522
if (!ecore_rd(p_hwfn, p_ptt, DBG_REG_INTR_BUFFER_RD_PTR))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2523
offset += ecore_bus_dump_int_buf_range(p_hwfn, p_ptt, dump_buf + offset, dump, 0, last_written_line);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2564
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2576
next_wr_phys_addr.lo = ecore_rd(p_hwfn, p_ptt, DBG_REG_EXT_BUFFER_WR_PTR);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2577
next_wr_phys_addr.hi = ecore_rd(p_hwfn, p_ptt, DBG_REG_EXT_BUFFER_WR_PTR + BYTES_IN_DWORD);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2586
if (ecore_rd(p_hwfn, p_ptt, DBG_REG_WRAP_ON_EXT_BUFFER))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2600
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2608
return ecore_bus_dump_int_buf(p_hwfn, p_ptt, dump_buf, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2610
return ecore_bus_dump_pci_buf(p_hwfn, p_ptt, dump_buf, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2691
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2703
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 5);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2716
recorded_dwords = ecore_bus_dump_data(p_hwfn, p_ptt, OSAL_NULL, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2832
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2843
ecore_wr(p_hwfn, p_ptt, reg_addr, stall ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2851
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2873
ecore_wr(p_hwfn, p_ptt, s_reset_regs_defs[i].addr + RESET_REG_UNRESET_OFFSET, reg_val[i]);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2900
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2924
ecore_rd(p_hwfn, p_ptt, DWORDS_TO_BYTES(reg_data->sts_clr_address));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2963
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2971
buf[i] = ecore_rd(p_hwfn, p_ptt, DWORDS_TO_BYTES(addr + i));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2979
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3000
if (!ecore_dmae_grc2host(p_hwfn, p_ptt, DWORDS_TO_BYTES(addr), (u64)(osal_uintptr_t)(dump_buf), len, OSAL_NULL))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3007
ecore_read_regs(p_hwfn, p_ptt, dump_buf, addr, len);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3030
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3040
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, len, wide_bus);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3053
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3071
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, curr_len, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3089
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3121
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3134
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3150
offset += ecore_grc_dump_regs_entries(p_hwfn, p_ptt, input_regs_arr, dump_buf + offset, dump, block_enable, &num_dumped_reg_entries);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3163
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3191
offset += ecore_grc_dump_split_data(p_hwfn, p_ptt, curr_input_regs_arr, dump_buf + offset, dump, block_enable, "eng", (u32)(-1), param_name, param_val);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3197
ecore_port_pretend(p_hwfn, p_ptt, port_id);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3198
offset += ecore_grc_dump_split_data(p_hwfn, p_ptt, curr_input_regs_arr, dump_buf + offset, dump, block_enable, "port", port_id, param_name, param_val);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3206
ecore_fid_pretend(p_hwfn, p_ptt, (pf_id << PXP_PRETEND_CONCRETE_FID_PFID_SHIFT));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3207
offset += ecore_grc_dump_split_data(p_hwfn, p_ptt, curr_input_regs_arr, dump_buf + offset, dump, block_enable, "pf", pf_id, param_name, param_val);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3214
ecore_fid_pretend(p_hwfn, p_ptt, (1 << PXP_PRETEND_CONCRETE_FID_VFVALID_SHIFT) | (vf_id << PXP_PRETEND_CONCRETE_FID_VFID_SHIFT));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3215
offset += ecore_grc_dump_split_data(p_hwfn, p_ptt, curr_input_regs_arr, dump_buf + offset, dump, block_enable, "vf", vf_id, param_name, param_val);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3228
ecore_fid_pretend(p_hwfn, p_ptt, (p_hwfn->rel_pf_id << PXP_PRETEND_CONCRETE_FID_PFID_SHIFT));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3235
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3250
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(s_reset_regs_defs[i].addr), 1, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3265
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3296
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump, reg_data->mask_address, 1, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3297
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump, GET_FIELD(reg_data->data, DBG_ATTN_REG_STS_ADDRESS), 1, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3309
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3323
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3334
offset += ecore_grc_dump_reg_entry_skip(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(RDIF_REG_DEBUG_ERROR_INFO), RDIF_REG_DEBUG_ERROR_INFO_SIZE, 7, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3335
offset += ecore_grc_dump_reg_entry_skip(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(TDIF_REG_DEBUG_ERROR_INFO), TDIF_REG_DEBUG_ERROR_INFO_SIZE, 7, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3430
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3446
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, len, wide_bus);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3453
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3530
offset += ecore_grc_dump_mem(p_hwfn, p_ptt, dump_buf + offset, dump, OSAL_NULL, mem_addr, mem_len, mem_wide_bus,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3542
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3562
offset += ecore_grc_dump_mem_entries(p_hwfn, p_ptt, curr_input_mems_arr, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3581
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3607
ecore_wr(p_hwfn, p_ptt, storm->cm_ctx_wr_addr, (i << 9) | lid);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3608
*(dump_buf + offset) = ecore_rd(p_hwfn, p_ptt, rd_reg_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3617
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3631
offset += ecore_grc_dump_ctx_data(p_hwfn, p_ptt, dump_buf + offset, dump, "CONN_AG_CTX", ecore_grc_get_param(p_hwfn, DBG_GRC_PARAM_NUM_LCIDS),
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3635
offset += ecore_grc_dump_ctx_data(p_hwfn, p_ptt, dump_buf + offset, dump, "CONN_ST_CTX", ecore_grc_get_param(p_hwfn, DBG_GRC_PARAM_NUM_LCIDS),
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3639
offset += ecore_grc_dump_ctx_data(p_hwfn, p_ptt, dump_buf + offset, dump, "TASK_AG_CTX", ecore_grc_get_param(p_hwfn, DBG_GRC_PARAM_NUM_LTIDS),
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3643
offset += ecore_grc_dump_ctx_data(p_hwfn, p_ptt, dump_buf + offset, dump, "TASK_ST_CTX", ecore_grc_get_param(p_hwfn, DBG_GRC_PARAM_NUM_LTIDS),
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3652
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3669
offset += ecore_grc_dump_mem(p_hwfn, p_ptt, dump_buf + offset, dump, buf, addr, IORS_PER_SET, false, 32, false, "ior", true, storm->letter);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3678
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3700
ARR_REG_WR(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_DATA_WR, cam_cmd, VFC_CAM_CMD_DWORDS);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3703
ARR_REG_WR(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_ADDR, cam_addr, VFC_CAM_ADDR_DWORDS);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3706
ARR_REG_RD(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_DATA_RD, dump_buf + offset, VFC_CAM_RESP_DWORDS);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3714
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3736
ARR_REG_WR(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_DATA_WR, ram_cmd, VFC_RAM_CMD_DWORDS);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3740
ARR_REG_WR(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_ADDR, ram_addr, VFC_RAM_ADDR_DWORDS);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3743
ARR_REG_RD(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_DATA_RD, dump_buf + offset, VFC_RAM_RESP_DWORDS);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3751
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3766
offset += ecore_grc_dump_vfc_cam(p_hwfn, p_ptt, dump_buf + offset, dump, storm_id);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3770
offset += ecore_grc_dump_vfc_ram(p_hwfn, p_ptt, dump_buf + offset, dump, storm_id, &s_vfc_ram_defs[i]);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3778
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3808
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_ADDR, rss_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3809
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(RSS_REG_RSS_RAM_DATA), num_dwords_to_read, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3820
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3834
reg_val = ecore_rd(p_hwfn, p_ptt, big_ram->is_256b_reg_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3849
ecore_wr(p_hwfn, p_ptt, big_ram->addr_reg_addr, i);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3850
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(big_ram->data_reg_addr), BRB_REG_BIG_RAM_DATA_SIZE, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3857
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3868
halted = !ecore_mcp_halt(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3874
offset += ecore_grc_dump_mem(p_hwfn, p_ptt, dump_buf + offset, dump, OSAL_NULL, BYTES_TO_DWORDS(MCP_REG_SCRATCH),
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3878
offset += ecore_grc_dump_mem(p_hwfn, p_ptt, dump_buf + offset, dump, OSAL_NULL, BYTES_TO_DWORDS(MCP_REG_CPU_REG_FILE),
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3883
offset += ecore_grc_dump_registers(p_hwfn, p_ptt, dump_buf + offset, dump, block_enable, "block", "MCP");
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3887
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(MISC_REG_SHARED_MEM_ADDR), 1, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3890
if (halted && ecore_mcp_resume(p_hwfn, p_ptt))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3898
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3929
ecore_wr(p_hwfn, p_ptt, addr_hi_addr, tbus_hi_offset);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3931
ecore_wr(p_hwfn, p_ptt, addr_lo_addr, tbus_lo_offset);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3932
*(bytes_buf++) = (u8)ecore_rd(p_hwfn, p_ptt, data_lo_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3933
*(bytes_buf++) = (u8)ecore_rd(p_hwfn, p_ptt, data_hi_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3944
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3954
ecore_wr(p_hwfn, p_ptt, block->dbg_select_addr, line_id);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3955
ecore_wr(p_hwfn, p_ptt, block->dbg_enable_addr, enable_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3956
ecore_wr(p_hwfn, p_ptt, block->dbg_shift_addr, right_shift);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3957
ecore_wr(p_hwfn, p_ptt, block->dbg_force_valid_addr, force_valid_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3958
ecore_wr(p_hwfn, p_ptt, block->dbg_force_frame_addr, force_frame_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3963
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3971
if (dump && ecore_rd(p_hwfn, p_ptt, DBG_REG_DBG_BLOCK_ON))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3980
ecore_wr(p_hwfn, p_ptt, block->dbg_enable_addr, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3983
ecore_bus_reset_dbg_block(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3984
ecore_bus_set_framing_mode(p_hwfn, p_ptt, DBG_BUS_FRAME_MODE_8HW_0ST);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3985
ecore_wr(p_hwfn, p_ptt, DBG_REG_DEBUG_TARGET, DBG_BUS_TARGET_ID_INT_BUF);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3986
ecore_wr(p_hwfn, p_ptt, DBG_REG_FULL_MODE, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3987
ecore_bus_enable_dbg_block(p_hwfn, p_ptt, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4018
ecore_bus_enable_clients(p_hwfn, p_ptt, 1 << block->dbg_client_id[dev_data->chip_id]);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4021
ecore_config_dbg_line(p_hwfn, p_ptt, (enum block_id)block_id, (u8)line_id, 0xf, 0, 0, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4024
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(DBG_REG_CALENDAR_OUT_DATA), STATIC_DEBUG_LINE_DWORDS, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4028
ecore_bus_enable_clients(p_hwfn, p_ptt, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4029
ecore_wr(p_hwfn, p_ptt, block->dbg_enable_addr, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4033
ecore_bus_enable_dbg_block(p_hwfn, p_ptt, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4034
ecore_bus_enable_clients(p_hwfn, p_ptt, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4044
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4060
switch (ecore_rd(p_hwfn, p_ptt, MISC_REG_PORT_MODE)) {
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4067
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4071
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 4);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4079
offset += ecore_grc_dump_reset_regs(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4083
ecore_grc_unreset_blocks(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4084
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4089
parities_masked = !ecore_mcp_mask_parities(p_hwfn, p_ptt, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4099
offset += ecore_grc_dump_modified_regs(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4103
ecore_grc_stall_storms(p_hwfn, p_ptt, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4113
offset += ecore_grc_dump_registers(p_hwfn, p_ptt, dump_buf + offset, dump, block_enable, OSAL_NULL, OSAL_NULL);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4116
offset += ecore_grc_dump_special_regs(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4120
offset += ecore_grc_dump_memories(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4124
offset += ecore_grc_dump_mcp(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4128
offset += ecore_grc_dump_ctx(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4132
offset += ecore_grc_dump_rss(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4137
offset += ecore_grc_dump_big_ram(p_hwfn, p_ptt, dump_buf + offset, dump, i);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4141
offset += ecore_grc_dump_iors(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4145
offset += ecore_grc_dump_vfc(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4149
offset += ecore_grc_dump_phy(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4153
offset += ecore_grc_dump_static_debug(p_hwfn, p_ptt, dump_buf + offset, dump);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4161
ecore_grc_stall_storms(p_hwfn, p_ptt, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4165
ecore_grc_clear_all_prty(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4169
ecore_mcp_mask_parities(p_hwfn, p_ptt, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4181
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4284
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, reg->size, wide_bus);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4293
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4342
u32 entry_dump_size = ecore_idle_chk_dump_failure(p_hwfn, p_ptt, dump_buf + offset, false, rule->rule_id, rule, 0, OSAL_NULL);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4377
next_reg_offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, cond_reg_values + next_reg_offset, dump, addr, reg->entry_size, wide_bus);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4382
offset += ecore_idle_chk_dump_failure(p_hwfn, p_ptt, dump_buf + offset, dump, rule->rule_id, rule, entry_id, cond_reg_values);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4395
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4402
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4424
offset += ecore_idle_chk_dump_rule_entries(p_hwfn, p_ptt, dump_buf + offset, dump, (const struct dbg_idle_chk_rule *)&s_dbg_arrays[BIN_BUF_DBG_IDLE_CHK_RULES].ptr[input_offset], cond_hdr->data_size / IDLE_CHK_RULE_SIZE_DWORDS, &curr_failing_rules);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4443
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4453
nvm_result = ecore_mcp_nvm_rd_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_NVM_GET_FILE_ATT, image_type, &ret_mcp_resp, &ret_mcp_param, &ret_txn_size, (u32 *)&file_att);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4474
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4489
if (ecore_mcp_nvm_rd_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_NVM_READ_NVRAM, (nvram_offset_bytes + read_offset) | (bytes_to_copy << DRV_MB_PARAM_NVM_LEN_OFFSET), &ret_mcp_resp, &ret_mcp_param, &ret_read_size, (u32 *)((u8 *)ret_buf + read_offset)))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4509
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4516
spad_trace_offsize = ecore_rd(p_hwfn, p_ptt, MCP_SPAD_TRACE_OFFSIZE_ADDR);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4522
signature = ecore_rd(p_hwfn, p_ptt, *trace_data_grc_addr + OFFSETOF(struct mcp_trace, signature));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4528
*trace_data_size = ecore_rd(p_hwfn, p_ptt, *trace_data_grc_addr + OFFSETOF(struct mcp_trace, size));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4540
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4549
spad_trace_offsize = ecore_rd(p_hwfn, p_ptt, MCP_SPAD_TRACE_OFFSIZE_ADDR);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4553
*running_bundle_id = ecore_rd(p_hwfn, p_ptt, running_mfw_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4559
return ecore_find_nvram_image(p_hwfn, p_ptt, nvram_image_type, trace_meta_offset, trace_meta_size);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4564
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4574
status = ecore_nvram_read(p_hwfn, p_ptt, nvram_offset_in_bytes, size_in_bytes, buf);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4604
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4622
status = ecore_mcp_trace_get_data_info(p_hwfn, p_ptt, &trace_data_grc_addr, &trace_data_size_bytes);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4627
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4635
halted = !ecore_mcp_halt(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4648
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(trace_data_grc_addr), trace_data_size_dwords, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4651
if (halted && ecore_mcp_resume(p_hwfn, p_ptt))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4661
status = ecore_mcp_trace_get_meta_info(p_hwfn, p_ptt, trace_data_size_bytes, &running_bundle_id, &trace_meta_offset_bytes, &trace_meta_size_bytes);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4671
status = ecore_mcp_trace_read_meta(p_hwfn, p_ptt, trace_meta_offset_bytes, trace_meta_size_bytes, dump_buf + offset);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4688
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4699
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4710
fifo_has_data = ecore_rd(p_hwfn, p_ptt, GRC_REG_TRACE_FIFO_VALID_DATA) > 0;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4719
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, true, BYTES_TO_DWORDS(GRC_REG_TRACE_FIFO), REG_FIFO_ELEMENT_DWORDS, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4720
fifo_has_data = ecore_rd(p_hwfn, p_ptt, GRC_REG_TRACE_FIFO_VALID_DATA) > 0;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4742
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4753
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4764
fifo_has_data = ecore_rd(p_hwfn, p_ptt, IGU_REG_ERROR_HANDLING_DATA_VALID) > 0;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4772
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, true, BYTES_TO_DWORDS(IGU_REG_ERROR_HANDLING_MEMORY), IGU_FIFO_ELEMENT_DWORDS, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4773
fifo_has_data = ecore_rd(p_hwfn, p_ptt, IGU_REG_ERROR_HANDLING_DATA_VALID) > 0;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4795
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4805
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4817
override_window_dwords = ecore_rd(p_hwfn, p_ptt, GRC_REG_NUMBER_VALID_OVERRIDE_WINDOW) * PROTECTION_OVERRIDE_ELEMENT_DWORDS;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4818
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, true, BYTES_TO_DWORDS(GRC_REG_PROTECTION_OVERRIDE_WINDOW), override_window_dwords, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4837
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4849
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4861
ecore_read_fw_info(p_hwfn, p_ptt, storm_id, &fw_info);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4880
next_list_idx = ecore_rd(p_hwfn, p_ptt, next_list_idx_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4884
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, asserts->list_element_dword_size, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4932
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4941
status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4952
if (ecore_rd(p_hwfn, p_ptt, DBG_REG_DBG_BLOCK_ON))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4956
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4959
status = ecore_bus_disable_inputs(p_hwfn, p_ptt, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4964
ecore_bus_reset_dbg_block(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4967
ecore_wr(p_hwfn, p_ptt, DBG_REG_FULL_MODE, one_shot_en ? 0 : 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4987
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5015
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_EXT_BUFFER_STRT_ADDR_LSB, dev_data->bus.pci_buf.phys_addr.lo);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5016
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_EXT_BUFFER_STRT_ADDR_MSB, dev_data->bus.pci_buf.phys_addr.hi);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5017
ecore_wr(p_hwfn, p_ptt, DBG_REG_TARGET_PACKET_SIZE, PCI_PKT_SIZE_IN_CHUNKS);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5018
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_EXT_BUFFER_SIZE, dev_data->bus.pci_buf.size / PCI_PKT_SIZE_IN_BYTES);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5019
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_FUNC_NUM, OPAQUE_FID(p_hwfn->rel_pf_id));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5020
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_LOGIC_ADDR, PCI_PHYS_ADDR_TYPE);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5021
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_REQ_CREDIT, PCI_REQ_CREDIT);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5022
ecore_wr(p_hwfn, p_ptt, DBG_REG_DEBUG_TARGET, DBG_BUS_TARGET_ID_PCI);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5023
ecore_wr(p_hwfn, p_ptt, DBG_REG_OUTPUT_ENABLE, TARGET_EN_MASK_PCI);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5029
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5051
ecore_wr(p_hwfn, p_ptt, DBG_REG_OUTPUT_ENABLE, TARGET_EN_MASK_NIG);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5052
ecore_wr(p_hwfn, p_ptt, DBG_REG_DEBUG_TARGET, DBG_BUS_TARGET_ID_NIG);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5055
ecore_wr(p_hwfn, p_ptt, DBG_REG_OTHER_ENGINE_MODE_BB_K2, DBG_BUS_OTHER_ENGINE_MODE_CROSS_ENGINE_TX);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5057
ecore_wr(p_hwfn, p_ptt, NIG_REG_DEBUG_PORT, port_id);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5060
ecore_wr(p_hwfn, p_ptt, DBG_REG_OTHER_ENGINE_MODE_BB_K2, DBG_BUS_OTHER_ENGINE_MODE_CROSS_ENGINE_RX);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5064
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_WIDTH, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5065
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_7, dest_addr_lo32);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5066
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_6, (u32)SRC_MAC_ADDR_LO16 | ((u32)dest_addr_hi16 << 16));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5067
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_5, SRC_MAC_ADDR_HI32);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5068
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_4, (u32)ETH_TYPE << 16);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5069
ecore_wr(p_hwfn, p_ptt, DBG_REG_TARGET_PACKET_SIZE, NIG_PKT_SIZE_IN_CHUNKS);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5071
ecore_wr(p_hwfn, p_ptt, DBG_REG_NIG_DATA_LIMIT_SIZE, (data_limit_size_kb * 1024) / CHUNK_SIZE_IN_BYTES);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5194
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5215
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP_VALID_EN, valid_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5216
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP_FRAME_EN, frame_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5217
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP_TICK, tick_len);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5297
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5321
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_ID_NUM, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5322
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_MSG_LENGTH_ENABLE, const_msg_len > 0 ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5324
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_MSG_LENGTH, const_msg_len - 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5330
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5358
ecore_wr(p_hwfn, p_ptt, DBG_REG_RCRD_ON_WINDOW_PRE_NUM_CHUNKS, pre_chunks);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5366
ecore_wr(p_hwfn, p_ptt, DBG_REG_RCRD_ON_WINDOW_POST_NUM_CYCLES, post_cycles ? post_cycles : 0xffffffff);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5372
ecore_wr(p_hwfn, p_ptt, DBG_REG_RCRD_ON_WINDOW_PRE_TRGR_EVNT_MODE, pre_trigger_type);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5373
ecore_wr(p_hwfn, p_ptt, DBG_REG_RCRD_ON_WINDOW_POST_TRGR_EVNT_MODE, post_trigger_type);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5374
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_ENABLE, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5380
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5415
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_MSG_LENGTH_ENABLE_0 + reg_offset, const_msg_len > 0 ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5417
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_MSG_LENGTH_0 + reg_offset, const_msg_len - 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5421
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_SET_COUNT_0 + reg_offset, count_to_next);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5426
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_SET_NXT_STATE_0 + reg_offset, MAX_TRIGGER_STATES);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5429
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_SET_NXT_STATE_0 + reg_offset, bus->next_trigger_state);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5438
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5503
ecore_bus_set_constraint(p_hwfn, p_ptt, dev_data->bus.adding_filter ? 1 : 0,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5518
ecore_bus_set_constraint(p_hwfn, p_ptt, bus->adding_filter ? 1 : 0,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5530
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5565
ecore_bus_enable_clients(p_hwfn, p_ptt, client_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5570
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5612
ecore_bus_set_framing_mode(p_hwfn, p_ptt, dbg_framing_mode);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5619
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5631
if (storm_bus->enabled && !ecore_rd(p_hwfn, p_ptt, storm->sem_sync_dbg_empty_addr))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5642
ecore_wr(p_hwfn, p_ptt, DBG_REG_STORM_ID_NUM, storm_id_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5645
ecore_wr(p_hwfn, p_ptt, DBG_REG_NO_GRANT_ON_FULL, (dev_data->bus.target == DBG_BUS_TARGET_ID_INT_BUF && bus->one_shot_en) ? 0 : 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5653
ecore_wr(p_hwfn, p_ptt, DBG_REG_CALENDAR_SLOT0 + DWORDS_TO_BYTES(i), next_storm_id);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5727
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5743
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_ID_0 + state_id * BYTES_IN_DWORD, hw_ids[val_id]);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5754
ecore_wr(p_hwfn, p_ptt, DBG_REG_HW_ID_NUM, bus->hw_id_mask);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5760
ecore_wr(p_hwfn, p_ptt, PCIE_REG_DBG_REPEAT_THRESHOLD_COUNT_K2_E5, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5761
ecore_wr(p_hwfn, p_ptt, PCIE_REG_DBG_FW_TRIGGER_ENABLE_K2_E5, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5766
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5791
if ((status = ecore_config_dbg_block_framing_mode(p_hwfn, p_ptt)) != DBG_STATUS_OK)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5796
if ((status = ecore_config_storm_inputs(p_hwfn, p_ptt)) != DBG_STATUS_OK)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5801
ecore_config_block_inputs(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5818
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_ENABLE, filter_type);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5821
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5824
ecore_bus_enable_dbg_block(p_hwfn, p_ptt, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5834
ecore_config_dbg_line(p_hwfn, p_ptt, (enum block_id)block_id,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5844
ecore_config_dbg_block_client_mask(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5852
ecore_bus_enable_storm(p_hwfn, p_ptt, (enum dbg_storms)storm_id);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5860
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5871
status = ecore_bus_disable_inputs(p_hwfn, p_ptt, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5875
ecore_wr(p_hwfn, p_ptt, DBG_REG_CPU_TIMEOUT, 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5879
ecore_bus_enable_dbg_block(p_hwfn, p_ptt, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5883
u32 trigger_state = ecore_rd(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATUS_CUR_STATE);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5895
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5902
status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5910
*buf_size = (u32)ecore_bus_dump_hdr(p_hwfn, p_ptt, OSAL_NULL, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5928
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5941
status = ecore_dbg_bus_get_dump_buf_size(p_hwfn, p_ptt, &min_buf_size_in_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5951
enum dbg_status stop_state = ecore_dbg_bus_stop(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5963
offset += ecore_bus_dump_hdr(p_hwfn, p_ptt, dump_buf + offset, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5967
u32 recorded_dwords = ecore_bus_dump_data(p_hwfn, p_ptt, dump_buf + offset, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6064
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6067
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6078
return ecore_grc_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6082
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6092
status = ecore_dbg_grc_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6103
status = ecore_grc_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6112
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6121
status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6130
idle_chk->buf_size = ecore_idle_chk_dump(p_hwfn, p_ptt, OSAL_NULL, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6140
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6150
status = ecore_dbg_idle_chk_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6158
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6161
*num_dumped_dwords = ecore_idle_chk_dump(p_hwfn, p_ptt, dump_buf, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6170
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6173
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6180
return ecore_mcp_trace_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6184
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6192
status = ecore_dbg_mcp_trace_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6200
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6203
status = ecore_mcp_trace_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6212
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6215
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6222
return ecore_reg_fifo_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6226
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6236
status = ecore_dbg_reg_fifo_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6244
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6246
status = ecore_reg_fifo_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6255
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6258
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6265
return ecore_igu_fifo_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6269
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6279
status = ecore_dbg_igu_fifo_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6287
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6289
status = ecore_igu_fifo_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6298
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6301
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6308
return ecore_protection_override_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6312
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6322
status = ecore_dbg_protection_override_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6330
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6332
status = ecore_protection_override_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6341
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6344
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6352
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6354
*buf_size = ecore_fw_asserts_dump(p_hwfn, p_ptt, OSAL_NULL, false);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6360
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6370
status = ecore_dbg_fw_asserts_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6377
*num_dumped_dwords = ecore_fw_asserts_dump(p_hwfn, p_ptt, dump_buf, true);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6386
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6392
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6419
sts_val = ecore_rd(p_hwfn, p_ptt, sts_addr);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6429
reg_result->mask_val = ecore_rd(p_hwfn, p_ptt, DWORDS_TO_BYTES(reg_data->mask_address));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6465
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6478
!(ecore_rd(p_hwfn, p_ptt, s_reset_regs_defs[reset_reg].addr) & (1 << block->reset_bit_offset)) : true;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
115
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
138
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
178
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
264
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
345
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
385
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
420
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
471
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
493
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
505
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
524
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
546
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
588
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
606
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
624
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
643
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
664
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
687
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
705
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
725
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
743
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
763
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
782
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
79
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
802
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
820
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
839
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
860
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
891
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1005
rc = ecore_dcbx_process_mib_info(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1010
ecore_qm_reconf(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1020
ecore_roce_dpm_dcbx(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1036
rc = ecore_all_ppfids_wr(p_hwfn, p_ptt, addr, val);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1054
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_EDPM_CTRL, val);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1147
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1153
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1154
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1157
rc = ecore_dcbx_read_mib(p_hwfn, p_ptt, type);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1166
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1397
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1419
ecore_memcpy_to(p_hwfn, p_ptt, data.addr, data.local_admin, data.size);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1429
ecore_memcpy_to(p_hwfn, p_ptt, data.addr, data.dscp_map,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1433
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_DCBX,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1494
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1519
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_REGISTER_LLDP_TLVS_RX,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1528
ecore_lldp_mib_update_event(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1541
rc = ecore_dcbx_copy_mib(p_hwfn, p_ptt, &data,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1562
ecore_lldp_get_params(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1587
ecore_memcpy_from(p_hwfn, p_ptt, &lldp_params, addr,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1616
ecore_lldp_set_params(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1667
ecore_memcpy_to(p_hwfn, p_ptt, addr, &lldp_params, sizeof(lldp_params));
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1669
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_LLDP,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1678
ecore_lldp_set_system_tlvs(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1703
ecore_memcpy_to(p_hwfn, p_ptt, addr, &lld_tlv_buf, sizeof(lld_tlv_buf));
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1708
ecore_memcpy_to(p_hwfn, p_ptt, addr, &p_params->buf[len],
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1712
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_LLDP,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1752
ecore_dcbx_set_dscp_priority(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1773
return ecore_dcbx_config_params(p_hwfn, p_ptt, &dcbx_set, 1);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1777
ecore_lldp_get_stats(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1799
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GET_LLDP_STATS,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1810
ecore_memcpy_from(p_hwfn, p_ptt, &lldp_stats, addr, sizeof(lldp_stats));
sys/dev/qlnx/qlnxe/ecore_dcbx.c
212
struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
241
ecore_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 1);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
242
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_PCP_BB_K2, prio << 1);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
249
struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
265
ecore_dcbx_set_params(p_data, p_hwfn, p_ptt, enable,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
331
ecore_dcbx_process_tlv(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
379
ecore_dcbx_update_app_info(p_data, p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
402
ecore_dcbx_update_app_info(p_data, p_hwfn, p_ptt, false,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
413
ecore_dcbx_process_mib_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
437
rc = ecore_dcbx_process_tlv(p_hwfn, p_ptt, &data, p_tbl, pri_tc_tbl,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
457
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
470
ecore_memcpy_from(p_hwfn, p_ptt, p_data->lldp_remote,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
475
ecore_memcpy_from(p_hwfn, p_ptt, p_data->lldp_tlvs,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
481
ecore_memcpy_from(p_hwfn, p_ptt, p_data->mib,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
859
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
869
ecore_memcpy_from(p_hwfn, p_ptt, data.lldp_local, data.addr, data.size);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
876
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
887
rc = ecore_dcbx_copy_mib(p_hwfn, p_ptt, &data, type);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
894
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
905
rc = ecore_dcbx_copy_mib(p_hwfn, p_ptt, &data, type);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
912
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
923
rc = ecore_dcbx_copy_mib(p_hwfn, p_ptt, &data, type);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
929
ecore_dcbx_read_local_mib(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
939
ecore_memcpy_from(p_hwfn, p_ptt, data.local_admin,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
946
ecore_dcbx_read_dscp_mib(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
954
ecore_memcpy_from(p_hwfn, p_ptt, data.dscp_map, data.addr, data.size);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
958
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
965
ecore_dcbx_read_dscp_mib(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
966
rc = ecore_dcbx_read_operational_mib(p_hwfn, p_ptt, type);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
969
rc = ecore_dcbx_read_remote_mib(p_hwfn, p_ptt, type);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
972
rc = ecore_dcbx_read_local_mib(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
975
rc = ecore_dcbx_read_remote_lldp_mib(p_hwfn, p_ptt, type);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
978
rc = ecore_dcbx_read_local_lldp_mib(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
993
ecore_dcbx_mib_update_event(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
998
rc = ecore_dcbx_read_mib(p_hwfn, p_ptt, type);
sys/dev/qlnx/qlnxe/ecore_dcbx.h
70
ecore_dcbx_mib_update_event(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx.h
82
ecore_lldp_mib_update_event(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
241
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
246
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
251
ecore_lldp_get_params(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
255
ecore_lldp_set_params(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
259
ecore_lldp_set_system_tlvs(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
269
ecore_dcbx_set_dscp_priority(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
273
ecore_lldp_get_stats(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1010
ecore_ppfid_wr(p_hwfn, p_ptt, abs_ppfid, addr,
sys/dev/qlnx/qlnxe/ecore_dev.c
1021
rc = ecore_dmae_host2grc(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1028
rc = ecore_dmae_grc2host(p_hwfn, p_ptt, addr,
sys/dev/qlnx/qlnxe/ecore_dev.c
1039
ecore_ppfid_wr(p_hwfn, p_ptt, abs_ppfid, addr, p_details->mode);
sys/dev/qlnx/qlnxe/ecore_dev.c
1041
p_details->mode = ecore_ppfid_rd(p_hwfn, p_ptt, abs_ppfid,
sys/dev/qlnx/qlnxe/ecore_dev.c
1047
ecore_ppfid_wr(p_hwfn, p_ptt, abs_ppfid, addr,
sys/dev/qlnx/qlnxe/ecore_dev.c
1050
p_details->protocol_type = ecore_ppfid_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1056
ecore_ppfid_wr(p_hwfn, p_ptt, abs_ppfid, addr,
sys/dev/qlnx/qlnxe/ecore_dev.c
1059
p_details->hdr_sel = ecore_ppfid_rd(p_hwfn, p_ptt, abs_ppfid,
sys/dev/qlnx/qlnxe/ecore_dev.c
1066
ecore_ppfid_wr(p_hwfn, p_ptt, abs_ppfid, addr,
sys/dev/qlnx/qlnxe/ecore_dev.c
1069
p_details->enable = ecore_ppfid_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1077
ecore_llh_add_filter_e4(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1091
return ecore_llh_access_filter_e4(p_hwfn, p_ptt, abs_ppfid, filter_idx,
sys/dev/qlnx/qlnxe/ecore_dev.c
1098
struct ecore_ptt *p_ptt, u8 abs_ppfid, u8 filter_idx)
sys/dev/qlnx/qlnxe/ecore_dev.c
1104
return ecore_llh_access_filter_e4(p_hwfn, p_ptt, abs_ppfid, filter_idx,
sys/dev/qlnx/qlnxe/ecore_dev.c
1114
struct ecore_ptt OSAL_UNUSED *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1129
struct ecore_ptt OSAL_UNUSED *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1139
ecore_llh_add_filter(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1144
return ecore_llh_add_filter_e4(p_hwfn, p_ptt, abs_ppfid,
sys/dev/qlnx/qlnxe/ecore_dev.c
1148
return ecore_llh_add_filter_e5(p_hwfn, p_ptt, abs_ppfid,
sys/dev/qlnx/qlnxe/ecore_dev.c
1154
ecore_llh_remove_filter(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1158
return ecore_llh_remove_filter_e4(p_hwfn, p_ptt, abs_ppfid,
sys/dev/qlnx/qlnxe/ecore_dev.c
1161
return ecore_llh_remove_filter_e5(p_hwfn, p_ptt, abs_ppfid,
sys/dev/qlnx/qlnxe/ecore_dev.c
1169
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
1175
if (p_ptt == OSAL_NULL)
sys/dev/qlnx/qlnxe/ecore_dev.c
1198
rc = ecore_llh_add_filter(p_hwfn, p_ptt, abs_ppfid, filter_idx,
sys/dev/qlnx/qlnxe/ecore_dev.c
1218
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
1305
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
1311
if (p_ptt == OSAL_NULL)
sys/dev/qlnx/qlnxe/ecore_dev.c
1346
rc = ecore_llh_add_filter(p_hwfn, p_ptt, abs_ppfid, filter_idx,
sys/dev/qlnx/qlnxe/ecore_dev.c
1363
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
1372
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
1378
if (p_ptt == OSAL_NULL)
sys/dev/qlnx/qlnxe/ecore_dev.c
1397
rc = ecore_llh_remove_filter(p_hwfn, p_ptt, abs_ppfid,
sys/dev/qlnx/qlnxe/ecore_dev.c
1417
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
1426
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
1432
if (p_ptt == OSAL_NULL)
sys/dev/qlnx/qlnxe/ecore_dev.c
1459
rc = ecore_llh_remove_filter(p_hwfn, p_ptt, abs_ppfid,
sys/dev/qlnx/qlnxe/ecore_dev.c
1476
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
1482
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
1486
if (p_ptt == OSAL_NULL)
sys/dev/qlnx/qlnxe/ecore_dev.c
1504
rc = ecore_llh_remove_filter_e4(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1507
rc = ecore_llh_remove_filter_e5(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1513
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
1529
struct ecore_ptt *p_ptt, u32 addr,
sys/dev/qlnx/qlnxe/ecore_dev.c
1541
ecore_ppfid_wr(p_hwfn, p_ptt, abs_ppfid, addr, val);
sys/dev/qlnx/qlnxe/ecore_dev.c
1548
ecore_llh_dump_ppfid_e4(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1564
ecore_rd(p_hwfn, p_ptt, addr));
sys/dev/qlnx/qlnxe/ecore_dev.c
1569
rc = ecore_llh_access_filter_e4(p_hwfn, p_ptt, abs_ppfid,
sys/dev/qlnx/qlnxe/ecore_dev.c
1587
struct ecore_ptt OSAL_UNUSED *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1598
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
1601
if (p_ptt == OSAL_NULL)
sys/dev/qlnx/qlnxe/ecore_dev.c
1605
rc = ecore_llh_dump_ppfid_e4(p_hwfn, p_ptt, ppfid);
sys/dev/qlnx/qlnxe/ecore_dev.c
1607
rc = ecore_llh_dump_ppfid_e5(p_hwfn, p_ptt, ppfid);
sys/dev/qlnx/qlnxe/ecore_dev.c
1609
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
1640
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
1650
val = ecore_rd(p_hwfn, p_ptt, bar_reg);
sys/dev/qlnx/qlnxe/ecore_dev.c
2328
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
2339
b_rc = ecore_send_qm_stop_cmd(p_hwfn, p_ptt, false, true,
sys/dev/qlnx/qlnxe/ecore_dev.c
2349
ecore_qm_init_pf(p_hwfn, p_ptt, false);
sys/dev/qlnx/qlnxe/ecore_dev.c
2352
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_QM_PF, p_hwfn->rel_pf_id,
sys/dev/qlnx/qlnxe/ecore_dev.c
2359
b_rc = ecore_send_qm_stop_cmd(p_hwfn, p_ptt, true, true,
sys/dev/qlnx/qlnxe/ecore_dev.c
2694
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
2731
ecore_wr(p_hwfn, p_ptt, XSDM_REG_OPERATION_GEN, command);
sys/dev/qlnx/qlnxe/ecore_dev.c
2816
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
2829
ecore_wr(p_hwfn, p_ptt, MISCS_REG_RESET_PL_HV + 4, pl_hv);
sys/dev/qlnx/qlnxe/ecore_dev.c
2833
ecore_wr(p_hwfn, p_ptt, MISCS_REG_RESET_PL_HV_2_K2_E5,
sys/dev/qlnx/qlnxe/ecore_dev.c
2839
ecore_wr(p_hwfn, p_ptt, CNIG_REG_NW_PORT_MODE_BB, 4);
sys/dev/qlnx/qlnxe/ecore_dev.c
2844
ecore_wr(p_hwfn, p_ptt, MISC_REG_PORT_MODE,
sys/dev/qlnx/qlnxe/ecore_dev.c
2847
ecore_wr(p_hwfn, p_ptt, MISC_REG_BLOCK_256B_EN,
sys/dev/qlnx/qlnxe/ecore_dev.c
2854
ecore_wr(p_hwfn, p_ptt, PSWRQ2_REG_RBC_DONE, 1);
sys/dev/qlnx/qlnxe/ecore_dev.c
2857
if (ecore_rd(p_hwfn, p_ptt, PSWRQ2_REG_CFG_DONE) == 1)
sys/dev/qlnx/qlnxe/ecore_dev.c
2904
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
2908
val = ecore_rd(p_hwfn, p_ptt, PSWRQ2_REG_WR_MBS0);
sys/dev/qlnx/qlnxe/ecore_dev.c
2959
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
2972
ecore_gtt_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
2976
rc = ecore_hw_init_chip(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
2998
ecore_init_cache_line_size(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
3000
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_ENGINE, ECORE_PATH_ID(p_hwfn),
sys/dev/qlnx/qlnxe/ecore_dev.c
3008
ecore_wr(p_hwfn, p_ptt, PSWRQ2_REG_L2P_VALIDATE_VFID, 0);
sys/dev/qlnx/qlnxe/ecore_dev.c
3009
ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_USE_CLIENTID_IN_TAG, 1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3017
ecore_fid_pretend(p_hwfn, p_ptt, pf_id);
sys/dev/qlnx/qlnxe/ecore_dev.c
3018
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
3019
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
3022
ecore_fid_pretend(p_hwfn, p_ptt, p_hwfn->rel_pf_id);
sys/dev/qlnx/qlnxe/ecore_dev.c
3034
ecore_fid_pretend(p_hwfn, p_ptt, (u16)concrete_fid);
sys/dev/qlnx/qlnxe/ecore_dev.c
3035
ecore_wr(p_hwfn, p_ptt, CCFC_REG_STRONG_ENABLE_VF, 0x1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3036
ecore_wr(p_hwfn, p_ptt, CCFC_REG_WEAK_ENABLE_VF, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
3037
ecore_wr(p_hwfn, p_ptt, TCFC_REG_STRONG_ENABLE_VF, 0x1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3038
ecore_wr(p_hwfn, p_ptt, TCFC_REG_WEAK_ENABLE_VF, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
3041
ecore_fid_pretend(p_hwfn, p_ptt, p_hwfn->rel_pf_id);
sys/dev/qlnx/qlnxe/ecore_dev.c
3053
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3061
ecore_rd(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_CMD_BB) |
sys/dev/qlnx/qlnxe/ecore_dev.c
3067
ecore_wr(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_CMD_BB,
sys/dev/qlnx/qlnxe/ecore_dev.c
3068
(ecore_rd(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_CMD_BB) &
sys/dev/qlnx/qlnxe/ecore_dev.c
3071
ecore_wr(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_ADDR_BB,
sys/dev/qlnx/qlnxe/ecore_dev.c
3073
ecore_wr(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_WRDATA_BB, data & 0xffffffff);
sys/dev/qlnx/qlnxe/ecore_dev.c
3074
ecore_wr(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_WRDATA_BB,
sys/dev/qlnx/qlnxe/ecore_dev.c
3091
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
3097
ecore_wr_nw_port(p_hwfn, p_ptt, XLPORT_MODE_REG,
sys/dev/qlnx/qlnxe/ecore_dev.c
3099
ecore_wr_nw_port(p_hwfn, p_ptt, XLPORT_MAC_CONTROL, 0, 1, port);
sys/dev/qlnx/qlnxe/ecore_dev.c
3100
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_CTRL,
sys/dev/qlnx/qlnxe/ecore_dev.c
3102
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_MODE,
sys/dev/qlnx/qlnxe/ecore_dev.c
3104
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_RX_MAX_SIZE,
sys/dev/qlnx/qlnxe/ecore_dev.c
3106
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_TX_CTRL,
sys/dev/qlnx/qlnxe/ecore_dev.c
3109
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_PAUSE_CTRL,
sys/dev/qlnx/qlnxe/ecore_dev.c
3111
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_PFC_CTRL,
sys/dev/qlnx/qlnxe/ecore_dev.c
3113
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_CTRL, 0x3 | (loopback << 2),
sys/dev/qlnx/qlnxe/ecore_dev.c
3115
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_CTRL, 0x1003 | (loopback << 2),
sys/dev/qlnx/qlnxe/ecore_dev.c
3117
ecore_wr_nw_port(p_hwfn, p_ptt, XLPORT_FLOW_CONTROL_CONFIG,
sys/dev/qlnx/qlnxe/ecore_dev.c
3119
ecore_wr_nw_port(p_hwfn, p_ptt, XLPORT_ENABLE_REG,
sys/dev/qlnx/qlnxe/ecore_dev.c
3124
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
3131
ecore_wr(p_hwfn, p_ptt, CNIG_REG_NIG_PORT0_CONF_K2_E5 + (port << 2),
sys/dev/qlnx/qlnxe/ecore_dev.c
3137
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_XIF_MODE_K2_E5,
sys/dev/qlnx/qlnxe/ecore_dev.c
3140
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_FRM_LENGTH_K2_E5,
sys/dev/qlnx/qlnxe/ecore_dev.c
3143
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_TX_IPG_LENGTH_K2_E5,
sys/dev/qlnx/qlnxe/ecore_dev.c
3146
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_RX_FIFO_SECTIONS_K2_E5,
sys/dev/qlnx/qlnxe/ecore_dev.c
3149
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_TX_FIFO_SECTIONS_K2_E5,
sys/dev/qlnx/qlnxe/ecore_dev.c
3155
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_COMMAND_CONFIG_K2_E5,
sys/dev/qlnx/qlnxe/ecore_dev.c
3160
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
3163
ecore_emul_link_init_ah_e5(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
3165
ecore_emul_link_init_bb(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
3171
struct ecore_ptt *p_ptt, u8 port)
sys/dev/qlnx/qlnxe/ecore_dev.c
3178
ecore_wr(p_hwfn, p_ptt, MISC_REG_RESET_PL_PDA_VAUX + 2*sizeof(u32),
sys/dev/qlnx/qlnxe/ecore_dev.c
3181
ecore_wr(p_hwfn, p_ptt, MISC_REG_RESET_PL_PDA_VAUX + sizeof(u32),
sys/dev/qlnx/qlnxe/ecore_dev.c
3184
ecore_wr(p_hwfn, p_ptt, MISC_REG_XMAC_CORE_PORT_MODE_BB, 1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3187
ecore_wr(p_hwfn, p_ptt, MISC_REG_XMAC_PHY_PORT_MODE_BB, 3);
sys/dev/qlnx/qlnxe/ecore_dev.c
3190
ecore_wr(p_hwfn, p_ptt, MISC_REG_RESET_PL_PDA_VAUX + 2 * sizeof(u32),
sys/dev/qlnx/qlnxe/ecore_dev.c
3193
ecore_wr(p_hwfn, p_ptt, MISC_REG_RESET_PL_PDA_VAUX + sizeof(u32),
sys/dev/qlnx/qlnxe/ecore_dev.c
3198
ecore_wr(p_hwfn, p_ptt, XMAC_REG_MODE_BB + port_offset, 0x20);
sys/dev/qlnx/qlnxe/ecore_dev.c
3201
ecore_wr(p_hwfn, p_ptt, XMAC_REG_RX_MAX_SIZE_BB + port_offset, 0x2710);
sys/dev/qlnx/qlnxe/ecore_dev.c
3204
ecore_wr(p_hwfn, p_ptt, XMAC_REG_TX_CTRL_LO_BB + port_offset, 0xC800);
sys/dev/qlnx/qlnxe/ecore_dev.c
3207
ecore_wr(p_hwfn, p_ptt, XMAC_REG_CTRL_BB + port_offset,
sys/dev/qlnx/qlnxe/ecore_dev.c
3209
xmac_rxctrl = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3212
ecore_wr(p_hwfn, p_ptt, XMAC_REG_RX_CTRL_BB + port_offset, xmac_rxctrl);
sys/dev/qlnx/qlnxe/ecore_dev.c
3218
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3261
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_DPI_BIT_SHIFT, dpi_bit_shift);
sys/dev/qlnx/qlnxe/ecore_dev.c
3277
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
3288
db_bar_size = ecore_hw_bar_size(p_hwfn, p_ptt, BAR_ID_1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3351
rc = ecore_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus);
sys/dev/qlnx/qlnxe/ecore_dev.c
3363
rc = ecore_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus);
sys/dev/qlnx/qlnxe/ecore_dev.c
3370
ecore_rdma_dpm_bar(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
3414
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_ICID_BIT_SHIFT_NORM, pf_dems_shift);
sys/dev/qlnx/qlnxe/ecore_dev.c
3415
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_MIN_ADDR_REG1, min_addr_reg1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3421
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3430
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_PORT, p_hwfn->port_id,
sys/dev/qlnx/qlnxe/ecore_dev.c
3435
ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_MASTER_WRITE_PAD_ENABLE, 0);
sys/dev/qlnx/qlnxe/ecore_dev.c
3445
ecore_link_init_bb(p_hwfn, p_ptt, p_hwfn->port_id);
sys/dev/qlnx/qlnxe/ecore_dev.c
3453
val = ecore_rd(p_hwfn, p_ptt, MISCS_REG_RESET_PL_HV);
sys/dev/qlnx/qlnxe/ecore_dev.c
3455
ecore_wr(p_hwfn, p_ptt, MISCS_REG_RESET_PL_HV, val);
sys/dev/qlnx/qlnxe/ecore_dev.c
3456
ecore_wr(p_hwfn, p_ptt, MISC_REG_CLK_100G_MODE, 1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3457
ecore_wr(p_hwfn, p_ptt, MISCS_REG_CLK_100G_MODE, 1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3458
ecore_wr(p_hwfn, p_ptt, MISC_REG_OPTE_MODE, 1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3459
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3461
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3463
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3468
ecore_emul_link_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
3478
ecore_hw_init_pf(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3497
ecore_cxt_hw_init_pf(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
3532
rc = ecore_dmae_sanity(p_hwfn, p_ptt, "pf_phase");
sys/dev/qlnx/qlnxe/ecore_dev.c
3537
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_PF, rel_pf_id, hw_mode);
sys/dev/qlnx/qlnxe/ecore_dev.c
3542
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_QM_PF, rel_pf_id, hw_mode);
sys/dev/qlnx/qlnxe/ecore_dev.c
3547
ecore_int_igu_init_pure_rt(p_hwfn, p_ptt, true, true);
sys/dev/qlnx/qlnxe/ecore_dev.c
3579
rc = ecore_hw_init_pf_doorbell_bar(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
3585
rc = ecore_llh_hw_init_pf(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3593
rc = ecore_int_igu_enable(p_hwfn, p_ptt, p_params->int_mode);
sys/dev/qlnx/qlnxe/ecore_dev.c
3598
rc = ecore_sp_pf_start(p_hwfn, p_ptt, p_params->p_tunn,
sys/dev/qlnx/qlnxe/ecore_dev.c
3604
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_TAG1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3610
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TAG1,
sys/dev/qlnx/qlnxe/ecore_dev.c
3612
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3618
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP);
sys/dev/qlnx/qlnxe/ecore_dev.c
3621
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP);
sys/dev/qlnx/qlnxe/ecore_dev.c
3624
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE);
sys/dev/qlnx/qlnxe/ecore_dev.c
3627
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE);
sys/dev/qlnx/qlnxe/ecore_dev.c
3630
prs_reg = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3635
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_TAG1);
sys/dev/qlnx/qlnxe/ecore_dev.c
3643
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3649
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3654
val = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
3756
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
3758
ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_WAS_ERROR_PF_31_0_CLR,
sys/dev/qlnx/qlnxe/ecore_dev.c
4028
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
4033
ecore_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_CONN, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4034
ecore_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4038
if ((!ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4040
(!ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4055
(u8)ecore_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_CONN),
sys/dev/qlnx/qlnxe/ecore_dev.c
4056
(u8)ecore_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK));
sys/dev/qlnx/qlnxe/ecore_dev.c
4065
struct ecore_ptt *p_ptt = p_hwfn->p_main_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
4067
ecore_hw_timers_stop(p_dev, p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4072
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4075
u32 val = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dev.c
4090
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
4096
p_ptt = p_hwfn->p_main_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
4117
rc = ecore_mcp_unload_req(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4144
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4148
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4149
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4150
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4151
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4152
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_OPENFLOW, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4157
ecore_hw_timers_stop(p_dev, p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4162
ecore_int_igu_disable_int(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4163
ecore_wr(p_hwfn, p_ptt, IGU_REG_LEADING_EDGE_LATCH, 0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4164
ecore_wr(p_hwfn, p_ptt, IGU_REG_TRAILING_EDGE_LATCH, 0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4165
ecore_int_igu_init_pure_rt(p_hwfn, p_ptt, false, true);
sys/dev/qlnx/qlnxe/ecore_dev.c
4166
rc = ecore_int_igu_reset_cam_default(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4177
ecore_verify_reg_val(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4179
ecore_verify_reg_val(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4185
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_DB_ENABLE, 0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4186
ecore_wr(p_hwfn, p_ptt, QM_REG_PF_EN, 0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4201
rc = ecore_mcp_unload_done(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4205
rc = ecore_mcp_unload_done(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4218
p_ptt = ECORE_LEADING_HWFN(p_dev)->p_main_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
4244
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
4250
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
4251
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
4256
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4259
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4260
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4261
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4262
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4263
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_OPENFLOW, 0x0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4270
ecore_int_igu_init_pure_rt(p_hwfn, p_ptt, false, false);
sys/dev/qlnx/qlnxe/ecore_dev.c
4273
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4281
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
4286
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
4287
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
4296
ecore_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 0x1);
sys/dev/qlnx/qlnxe/ecore_dev.c
4299
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4301
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4311
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
4315
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
4316
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
4381
rc = ecore_all_ppfids_wr(p_hwfn, p_ptt, reg_len, pattern_size);
sys/dev/qlnx/qlnxe/ecore_dev.c
4388
rc = ecore_all_ppfids_wr(p_hwfn, p_ptt, reg_crc, crc);
sys/dev/qlnx/qlnxe/ecore_dev.c
4395
ecore_mcp_wol_wr(p_hwfn, p_ptt, reg_len, pattern_size);
sys/dev/qlnx/qlnxe/ecore_dev.c
4396
ecore_mcp_wol_wr(p_hwfn, p_ptt, reg_crc, crc);
sys/dev/qlnx/qlnxe/ecore_dev.c
4404
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4410
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
4422
ecore_wr(p_hwfn, p_ptt, wake_buffer_clear_offset, 1);
sys/dev/qlnx/qlnxe/ecore_dev.c
4423
ecore_wr(p_hwfn, p_ptt, wake_buffer_clear_offset, 0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4425
ecore_mcp_wol_wr(p_hwfn, p_ptt, wake_buffer_clear_offset, 1);
sys/dev/qlnx/qlnxe/ecore_dev.c
4426
ecore_mcp_wol_wr(p_hwfn, p_ptt, wake_buffer_clear_offset, 0);
sys/dev/qlnx/qlnxe/ecore_dev.c
4431
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4441
wake_info->wk_info = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4444
wake_info->wk_details = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4447
wake_info->wk_pkt_len = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4470
buf[i] = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4476
ecore_wol_buffer_clear(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4654
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4661
rc = ecore_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id,
sys/dev/qlnx/qlnxe/ecore_dev.c
4680
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
4709
rc = __ecore_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id,
sys/dev/qlnx/qlnxe/ecore_dev.c
4912
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
4918
rc = ecore_mcp_get_ppfid_bitmap(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4935
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
4976
rc = ecore_mcp_resc_lock(p_hwfn, p_ptt, &resc_lock_params);
sys/dev/qlnx/qlnxe/ecore_dev.c
4987
rc = ecore_hw_set_soft_resc_size(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
4995
rc = ecore_mcp_resc_unlock(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
5008
rc = ecore_mcp_resc_unlock(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
5017
rc = ecore_hw_get_ppfid_bitmap(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5061
if (ecore_int_igu_reset_cam(p_hwfn, p_ptt))
sys/dev/qlnx/qlnxe/ecore_dev.c
5078
ecore_mcp_resc_unlock(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
5085
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
5096
nvm_cfg_addr = ecore_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0);
sys/dev/qlnx/qlnxe/ecore_dev.c
5107
nvm_cfg1_offset = ecore_rd(p_hwfn, p_ptt, nvm_cfg_addr + 4);
sys/dev/qlnx/qlnxe/ecore_dev.c
5113
core_cfg = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dev.c
5160
dcbx_mode = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
5185
link_temp = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
5192
link_temp = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
5240
link_temp = ecore_rd(p_hwfn, p_ptt, port_cfg_addr +
sys/dev/qlnx/qlnxe/ecore_dev.c
5281
generic_cont0 = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dev.c
5349
device_capabilities = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dev.c
5366
rc = ecore_mcp_fill_shmem_func_info(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5376
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
5392
reg_function_hide = ecore_rd(p_hwfn, p_ptt, MISCS_REG_FUNCTION_HIDE);
sys/dev/qlnx/qlnxe/ecore_dev.c
5444
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
5458
port_mode = ecore_rd(p_hwfn, p_ptt, CNIG_REG_NW_PORT_MODE_BB);
sys/dev/qlnx/qlnxe/ecore_dev.c
5474
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
5484
port = ecore_rd(p_hwfn, p_ptt, MISCS_REG_ECO_RESERVED);
sys/dev/qlnx/qlnxe/ecore_dev.c
5503
port = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
5518
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
5524
ecore_hw_info_port_num_bb(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5526
ecore_hw_info_port_num_ah_e5(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5542
global_offsize = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dev.c
5545
p_dev->num_ports = (u8)ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dev.c
5550
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
5560
eee_status = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
sys/dev/qlnx/qlnxe/ecore_dev.c
5571
ecore_get_hw_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
5591
ecore_hw_info_port_num(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5593
ecore_mcp_get_capabilities(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5598
rc = ecore_hw_get_nvm_info(p_hwfn, p_ptt, p_params);
sys/dev/qlnx/qlnxe/ecore_dev.c
5605
rc = ecore_int_igu_read_cam(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5632
ecore_mcp_cmd_port_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5634
ecore_mcp_get_eee_caps(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5636
ecore_mcp_read_ufp_config(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5671
ecore_get_num_funcs(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5682
rc = ecore_hw_get_resc(p_hwfn, p_ptt, drv_resc_alloc);
sys/dev/qlnx/qlnxe/ecore_dev.c
5703
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
5733
tmp = ecore_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_NUM);
sys/dev/qlnx/qlnxe/ecore_dev.c
5735
tmp = ecore_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_REV);
sys/dev/qlnx/qlnxe/ecore_dev.c
5739
tmp = ecore_rd(p_hwfn, p_ptt, MISCS_REG_CMT_ENABLED_FOR_PAIR);
sys/dev/qlnx/qlnxe/ecore_dev.c
5758
tmp = ecore_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_TEST_REG);
sys/dev/qlnx/qlnxe/ecore_dev.c
5760
tmp = ecore_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_METAL);
sys/dev/qlnx/qlnxe/ecore_dev.c
5778
ecore_wr(p_hwfn, p_ptt, MISCS_REG_PLL_MAIN_CTRL_4, 0x1);
sys/dev/qlnx/qlnxe/ecore_dev.c
5781
tmp = ecore_rd(p_hwfn, p_ptt, MISCS_REG_ECO_RESERVED);
sys/dev/qlnx/qlnxe/ecore_dev.c
5822
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
5826
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
5829
ecore_load_mcp_offsets(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
5830
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
6429
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
6432
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6435
ecore_wr(p_hwfn, p_ptt, PRS_REG_MSG_INFO, 0);
sys/dev/qlnx/qlnxe/ecore_dev.c
6445
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6462
ecore_memcpy_to(p_hwfn, p_ptt, hw_addr, p_eth_qzone, eth_qzone_size);
sys/dev/qlnx/qlnxe/ecore_dev.c
6473
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
6486
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
6487
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
6491
rc = ecore_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid);
sys/dev/qlnx/qlnxe/ecore_dev.c
6498
rc = ecore_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid);
sys/dev/qlnx/qlnxe/ecore_dev.c
6504
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
6510
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6532
rc = ecore_int_set_timer_res(p_hwfn, p_ptt, timer_res,
sys/dev/qlnx/qlnxe/ecore_dev.c
6540
rc = ecore_set_coalesce(p_hwfn, p_ptt, address, ð_qzone,
sys/dev/qlnx/qlnxe/ecore_dev.c
6550
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6572
rc = ecore_int_set_timer_res(p_hwfn, p_ptt, timer_res,
sys/dev/qlnx/qlnxe/ecore_dev.c
6580
rc = ecore_set_coalesce(p_hwfn, p_ptt, address, ð_qzone,
sys/dev/qlnx/qlnxe/ecore_dev.c
6591
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6604
ecore_init_vport_wfq(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6620
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
6629
ecore_init_vport_wfq(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6719
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6736
ecore_configure_wfq_for_all_vports(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6746
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6772
ecore_configure_wfq_for_all_vports(p_hwfn, p_ptt, min_pf_rate);
sys/dev/qlnx/qlnxe/ecore_dev.c
6774
ecore_disable_wfq_for_all_vports(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
6796
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
6798
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
6799
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
6802
rc = __ecore_configure_vport_wfq(p_hwfn, p_ptt, vp_id, rate);
sys/dev/qlnx/qlnxe/ecore_dev.c
6805
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
6809
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
6817
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6832
__ecore_configure_vp_wfq_on_link_change(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6838
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6859
rc = ecore_init_pf_rl(p_hwfn, p_ptt, p_hwfn->rel_pf_id,
sys/dev/qlnx/qlnxe/ecore_dev.c
6883
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
6887
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
6888
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
6891
rc = __ecore_configure_pf_max_bandwidth(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6894
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
6904
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6918
rc = ecore_init_pf_wfq(p_hwfn, p_ptt, p_hwfn->rel_pf_id, min_bw);
sys/dev/qlnx/qlnxe/ecore_dev.c
6941
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_dev.c
6945
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
6946
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
6949
rc = __ecore_configure_pf_min_bandwidth(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6952
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
6960
p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
6964
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
6970
void ecore_clean_wfq_db(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
6977
ecore_disable_wfq_for_all_vports(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
722
__ecore_llh_set_engine_affin(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_dev.c
729
rc = ecore_mcp_get_engine_config(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
776
ecore_llh_set_engine_affin(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
825
return __ecore_llh_set_engine_affin(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
829
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev.c
844
ecore_wr(p_hwfn, p_ptt, addr, p_hwfn->rel_pf_id);
sys/dev/qlnx/qlnxe/ecore_dev.c
857
rc = ecore_llh_set_engine_affin(p_hwfn, p_ptt, avoid_eng_affin);
sys/dev/qlnx/qlnxe/ecore_dev.c
885
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
890
if (p_ptt == OSAL_NULL)
sys/dev/qlnx/qlnxe/ecore_dev.c
918
val = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dev.c
920
ecore_wr(p_hwfn, p_ptt, addr, val);
sys/dev/qlnx/qlnxe/ecore_dev.c
926
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
935
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
940
if (p_ptt == OSAL_NULL)
sys/dev/qlnx/qlnxe/ecore_dev.c
955
ecore_wr(p_hwfn, p_ptt, NIG_REG_LLH_ENG_CLS_ROCE_QP_SEL,
sys/dev/qlnx/qlnxe/ecore_dev.c
971
val = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_dev.c
973
ecore_wr(p_hwfn, p_ptt, addr, val);
sys/dev/qlnx/qlnxe/ecore_dev.c
976
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev.c
991
struct ecore_ptt *p_ptt, u8 abs_ppfid, u8 filter_idx,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
312
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
324
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev_api.h
349
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev_api.h
501
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
521
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
542
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
757
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_dev_api.h
770
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
827
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
134
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1008
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1019
rc = ecore_dmae_execute_command(p_hwfn, p_ptt, source_addr,
sys/dev/qlnx/qlnxe/ecore_hw.c
1031
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1042
rc = ecore_dmae_execute_command(p_hwfn, p_ptt, grc_addr_in_dw,
sys/dev/qlnx/qlnxe/ecore_hw.c
1053
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1063
rc = ecore_dmae_execute_command(p_hwfn, p_ptt, source_addr,
sys/dev/qlnx/qlnxe/ecore_hw.c
1090
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1125
rc = ecore_dmae_host2host(p_hwfn, p_ptt, p_phys, p_phys + size,
sys/dev/qlnx/qlnxe/ecore_hw.c
115
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_hw.c
1158
void ecore_ppfid_wr(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1163
ecore_fid_pretend(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1165
ecore_wr(p_hwfn, p_ptt, hw_addr, val);
sys/dev/qlnx/qlnxe/ecore_hw.c
1166
ecore_fid_pretend(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1171
u32 ecore_ppfid_rd(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1177
ecore_fid_pretend(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
1179
val = ecore_rd(p_hwfn, p_ptt, hw_addr);
sys/dev/qlnx/qlnxe/ecore_hw.c
1180
ecore_fid_pretend(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
119
p_ptt = &p_hwfn->p_ptt_pool->ptts[i];
sys/dev/qlnx/qlnxe/ecore_hw.c
120
p_ptt->pxp.offset = ECORE_BAR_INVALID_OFFSET;
sys/dev/qlnx/qlnxe/ecore_hw.c
135
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_hw.c
143
p_ptt = OSAL_LIST_FIRST_ENTRY(&p_hwfn->p_ptt_pool->free_list,
sys/dev/qlnx/qlnxe/ecore_hw.c
145
OSAL_LIST_REMOVE_ENTRY(&p_ptt->list_entry,
sys/dev/qlnx/qlnxe/ecore_hw.c
151
"allocated ptt %d\n", p_ptt->idx);
sys/dev/qlnx/qlnxe/ecore_hw.c
153
return p_ptt;
sys/dev/qlnx/qlnxe/ecore_hw.c
165
struct ecore_ptt *p_ptt) {
sys/dev/qlnx/qlnxe/ecore_hw.c
170
OSAL_LIST_PUSH_HEAD(&p_ptt->list_entry, &p_hwfn->p_ptt_pool->free_list);
sys/dev/qlnx/qlnxe/ecore_hw.c
174
static u32 ecore_ptt_get_hw_addr(struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_hw.c
177
return OSAL_LE32_TO_CPU(p_ptt->pxp.offset) << 2;
sys/dev/qlnx/qlnxe/ecore_hw.c
180
static u32 ecore_ptt_config_addr(struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_hw.c
183
p_ptt->idx * sizeof(struct pxp_ptt_entry);
sys/dev/qlnx/qlnxe/ecore_hw.c
186
u32 ecore_ptt_get_bar_addr(struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_hw.c
189
p_ptt->idx * PXP_EXTERNAL_BAR_PF_WINDOW_SINGLE_SIZE;
sys/dev/qlnx/qlnxe/ecore_hw.c
193
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
198
prev_hw_addr = ecore_ptt_get_hw_addr(p_ptt);
sys/dev/qlnx/qlnxe/ecore_hw.c
206
p_ptt->idx, new_hw_addr);
sys/dev/qlnx/qlnxe/ecore_hw.c
209
p_ptt->pxp.offset = OSAL_CPU_TO_LE32(new_hw_addr >> 2);
sys/dev/qlnx/qlnxe/ecore_hw.c
212
ecore_ptt_config_addr(p_ptt) +
sys/dev/qlnx/qlnxe/ecore_hw.c
214
OSAL_LE32_TO_CPU(p_ptt->pxp.offset));
sys/dev/qlnx/qlnxe/ecore_hw.c
218
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
221
u32 win_hw_addr = ecore_ptt_get_hw_addr(p_ptt);
sys/dev/qlnx/qlnxe/ecore_hw.c
226
if (p_ptt->hwfn_id != p_hwfn->my_id)
sys/dev/qlnx/qlnxe/ecore_hw.c
229
p_ptt->idx, p_ptt->hwfn_id, p_hwfn->my_id);
sys/dev/qlnx/qlnxe/ecore_hw.c
234
ecore_ptt_set_win(p_hwfn, p_ptt, hw_addr);
sys/dev/qlnx/qlnxe/ecore_hw.c
238
return ecore_ptt_get_bar_addr(p_ptt) + offset;
sys/dev/qlnx/qlnxe/ecore_hw.c
254
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_hw.c
263
bar_addr = ecore_set_ptt(p_hwfn, p_ptt, GRC_REG_TRACE_FIFO_VALID_DATA);
sys/dev/qlnx/qlnxe/ecore_hw.c
275
void ecore_wr(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 hw_addr,
sys/dev/qlnx/qlnxe/ecore_hw.c
281
prev_fifo_err = !ecore_is_reg_fifo_empty(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_hw.c
283
bar_addr = ecore_set_ptt(p_hwfn, p_ptt, hw_addr);
sys/dev/qlnx/qlnxe/ecore_hw.c
294
OSAL_WARN(!prev_fifo_err && !ecore_is_reg_fifo_empty(p_hwfn, p_ptt),
sys/dev/qlnx/qlnxe/ecore_hw.c
299
u32 ecore_rd(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 hw_addr)
sys/dev/qlnx/qlnxe/ecore_hw.c
304
prev_fifo_err = !ecore_is_reg_fifo_empty(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_hw.c
306
bar_addr = ecore_set_ptt(p_hwfn, p_ptt, hw_addr);
sys/dev/qlnx/qlnxe/ecore_hw.c
318
OSAL_WARN(!prev_fifo_err && !ecore_is_reg_fifo_empty(p_hwfn, p_ptt),
sys/dev/qlnx/qlnxe/ecore_hw.c
326
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
341
ecore_ptt_set_win(p_hwfn, p_ptt, hw_addr + done);
sys/dev/qlnx/qlnxe/ecore_hw.c
342
hw_offset = ecore_ptt_get_bar_addr(p_ptt);
sys/dev/qlnx/qlnxe/ecore_hw.c
364
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
371
ecore_memcpy_hw(p_hwfn, p_ptt, dest, hw_addr, n, false);
sys/dev/qlnx/qlnxe/ecore_hw.c
375
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
382
ecore_memcpy_hw(p_hwfn, p_ptt, src, hw_addr, n, true);
sys/dev/qlnx/qlnxe/ecore_hw.c
386
struct ecore_ptt *p_ptt, u16 fid)
sys/dev/qlnx/qlnxe/ecore_hw.c
403
p_ptt->pxp.pretend.control = OSAL_CPU_TO_LE16(control);
sys/dev/qlnx/qlnxe/ecore_hw.c
404
p_ptt->pxp.pretend.fid.concrete_fid.fid = OSAL_CPU_TO_LE16(fid);
sys/dev/qlnx/qlnxe/ecore_hw.c
407
ecore_ptt_config_addr(p_ptt) +
sys/dev/qlnx/qlnxe/ecore_hw.c
409
*(u32 *)&p_ptt->pxp.pretend);
sys/dev/qlnx/qlnxe/ecore_hw.c
413
struct ecore_ptt *p_ptt, u8 port_id)
sys/dev/qlnx/qlnxe/ecore_hw.c
420
p_ptt->pxp.pretend.control = OSAL_CPU_TO_LE16(control);
sys/dev/qlnx/qlnxe/ecore_hw.c
423
ecore_ptt_config_addr(p_ptt) +
sys/dev/qlnx/qlnxe/ecore_hw.c
425
*(u32 *)&p_ptt->pxp.pretend);
sys/dev/qlnx/qlnxe/ecore_hw.c
429
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_hw.c
437
p_ptt->pxp.pretend.control = OSAL_CPU_TO_LE16(control);
sys/dev/qlnx/qlnxe/ecore_hw.c
440
ecore_ptt_config_addr(p_ptt) +
sys/dev/qlnx/qlnxe/ecore_hw.c
442
*(u32 *)&p_ptt->pxp.pretend);
sys/dev/qlnx/qlnxe/ecore_hw.c
465
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
481
lock_status = ecore_rd(p_hwfn, p_ptt, hw_lock_cntr_reg);
sys/dev/qlnx/qlnxe/ecore_hw.c
492
ecore_wr(p_hwfn, p_ptt, hw_lock_cntr_reg + sizeof(u32), resource);
sys/dev/qlnx/qlnxe/ecore_hw.c
496
lock_status = ecore_rd(p_hwfn, p_ptt, hw_lock_cntr_reg);
sys/dev/qlnx/qlnxe/ecore_hw.c
516
ecore_wr(p_hwfn, p_ptt, hw_lock_cntr_reg, resource);
sys/dev/qlnx/qlnxe/ecore_hw.c
522
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
536
lock_status = ecore_rd(p_hwfn, p_ptt, hw_lock_cntr_reg);
sys/dev/qlnx/qlnxe/ecore_hw.c
547
ecore_wr(p_hwfn, p_ptt, hw_lock_cntr_reg, resource);
sys/dev/qlnx/qlnxe/ecore_hw.c
648
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_hw.c
694
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
700
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
825
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
879
ecore_dmae_post_command(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_hw.c
910
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.c
988
p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
121
u32 ecore_ptt_get_bar_addr(struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_hw.h
131
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
154
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
166
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
180
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
196
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
212
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
224
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
235
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_hw.h
269
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
282
void ecore_ppfid_wr(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_hw.h
294
u32 ecore_ppfid_rd(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1013
ecore_wr(p_hwfn, p_ptt, tc_weight_base_addr + tc_weight_addr_diff * tc_client_offset, byte_weight);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1016
ecore_wr(p_hwfn, p_ptt, tc_bound_base_addr + tc_bound_addr_diff * tc_client_offset, NIG_ETS_UP_BOUND(byte_weight, req->mtu));
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1021
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1029
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_CTRL, ctrl);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1034
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_INC_PERIOD, NIG_RL_PERIOD_CLK_25M);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1036
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_INC_VALUE, inc_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1037
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_MAX_VALUE, NIG_RL_MAX_VAL(inc_val, req->mtu));
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1041
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_CTRL, ctrl);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1046
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_CTRL, ctrl);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1051
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_INC_PERIOD, NIG_RL_PERIOD_CLK_25M);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1053
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_INC_VALUE, inc_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1054
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_MAX_VALUE, NIG_RL_MAX_VAL(inc_val, req->mtu));
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1058
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_CTRL, ctrl);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1065
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_CTRL_0 + reg_offset, ctrl);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1072
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_INC_PERIOD_0 + reg_offset, NIG_RL_PERIOD_CLK_25M);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1074
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_INC_VALUE_0 + reg_offset, inc_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1075
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_MAX_VALUE_0 + reg_offset, NIG_RL_MAX_VAL(inc_val, req->mtu));
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1079
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_CTRL_0 + reg_offset, ctrl);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1084
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1100
ecore_wr(p_hwfn, p_ptt, NIG_REG_PKT_PRIORITY_TO_TC, pri_tc_mask);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1104
ecore_wr(p_hwfn, p_ptt, NIG_REG_PRIORITY_FOR_TC_0 + tc * 4, tc_pri_mask[tc]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1105
ecore_wr(p_hwfn, p_ptt, NIG_REG_RX_TC0_PRIORITY_MASK + tc * 4, tc_pri_mask[tc]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1118
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1146
ecore_wr(p_hwfn, p_ptt, PRS_REG_ETS_ARB_CLIENT_IS_STRICT, sp_tc_map);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1149
ecore_wr(p_hwfn, p_ptt, PRS_REG_ETS_ARB_CLIENT_IS_SUBJECT2WFQ, wfq_tc_map);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1163
ecore_wr(p_hwfn, p_ptt, PRS_REG_ETS_ARB_CREDIT_WEIGHT_0 + tc * tc_weight_addr_diff, byte_weight);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1166
ecore_wr(p_hwfn, p_ptt, PRS_REG_ETS_ARB_CREDIT_UPPER_BOUND_0 + tc * tc_bound_addr_diff, PRS_ETS_UP_BOUND(byte_weight, req->mtu));
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1183
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1218
ecore_wr(p_hwfn, p_ptt, BRB_REG_TOTAL_MAC_SIZE + port * 4, port_blocks);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1221
ecore_wr(p_hwfn, p_ptt, BRB_REG_SHARED_HR_AREA + port * 4, port_shared_blocks);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1234
ecore_wr(p_hwfn, p_ptt, BRB_REG_TC_GUARANTIED_0 + reg_offset, tc_guaranteed_blocks);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1235
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_GUARANTIED_HYST_0 + reg_offset, BRB_HYST_BLOCKS);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1240
ecore_wr(p_hwfn, p_ptt, BRB_REG_LB_TC_FULL_XOFF_THRESHOLD_0 + reg_offset, full_xoff_th);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1241
ecore_wr(p_hwfn, p_ptt, BRB_REG_LB_TC_FULL_XON_THRESHOLD_0 + reg_offset, full_xon_th);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1242
ecore_wr(p_hwfn, p_ptt, BRB_REG_LB_TC_PAUSE_XOFF_THRESHOLD_0 + reg_offset, pause_xoff_th);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1243
ecore_wr(p_hwfn, p_ptt, BRB_REG_LB_TC_PAUSE_XON_THRESHOLD_0 + reg_offset, pause_xon_th);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1248
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_FULL_XOFF_THRESHOLD_0 + reg_offset, full_xoff_th);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1249
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_FULL_XON_THRESHOLD_0 + reg_offset, full_xon_th);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1250
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_PAUSE_XOFF_THRESHOLD_0 + reg_offset, pause_xoff_th);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1251
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_PAUSE_XON_THRESHOLD_0 + reg_offset, pause_xon_th);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1273
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1277
ecore_wr(p_hwfn, p_ptt, PRS_REG_VXLAN_PORT, dest_port);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1280
ecore_wr(p_hwfn, p_ptt, NIG_REG_VXLAN_CTRL, dest_port);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1283
ecore_wr(p_hwfn, p_ptt, PBF_REG_VXLAN_PORT, dest_port);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1287
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1293
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1295
ecore_wr(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN, reg_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1298
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1303
ecore_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, (u32)PRS_ETH_TUNN_OUTPUT_FORMAT);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1308
reg_val = ecore_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1310
ecore_wr(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE, reg_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1313
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN, vxlan_enable ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1317
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1324
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1327
ecore_wr(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN, reg_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1330
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1335
ecore_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, (u32)PRS_ETH_TUNN_OUTPUT_FORMAT);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1340
reg_val = ecore_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1343
ecore_wr(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE, reg_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1346
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_GRE_ETH_EN, eth_gre_enable ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1347
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_GRE_IP_EN, ip_gre_enable ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1351
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1356
ecore_wr(p_hwfn, p_ptt, PRS_REG_NGE_PORT, dest_port);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1359
ecore_wr(p_hwfn, p_ptt, NIG_REG_NGE_PORT, dest_port);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1362
ecore_wr(p_hwfn, p_ptt, PBF_REG_NGE_PORT, dest_port);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1366
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1373
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1376
ecore_wr(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN, reg_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1379
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1384
ecore_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, (u32)PRS_ETH_TUNN_OUTPUT_FORMAT);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1389
ecore_wr(p_hwfn, p_ptt, NIG_REG_NGE_ETH_ENABLE, eth_geneve_enable ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1390
ecore_wr(p_hwfn, p_ptt, NIG_REG_NGE_IP_ENABLE, ip_geneve_enable ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1397
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_NGE_ETH_EN_K2_E5, eth_geneve_enable ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1398
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_NGE_IP_EN_K2_E5, ip_geneve_enable ? 1 : 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1405
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1411
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_MSG_INFO);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1422
ecore_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, (u32)PRS_ETH_VXLAN_NO_L2_OUTPUT_FORMAT);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1431
ecore_wr(p_hwfn, p_ptt, PRS_REG_MSG_INFO, reg_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1445
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1449
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_GFT, 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1454
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_CAM + CAM_LINE_SIZE*pf_id, 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1457
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE*pf_id, 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1458
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE*pf_id + REG_SIZE, 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1462
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1467
rfs_cm_hdr_event_id = ecore_rd(p_hwfn, p_ptt, PRS_REG_CM_HDR_GFT);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1470
ecore_wr(p_hwfn, p_ptt, PRS_REG_CM_HDR_GFT, rfs_cm_hdr_event_id);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1474
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1494
ecore_wr(p_hwfn, p_ptt, PRS_REG_CM_HDR_GFT, reg_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1497
ecore_wr(p_hwfn, p_ptt, PRS_REG_LOAD_L2_FILTER, 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1500
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TENANT_ID, 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1527
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_CAM + CAM_LINE_SIZE*pf_id, cam_line);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1528
cam_line = ecore_rd(p_hwfn, p_ptt, PRS_REG_GFT_CAM + CAM_LINE_SIZE*pf_id);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1568
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE*pf_id, ram_line_lo);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1569
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE*pf_id + REG_SIZE, ram_line_hi);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1572
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE*PRS_GFT_CAM_LINES_NO_MATCH, 0xffffffff);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1573
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE*PRS_GFT_CAM_LINES_NO_MATCH + REG_SIZE, 0x3ff);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1576
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_GFT, 1);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1582
void ecore_config_vf_zone_size_mode(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u16 mode, bool runtime_init)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1599
ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_MSDM_VF_SHIFT_B, msdm_vf_size_log);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1600
ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_MSDM_OFFSET_MASK_B, msdm_vf_offset_mask);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1762
void ecore_enable_context_validation(struct ecore_hwfn * p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1768
ecore_wr(p_hwfn, p_ptt, CDU_REG_CCFC_CTX_VALID0, ctx_validation);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1772
ecore_wr(p_hwfn, p_ptt, CDU_REG_CCFC_CTX_VALID1, ctx_validation);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1776
ecore_wr(p_hwfn, p_ptt, CDU_REG_TCFC_CTX_VALID0, ctx_validation);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1785
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1818
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_ADDR, rss_addr);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1821
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_MASK, reg_val[0]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1822
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_MASK + 4, reg_val[1]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1823
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_MASK + 8, reg_val[2]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1824
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_MASK + 12, reg_val[3]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1827
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_DATA, reg_val[0]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1828
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_DATA + 4, reg_val[1]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1829
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_DATA + 8, reg_val[2]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1830
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_DATA + 12, reg_val[3]);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
383
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
473
ecore_wr(p_hwfn, p_ptt, PQ_INFO_RAM_GRC_ADDRESS(pq_id), pq_info);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
656
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
662
reg_val = ecore_rd(p_hwfn, p_ptt, QM_REG_SDMCMDREADY);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
675
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
680
if (!ecore_poll_on_qm_cmd_ready(p_hwfn, p_ptt))
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
683
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDADDR, cmd_addr);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
684
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATALSB, cmd_data_lsb);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
685
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATAMSB, cmd_data_msb);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
686
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 1);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
687
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 0);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
689
return ecore_poll_on_qm_cmd_ready(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
749
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
784
ecore_tx_pq_map_rt_init(p_hwfn, p_ptt, port_id, pf_id, max_phys_tcs_per_port, is_pf_loading, num_pf_cids, num_vf_cids,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
808
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
820
ecore_wr(p_hwfn, p_ptt, QM_REG_WFQPFWEIGHT + pf_id * 4, inc_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
826
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
838
ecore_wr(p_hwfn, p_ptt, QM_REG_RLPFCRD + pf_id * 4, (u32)QM_RL_CRD_REG_SIGN_BIT);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
839
ecore_wr(p_hwfn, p_ptt, QM_REG_RLPFINCVAL + pf_id * 4, inc_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
845
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
862
ecore_wr(p_hwfn, p_ptt, QM_REG_WFQVPWEIGHT + vport_pq_id * 4, inc_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
870
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
888
ecore_wr(p_hwfn, p_ptt, QM_REG_RLGLBLCRD + vport_id * 4, (u32)QM_RL_CRD_REG_SIGN_BIT);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
889
ecore_wr(p_hwfn, p_ptt, QM_REG_RLGLBLINCVAL + vport_id * 4, inc_val);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
895
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
919
if (!ecore_send_qm_cmd(p_hwfn, p_ptt, QM_STOP_CMD_ADDR, cmd_arr[0], cmd_arr[1]))
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
958
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
996
ecore_wr(p_hwfn, p_ptt, is_lb ? NIG_REG_LB_ARB_CLIENT_IS_STRICT : NIG_REG_TX_ARB_CLIENT_IS_STRICT, (sp_tc_map << tc_client_offset));
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
999
ecore_wr(p_hwfn, p_ptt, is_lb ? NIG_REG_LB_ARB_CLIENT_IS_SUBJECT2WFQ : NIG_REG_TX_ARB_CLIENT_IS_SUBJECT2WFQ, (wfq_tc_map << tc_client_offset));
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
115
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
145
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
160
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
177
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
194
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
213
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
234
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
248
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
263
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
278
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
294
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
321
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
332
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
344
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
357
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
369
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
380
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
392
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
402
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
418
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
441
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
479
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
545
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
107
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
129
ecore_wr(p_hwfn, p_ptt, addr + (i << 2),
sys/dev/qlnx/qlnxe/ecore_init_ops.c
139
rc = ecore_dmae_host2grc(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
185
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
203
ecore_wr(p_hwfn, p_ptt, addr + (i << 2), data[i]);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
205
rc = ecore_dmae_host2grc(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
216
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
226
return ecore_dmae_host2grc(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
232
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
238
ecore_wr(p_hwfn, p_ptt, addr, fill);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
242
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
277
rc = ecore_init_array_dmae(p_hwfn, p_ptt, addr, 0,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
302
rc = ecore_init_array_dmae(p_hwfn, p_ptt, addr,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
314
rc = ecore_init_array_dmae(p_hwfn, p_ptt, addr,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
326
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
346
ecore_wr(p_hwfn, p_ptt, addr, data);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
351
rc = ecore_init_fill_dmae(p_hwfn, p_ptt, addr, data);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
353
ecore_init_fill(p_hwfn, p_ptt, addr, 0, data);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
356
rc = ecore_init_cmd_array(p_hwfn, p_ptt, p_cmd,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
360
rc = ecore_init_rt(p_hwfn, p_ptt, addr,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
387
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
404
val = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
430
val = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
442
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
449
rc = ecore_dmae_sanity(p_hwfn, p_ptt, "engine_phase");
sys/dev/qlnx/qlnxe/ecore_init_ops.c
513
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
542
rc = ecore_init_cmd_wr(p_hwfn, p_ptt, &cmd->write,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
547
ecore_init_cmd_rd(p_hwfn, p_ptt, &cmd->read);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
568
rc = ecore_init_cmd_cb(p_hwfn, p_ptt, &cmd->callback);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
583
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_init_ops.c
601
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
610
val = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_init_ops.h
129
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_init_ops.h
54
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1349
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
1359
ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTN_MSG_ADDR_L,
sys/dev/qlnx/qlnxe/ecore_int.c
1361
ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTN_MSG_ADDR_H,
sys/dev/qlnx/qlnxe/ecore_int.c
1366
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1401
ecore_int_sb_attn_setup(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_int.c
1405
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
1430
ecore_int_sb_attn_init(p_hwfn, p_ptt, p_virt, p_phys);
sys/dev/qlnx/qlnxe/ecore_int.c
1487
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1509
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1520
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1525
_ecore_int_cau_conf_pi(p_hwfn, p_ptt, p_sb->igu_sb_id,
sys/dev/qlnx/qlnxe/ecore_int.c
1530
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1543
ecore_dmae_host2grc(p_hwfn, p_ptt, (u64)(osal_uintptr_t)&phys_addr,
sys/dev/qlnx/qlnxe/ecore_int.c
1547
ecore_dmae_host2grc(p_hwfn, p_ptt, (u64)(osal_uintptr_t)&sb_entry,
sys/dev/qlnx/qlnxe/ecore_int.c
1580
_ecore_int_cau_conf_pi(p_hwfn, p_ptt, igu_sb_id, RX_PI,
sys/dev/qlnx/qlnxe/ecore_int.c
1592
_ecore_int_cau_conf_pi(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1601
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1609
ecore_int_cau_conf_sb(p_hwfn, p_ptt, sb_info->sb_phys,
sys/dev/qlnx/qlnxe/ecore_int.c
1683
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1736
ecore_int_sb_setup(p_hwfn, p_ptt, sb_info);
sys/dev/qlnx/qlnxe/ecore_int.c
1796
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
1821
ecore_int_sb_init(p_hwfn, p_ptt, &p_sb->sb_info,
sys/dev/qlnx/qlnxe/ecore_int.c
1875
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1906
ecore_wr(p_hwfn, p_ptt, IGU_REG_PF_CONFIGURATION, igu_pf_conf);
sys/dev/qlnx/qlnxe/ecore_int.c
1910
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
1920
ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTENTION_ENABLE, 0);
sys/dev/qlnx/qlnxe/ecore_int.c
1921
ecore_wr(p_hwfn, p_ptt, IGU_REG_LEADING_EDGE_LATCH, 0xfff);
sys/dev/qlnx/qlnxe/ecore_int.c
1922
ecore_wr(p_hwfn, p_ptt, IGU_REG_TRAILING_EDGE_LATCH, 0xfff);
sys/dev/qlnx/qlnxe/ecore_int.c
1923
ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTENTION_ENABLE, 0xfff);
sys/dev/qlnx/qlnxe/ecore_int.c
1929
ecore_wr(p_hwfn, p_ptt, MISC_REG_AEU_MASK_ATTN_IGU, 0xff);
sys/dev/qlnx/qlnxe/ecore_int.c
1933
ecore_int_igu_enable(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1938
ecore_int_igu_enable_attn(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_int.c
1950
ecore_int_igu_enable_int(p_hwfn, p_ptt, int_mode);
sys/dev/qlnx/qlnxe/ecore_int.c
1958
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
1965
ecore_wr(p_hwfn, p_ptt, IGU_REG_PF_CONFIGURATION, 0);
sys/dev/qlnx/qlnxe/ecore_int.c
1970
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
1997
ecore_wr(p_hwfn, p_ptt, IGU_REG_COMMAND_REG_32LSB_DATA, data);
sys/dev/qlnx/qlnxe/ecore_int.c
2001
ecore_wr(p_hwfn, p_ptt, IGU_REG_COMMAND_REG_CTRL, cmd_ctrl);
sys/dev/qlnx/qlnxe/ecore_int.c
2014
val = ecore_rd(p_hwfn, p_ptt, sb_bit_addr);
sys/dev/qlnx/qlnxe/ecore_int.c
2027
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2041
ecore_int_igu_cleanup_sb(p_hwfn, p_ptt, igu_sb_id, 1, opaque);
sys/dev/qlnx/qlnxe/ecore_int.c
2044
ecore_int_igu_cleanup_sb(p_hwfn, p_ptt, igu_sb_id, 0, opaque);
sys/dev/qlnx/qlnxe/ecore_int.c
2050
val = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2065
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2070
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2080
val = ecore_rd(p_hwfn, p_ptt, IGU_REG_BLOCK_CONFIGURATION);
sys/dev/qlnx/qlnxe/ecore_int.c
2083
ecore_wr(p_hwfn, p_ptt, IGU_REG_BLOCK_CONFIGURATION, val);
sys/dev/qlnx/qlnxe/ecore_int.c
2096
ecore_int_igu_init_pure_rt_single(p_hwfn, p_ptt, igu_sb_id,
sys/dev/qlnx/qlnxe/ecore_int.c
2102
ecore_int_igu_init_pure_rt_single(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2109
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
2227
rval = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2232
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2249
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
2265
return ecore_int_igu_reset_cam(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_int.c
2269
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2272
u32 val = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2288
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
2317
ecore_int_igu_read_cam_block(p_hwfn, p_ptt, igu_sb_id);
sys/dev/qlnx/qlnxe/ecore_int.c
2380
ecore_int_igu_relocate_sb(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2496
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2500
ecore_int_cau_conf_sb(p_hwfn, p_ptt, 0,
sys/dev/qlnx/qlnxe/ecore_int.c
2566
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
2576
rc = ecore_int_sp_sb_alloc(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_int.c
2582
rc = ecore_int_sb_attn_alloc(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_int.c
2596
void ecore_int_setup(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
2601
ecore_int_sb_setup(p_hwfn, p_ptt, &p_hwfn->p_sp_sb->sb_info);
sys/dev/qlnx/qlnxe/ecore_int.c
2602
ecore_int_sb_attn_setup(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_int.c
2632
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2643
rc = ecore_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY +
sys/dev/qlnx/qlnxe/ecore_int.c
2657
rc = ecore_dmae_host2grc(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2670
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2683
p_info->igu_prod = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2685
p_info->igu_cons = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
2689
p_info->pi[i] = (u16)ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
313
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
317
tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS2);
sys/dev/qlnx/qlnxe/ecore_int.c
321
addr_lo = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
323
addr_hi = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
325
details = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
340
tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_RD_DETAILS2);
sys/dev/qlnx/qlnxe/ecore_int.c
344
addr_lo = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
346
addr_hi = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
348
details = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
363
tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS_ICPL);
sys/dev/qlnx/qlnxe/ecore_int.c
367
tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_MASTER_ZLR_ERR_DETAILS);
sys/dev/qlnx/qlnxe/ecore_int.c
371
addr_lo = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
373
addr_hi = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
381
tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_VF_ILT_ERR_DETAILS2);
sys/dev/qlnx/qlnxe/ecore_int.c
385
addr_lo = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
387
addr_hi = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
389
details = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
398
ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_LATCHED_ERRORS_CLR, (1 << 2));
sys/dev/qlnx/qlnxe/ecore_int.c
436
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_int.c
452
usage = ecore_rd(p_hwfn, p_ptt, DORQ_REG_PF_USAGE_CNT);
sys/dev/qlnx/qlnxe/ecore_int.c
465
ecore_wr(p_hwfn, p_ptt, DORQ_REG_DPM_FORCE_ABORT, 0x1);
sys/dev/qlnx/qlnxe/ecore_int.c
468
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_OVFL_STICKY, 0x0);
sys/dev/qlnx/qlnxe/ecore_int.c
480
struct ecore_ptt *p_ptt = p_hwfn->p_dpc_ptt;
sys/dev/qlnx/qlnxe/ecore_int.c
483
int_sts = ecore_rd(p_hwfn, p_ptt, DORQ_REG_INT_STS);
sys/dev/qlnx/qlnxe/ecore_int.c
499
first_drop_reason = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
502
details = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
504
address = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
506
overflow = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
508
all_drops_reason = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
526
rc = ecore_db_rec_attn(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_int.c
532
ecore_wr(p_hwfn, p_ptt, DORQ_REG_DB_DROP_DETAILS_REL, 0);
sys/dev/qlnx/qlnxe/ecore_int.c
537
ecore_wr(p_hwfn, p_ptt, DORQ_REG_INT_STS_WR,
sys/dev/qlnx/qlnxe/ecore_int.h
119
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.h
137
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_int.h
85
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_int.h
94
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_int_api.h
203
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int_api.h
217
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int_api.h
227
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_int_api.h
258
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int_api.h
272
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int_api.h
345
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_int_api.h
361
ecore_int_igu_relocate_sb(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
217
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
229
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
245
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
270
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
283
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
459
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
587
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
601
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
764
static OSAL_INLINE enum _ecore_status_t ecore_iov_init_hw_for_vf(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, struct ecore_iov_vf_init_params OSAL_UNUSED *p_params) {return ECORE_INVAL;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
765
static OSAL_INLINE void ecore_iov_process_mbx_req(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, int OSAL_UNUSED vfid) {}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
766
static OSAL_INLINE enum _ecore_status_t ecore_iov_release_hw_for_vf(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, u16 OSAL_UNUSED rel_vf_id) {return ECORE_SUCCESS;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
768
static OSAL_INLINE enum _ecore_status_t ecore_iov_vf_flr_cleanup(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt) {return ECORE_INVAL;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
769
static OSAL_INLINE enum _ecore_status_t ecore_iov_single_vf_flr_cleanup(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, u16 OSAL_UNUSED rel_vf_id) {return ECORE_INVAL;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
792
static OSAL_INLINE enum _ecore_status_t ecore_iov_post_vf_bulletin(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid, struct ecore_ptt OSAL_UNUSED *p_ptt) {return ECORE_INVAL;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
804
static OSAL_INLINE enum _ecore_status_t ecore_iov_configure_tx_rate(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, int OSAL_UNUSED vfid, int OSAL_UNUSED val) { return ECORE_INVAL; }
sys/dev/qlnx/qlnxe/ecore_iov_api.h
805
static OSAL_INLINE enum _ecore_status_t ecore_iov_get_vf_stats(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, int OSAL_UNUSED vfid, struct ecore_eth_stats OSAL_UNUSED *p_stats) { return ECORE_INVAL; }
sys/dev/qlnx/qlnxe/ecore_iwarp.c
121
ecore_iwarp_init_hw(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_iwarp.c
124
ecore_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 1);
sys/dev/qlnx/qlnxe/ecore_iwarp.h
231
ecore_iwarp_init_hw(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_iwarp.h
295
struct ecore_ptt OSAL_UNUSED *p_ptt)
sys/dev/qlnx/qlnxe/ecore_l2.c
1771
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
1782
ecore_memcpy_from(p_hwfn, p_ptt, &pstats,
sys/dev/qlnx/qlnxe/ecore_l2.c
1802
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
1821
ecore_memcpy_from(p_hwfn, p_ptt, &tstats,
sys/dev/qlnx/qlnxe/ecore_l2.c
1848
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
1859
ecore_memcpy_from(p_hwfn, p_ptt, &ustats,
sys/dev/qlnx/qlnxe/ecore_l2.c
1894
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
1905
ecore_memcpy_from(p_hwfn, p_ptt, &mstats,
sys/dev/qlnx/qlnxe/ecore_l2.c
1925
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
1934
ecore_memcpy_from(p_hwfn, p_ptt, &port_stats,
sys/dev/qlnx/qlnxe/ecore_l2.c
2010
p_common->link_change_count = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
2017
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
2021
__ecore_get_vport_mstats(p_hwfn, p_ptt, stats, statistics_bin);
sys/dev/qlnx/qlnxe/ecore_l2.c
2022
__ecore_get_vport_ustats(p_hwfn, p_ptt, stats, statistics_bin);
sys/dev/qlnx/qlnxe/ecore_l2.c
2023
__ecore_get_vport_tstats(p_hwfn, p_ptt, stats);
sys/dev/qlnx/qlnxe/ecore_l2.c
2024
__ecore_get_vport_pstats(p_hwfn, p_ptt, stats, statistics_bin);
sys/dev/qlnx/qlnxe/ecore_l2.c
2033
__ecore_get_vport_port_stats(p_hwfn, p_ptt, stats);
sys/dev/qlnx/qlnxe/ecore_l2.c
2046
struct ecore_ptt *p_ptt = IS_PF(p_dev) ?
sys/dev/qlnx/qlnxe/ecore_l2.c
2058
if (IS_PF(p_dev) && !p_ptt) {
sys/dev/qlnx/qlnxe/ecore_l2.c
2064
__ecore_get_vport_stats(p_hwfn, p_ptt, stats, fw_vport,
sys/dev/qlnx/qlnxe/ecore_l2.c
2068
if (IS_PF(p_dev) && p_ptt)
sys/dev/qlnx/qlnxe/ecore_l2.c
2069
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_l2.c
2103
struct ecore_ptt *p_ptt = IS_PF(p_dev) ?
sys/dev/qlnx/qlnxe/ecore_l2.c
2107
if (IS_PF(p_dev) && !p_ptt) {
sys/dev/qlnx/qlnxe/ecore_l2.c
2114
ecore_memcpy_to(p_hwfn, p_ptt, addr, &mstats, len);
sys/dev/qlnx/qlnxe/ecore_l2.c
2118
ecore_memcpy_to(p_hwfn, p_ptt, addr, &ustats, len);
sys/dev/qlnx/qlnxe/ecore_l2.c
2122
ecore_memcpy_to(p_hwfn, p_ptt, addr, &pstats, len);
sys/dev/qlnx/qlnxe/ecore_l2.c
2125
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_l2.c
2151
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
2158
ecore_gft_config(p_hwfn, p_ptt, p_hwfn->rel_pf_id,
sys/dev/qlnx/qlnxe/ecore_l2.c
2173
ecore_gft_disable(p_hwfn, p_ptt, p_hwfn->rel_pf_id);
sys/dev/qlnx/qlnxe/ecore_l2.c
2246
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
2255
rc = ecore_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY +
sys/dev/qlnx/qlnxe/ecore_l2.c
2268
coalesce = ecore_rd(p_hwfn, p_ptt, address);
sys/dev/qlnx/qlnxe/ecore_l2.c
2282
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.c
2291
rc = ecore_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY +
sys/dev/qlnx/qlnxe/ecore_l2.c
2304
coalesce = ecore_rd(p_hwfn, p_ptt, address);
sys/dev/qlnx/qlnxe/ecore_l2.c
2322
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_l2.c
2335
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_l2.c
2336
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_l2.c
2340
rc = ecore_get_rxq_coalesce(p_hwfn, p_ptt, p_cid, p_coal);
sys/dev/qlnx/qlnxe/ecore_l2.c
2344
rc = ecore_get_txq_coalesce(p_hwfn, p_ptt, p_cid, p_coal);
sys/dev/qlnx/qlnxe/ecore_l2.c
2350
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_l2.h
167
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.h
172
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.h
177
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2.h
182
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2_api.h
484
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_l2_api.h
505
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_ll2.c
1410
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_ll2.c
1416
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_ll2.c
1417
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_ll2.c
1509
ecore_wr(p_hwfn, p_ptt, PRS_REG_USE_LIGHT_L2, 1);
sys/dev/qlnx/qlnxe/ecore_ll2.c
1525
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_ll2.c
1896
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_ll2.c
1898
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_ll2.c
1899
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_ll2.c
1938
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_ll2.c
2066
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_ll2.c
2072
ecore_memcpy_from(p_hwfn, p_ptt, &port_stats,
sys/dev/qlnx/qlnxe/ecore_ll2.c
2088
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_ll2.c
2099
ecore_memcpy_from(p_hwfn, p_ptt, &tstats,
sys/dev/qlnx/qlnxe/ecore_ll2.c
2110
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_ll2.c
2121
ecore_memcpy_from(p_hwfn, p_ptt, &ustats,
sys/dev/qlnx/qlnxe/ecore_ll2.c
2134
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_ll2.c
2145
ecore_memcpy_from(p_hwfn, p_ptt, &pstats,
sys/dev/qlnx/qlnxe/ecore_ll2.c
2163
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_ll2.c
2172
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_ll2.c
2173
if (!p_ptt) {
sys/dev/qlnx/qlnxe/ecore_ll2.c
2179
_ecore_ll2_get_port_stats(p_hwfn, p_ptt, p_stats);
sys/dev/qlnx/qlnxe/ecore_ll2.c
2181
_ecore_ll2_get_tstats(p_hwfn, p_ptt, p_ll2_conn, p_stats);
sys/dev/qlnx/qlnxe/ecore_ll2.c
2183
_ecore_ll2_get_ustats(p_hwfn, p_ptt, p_ll2_conn, p_stats);
sys/dev/qlnx/qlnxe/ecore_ll2.c
2186
_ecore_ll2_get_pstats(p_hwfn, p_ptt, p_ll2_conn, p_stats);
sys/dev/qlnx/qlnxe/ecore_ll2.c
2188
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1054
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1082
rc = __ecore_mcp_load_req(p_hwfn, p_ptt, &in_params, &out_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
109
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1096
rc = __ecore_mcp_load_req(p_hwfn, p_ptt, &in_params,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1119
rc = __ecore_mcp_load_req(p_hwfn, p_ptt, &in_params,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1133
ecore_mcp_cancel_load_req(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1171
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1176
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_LOAD_DONE, 0, &resp,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1199
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1225
return ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1229
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
124
tmp = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1255
return ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1259
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1263
u32 mfw_path_offsize = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1274
disabled_vfs[i] = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1289
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1294
u32 mfw_func_offsize = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1310
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1319
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1328
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1332
transceiver_state = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1355
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1362
eee_status = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
sys/dev/qlnx/qlnxe/ecore_mcp.c
1378
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1384
u32 mfw_path_offsize = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1393
((u32 *)p_data)[i] = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1434
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1447
status = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1468
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1523
__ecore_configure_pf_max_bandwidth(p_hwfn, p_ptt, p_link, max_bw);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1526
__ecore_configure_pf_min_bandwidth(p_hwfn, p_ptt, p_link, min_bw);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1527
ecore_configure_vp_wfq_on_link_change(p_hwfn->p_dev, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1584
ecore_mcp_read_eee_config(p_hwfn, p_ptt, p_link);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1586
OSAL_LINK_UPDATE(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1592
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1651
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1665
ecore_mcp_handle_link_change(p_hwfn, p_ptt, !b_up);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1671
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1681
path_offsize = ecore_rd(p_hwfn, p_ptt, path_offsize_addr);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1684
proc_kill_cnt = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1693
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1701
ecore_int_igu_disable_int(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1719
proc_kill_cnt = ecore_get_process_kill_counter(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1726
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1765
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1771
ecore_mcp_update_bw(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1779
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1793
ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BW_UPDATE_ACK, 0, &resp,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1798
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1803
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1811
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1816
ecore_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 1);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1817
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_EXT_VID_BB_K2,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1826
ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_S_TAG_UPDATE_ACK, 0,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1852
ecore_mcp_mdump_cmd(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1865
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1886
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1893
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1897
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1907
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1911
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1918
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1922
ecore_mcp_mdump_get_config(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1933
rc = ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1948
ecore_mcp_mdump_get_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1959
global_offsize = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1961
p_mdump_info->reason = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
1967
rc = ecore_mcp_mdump_get_config(p_hwfn, p_ptt, &mdump_config);
sys/dev/qlnx/qlnxe/ecore_mcp.c
1991
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1998
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2002
ecore_mcp_mdump_get_retain(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2014
rc = ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2034
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2041
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2045
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2056
rc = ecore_mcp_mdump_get_retain(p_hwfn, p_ptt, &mdump_retain);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2075
ecore_mcp_mdump_ack(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2080
ecore_mcp_read_ufp_config(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2089
port_cfg = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
sys/dev/qlnx/qlnxe/ecore_mcp.c
2107
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2130
ecore_mcp_handle_ufp_event(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2132
ecore_mcp_read_ufp_config(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2138
ecore_qm_reconf(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2141
ecore_dcbx_mib_update_event(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2155
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2165
ecore_mcp_read_mb(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2180
ecore_mcp_handle_link_change(p_hwfn, p_ptt, false);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2183
ecore_mcp_handle_vf_flr(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2186
ecore_dcbx_mib_update_event(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
219
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2190
ecore_dcbx_mib_update_event(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2194
ecore_dcbx_mib_update_event(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2201
ecore_lldp_mib_update_event(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2204
ecore_mcp_handle_ufp_event(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2207
ecore_mcp_handle_transceiver_change(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2210
ecore_mcp_handle_process_kill(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2216
ecore_mcp_send_protocol_stats(p_hwfn, p_ptt, i);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2219
ecore_mcp_update_bw(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2222
ecore_mcp_update_stag(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2228
ecore_mcp_handle_critical_error(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2244
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2263
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2290
global_offsize = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2293
*p_mfw_ver = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2298
*p_running_bundle_id = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2308
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2324
nvm_cfg_addr = ecore_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2331
nvm_cfg1_offset = ecore_rd(p_hwfn, p_ptt, nvm_cfg_addr + 4);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2336
*p_mbi_ver = ecore_rd(p_hwfn, p_ptt, mbi_ver_addr) &
sys/dev/qlnx/qlnxe/ecore_mcp.c
2345
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
235
p_info->public_base = ecore_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2357
if (!p_ptt) {
sys/dev/qlnx/qlnxe/ecore_mcp.c
2361
*p_media_type = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2371
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2382
if (!p_ptt) {
sys/dev/qlnx/qlnxe/ecore_mcp.c
2386
*p_tranceiver_type = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2408
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2413
ecore_mcp_get_transceiver_data(p_hwfn, p_ptt, &transceiver_data);
sys/dev/qlnx/qlnxe/ecore_mcp.c
242
mfw_mb_offsize = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
246
p_info->mfw_mb_length = (u16)ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2529
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2542
if (!p_ptt) {
sys/dev/qlnx/qlnxe/ecore_mcp.c
2546
nvm_cfg_addr = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2548
nvm_cfg1_offset = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2552
*p_board_config = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2582
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2588
rc = ecore_mcp_cmd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
259
p_info->mfw_mb_length = (u16)ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2628
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2635
if (ecore_mcp_get_shmem_proto_mfw(p_hwfn, p_ptt, p_proto) !=
sys/dev/qlnx/qlnxe/ecore_mcp.c
2656
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2661
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2668
if (ecore_mcp_get_shmem_proto(p_hwfn, &shmem_info, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2709
rc = ecore_mcp_cmd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
271
drv_mb_offsize = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2762
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2767
rc = ecore_mcp_cmd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2787
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2797
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2802
if (ecore_mcp_get_shmem_proto(p_hwfn, &shmem_info, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2816
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
282
p_info->drv_mb_seq = DRV_MB_RD(p_hwfn, p_ptt, drv_mb_header) &
sys/dev/qlnx/qlnxe/ecore_mcp.c
2831
flash_size = ecore_rd(p_hwfn, p_ptt, MCP_REG_NVM_CFG4);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2842
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2853
ecore_wr(p_hwfn, p_ptt, MISC_REG_AEU_GENERAL_ATTN_35, 0x1);
sys/dev/qlnx/qlnxe/ecore_mcp.c
286
p_info->drv_pulse_seq = DRV_MB_RD(p_hwfn, p_ptt, drv_pulse_mb) &
sys/dev/qlnx/qlnxe/ecore_mcp.c
2863
struct ecore_ptt *p_ptt = p_hwfn->p_main_ptt;
sys/dev/qlnx/qlnxe/ecore_mcp.c
2870
rc = ecore_pglueb_set_pfid_enable(p_hwfn, p_ptt, false);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2881
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
289
p_info->mcp_hist = ecore_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2897
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CFG_VF_MSIX, param,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2915
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2921
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CFG_PF_VFS_MSIX,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2937
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2941
return ecore_mcp_config_vf_msix_bb(p_hwfn, p_ptt, vf_id, num);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2943
return ecore_mcp_config_vf_msix_ah(p_hwfn, p_ptt, num);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2947
ecore_mcp_send_drv_version(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
295
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2976
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2988
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
2993
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_MCP_HALT, 0, &resp,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3002
cpu_state = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3010
ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE), cpu_state);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3022
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3026
ecore_wr(p_hwfn, p_ptt, MCP_REG_CPU_STATE, 0xffffffff);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3028
cpu_mode = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3030
ecore_wr(p_hwfn, p_ptt, MCP_REG_CPU_MODE, cpu_mode);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3033
cpu_state = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3049
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3072
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_CURR_CFG,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3082
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3105
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_DRIVER_STATE,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3114
ecore_mcp_ov_get_fc_npiv(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3124
addr = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
sys/dev/qlnx/qlnxe/ecore_mcp.c
3131
size = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
sys/dev/qlnx/qlnxe/ecore_mcp.c
3166
ecore_mcp_ov_update_mtu(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3174
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_MTU,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3183
ecore_mcp_ov_update_mac(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3206
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3217
ecore_mcp_ov_update_wol(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3245
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_WOL,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3257
ecore_mcp_ov_update_eswitch(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
326
if (ecore_load_mcp_offsets(p_hwfn, p_ptt) != ECORE_SUCCESS) {
sys/dev/qlnx/qlnxe/ecore_mcp.c
3279
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_ESWITCH_MODE,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3288
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3309
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_LED_MODE,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3318
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3324
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_MASK_PARITIES,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3343
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3346
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3347
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3357
rc = ecore_mcp_nvm_rd_cmd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3388
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3397
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3401
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3402
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3405
rc = ecore_mcp_nvm_rd_cmd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3414
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3422
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3424
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3425
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3429
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3438
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3442
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3443
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3445
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_NVM_DEL_FILE, addr,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3448
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3457
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3461
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3462
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3464
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_NVM_PUT_FILE_BEGIN, addr,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3467
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3481
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3483
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3484
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
349
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
351
u32 generic_por_0 = ecore_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3514
rc = ecore_mcp_nvm_wr_cmd(p_hwfn, p_ptt, nvm_cmd, nvm_offset,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3546
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3555
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3559
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3560
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3565
rc = ecore_mcp_nvm_wr_cmd(p_hwfn, p_ptt, nvm_cmd, addr,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3570
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3579
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3583
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3584
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3587
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_SECURE_MODE, addr,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3590
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3596
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
361
ecore_load_mcp_offsets(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3618
rc = ecore_mcp_nvm_rd_cmd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
362
ecore_mcp_cmd_port_init(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3642
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3661
rc = ecore_mcp_nvm_wr_cmd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
367
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3684
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3692
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GPIO_READ,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3705
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3714
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GPIO_WRITE,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3727
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3736
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GPIO_INFO,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3753
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3761
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3775
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3783
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3797
struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 *num_images)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3805
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3818
struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3828
rc = ecore_mcp_nvm_rd_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3842
ecore_mcp_get_nvm_image_att(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
386
org_mcp_reset_seq = ecore_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3869
rc = ecore_mcp_bist_nvm_test_get_num_images(p_hwfn, p_ptt, &num_images);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3874
rc = ecore_mcp_bist_nvm_test_get_image_att(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
389
ecore_mcp_reread_offsets(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
3896
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3905
rc = ecore_mcp_get_nvm_image_att(p_hwfn, p_ptt, image_id, &image_att);
sys/dev/qlnx/qlnxe/ecore_mcp.c
391
DRV_MB_WR(p_hwfn, p_ptt, drv_mb_header, (DRV_MSG_CODE_MCP_RESET | seq));
sys/dev/qlnx/qlnxe/ecore_mcp.c
3933
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3947
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
397
} while ((org_mcp_reset_seq == ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3972
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3978
rc = ecore_mcp_nvm_rd_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GET_MBA_VERSION,
sys/dev/qlnx/qlnxe/ecore_mcp.c
3995
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4004
return ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
402
ecore_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0)) {
sys/dev/qlnx/qlnxe/ecore_mcp.c
4086
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4135
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4161
ecore_mcp_set_resc_max_val(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4174
rc = ecore_mcp_resc_allocation_msg(p_hwfn, p_ptt, &in_params,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4185
ecore_mcp_get_resc_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4197
rc = ecore_mcp_resc_allocation_msg(p_hwfn, p_ptt, &in_params,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4213
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
4217
return ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_INITIATE_PF_FLR, 0,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4222
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4233
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4256
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4276
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4291
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4297
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_RESOURCE_CMD, param,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4321
__ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
435
ecore_mcp_update_pending_cmd(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
4352
rc = ecore_mcp_resource_cmd(p_hwfn, p_ptt, param, &mcp_resp,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4383
ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4403
rc = __ecore_mcp_resc_lock(p_hwfn, p_ptt, p_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4415
ecore_mcp_resc_unlock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
442
mcp_resp = DRV_MB_RD(p_hwfn, p_ptt, fw_mb_header);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4432
rc = ecore_mcp_resource_cmd(p_hwfn, p_ptt, param, &mcp_resp,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4497
ecore_mcp_update_fcoe_cvid(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4503
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OEM_UPDATE_FCOE_CVID,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4514
struct ecore_ptt *p_ptt, u8 *wwn)
sys/dev/qlnx/qlnxe/ecore_mcp.c
4528
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4535
void ecore_mcp_wol_wr(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4547
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4574
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
4579
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4590
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
4598
return ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_FEATURE_SUPPORT,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4603
ecore_mcp_drv_attribute(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
463
p_mb_params->mcp_param = DRV_MB_RD(p_hwfn, p_ptt, fw_mb_param);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4646
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4676
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
4685
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
471
ecore_memcpy_from(p_hwfn, p_ptt, p_mb_params->p_data_dst,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4717
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
4725
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4746
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4764
rc = ecore_mcp_resc_lock(p_hwfn, p_ptt, &resc_lock_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4774
ecore_mcp_ind_table_unlock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
4782
rc = ecore_mcp_resc_unlock(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
482
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
496
ecore_memcpy_to(p_hwfn, p_ptt, union_data_addr, &union_data,
sys/dev/qlnx/qlnxe/ecore_mcp.c
500
DRV_MB_WR(p_hwfn, p_ptt, drv_mb_param, p_mb_params->param);
sys/dev/qlnx/qlnxe/ecore_mcp.c
503
DRV_MB_WR(p_hwfn, p_ptt, drv_mb_header, (p_mb_params->cmd | seq_num));
sys/dev/qlnx/qlnxe/ecore_mcp.c
520
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
524
cpu_mode = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE);
sys/dev/qlnx/qlnxe/ecore_mcp.c
525
cpu_state = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE);
sys/dev/qlnx/qlnxe/ecore_mcp.c
526
cpu_pc_0 = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_PROGRAM_COUNTER);
sys/dev/qlnx/qlnxe/ecore_mcp.c
528
cpu_pc_1 = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_PROGRAM_COUNTER);
sys/dev/qlnx/qlnxe/ecore_mcp.c
530
cpu_pc_2 = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_PROGRAM_COUNTER);
sys/dev/qlnx/qlnxe/ecore_mcp.c
538
_ecore_mcp_cmd_and_union(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
559
rc = ecore_mcp_update_pending_cmd(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
582
ecore_mcp_reread_offsets(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
590
__ecore_mcp_cmd_and_union(p_hwfn, p_ptt, p_mb_params, seq_num);
sys/dev/qlnx/qlnxe/ecore_mcp.c
610
rc = ecore_mcp_update_pending_cmd(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
624
ecore_mcp_print_cpu_info(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.c
655
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
696
return _ecore_mcp_cmd_and_union(p_hwfn, p_ptt, p_mb_params, max_retries,
sys/dev/qlnx/qlnxe/ecore_mcp.c
701
struct ecore_ptt *p_ptt, u32 cmd, u32 param,
sys/dev/qlnx/qlnxe/ecore_mcp.c
722
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
733
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
749
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
760
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
780
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
847
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
852
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CANCEL_LOAD_REQ, 0,
sys/dev/qlnx/qlnxe/ecore_mcp.c
930
__ecore_mcp_load_req(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
95
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mcp.c
982
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
sys/dev/qlnx/qlnxe/ecore_mcp.c
99
u32 mfw_mb_offsize = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_mcp.h
135
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
145
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
170
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
187
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
216
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
228
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
239
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
250
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
261
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
270
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
282
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
293
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
304
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
326
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
338
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
349
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
351
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
355
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
359
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
363
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
377
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
389
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
408
ecore_mcp_mdump_get_retain(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
423
ecore_mcp_set_resc_max_val(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
440
ecore_mcp_get_resc_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
453
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
465
ecore_mcp_ov_update_eswitch(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
528
ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
552
ecore_mcp_resc_unlock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
568
void ecore_mcp_wol_wr(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
578
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
588
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
597
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
631
ecore_mcp_drv_attribute(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
641
ecore_mcp_read_ufp_config(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
650
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
659
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp.h
671
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.h
682
ecore_mcp_ind_table_unlock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1031
ecore_mcp_get_nvm_image_att(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1047
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1068
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1093
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1115
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1133
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1148
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1162
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1178
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1191
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1202
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1215
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1229
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1246
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1260
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1273
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1295
ecore_mcp_mdump_get_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1307
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1318
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1330
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1343
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1356
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1368
ecore_mcp_update_fcoe_cvid(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1382
struct ecore_ptt *p_ptt, u8 *wwn);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
615
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
629
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
643
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
658
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
673
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
689
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
704
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
722
struct ecore_ptt *p_ptt, u32 cmd, u32 param,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
733
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
759
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
773
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
787
ecore_mcp_send_drv_version(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
799
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
810
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
834
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
848
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
863
ecore_mcp_ov_get_fc_npiv(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
876
struct ecore_ptt *p_ptt, u16 mtu);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
888
ecore_mcp_ov_update_mac(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
901
ecore_mcp_ov_update_wol(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
914
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_mng_tlv.c
1297
ecore_mfw_process_tlv_req(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_mng_tlv.c
1307
global_offsize = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_mng_tlv.c
1310
addr = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_mng_tlv.c
1311
size = ecore_rd(p_hwfn, p_ptt, global_addr +
sys/dev/qlnx/qlnxe/ecore_mng_tlv.c
1332
val = ecore_rd(p_hwfn, p_ptt, addr + offset);
sys/dev/qlnx/qlnxe/ecore_mng_tlv.c
1385
ecore_wr(p_hwfn, p_ptt, addr + offset, val);
sys/dev/qlnx/qlnxe/ecore_mng_tlv.c
1389
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GET_TLV_DONE, 0, &resp,
sys/dev/qlnx/qlnxe/ecore_rdma.c
1002
p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
1007
p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
1010
ecore_wr(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN,
sys/dev/qlnx/qlnxe/ecore_rdma.c
1023
p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
1027
p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
1036
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
1042
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
1047
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
1970
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_rdma.c
1997
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_rdma.c
1998
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_rdma.c
2001
rc = ecore_mcp_drain(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
2003
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
2007
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
2351
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_rdma.c
2357
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_rdma.c
2358
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_rdma.c
2365
rc = ecore_rdma_setup(p_hwfn, p_ptt, params);
sys/dev/qlnx/qlnxe/ecore_rdma.c
2369
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
2377
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
2390
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_rdma.c
2442
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_rdma.c
2444
if (!p_ptt) {
sys/dev/qlnx/qlnxe/ecore_rdma.c
2450
ecore_memcpy_from(p_hwfn, p_ptt, &info->rdma_sent_pstats,
sys/dev/qlnx/qlnxe/ecore_rdma.c
2453
ecore_memcpy_from(p_hwfn, p_ptt, &info->rdma_rcv_tstats,
sys/dev/qlnx/qlnxe/ecore_rdma.c
2458
ecore_memcpy_from(p_hwfn, p_ptt, &info->roce.event_stats, addr,
sys/dev/qlnx/qlnxe/ecore_rdma.c
2463
ecore_memcpy_from(p_hwfn, p_ptt, &info->roce.dcqcn_rx_stats, addr,
sys/dev/qlnx/qlnxe/ecore_rdma.c
2468
ecore_memcpy_from(p_hwfn, p_ptt, &info->roce.dcqcn_tx_stats, addr,
sys/dev/qlnx/qlnxe/ecore_rdma.c
2472
ecore_memcpy_from(p_hwfn, p_ptt, &info->iwarp.stats,
sys/dev/qlnx/qlnxe/ecore_rdma.c
2476
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
739
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_rdma.c
747
return ecore_iwarp_init_hw(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
750
p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
761
p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
763
ecore_wr(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN,
sys/dev/qlnx/qlnxe/ecore_rdma.c
769
p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
773
p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
794
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
796
struct ecore_ptt OSAL_UNUSED *p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
834
&p_ent->ramrod.roce_init_func, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
939
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_rdma.c
954
rc = ecore_rdma_init_hw(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_rdma.c
968
return ecore_rdma_start_fw(p_hwfn, p_ptt, params);
sys/dev/qlnx/qlnxe/ecore_rdma.c
977
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_rdma.c
987
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_rdma.c
988
if (!p_ptt) {
sys/dev/qlnx/qlnxe/ecore_rdma.c
998
ecore_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 0);
sys/dev/qlnx/qlnxe/ecore_roce.c
142
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_roce.c
1527
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_roce.c
1533
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_DPM_ENABLE, val);
sys/dev/qlnx/qlnxe/ecore_roce.c
1540
void ecore_roce_dpm_dcbx(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_roce.c
1551
ecore_rdma_dpm_conf(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_roce.c
1555
void ecore_rdma_dpm_bar(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_roce.c
1559
ecore_rdma_dpm_conf(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_roce.c
185
p_ptt,
sys/dev/qlnx/qlnxe/ecore_roce.h
41
ecore_roce_dpm_dcbx(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_roce.h
44
ecore_rdma_dpm_bar(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_roce.h
50
struct ecore_ptt *p_ptt);
sys/dev/qlnx/qlnxe/ecore_sp_api.h
81
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
248
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
251
ecore_set_gre_enable(p_hwfn, p_ptt, p_tun->l2_gre.b_mode_enabled,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
253
ecore_set_vxlan_enable(p_hwfn, p_ptt, p_tun->vxlan.b_mode_enabled);
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
255
ecore_set_geneve_enable(p_hwfn, p_ptt, p_tun->l2_geneve.b_mode_enabled,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
260
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
270
ecore_set_vxlan_dest_port(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
274
ecore_set_geneve_dest_port(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
277
ecore_set_hw_tunn_mode(p_hwfn, p_ptt, p_tunn);
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
323
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
449
ecore_set_hw_tunn_mode_port(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
584
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
625
ecore_set_hw_tunn_mode_port(p_hwfn, p_ptt, &p_hwfn->p_dev->tunnel);
sys/dev/qlnx/qlnxe/ecore_sp_commands.h
91
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_spq.c
177
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_spq.c
194
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_spq.c
195
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_spq.c
199
rc = ecore_mcp_drain(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_spq.c
200
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1003
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1012
ecore_dmae_host2grc(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1036
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1050
val = ecore_rd(p_hwfn, p_ptt, addr);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1052
ecore_wr(p_hwfn, p_ptt, addr, val);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1100
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1185
p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1220
rc = ecore_iov_enable_vf_access(p_hwfn, p_ptt, vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1237
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1274
ecore_iov_vf_igu_set_int(p_hwfn, p_ptt, vf, 0);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1277
ecore_iov_config_perm_table(p_hwfn, p_ptt, vf, 0);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1281
ecore_iov_free_vf_igu_sbs(p_hwfn, p_ptt, vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1414
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1445
ecore_dmae_host2host(p_hwfn, p_ptt, mbx->reply_phys + sizeof(u64),
sys/dev/qlnx/qlnxe/ecore_sriov.c
1460
ecore_dmae_host2host(p_hwfn, p_ptt, mbx->reply_phys,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1536
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1548
ecore_iov_send_response(p_hwfn, p_ptt, vf_info, length, status);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1599
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1601
u32 val = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_VF_BAR1_SIZE);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1610
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1636
bar_size = ecore_iov_vf_db_bar_size(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1652
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1687
ecore_iov_vf_mbx_acquire_resc_cids(p_hwfn, p_ptt, p_vf, p_req, p_resp);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1747
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1849
p_ptt);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1867
ecore_mcp_get_mfw_ver(p_hwfn, p_ptt, &pfdev_info->mfw_ver,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1876
vfpf_status = ecore_iov_vf_mbx_acquire_resc(p_hwfn, p_ptt, vf,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1894
ecore_iov_post_vf_bulletin(p_hwfn, vf->relative_vf_id, p_ptt);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1909
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_ACQUIRE,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2124
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2147
ecore_iov_enable_vf_traffic(p_hwfn, p_ptt, vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
2158
ecore_int_cau_conf_sb(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2225
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_VPORT_START,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2230
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2262
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_VPORT_TEARDOWN,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2267
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2300
ecore_iov_send_response(p_hwfn, p_ptt, vf, length, status);
sys/dev/qlnx/qlnxe/ecore_sriov.c
2340
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2419
ecore_iov_vf_mbx_start_rxq_resp(p_hwfn, p_ptt, vf, status,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2487
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2549
rc = ecore_sp_pf_update_tunn_cfg(p_hwfn, p_ptt, &tunn,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2571
ecore_iov_send_response(p_hwfn, p_ptt, p_vf, sizeof(*p_resp), status);
sys/dev/qlnx/qlnxe/ecore_sriov.c
2575
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2608
ecore_iov_send_response(p_hwfn, p_ptt, p_vf, length, status);
sys/dev/qlnx/qlnxe/ecore_sriov.c
2612
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2683
ecore_iov_vf_mbx_start_txq_resp(p_hwfn, p_ptt, vf,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2761
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2794
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_STOP_RXQS,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2799
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2833
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_STOP_TXQS,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2838
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2905
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_UPDATE_RXQ,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3206
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3293
ecore_iov_send_response(p_hwfn, p_ptt, vf, length, status);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3436
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3522
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_UCAST_FILTER,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3527
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3534
ecore_int_igu_init_pure_rt_single(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3538
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_INT_CLEANUP,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3544
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3551
ecore_iov_vf_igu_set_int(p_hwfn, p_ptt, vf, 0);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3554
ecore_iov_config_perm_table(p_hwfn, p_ptt, vf, 0);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3556
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_CLOSE,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3561
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3584
ecore_iov_prepare_resp(p_hwfn, p_ptt, p_vf, CHANNEL_TLV_RELEASE,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3589
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3618
rc = ecore_get_rxq_coalesce(p_hwfn, p_ptt, p_cid, &coal);
sys/dev/qlnx/qlnxe/ecore_sriov.c
362
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3637
rc = ecore_get_txq_coalesce(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3655
ecore_iov_send_response(p_hwfn, p_ptt, p_vf, sizeof(*p_resp), status);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3659
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3700
rc = ecore_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3723
rc = ecore_set_txq_coalesce(p_hwfn, p_ptt, tx_coal,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3737
ecore_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_COALESCE_UPDATE,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3748
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3759
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3760
if (!p_ptt)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3786
rc = ecore_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3809
rc = ecore_set_txq_coalesce(p_hwfn, p_ptt, tx_coal,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3822
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3830
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3835
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_vf->concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3838
val = ecore_rd(p_hwfn, p_ptt, DORQ_REG_VF_USAGE_CNT);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3843
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_hwfn->hw_info.concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3857
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3866
cons[i] = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3869
prod = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3881
tmp = ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3905
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3911
rc = ecore_iov_vf_flr_poll_dorq(p_hwfn, p_vf, p_ptt);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3915
rc = ecore_iov_vf_flr_poll_pbf(p_hwfn, p_vf, p_ptt);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3924
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
393
return ecore_dmae_host2host(p_hwfn, p_ptt, p_vf->bulletin.phys,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3951
rc = ecore_iov_vf_flr_poll(p_hwfn, p_vf, p_ptt);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3955
rc = ecore_final_cleanup(p_hwfn, p_ptt, vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3975
rc = ecore_iov_enable_vf_access(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3996
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4012
ecore_iov_execute_vf_flr_cleanup(p_hwfn, p_ptt, i, ack_vfs);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4014
rc = ecore_mcp_ack_vf_flr(p_hwfn, p_ptt, ack_vfs);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4021
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4033
ecore_iov_execute_vf_flr_cleanup(p_hwfn, p_ptt, rel_vf_id, ack_vfs);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4035
rc = ecore_mcp_ack_vf_flr(p_hwfn, p_ptt, ack_vfs);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4113
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4158
ecore_iov_vf_mbx_acquire(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4161
ecore_iov_vf_mbx_start_vport(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4164
ecore_iov_vf_mbx_stop_vport(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4167
ecore_iov_vf_mbx_start_rxq(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4170
ecore_iov_vf_mbx_start_txq(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4173
ecore_iov_vf_mbx_stop_rxqs(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4176
ecore_iov_vf_mbx_stop_txqs(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4179
ecore_iov_vf_mbx_update_rxqs(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4182
ecore_iov_vf_mbx_vport_update(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4185
ecore_iov_vf_mbx_ucast_filter(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4188
ecore_iov_vf_mbx_close(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4191
ecore_iov_vf_mbx_int_cleanup(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4194
ecore_iov_vf_mbx_release(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4197
ecore_iov_vf_mbx_update_tunn_param(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4200
ecore_iov_vf_pf_set_coalesce(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4203
ecore_iov_vf_pf_get_coalesce(p_hwfn, p_ptt, p_vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4223
ecore_iov_prepare_resp(p_hwfn, p_ptt, p_vf,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4248
ecore_iov_prepare_resp(p_hwfn, p_ptt, p_vf,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4764
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4783
return ecore_init_vport_rl(p_hwfn, p_ptt, abs_vp_id, (u32)val,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4812
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4825
__ecore_get_vport_stats(p_hwfn, p_ptt, p_stats,
sys/dev/qlnx/qlnxe/ecore_sriov.c
802
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
805
ecore_wr(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
811
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
817
ecore_fid_pretend(p_hwfn, p_ptt, (u16)vf->concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
819
ecore_wr(p_hwfn, p_ptt, IGU_REG_STATISTIC_NUM_VF_MSG_SENT, 0);
sys/dev/qlnx/qlnxe/ecore_sriov.c
822
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_hwfn->hw_info.concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
826
ecore_int_igu_init_pure_rt_single(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
832
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
838
ecore_fid_pretend(p_hwfn, p_ptt, (u16)vf->concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
840
igu_vf_conf = ecore_rd(p_hwfn, p_ptt, IGU_REG_VF_CONFIGURATION);
sys/dev/qlnx/qlnxe/ecore_sriov.c
848
ecore_wr(p_hwfn, p_ptt, IGU_REG_VF_CONFIGURATION, igu_vf_conf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
851
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_hwfn->hw_info.concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
856
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
884
return ecore_mcp_config_vf_msix(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
891
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
908
ecore_iov_vf_pglue_clear_err(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
911
ecore_iov_vf_igu_reset(p_hwfn, p_ptt, vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
913
rc = ecore_iov_enable_vf_access_msix(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
918
ecore_fid_pretend(p_hwfn, p_ptt, (u16)vf->concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
923
ecore_init_run(p_hwfn, p_ptt, PHASE_VF, vf->abs_vf_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
927
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_hwfn->hw_info.concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
947
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
961
ecore_wr(p_hwfn, p_ptt, reg_addr, val);
sys/dev/qlnx/qlnxe/ecore_sriov.c
966
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/ecore_sriov.c
970
ecore_iov_vf_igu_reset(p_hwfn, p_ptt, vf);
sys/dev/qlnx/qlnxe/ecore_sriov.c
972
ecore_iov_vf_igu_set_int(p_hwfn, p_ptt, vf, 1);
sys/dev/qlnx/qlnxe/ecore_sriov.c
975
ecore_iov_config_perm_table(p_hwfn, p_ptt, vf, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
979
struct ecore_ptt *p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
107
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
118
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
120
if (!p_ptt) {
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
125
if ((rval = ecore_dbg_grc_dump(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
135
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
195
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
206
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
208
if (!p_ptt) {
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
213
if ((rval = ecore_dbg_idle_chk_dump(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
223
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
284
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
288
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
290
if (!p_ptt) {
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
299
p_ptt, &num_dwords);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
304
p_ptt, &num_dwords);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
309
p_ptt, &num_dwords);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
314
p_ptt, &num_dwords);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
319
p_ptt, &num_dwords);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
328
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
352
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
365
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
367
if (!p_ptt) {
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
375
rval = ecore_dbg_mcp_trace_dump(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
381
rval = ecore_dbg_reg_fifo_dump(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
387
rval = ecore_dbg_igu_fifo_dump(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
393
rval = ecore_dbg_protection_override_dump(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
399
rval = ecore_dbg_fw_asserts_dump(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
410
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
763
struct ecore_ptt *p_ptt, uint32_t enable)
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
770
ret = ecore_mcp_get_lldp_mac(p_hwfn, p_ptt, lldp_mac);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
810
ret = ecore_lldp_set_params(p_hwfn, p_ptt, &lldp_params);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
822
ret = ecore_lldp_set_system_tlvs(p_hwfn, p_ptt, &tlv_params);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
835
struct ecore_ptt *p_ptt)
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
839
ret = ecore_lldp_register_tlv(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
848
ret = ecore_lldp_register_tlv(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
857
ret = ecore_lldp_register_tlv(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
866
ret = ecore_lldp_register_tlv(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
875
ret = ecore_lldp_register_tlv(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
884
ret = ecore_lldp_register_tlv(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
893
ret = ecore_lldp_register_tlv(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
902
ret = ecore_lldp_register_tlv(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
911
ret = ecore_lldp_register_tlv(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
927
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
931
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
933
if (!p_ptt) {
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
939
ret = qlnx_lldp_configure(ha, p_hwfn, p_ptt, 0);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
947
ret = qlnx_register_default_lldp_tlvs(ha, p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
956
ret = qlnx_lldp_configure(ha, p_hwfn, p_ptt, 1);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
972
ret = ecore_lldp_set_system_tlvs(p_hwfn, p_ptt, &tlv_params);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
982
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_os.c
2636
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_os.c
2649
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_os.c
2651
if (!p_ptt) {
sys/dev/qlnx/qlnxe/qlnx_os.c
2657
ret = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/qlnx_os.c
2661
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_os.c
5328
struct ecore_ptt *p_ptt = NULL;
sys/dev/qlnx/qlnxe/qlnx_os.c
5339
p_ptt = ecore_ptt_acquire(hwfn);
sys/dev/qlnx/qlnxe/qlnx_os.c
5341
if (p_ptt == NULL) {
sys/dev/qlnx/qlnxe/qlnx_os.c
5346
ecore_mcp_get_media_type(hwfn, p_ptt, &if_link->media_type);
sys/dev/qlnx/qlnxe/qlnx_os.c
5347
ecore_ptt_release(hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_os.c
5650
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_os.c
5653
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_os.c
5655
if (p_ptt == NULL) {
sys/dev/qlnx/qlnxe/qlnx_os.c
5659
ecore_mcp_get_mfw_ver(p_hwfn, p_ptt, mfw_ver, NULL);
sys/dev/qlnx/qlnxe/qlnx_os.c
5661
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_os.c
5670
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_os.c
5673
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_os.c
5675
if (p_ptt == NULL) {
sys/dev/qlnx/qlnxe/qlnx_os.c
5679
ecore_mcp_get_flash_size(p_hwfn, p_ptt, flash_size);
sys/dev/qlnx/qlnxe/qlnx_os.c
5681
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_os.c
7211
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_os.c
7216
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_os.c
7218
if (!p_ptt) {
sys/dev/qlnx/qlnxe/qlnx_os.c
7223
rval = ecore_dbg_grc_get_dump_buf_size(p_hwfn, p_ptt, num_dwords);
sys/dev/qlnx/qlnxe/qlnx_os.c
7232
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_os.c
7242
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_os.c
7247
p_ptt = ecore_ptt_acquire(p_hwfn);
sys/dev/qlnx/qlnxe/qlnx_os.c
7249
if (!p_ptt) {
sys/dev/qlnx/qlnxe/qlnx_os.c
7254
rval = ecore_dbg_idle_chk_get_dump_buf_size(p_hwfn, p_ptt, num_dwords);
sys/dev/qlnx/qlnxe/qlnx_os.c
7263
ecore_ptt_release(p_hwfn, p_ptt);
sys/dev/qlnx/qlnxe/qlnx_os.c
7275
struct ecore_ptt *p_ptt;
sys/dev/qlnx/qlnxe/qlnx_os.c
7288
p_ptt = ecore_ptt_acquire(hwfn);
sys/dev/qlnx/qlnxe/qlnx_os.c
7289
if (!p_ptt)
sys/dev/qlnx/qlnxe/qlnx_os.c
7300
s_stats->xstorm_active_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7304
s_stats->xstorm_stall_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7308
s_stats->xstorm_sleeping_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7312
s_stats->xstorm_inactive_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7317
s_stats->ystorm_active_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7321
s_stats->ystorm_stall_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7325
s_stats->ystorm_sleeping_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7329
s_stats->ystorm_inactive_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7334
s_stats->pstorm_active_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7338
s_stats->pstorm_stall_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7342
s_stats->pstorm_sleeping_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7346
s_stats->pstorm_inactive_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7351
s_stats->tstorm_active_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7355
s_stats->tstorm_stall_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7359
s_stats->tstorm_sleeping_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7363
s_stats->tstorm_inactive_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7368
s_stats->mstorm_active_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7372
s_stats->mstorm_stall_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7376
s_stats->mstorm_sleeping_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7380
s_stats->mstorm_inactive_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7385
s_stats->ustorm_active_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7389
s_stats->ustorm_stall_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7393
s_stats->ustorm_sleeping_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7397
s_stats->ustorm_inactive_cycles = ecore_rd(hwfn, p_ptt, reg);
sys/dev/qlnx/qlnxe/qlnx_os.c
7399
ecore_ptt_release(hwfn, p_ptt);