usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/snippets/ecore_int_endis.h
19
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/snippets/ecore_int_endis.h
9
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/snippets/ecore_int_sb_init.h
18
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/snippets/ptt.h
23
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/snippets/ptt.h
34
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/snippets/ptt.h
47
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/snippets/ptt.h
59
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore.h
885
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore.h
890
void ecore_clean_wfq_db(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2358
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2403
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2404
if (!p_ptt) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2455
ecore_dmae_host2grc(p_hwfn, p_ptt, (u64)(osal_uintptr_t)&ilt_hw_entry,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2464
ecore_wr(p_hwfn, p_ptt, PRS_REG_ROCE_DEST_QP_MAX_PF,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2477
ecore_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2483
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2503
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2540
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2541
if (!p_ptt) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2567
ecore_dmae_host2grc(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.c
2574
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_cxt.h
156
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
1835
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
1866
if (ecore_rd(p_hwfn, p_ptt, MISCS_REG_ECO_RESERVED) & 0x20000000) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
1923
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
1941
dest[i] = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
1948
dest[i] = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2046
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2069
ecore_read_fw_info(p_hwfn, p_ptt, storm_id, &fw_info);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2097
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2113
public_data_addr = ecore_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR) | MCP_REG_SCRATCH;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2117
global_section_offsize = ecore_rd(p_hwfn, p_ptt, global_section_offsize_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2121
mfw_ver = ecore_rd(p_hwfn, p_ptt, global_section_addr + offsetof(struct public_global, mfw_ver));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2146
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2160
offset += ecore_dump_fw_ver_param(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2161
offset += ecore_dump_mfw_ver_param(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2194
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2203
reg_val[i] = ecore_rd(p_hwfn, p_ptt, s_reset_regs_defs[i].addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2215
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2218
ecore_wr(p_hwfn, p_ptt, DBG_REG_DBG_BLOCK_ON, enable ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2223
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2229
old_reset_reg_val = ecore_rd(p_hwfn, p_ptt, dbg_reset_reg_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2232
ecore_wr(p_hwfn, p_ptt, dbg_reset_reg_addr, new_reset_reg_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2233
ecore_wr(p_hwfn, p_ptt, dbg_reset_reg_addr, old_reset_reg_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2237
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2240
ecore_wr(p_hwfn, p_ptt, DBG_REG_FRAMING_MODE, (u8)mode);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2247
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2250
ecore_wr(p_hwfn, p_ptt, DBG_REG_CLIENT_ENABLE, client_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2255
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2274
ecore_wr(p_hwfn, p_ptt, storm->sem_frame_mode_addr, DBG_BUS_SEMI_FRAME_MODE_0SLOW_4FAST);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2275
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DEBUG_MODE, storm_mode->id_in_hw);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2276
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DEBUG_ACTIVE, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2282
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DBG_MODE6_SRC_DISABLE, SEM_FAST_MODE6_SRC_ENABLE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2287
ecore_wr(p_hwfn, p_ptt, storm->sem_frame_mode_addr, DBG_BUS_SEMI_FRAME_MODE_4SLOW_0FAST);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2288
ecore_wr(p_hwfn, p_ptt, storm->sem_slow_enable_addr, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2289
ecore_wr(p_hwfn, p_ptt, storm->sem_slow_mode_addr, storm_mode->id_in_hw);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2290
ecore_wr(p_hwfn, p_ptt, storm->sem_slow_mode1_conf_addr, SEM_SLOW_MODE1_DATA_ENABLE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2295
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_FILTER_CID, storm_bus->cid);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2304
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_EVENT_ID_RANGE_STRT, eid_filter->range.min);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2305
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_EVENT_ID_RANGE_END, eid_filter->range.max);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2309
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_FILTER_EVENT_ID, eid_filter->mask.val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2310
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_EVENT_ID_MASK, ~eid_filter->mask.mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2317
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_RECORD_FILTER_ENABLE, sem_filter_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2322
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2335
ecore_wr(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_DBG_MODE6_SRC_DISABLE, SEM_FAST_MODE6_SRC_DISABLE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2350
if (dev_data->block_in_reset[storm->block_id] || ecore_rd(p_hwfn, p_ptt, storm->sem_sync_dbg_empty_addr)) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2380
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_DEBUG_ACTIVE, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2381
ecore_wr(p_hwfn, p_ptt, base_addr + SEM_FAST_REG_RECORD_FILTER_ENABLE, DBG_BUS_FILTER_TYPE_OFF);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2382
ecore_wr(p_hwfn, p_ptt, storm->sem_frame_mode_addr, DBG_BUS_FRAME_MODE_4HW_0ST);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2383
ecore_wr(p_hwfn, p_ptt, storm->sem_slow_enable_addr, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2387
ecore_bus_enable_clients(p_hwfn, p_ptt, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2394
ecore_wr(p_hwfn, p_ptt, block->dbg_enable_addr, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2398
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP_VALID_EN, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2401
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_ENABLE, DBG_BUS_FILTER_TYPE_OFF);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2402
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_ENABLE, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2409
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2432
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2433
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2434
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2435
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2436
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2437
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2438
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2439
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2440
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2447
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2462
dump_buf[offset + INT_BUF_LINE_SIZE_IN_DWORDS - 1 - i] = ecore_rd(p_hwfn, p_ptt, reg_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2471
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2477
last_written_line = ecore_rd(p_hwfn, p_ptt, DBG_REG_INTR_BUFFER_WR_PTR);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2479
if (ecore_rd(p_hwfn, p_ptt, DBG_REG_WRAP_ON_INT_BUFFER)) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2485
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2486
offset += ecore_bus_dump_int_buf_range(p_hwfn, p_ptt, dump_buf + offset, dump, 0, last_written_line);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2493
if (!ecore_rd(p_hwfn, p_ptt, DBG_REG_INTR_BUFFER_RD_PTR))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2494
offset += ecore_bus_dump_int_buf_range(p_hwfn, p_ptt, dump_buf + offset, dump, 0, last_written_line);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2535
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2547
next_wr_phys_addr.lo = ecore_rd(p_hwfn, p_ptt, DBG_REG_EXT_BUFFER_WR_PTR);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2548
next_wr_phys_addr.hi = ecore_rd(p_hwfn, p_ptt, DBG_REG_EXT_BUFFER_WR_PTR + BYTES_IN_DWORD);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2557
if (ecore_rd(p_hwfn, p_ptt, DBG_REG_WRAP_ON_EXT_BUFFER))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2571
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2579
return ecore_bus_dump_int_buf(p_hwfn, p_ptt, dump_buf, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2581
return ecore_bus_dump_pci_buf(p_hwfn, p_ptt, dump_buf, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2662
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2674
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 5);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2687
recorded_dwords = ecore_bus_dump_data(p_hwfn, p_ptt, OSAL_NULL, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2803
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2814
ecore_wr(p_hwfn, p_ptt, reg_addr, stall ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2822
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2844
ecore_wr(p_hwfn, p_ptt, s_reset_regs_defs[i].addr + RESET_REG_UNRESET_OFFSET, reg_val[i]);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2871
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2895
ecore_rd(p_hwfn, p_ptt, DWORDS_TO_BYTES(reg_data->sts_clr_address));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2935
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2948
*(dump_buf + offset) = ecore_rd(p_hwfn, p_ptt, byte_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2971
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2981
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, len, wide_bus);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
2994
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3012
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, curr_len, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3030
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3062
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3075
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3091
offset += ecore_grc_dump_regs_entries(p_hwfn, p_ptt, input_regs_arr, dump_buf + offset, dump, block_enable, &num_dumped_reg_entries);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3104
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3135
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3141
ecore_port_pretend(p_hwfn, p_ptt, port_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3142
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3150
ecore_fid_pretend(p_hwfn, p_ptt, (pf_id << PXP_PRETEND_CONCRETE_FID_PFID_SHIFT));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3151
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3158
ecore_fid_pretend(p_hwfn, p_ptt, (1 << PXP_PRETEND_CONCRETE_FID_VFVALID_SHIFT) | (vf_id << PXP_PRETEND_CONCRETE_FID_VFID_SHIFT));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3159
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3172
ecore_fid_pretend(p_hwfn, p_ptt, (p_hwfn->rel_pf_id << PXP_PRETEND_CONCRETE_FID_PFID_SHIFT));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3179
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3194
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3209
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3240
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump, reg_data->mask_address, 1, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3241
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3253
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3267
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3278
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3279
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3380
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3396
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, len, wide_bus);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3403
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3480
offset += ecore_grc_dump_mem(p_hwfn, p_ptt, dump_buf + offset, dump, OSAL_NULL, mem_addr, mem_len, mem_wide_bus,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3492
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3512
offset += ecore_grc_dump_mem_entries(p_hwfn, p_ptt, curr_input_mems_arr, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3531
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3557
ecore_wr(p_hwfn, p_ptt, storm->cm_ctx_wr_addr, (i << 9) | lid);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3558
*(dump_buf + offset) = ecore_rd(p_hwfn, p_ptt, rd_reg_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3567
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3581
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),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3585
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),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3589
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),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3593
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),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3602
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3619
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3628
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3651
ARR_REG_WR(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_DATA_WR, cam_cmd, VFC_CAM_CMD_DWORDS);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3654
ARR_REG_WR(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_ADDR, cam_addr, VFC_CAM_ADDR_DWORDS);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3657
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3665
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3688
ARR_REG_WR(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_DATA_WR, ram_cmd, VFC_RAM_CMD_DWORDS);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3692
ARR_REG_WR(p_hwfn, p_ptt, storm->sem_fast_mem_addr + SEM_FAST_REG_VFC_ADDR, ram_addr, VFC_RAM_ADDR_DWORDS);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3695
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3703
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3718
offset += ecore_grc_dump_vfc_cam(p_hwfn, p_ptt, dump_buf + offset, dump, storm_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3722
offset += ecore_grc_dump_vfc_ram(p_hwfn, p_ptt, dump_buf + offset, dump, storm_id, &s_vfc_ram_defs[i]);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3730
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3760
ecore_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_ADDR, rss_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3761
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(RSS_REG_RSS_RAM_DATA), RSS_REG_RSS_RAM_DATA_SIZE, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3770
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3797
ecore_wr(p_hwfn, p_ptt, big_ram->addr_reg_addr, i);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3798
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(big_ram->data_reg_addr), 2 * BIG_RAM_BLOCK_SIZE_DWORDS, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3805
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3815
halted = !ecore_mcp_halt(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3821
offset += ecore_grc_dump_mem(p_hwfn, p_ptt, dump_buf + offset, dump, OSAL_NULL, BYTES_TO_DWORDS(MCP_REG_SCRATCH), MCP_REG_SCRATCH_SIZE, false, 0, false, "MCP", false, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3824
offset += ecore_grc_dump_mem(p_hwfn, p_ptt, dump_buf + offset, dump, OSAL_NULL, BYTES_TO_DWORDS(MCP_REG_CPU_REG_FILE), MCP_REG_CPU_REG_FILE_SIZE, false, 0, false, "MCP", false, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3828
offset += ecore_grc_dump_registers(p_hwfn, p_ptt, dump_buf + offset, dump, block_enable, "block", "MCP");
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3832
offset += ecore_grc_dump_reg_entry(p_hwfn, p_ptt, dump_buf + offset, dump, BYTES_TO_DWORDS(MISC_REG_SHARED_MEM_ADDR), 1, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3835
if (halted && ecore_mcp_resume(p_hwfn, p_ptt))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3843
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3874
ecore_wr(p_hwfn, p_ptt, addr_hi_addr, tbus_hi_offset);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3876
ecore_wr(p_hwfn, p_ptt, addr_lo_addr, tbus_lo_offset);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3877
*(bytes_buf++) = (u8)ecore_rd(p_hwfn, p_ptt, data_lo_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3878
*(bytes_buf++) = (u8)ecore_rd(p_hwfn, p_ptt, data_hi_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3889
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3899
ecore_wr(p_hwfn, p_ptt, block->dbg_select_addr, line_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3900
ecore_wr(p_hwfn, p_ptt, block->dbg_enable_addr, enable_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3901
ecore_wr(p_hwfn, p_ptt, block->dbg_shift_addr, right_shift);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3902
ecore_wr(p_hwfn, p_ptt, block->dbg_force_valid_addr, force_valid_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3903
ecore_wr(p_hwfn, p_ptt, block->dbg_force_frame_addr, force_frame_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3908
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3916
if (ecore_rd(p_hwfn, p_ptt, DBG_REG_DBG_BLOCK_ON))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3927
ecore_wr(p_hwfn, p_ptt, block->dbg_enable_addr, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3930
ecore_bus_reset_dbg_block(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3931
ecore_bus_set_framing_mode(p_hwfn, p_ptt, DBG_BUS_FRAME_MODE_8HW_0ST);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3932
ecore_wr(p_hwfn, p_ptt, DBG_REG_DEBUG_TARGET, DBG_BUS_TARGET_ID_INT_BUF);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3933
ecore_wr(p_hwfn, p_ptt, DBG_REG_FULL_MODE, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3934
ecore_bus_enable_dbg_block(p_hwfn, p_ptt, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3965
ecore_bus_enable_clients(p_hwfn, p_ptt, 1 << block->dbg_client_id[dev_data->chip_id]);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3969
ecore_config_dbg_line(p_hwfn, p_ptt, (enum block_id)block_id, (u8)line_id, 0xf, 0, 0, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3972
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3976
ecore_bus_enable_clients(p_hwfn, p_ptt, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3977
ecore_wr(p_hwfn, p_ptt, block->dbg_enable_addr, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3981
ecore_bus_enable_dbg_block(p_hwfn, p_ptt, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3982
ecore_bus_enable_clients(p_hwfn, p_ptt, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
3992
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4011
switch (ecore_rd(p_hwfn, p_ptt, MISC_REG_PORT_MODE)) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4018
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4022
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 4);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4030
offset += ecore_grc_dump_reset_regs(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4034
ecore_grc_unreset_blocks(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4035
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4040
parities_masked = !ecore_mcp_mask_parities(p_hwfn, p_ptt, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4050
offset += ecore_grc_dump_modified_regs(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4054
ecore_grc_stall_storms(p_hwfn, p_ptt, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4064
offset += ecore_grc_dump_registers(p_hwfn, p_ptt, dump_buf + offset, dump, block_enable, OSAL_NULL, OSAL_NULL);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4067
offset += ecore_grc_dump_special_regs(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4071
offset += ecore_grc_dump_memories(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4075
offset += ecore_grc_dump_mcp(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4079
offset += ecore_grc_dump_ctx(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4083
offset += ecore_grc_dump_rss(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4088
offset += ecore_grc_dump_big_ram(p_hwfn, p_ptt, dump_buf + offset, dump, i);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4092
offset += ecore_grc_dump_iors(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4096
offset += ecore_grc_dump_vfc(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4100
offset += ecore_grc_dump_phy(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4104
offset += ecore_grc_dump_static_debug(p_hwfn, p_ptt, dump_buf + offset, dump);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4113
ecore_grc_stall_storms(p_hwfn, p_ptt, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4117
ecore_grc_clear_all_prty(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4121
ecore_mcp_mask_parities(p_hwfn, p_ptt, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4135
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4238
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, reg->size, wide_bus);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4247
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4302
offset += ecore_idle_chk_dump_failure(p_hwfn, p_ptt, dump_buf + offset, false, rule->rule_id, rule, entry_id, OSAL_NULL);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4329
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4334
offset += ecore_idle_chk_dump_failure(p_hwfn, p_ptt, dump_buf + offset, dump, rule->rule_id, rule, entry_id, cond_reg_values);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4348
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4355
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4377
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4396
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4406
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4427
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4442
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_SHIFT), &ret_mcp_resp, &ret_mcp_param, &ret_read_size, (u32*)((u8*)ret_buf + read_offset)))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4462
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4469
spad_trace_offsize = ecore_rd(p_hwfn, p_ptt, MCP_SPAD_TRACE_OFFSIZE_ADDR);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4475
signature = ecore_rd(p_hwfn, p_ptt, *trace_data_grc_addr + offsetof(struct mcp_trace, signature));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4481
*trace_data_size = ecore_rd(p_hwfn, p_ptt, *trace_data_grc_addr + offsetof(struct mcp_trace, size));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4493
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4502
spad_trace_offsize = ecore_rd(p_hwfn, p_ptt, MCP_SPAD_TRACE_OFFSIZE_ADDR);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4506
*running_bundle_id = ecore_rd(p_hwfn, p_ptt, running_mfw_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4512
return ecore_find_nvram_image(p_hwfn, p_ptt, nvram_image_type, trace_meta_offset, trace_meta_size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4517
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4527
status = ecore_nvram_read(p_hwfn, p_ptt, nvram_offset_in_bytes, size_in_bytes, buf);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4557
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4574
status = ecore_mcp_trace_get_data_info(p_hwfn, p_ptt, &trace_data_grc_addr, &trace_data_size_bytes);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4579
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4587
halted = !ecore_mcp_halt(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4600
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4603
if (halted && ecore_mcp_resume(p_hwfn, p_ptt))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4613
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4623
status = ecore_mcp_trace_read_meta(p_hwfn, p_ptt, trace_meta_offset_bytes, trace_meta_size_bytes, dump_buf + offset);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4640
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4651
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4662
fifo_has_data = ecore_rd(p_hwfn, p_ptt, GRC_REG_TRACE_FIFO_VALID_DATA) > 0;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4671
if (ecore_dmae_grc2host(p_hwfn, p_ptt, GRC_REG_TRACE_FIFO, (u64)(osal_uintptr_t)(&dump_buf[offset]), REG_FIFO_ELEMENT_DWORDS, 0))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4673
fifo_has_data = ecore_rd(p_hwfn, p_ptt, GRC_REG_TRACE_FIFO_VALID_DATA) > 0;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4696
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4707
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4718
fifo_has_data = ecore_rd(p_hwfn, p_ptt, IGU_REG_ERROR_HANDLING_DATA_VALID) > 0;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4726
if (ecore_dmae_grc2host(p_hwfn, p_ptt, IGU_REG_ERROR_HANDLING_MEMORY, (u64)(osal_uintptr_t)(&dump_buf[offset]), IGU_FIFO_ELEMENT_DWORDS, 0))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4728
fifo_has_data = ecore_rd(p_hwfn, p_ptt, IGU_REG_ERROR_HANDLING_DATA_VALID) > 0;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4751
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4761
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4773
override_window_dwords = ecore_rd(p_hwfn, p_ptt, GRC_REG_NUMBER_VALID_OVERRIDE_WINDOW) * PROTECTION_OVERRIDE_ELEMENT_DWORDS;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4774
if (ecore_dmae_grc2host(p_hwfn, p_ptt, GRC_REG_PROTECTION_OVERRIDE_WINDOW, (u64)(osal_uintptr_t)(dump_buf + offset), override_window_dwords, 0))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4795
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4807
offset += ecore_dump_common_global_params(p_hwfn, p_ptt, dump_buf + offset, dump, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4819
ecore_read_fw_info(p_hwfn, p_ptt, storm_id, &fw_info);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4838
next_list_idx = ecore_rd(p_hwfn, p_ptt, next_list_idx_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4842
offset += ecore_grc_dump_addr_range(p_hwfn, p_ptt, dump_buf + offset, dump, addr, asserts->list_element_dword_size, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4890
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4899
status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4910
if (ecore_rd(p_hwfn, p_ptt, DBG_REG_DBG_BLOCK_ON))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4914
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4917
status = ecore_bus_disable_inputs(p_hwfn, p_ptt, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4922
ecore_bus_reset_dbg_block(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4925
ecore_wr(p_hwfn, p_ptt, DBG_REG_FULL_MODE, one_shot_en ? 0 : 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4945
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4973
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_EXT_BUFFER_STRT_ADDR_LSB, dev_data->bus.pci_buf.phys_addr.lo);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4974
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_EXT_BUFFER_STRT_ADDR_MSB, dev_data->bus.pci_buf.phys_addr.hi);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4975
ecore_wr(p_hwfn, p_ptt, DBG_REG_TARGET_PACKET_SIZE, PCI_PKT_SIZE_IN_CHUNKS);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4976
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_EXT_BUFFER_SIZE, dev_data->bus.pci_buf.size / PCI_PKT_SIZE_IN_BYTES);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4977
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_FUNC_NUM, OPAQUE_FID(p_hwfn->rel_pf_id));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4978
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_LOGIC_ADDR, PCI_PHYS_ADDR_TYPE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4979
ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_REQ_CREDIT, PCI_REQ_CREDIT);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4980
ecore_wr(p_hwfn, p_ptt, DBG_REG_DEBUG_TARGET, DBG_BUS_TARGET_ID_PCI);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4981
ecore_wr(p_hwfn, p_ptt, DBG_REG_OUTPUT_ENABLE, TARGET_EN_MASK_PCI);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
4987
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5009
ecore_wr(p_hwfn, p_ptt, DBG_REG_OUTPUT_ENABLE, TARGET_EN_MASK_NIG);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5010
ecore_wr(p_hwfn, p_ptt, DBG_REG_DEBUG_TARGET, DBG_BUS_TARGET_ID_NIG);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5013
ecore_wr(p_hwfn, p_ptt, DBG_REG_OTHER_ENGINE_MODE_BB_K2, DBG_BUS_OTHER_ENGINE_MODE_CROSS_ENGINE_TX);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5015
ecore_wr(p_hwfn, p_ptt, NIG_REG_DEBUG_PORT, port_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5018
ecore_wr(p_hwfn, p_ptt, DBG_REG_OTHER_ENGINE_MODE_BB_K2, DBG_BUS_OTHER_ENGINE_MODE_CROSS_ENGINE_RX);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5023
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_WIDTH, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5024
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_7, dest_addr_lo32);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5025
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_6, (u32)SRC_MAC_ADDR_LO16 | ((u32)dest_addr_hi16 << 16));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5026
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_5, SRC_MAC_ADDR_HI32);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5027
ecore_wr(p_hwfn, p_ptt, DBG_REG_ETHERNET_HDR_4, (u32)ETH_TYPE << 16);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5028
ecore_wr(p_hwfn, p_ptt, DBG_REG_TARGET_PACKET_SIZE, NIG_PKT_SIZE_IN_CHUNKS);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5030
ecore_wr(p_hwfn, p_ptt, DBG_REG_NIG_DATA_LIMIT_SIZE, (data_limit_size_kb * 1024) / CHUNK_SIZE_IN_BYTES);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5066
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5146
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5167
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP_VALID_EN, valid_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5168
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP_FRAME_EN, frame_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5169
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP_TICK, tick_len);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5249
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5273
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_ID_NUM, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5274
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_MSG_LENGTH_ENABLE, const_msg_len > 0 ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5276
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_MSG_LENGTH, const_msg_len - 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5282
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5310
ecore_wr(p_hwfn, p_ptt, DBG_REG_RCRD_ON_WINDOW_PRE_NUM_CHUNKS, pre_chunks);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5318
ecore_wr(p_hwfn, p_ptt, DBG_REG_RCRD_ON_WINDOW_POST_NUM_CYCLES, post_cycles ? post_cycles : 0xffffffff);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5324
ecore_wr(p_hwfn, p_ptt, DBG_REG_RCRD_ON_WINDOW_PRE_TRGR_EVNT_MODE, pre_trigger_type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5325
ecore_wr(p_hwfn, p_ptt, DBG_REG_RCRD_ON_WINDOW_POST_TRGR_EVNT_MODE, post_trigger_type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5326
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_ENABLE, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5332
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5367
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_MSG_LENGTH_ENABLE_0 + reg_offset, const_msg_len > 0 ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5369
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_MSG_LENGTH_0 + reg_offset, const_msg_len - 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5373
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_SET_COUNT_0 + reg_offset, count_to_next);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5378
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_SET_NXT_STATE_0 + reg_offset, MAX_TRIGGER_STATES);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5381
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_SET_NXT_STATE_0 + reg_offset, bus->next_trigger_state);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5390
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5458
ecore_bus_set_constraint(p_hwfn, p_ptt, dev_data->bus.adding_filter ? 1 : 0,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5473
ecore_bus_set_constraint(p_hwfn, p_ptt, bus->adding_filter ? 1 : 0,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5485
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5520
ecore_bus_enable_clients(p_hwfn, p_ptt, client_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5525
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5567
ecore_bus_set_framing_mode(p_hwfn, p_ptt, dbg_framing_mode);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5574
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5586
if (storm_bus->enabled && !ecore_rd(p_hwfn, p_ptt, storm->sem_sync_dbg_empty_addr))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5597
ecore_wr(p_hwfn, p_ptt, DBG_REG_STORM_ID_NUM, storm_id_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5600
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);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5609
ecore_wr(p_hwfn, p_ptt, DBG_REG_CALENDAR_SLOT0 + DWORDS_TO_BYTES(i), next_storm_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5684
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5700
ecore_wr(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATE_ID_0 + state_id * BYTES_IN_DWORD, hw_ids[val_id]);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5711
ecore_wr(p_hwfn, p_ptt, DBG_REG_HW_ID_NUM, bus->hw_id_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5717
ecore_wr(p_hwfn, p_ptt, PCIE_REG_DBG_REPEAT_THRESHOLD_COUNT_K2_E5, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5718
ecore_wr(p_hwfn, p_ptt, PCIE_REG_DBG_FW_TRIGGER_ENABLE_K2_E5, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5723
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5748
if ((status = ecore_config_dbg_block_framing_mode(p_hwfn, p_ptt)) != DBG_STATUS_OK)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5753
if ((status = ecore_config_storm_inputs(p_hwfn, p_ptt)) != DBG_STATUS_OK)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5758
ecore_config_block_inputs(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5775
ecore_wr(p_hwfn, p_ptt, DBG_REG_FILTER_ENABLE, filter_type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5778
ecore_wr(p_hwfn, p_ptt, DBG_REG_TIMESTAMP, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5781
ecore_bus_enable_dbg_block(p_hwfn, p_ptt, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5791
ecore_config_dbg_line(p_hwfn, p_ptt, (enum block_id)block_id,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5801
ecore_config_dbg_block_client_mask(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5809
ecore_bus_enable_storm(p_hwfn, p_ptt, (enum dbg_storms)storm_id, filter_type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5817
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5828
status = ecore_bus_disable_inputs(p_hwfn, p_ptt, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5832
ecore_wr(p_hwfn, p_ptt, DBG_REG_CPU_TIMEOUT, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5836
ecore_bus_enable_dbg_block(p_hwfn, p_ptt, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5840
u32 trigger_state = ecore_rd(p_hwfn, p_ptt, DBG_REG_TRIGGER_STATUS_CUR_STATE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5852
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5859
status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5867
*buf_size = (u32)ecore_bus_dump_hdr(p_hwfn, p_ptt, OSAL_NULL, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5885
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5898
status = ecore_dbg_bus_get_dump_buf_size(p_hwfn, p_ptt, &min_buf_size_in_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5908
enum dbg_status stop_state = ecore_dbg_bus_stop(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5920
offset += ecore_bus_dump_hdr(p_hwfn, p_ptt, dump_buf + offset, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
5924
u32 recorded_dwords = ecore_bus_dump_data(p_hwfn, p_ptt, dump_buf + offset, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6023
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6026
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6037
return ecore_grc_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6041
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6051
status = ecore_dbg_grc_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6062
status = ecore_grc_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6071
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6080
status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6089
idle_chk->buf_size = ecore_idle_chk_dump(p_hwfn, p_ptt, OSAL_NULL, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6099
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6109
status = ecore_dbg_idle_chk_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6117
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6120
*num_dumped_dwords = ecore_idle_chk_dump(p_hwfn, p_ptt, dump_buf, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6129
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6132
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6139
return ecore_mcp_trace_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6143
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6151
status = ecore_dbg_mcp_trace_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6159
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6162
status = ecore_mcp_trace_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6171
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6174
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6181
return ecore_reg_fifo_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6185
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6195
status = ecore_dbg_reg_fifo_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6203
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6205
status = ecore_reg_fifo_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6214
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6217
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6224
return ecore_igu_fifo_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6228
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6238
status = ecore_dbg_igu_fifo_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6246
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6248
status = ecore_igu_fifo_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6257
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6260
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6267
return ecore_protection_override_dump(p_hwfn, p_ptt, OSAL_NULL, false, buf_size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6271
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6281
status = ecore_dbg_protection_override_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6289
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6291
status = ecore_protection_override_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6300
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6303
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6311
ecore_update_blocks_reset_state(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6313
*buf_size = ecore_fw_asserts_dump(p_hwfn, p_ptt, OSAL_NULL, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6319
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6329
status = ecore_dbg_fw_asserts_get_dump_buf_size(p_hwfn, p_ptt, &needed_buf_size_in_dwords);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6336
*num_dumped_dwords = ecore_fw_asserts_dump(p_hwfn, p_ptt, dump_buf, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6345
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6351
enum dbg_status status = ecore_dbg_dev_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6378
sts_val = ecore_rd(p_hwfn, p_ptt, sts_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6388
reg_result->mask_val = ecore_rd(p_hwfn, p_ptt, DWORDS_TO_BYTES(reg_data->mask_address));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6424
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.c
6437
!(ecore_rd(p_hwfn, p_ptt, s_reset_regs_defs[reset_reg].addr) & (1 << block->reset_bit_offset)) : true;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
107
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
130
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
170
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
207
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
258
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
339
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
379
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
414
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
465
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
487
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
499
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
518
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
540
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
582
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
600
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
618
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
637
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
658
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
681
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
699
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
719
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
737
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
757
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
776
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
796
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
814
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
833
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
854
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dbg_fw_funcs.h
885
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1009
ecore_qm_reconf(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1024
ecore_roce_dpm_dcbx(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1029
ecore_dcbx_get_params(p_hwfn, p_ptt, &p_hwfn->p_dcbx_info->get, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1037
ecore_wr(p_hwfn, p_ptt, NIG_REG_DSCP_TO_TC_MAP_ENABLE,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1050
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_EDPM_CTRL, val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1144
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1150
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1151
if (!p_ptt) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1157
rc = ecore_dcbx_read_mib(p_hwfn, p_ptt, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1161
rc = ecore_dcbx_get_params(p_hwfn, p_ptt, p_get, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1164
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1388
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1415
ecore_memcpy_to(p_hwfn, p_ptt, data.addr, data.local_admin, data.size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1425
ecore_memcpy_to(p_hwfn, p_ptt, data.addr, data.dscp_map,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
1429
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_DCBX,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
441
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
454
ecore_memcpy_from(p_hwfn, p_ptt, p_data->lldp_remote,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
459
ecore_memcpy_from(p_hwfn, p_ptt, p_data->mib,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
675
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
689
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
704
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
765
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
792
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
808
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
823
ecore_dcbx_get_params(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
831
ecore_dcbx_get_remote_params(p_hwfn, p_ptt, p_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
834
ecore_dcbx_get_local_params(p_hwfn, p_ptt, p_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
837
ecore_dcbx_get_operational_params(p_hwfn, p_ptt, p_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
840
ecore_dcbx_get_remote_lldp_params(p_hwfn, p_ptt, p_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
843
ecore_dcbx_get_local_lldp_params(p_hwfn, p_ptt, p_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
855
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
865
ecore_memcpy_from(p_hwfn, p_ptt, data.lldp_local, data.addr, data.size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
872
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
883
rc = ecore_dcbx_copy_mib(p_hwfn, p_ptt, &data, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
890
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
901
rc = ecore_dcbx_copy_mib(p_hwfn, p_ptt, &data, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
908
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
919
rc = ecore_dcbx_copy_mib(p_hwfn, p_ptt, &data, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
925
ecore_dcbx_read_local_mib(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
935
ecore_memcpy_from(p_hwfn, p_ptt, data.local_admin,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
942
ecore_dcbx_read_dscp_mib(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
950
ecore_memcpy_from(p_hwfn, p_ptt, data.dscp_map, data.addr, data.size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
954
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
961
ecore_dcbx_read_dscp_mib(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
962
rc = ecore_dcbx_read_operational_mib(p_hwfn, p_ptt, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
965
rc = ecore_dcbx_read_remote_mib(p_hwfn, p_ptt, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
968
rc = ecore_dcbx_read_local_mib(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
971
rc = ecore_dcbx_read_remote_lldp_mib(p_hwfn, p_ptt, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
974
rc = ecore_dcbx_read_local_lldp_mib(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
989
ecore_dcbx_mib_update_event(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
994
rc = ecore_dcbx_read_mib(p_hwfn, p_ptt, type);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dcbx.c
999
ecore_dcbx_get_dscp_params(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1116
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1153
ecore_wr(p_hwfn, p_ptt, XSDM_REG_OPERATION_GEN, command);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1243
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1256
ecore_wr(p_hwfn, p_ptt, MISCS_REG_RESET_PL_HV + 4, pl_hv);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1260
ecore_wr(p_hwfn, p_ptt, MISCS_REG_RESET_PL_HV_2_K2_E5,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1266
ecore_wr(p_hwfn, p_ptt, CNIG_REG_NW_PORT_MODE_BB, 4);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1271
ecore_wr(p_hwfn, p_ptt, MISC_REG_PORT_MODE,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1274
ecore_wr(p_hwfn, p_ptt, MISC_REG_BLOCK_256B_EN,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1282
ecore_wr(p_hwfn, p_ptt, PSWRQ2_REG_RBC_DONE, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1285
if (ecore_rd(p_hwfn, p_ptt, PSWRQ2_REG_CFG_DONE) == 1)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1330
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1334
val = ecore_rd(p_hwfn, p_ptt, PSWRQ2_REG_WR_MBS0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1381
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1420
ecore_init_cache_line_size(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1422
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_ENGINE, ANY_PHASE_ID, hw_mode);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1429
ecore_wr(p_hwfn, p_ptt, PSWRQ2_REG_L2P_VALIDATE_VFID, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1430
ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_USE_CLIENTID_IN_TAG, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1438
ecore_fid_pretend(p_hwfn, p_ptt, pf_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1439
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1440
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1443
ecore_fid_pretend(p_hwfn, p_ptt, p_hwfn->rel_pf_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1455
ecore_fid_pretend(p_hwfn, p_ptt, (u16)concrete_fid);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1456
ecore_wr(p_hwfn, p_ptt, CCFC_REG_STRONG_ENABLE_VF, 0x1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1457
ecore_wr(p_hwfn, p_ptt, CCFC_REG_WEAK_ENABLE_VF, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1458
ecore_wr(p_hwfn, p_ptt, TCFC_REG_STRONG_ENABLE_VF, 0x1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1459
ecore_wr(p_hwfn, p_ptt, TCFC_REG_WEAK_ENABLE_VF, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1462
ecore_fid_pretend(p_hwfn, p_ptt, p_hwfn->rel_pf_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1474
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1482
ecore_rd(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_CMD_BB) |
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1488
ecore_wr(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_CMD_BB,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1489
(ecore_rd(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_CMD_BB) &
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1492
ecore_wr(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_ADDR_BB,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1494
ecore_wr(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_WRDATA_BB, data & 0xffffffff);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1495
ecore_wr(p_hwfn, p_ptt, CNIG_REG_PMEG_IF_WRDATA_BB,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1512
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1518
ecore_wr_nw_port(p_hwfn, p_ptt, XLPORT_MODE_REG,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1520
ecore_wr_nw_port(p_hwfn, p_ptt, XLPORT_MAC_CONTROL, 0, 1, port);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1521
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_CTRL,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1523
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_MODE,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1525
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_RX_MAX_SIZE,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1527
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_TX_CTRL,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1530
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_PAUSE_CTRL,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1532
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_PFC_CTRL,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1534
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_CTRL, 0x3 | (loopback << 2),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1536
ecore_wr_nw_port(p_hwfn, p_ptt, XLMAC_CTRL, 0x1003 | (loopback << 2),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1538
ecore_wr_nw_port(p_hwfn, p_ptt, XLPORT_FLOW_CONTROL_CONFIG,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1540
ecore_wr_nw_port(p_hwfn, p_ptt, XLPORT_ENABLE_REG,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1545
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1552
ecore_wr(p_hwfn, p_ptt, CNIG_REG_NIG_PORT0_CONF_K2_E5 + (port << 2),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1558
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_XIF_MODE_K2_E5,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1561
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_FRM_LENGTH_K2_E5,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1564
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_TX_IPG_LENGTH_K2_E5,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1567
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_RX_FIFO_SECTIONS_K2_E5,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1570
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_TX_FIFO_SECTIONS_K2_E5,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1576
ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_COMMAND_CONFIG_K2_E5,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1581
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1584
ecore_emul_link_init_ah_e5(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1586
ecore_emul_link_init_bb(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1592
struct ecore_ptt *p_ptt, u8 port)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1599
ecore_wr(p_hwfn, p_ptt, MISC_REG_RESET_PL_PDA_VAUX + 2*sizeof(u32),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1602
ecore_wr(p_hwfn, p_ptt, MISC_REG_RESET_PL_PDA_VAUX + sizeof(u32),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1605
ecore_wr(p_hwfn, p_ptt, MISC_REG_XMAC_CORE_PORT_MODE_BB, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1608
ecore_wr(p_hwfn, p_ptt, MISC_REG_XMAC_PHY_PORT_MODE_BB, 3);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1611
ecore_wr(p_hwfn, p_ptt, MISC_REG_RESET_PL_PDA_VAUX + 2 * sizeof(u32),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1614
ecore_wr(p_hwfn, p_ptt, MISC_REG_RESET_PL_PDA_VAUX + sizeof(u32),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1619
ecore_wr(p_hwfn, p_ptt, XMAC_REG_MODE_BB + port_offset, 0x20);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1622
ecore_wr(p_hwfn, p_ptt, XMAC_REG_RX_MAX_SIZE_BB + port_offset, 0x2710);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1625
ecore_wr(p_hwfn, p_ptt, XMAC_REG_TX_CTRL_LO_BB + port_offset, 0xC800);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1628
ecore_wr(p_hwfn, p_ptt, XMAC_REG_CTRL_BB + port_offset,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1630
xmac_rxctrl = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1633
ecore_wr(p_hwfn, p_ptt, XMAC_REG_RX_CTRL_BB + port_offset, xmac_rxctrl);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1639
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1684
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_DPI_BIT_SHIFT, dpi_bit_shift);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1700
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1755
rc = ecore_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1767
rc = ecore_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1774
ecore_rdma_dpm_bar(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1804
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_ICID_BIT_SHIFT_NORM, pf_dems_shift);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1805
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_MIN_ADDR_REG1, min_addr_reg1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1811
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1816
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_PORT, p_hwfn->port_id,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1827
if (ecore_hw_init_first_eth(p_hwfn, p_ptt, &pf_id) ==
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1841
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1848
ecore_wr(p_hwfn, p_ptt, NIG_REG_LLH_CLS_TYPE_DUALMODE, 0x2);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1859
ecore_link_init_bb(p_hwfn, p_ptt, p_hwfn->port_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1867
val = ecore_rd(p_hwfn, p_ptt, MISCS_REG_RESET_PL_HV);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1869
ecore_wr(p_hwfn, p_ptt, MISCS_REG_RESET_PL_HV, val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1870
ecore_wr(p_hwfn, p_ptt, MISC_REG_CLK_100G_MODE, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1871
ecore_wr(p_hwfn, p_ptt, MISCS_REG_CLK_100G_MODE, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1872
ecore_wr(p_hwfn, p_ptt, MISC_REG_OPTE_MODE, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1873
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1875
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1877
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1882
ecore_emul_link_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1892
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1945
rc = ecore_final_cleanup(p_hwfn, p_ptt, rel_pf_id, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1952
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_PF, rel_pf_id, hw_mode);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1957
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_QM_PF, rel_pf_id, hw_mode);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1962
ecore_int_igu_init_pure_rt(p_hwfn, p_ptt, true, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1978
rc = ecore_hw_init_pf_doorbell_bar(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1989
if (ecore_hw_init_first_eth(p_hwfn, p_ptt, &pf_id) ==
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
1997
ecore_wr(p_hwfn, p_ptt, PRS_REG_MSG_INFO, val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2003
rc = ecore_int_igu_enable(p_hwfn, p_ptt, int_mode);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2013
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_TAG1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2019
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TAG1,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2021
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2027
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2030
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2033
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2036
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2039
prs_reg = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2044
prs_reg = ecore_rd(p_hwfn, p_ptt, PRS_REG_SEARCH_TAG1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2053
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2059
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2064
val = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2319
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2324
ecore_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_CONN, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2325
ecore_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2329
if ((!ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2331
(!ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2346
(u8)ecore_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_CONN),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2347
(u8)ecore_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2356
struct ecore_ptt *p_ptt = p_hwfn->p_main_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2358
ecore_hw_timers_stop(p_dev, p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2363
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2366
u32 val = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2381
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2387
p_ptt = p_hwfn->p_main_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2408
rc = ecore_mcp_unload_req(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2435
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2439
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2440
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2441
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2442
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2443
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_OPENFLOW, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2448
ecore_hw_timers_stop(p_dev, p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2453
ecore_int_igu_disable_int(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2454
ecore_wr(p_hwfn, p_ptt, IGU_REG_LEADING_EDGE_LATCH, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2455
ecore_wr(p_hwfn, p_ptt, IGU_REG_TRAILING_EDGE_LATCH, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2456
ecore_int_igu_init_pure_rt(p_hwfn, p_ptt, false, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2457
rc = ecore_int_igu_reset_cam_default(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2468
ecore_verify_reg_val(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2470
ecore_verify_reg_val(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2476
ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_DB_ENABLE, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2477
ecore_wr(p_hwfn, p_ptt, QM_REG_PF_EN, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2480
ecore_mcp_unload_done(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2492
p_ptt = ECORE_LEADING_HWFN(p_dev)->p_main_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2498
rc = ecore_change_pci_hwfn(p_hwfn, p_ptt, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2516
struct ecore_ptt *p_ptt = p_hwfn->p_main_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2525
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2528
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2529
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2530
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2531
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2532
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_OPENFLOW, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2539
ecore_int_igu_init_pure_rt(p_hwfn, p_ptt, false, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2547
struct ecore_ptt *p_ptt = p_hwfn->p_main_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2557
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
2559
ecore_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_CONN, 0x1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3289
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3299
nvm_cfg_addr = ecore_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3310
nvm_cfg1_offset = ecore_rd(p_hwfn, p_ptt, nvm_cfg_addr + 4);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3316
core_cfg = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3362
dcbx_mode = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3386
link_temp = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3393
link_temp = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3438
link_temp = ecore_rd(p_hwfn, p_ptt, port_cfg_addr +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3480
generic_cont0 = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3504
device_capabilities = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3521
rc = ecore_mcp_fill_shmem_func_info(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3531
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3548
reg_function_hide = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3605
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3619
port_mode = ecore_rd(p_hwfn, p_ptt, CNIG_REG_NW_PORT_MODE_BB);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3635
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3644
port = ecore_rd(p_hwfn, p_ptt, MISCS_REG_ECO_RESERVED);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3663
port = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3678
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3681
ecore_hw_info_port_num_bb(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3683
ecore_hw_info_port_num_ah_e5(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3687
ecore_get_hw_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3713
ecore_hw_info_port_num(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3715
ecore_mcp_get_capabilities(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3720
rc = ecore_hw_get_nvm_info(p_hwfn, p_ptt, p_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3727
rc = ecore_int_igu_read_cam(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3754
ecore_mcp_cmd_port_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3789
ecore_get_num_funcs(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3932
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3936
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3939
ecore_load_mcp_offsets(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
3940
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4519
struct ecore_ptt *p_ptt, u32 high, u32 low,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4527
en = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4532
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4535
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4538
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4541
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4544
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4559
ecore_llh_add_mac_filter_e5(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4568
struct ecore_ptt *p_ptt, u8 *p_filter)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4581
rc = ecore_llh_add_mac_filter_bb_ah(p_hwfn, p_ptt, high, low,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4584
rc = ecore_llh_add_mac_filter_e5(p_hwfn, p_ptt, high, low,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4602
struct ecore_ptt *p_ptt, u32 high, u32 low,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4609
if (ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4613
if (ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4618
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4620
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4623
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4639
struct ecore_ptt *p_ptt, u32 high, u32 low,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4648
struct ecore_ptt *p_ptt, u8 *p_filter)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4661
rc = ecore_llh_remove_mac_filter_bb_ah(p_hwfn, p_ptt, high,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4664
rc = ecore_llh_remove_mac_filter_e5(p_hwfn, p_ptt, high, low,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4682
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4691
en = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4696
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4699
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4702
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4705
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4708
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4723
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4734
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4770
rc = ecore_llh_add_protocol_filter_bb_ah(p_hwfn, p_ptt, type,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4773
rc = ecore_llh_add_protocol_filter_e5(p_hwfn, p_ptt, type, high,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4824
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4832
if (!ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4836
if (!ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4840
if (!(ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4844
if (ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4848
if (ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4853
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4855
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4858
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4861
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4864
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4880
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4891
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4927
rc = ecore_llh_remove_protocol_filter_bb_ah(p_hwfn, p_ptt, type,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4931
rc = ecore_llh_remove_protocol_filter_e5(p_hwfn, p_ptt, type,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4946
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4951
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4954
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4957
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4964
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4970
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4976
ecore_llh_clear_all_filters_bb_ah(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4978
ecore_llh_clear_all_filters_e5(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4983
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4986
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4989
ecore_wr(p_hwfn, p_ptt, PRS_REG_MSG_INFO, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
4999
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5016
ecore_memcpy_to(p_hwfn, p_ptt, hw_addr, p_eth_qzone, eth_qzone_size);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5027
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5038
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5039
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5043
rc = ecore_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5050
rc = ecore_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5056
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5062
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5084
rc = ecore_int_set_timer_res(p_hwfn, p_ptt, timer_res,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5092
rc = ecore_set_coalesce(p_hwfn, p_ptt, address, ð_qzone,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5102
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5124
rc = ecore_int_set_timer_res(p_hwfn, p_ptt, timer_res,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5132
rc = ecore_set_coalesce(p_hwfn, p_ptt, address, ð_qzone,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5143
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5156
ecore_init_vport_wfq(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5173
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5183
ecore_init_vport_wfq(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5280
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5297
ecore_configure_wfq_for_all_vports(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5307
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5333
ecore_configure_wfq_for_all_vports(p_hwfn, p_ptt, min_pf_rate);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5335
ecore_disable_wfq_for_all_vports(p_hwfn, p_ptt, min_pf_rate);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5357
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5359
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5360
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5363
rc = __ecore_configure_vport_wfq(p_hwfn, p_ptt, vp_id, rate);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5366
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5370
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5378
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5393
__ecore_configure_vp_wfq_on_link_change(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5399
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5420
rc = ecore_init_pf_rl(p_hwfn, p_ptt, p_hwfn->rel_pf_id,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5444
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5448
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5449
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5452
rc = __ecore_configure_pf_max_bandwidth(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5455
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5465
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5479
rc = ecore_init_pf_wfq(p_hwfn, p_ptt, p_hwfn->rel_pf_id, min_bw);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5502
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5506
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5507
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5510
rc = __ecore_configure_pf_min_bandwidth(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5513
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5521
p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5525
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5531
void ecore_clean_wfq_db(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
5538
ecore_disable_wfq_for_all_vports(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
766
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
777
b_rc = ecore_send_qm_stop_cmd(p_hwfn, p_ptt, false, true,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
790
rc = ecore_init_run(p_hwfn, p_ptt, PHASE_QM_PF, p_hwfn->rel_pf_id,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev.c
797
b_rc = ecore_send_qm_stop_cmd(p_hwfn, p_ptt, true, true,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
335
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
467
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
485
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
504
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
588
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
599
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
623
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
639
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
651
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
661
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
674
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_dev_api.h
718
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
1013
rc = ecore_dmae_execute_command(p_hwfn, p_ptt, grc_addr_in_dw,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
102
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
1024
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
1034
rc = ecore_dmae_execute_command(p_hwfn, p_ptt, source_addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
106
p_ptt = &p_hwfn->p_ptt_pool->ptts[i];
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
107
p_ptt->pxp.offset = ECORE_BAR_INVALID_OFFSET;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
123
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
131
p_ptt = OSAL_LIST_FIRST_ENTRY(&p_hwfn->p_ptt_pool->free_list,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
133
OSAL_LIST_REMOVE_ENTRY(&p_ptt->list_entry,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
139
"allocated ptt %d\n", p_ptt->idx);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
141
return p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
153
struct ecore_ptt *p_ptt) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
158
OSAL_LIST_PUSH_HEAD(&p_ptt->list_entry, &p_hwfn->p_ptt_pool->free_list);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
163
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
166
return OSAL_LE32_TO_CPU(p_ptt->pxp.offset) << 2;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
169
static u32 ecore_ptt_config_addr(struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
172
p_ptt->idx * sizeof(struct pxp_ptt_entry);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
175
u32 ecore_ptt_get_bar_addr(struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
178
p_ptt->idx * PXP_EXTERNAL_BAR_PF_WINDOW_SINGLE_SIZE;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
182
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
187
prev_hw_addr = ecore_ptt_get_hw_addr(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
195
p_ptt->idx, new_hw_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
198
p_ptt->pxp.offset = OSAL_CPU_TO_LE32(new_hw_addr >> 2);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
201
ecore_ptt_config_addr(p_ptt) +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
203
OSAL_LE32_TO_CPU(p_ptt->pxp.offset));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
207
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
210
u32 win_hw_addr = ecore_ptt_get_hw_addr(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
215
if (p_ptt->hwfn_id != p_hwfn->my_id)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
218
p_ptt->idx, p_ptt->hwfn_id, p_hwfn->my_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
223
ecore_ptt_set_win(p_hwfn, p_ptt, hw_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
227
return ecore_ptt_get_bar_addr(p_ptt) + offset;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
243
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
252
bar_addr = ecore_set_ptt(p_hwfn, p_ptt, GRC_REG_TRACE_FIFO_VALID_DATA);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
264
void ecore_wr(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 hw_addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
270
prev_fifo_err = !ecore_is_reg_fifo_empty(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
272
bar_addr = ecore_set_ptt(p_hwfn, p_ptt, hw_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
283
OSAL_WARN(!prev_fifo_err && !ecore_is_reg_fifo_empty(p_hwfn, p_ptt),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
288
u32 ecore_rd(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 hw_addr)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
293
prev_fifo_err = !ecore_is_reg_fifo_empty(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
295
bar_addr = ecore_set_ptt(p_hwfn, p_ptt, hw_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
307
OSAL_WARN(!prev_fifo_err && !ecore_is_reg_fifo_empty(p_hwfn, p_ptt),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
315
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
330
ecore_ptt_set_win(p_hwfn, p_ptt, hw_addr + done);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
331
hw_offset = ecore_ptt_get_bar_addr(p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
353
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
360
ecore_memcpy_hw(p_hwfn, p_ptt, dest, hw_addr, n, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
364
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
371
ecore_memcpy_hw(p_hwfn, p_ptt, src, hw_addr, n, true);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
375
struct ecore_ptt *p_ptt, u16 fid)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
392
p_ptt->pxp.pretend.control = OSAL_CPU_TO_LE16(control);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
393
p_ptt->pxp.pretend.fid.concrete_fid.fid = OSAL_CPU_TO_LE16(fid);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
396
ecore_ptt_config_addr(p_ptt) +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
398
*(u32 *)&p_ptt->pxp.pretend);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
402
struct ecore_ptt *p_ptt, u8 port_id)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
409
p_ptt->pxp.pretend.control = OSAL_CPU_TO_LE16(control);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
412
ecore_ptt_config_addr(p_ptt) +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
414
*(u32 *)&p_ptt->pxp.pretend);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
418
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
426
p_ptt->pxp.pretend.control = OSAL_CPU_TO_LE16(control);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
429
ecore_ptt_config_addr(p_ptt) +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
431
*(u32 *)&p_ptt->pxp.pretend);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
454
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
470
lock_status = ecore_rd(p_hwfn, p_ptt, hw_lock_cntr_reg);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
481
ecore_wr(p_hwfn, p_ptt, hw_lock_cntr_reg + sizeof(u32), resource);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
485
lock_status = ecore_rd(p_hwfn, p_ptt, hw_lock_cntr_reg);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
505
ecore_wr(p_hwfn, p_ptt, hw_lock_cntr_reg, resource);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
511
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
525
lock_status = ecore_rd(p_hwfn, p_ptt, hw_lock_cntr_reg);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
536
ecore_wr(p_hwfn, p_ptt, hw_lock_cntr_reg, resource);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
626
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
672
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
678
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
803
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
857
ecore_dmae_post_command(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
888
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
951
p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
971
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
986
rc = ecore_dmae_execute_command(p_hwfn, p_ptt, source_addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.c
998
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
136
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
146
u32 ecore_ptt_get_bar_addr(struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
156
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
179
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
192
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
206
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
222
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
238
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
250
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_hw.h
261
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1000
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_MAX_VALUE, NIG_RL_MAX_VAL(inc_val, req->mtu));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1004
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_CTRL, ctrl);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1012
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_CTRL_0 + reg_offset, ctrl);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1019
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_INC_PERIOD_0 + reg_offset, NIG_RL_PERIOD_CLK_25M);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1021
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_INC_VALUE_0 + reg_offset, inc_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1022
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_MAX_VALUE_0 + reg_offset, NIG_RL_MAX_VAL(inc_val, req->mtu));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1026
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_TCRATELIMIT_CTRL_0 + reg_offset, ctrl);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1031
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1047
ecore_wr(p_hwfn, p_ptt, NIG_REG_PKT_PRIORITY_TO_TC, pri_tc_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1051
ecore_wr(p_hwfn, p_ptt, NIG_REG_PRIORITY_FOR_TC_0 + tc * 4, tc_pri_mask[tc]);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1052
ecore_wr(p_hwfn, p_ptt, NIG_REG_RX_TC0_PRIORITY_MASK + tc * 4, tc_pri_mask[tc]);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1066
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1094
ecore_wr(p_hwfn, p_ptt, PRS_REG_ETS_ARB_CLIENT_IS_STRICT, sp_tc_map);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1097
ecore_wr(p_hwfn, p_ptt, PRS_REG_ETS_ARB_CLIENT_IS_SUBJECT2WFQ, wfq_tc_map);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1111
ecore_wr(p_hwfn, p_ptt, PRS_REG_ETS_ARB_CREDIT_WEIGHT_0 + tc * tc_weight_addr_diff, byte_weight);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1114
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));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1131
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1166
ecore_wr(p_hwfn, p_ptt, BRB_REG_TOTAL_MAC_SIZE + port * 4, port_blocks);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1169
ecore_wr(p_hwfn, p_ptt, BRB_REG_SHARED_HR_AREA + port * 4, port_shared_blocks);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1182
ecore_wr(p_hwfn, p_ptt, BRB_REG_TC_GUARANTIED_0 + reg_offset, tc_guaranteed_blocks);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1183
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_GUARANTIED_HYST_0 + reg_offset, BRB_HYST_BLOCKS);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1188
ecore_wr(p_hwfn, p_ptt, BRB_REG_LB_TC_FULL_XOFF_THRESHOLD_0 + reg_offset, full_xoff_th);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1189
ecore_wr(p_hwfn, p_ptt, BRB_REG_LB_TC_FULL_XON_THRESHOLD_0 + reg_offset, full_xon_th);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1190
ecore_wr(p_hwfn, p_ptt, BRB_REG_LB_TC_PAUSE_XOFF_THRESHOLD_0 + reg_offset, pause_xoff_th);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1191
ecore_wr(p_hwfn, p_ptt, BRB_REG_LB_TC_PAUSE_XON_THRESHOLD_0 + reg_offset, pause_xon_th);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1196
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_FULL_XOFF_THRESHOLD_0 + reg_offset, full_xoff_th);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1197
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_FULL_XON_THRESHOLD_0 + reg_offset, full_xon_th);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1198
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_PAUSE_XOFF_THRESHOLD_0 + reg_offset, pause_xoff_th);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1199
ecore_wr(p_hwfn, p_ptt, BRB_REG_MAIN_TC_PAUSE_XON_THRESHOLD_0 + reg_offset, pause_xon_th);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1209
struct ecore_ptt *p_ptt, u32 ethType)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1223
struct ecore_ptt *p_ptt, u32 ethType)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1236
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1240
ecore_wr(p_hwfn, p_ptt, PRS_REG_VXLAN_PORT, dest_port);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1243
ecore_wr(p_hwfn, p_ptt, NIG_REG_VXLAN_CTRL, dest_port);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1246
ecore_wr(p_hwfn, p_ptt, PBF_REG_VXLAN_PORT, dest_port);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1250
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1256
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1258
ecore_wr(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN, reg_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1260
ecore_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, (u32)PRS_ETH_TUNN_FIC_FORMAT);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1263
reg_val = ecore_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1265
ecore_wr(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE, reg_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1268
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN, vxlan_enable ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1272
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1279
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1282
ecore_wr(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN, reg_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1284
ecore_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, (u32)PRS_ETH_TUNN_FIC_FORMAT);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1287
reg_val = ecore_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1290
ecore_wr(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE, reg_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1293
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_GRE_ETH_EN, eth_gre_enable ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1294
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_GRE_IP_EN, ip_gre_enable ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1298
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1303
ecore_wr(p_hwfn, p_ptt, PRS_REG_NGE_PORT, dest_port);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1306
ecore_wr(p_hwfn, p_ptt, NIG_REG_NGE_PORT, dest_port);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1309
ecore_wr(p_hwfn, p_ptt, PBF_REG_NGE_PORT, dest_port);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1313
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1320
reg_val = ecore_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1323
ecore_wr(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN, reg_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1325
ecore_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, (u32)PRS_ETH_TUNN_FIC_FORMAT);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1328
ecore_wr(p_hwfn, p_ptt, NIG_REG_NGE_ETH_ENABLE, eth_geneve_enable ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1329
ecore_wr(p_hwfn, p_ptt, NIG_REG_NGE_IP_ENABLE, ip_geneve_enable ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1336
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_NGE_ETH_EN_K2_E5, eth_geneve_enable ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1337
ecore_wr(p_hwfn, p_ptt, DORQ_REG_L2_EDPM_TUNNEL_NGE_IP_EN_K2_E5, ip_geneve_enable ? 1 : 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1352
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1362
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_GFT, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1363
ecore_wr(p_hwfn, p_ptt, PRS_REG_CM_HDR_GFT, 0x0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1369
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_CAM + CAM_LINE_SIZE*pf_id, cam_line.cam_line_mapped.camline);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1376
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE*pf_id + i*REG_SIZE, *(ram_line_ptr + i));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1381
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1386
rfs_cm_hdr_event_id = ecore_rd(p_hwfn, p_ptt, PRS_REG_CM_HDR_GFT);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1389
ecore_wr(p_hwfn, p_ptt, PRS_REG_CM_HDR_GFT, rfs_cm_hdr_event_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1393
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1405
rfs_cm_hdr_event_id = ecore_rd(p_hwfn, p_ptt, PRS_REG_CM_HDR_GFT);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1416
ecore_wr(p_hwfn, p_ptt, PRS_REG_CM_HDR_GFT, rfs_cm_hdr_event_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1421
ecore_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_GFT, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1424
ecore_wr(p_hwfn, p_ptt, PRS_REG_LOAD_L2_FILTER, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1451
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_CAM + CAM_LINE_SIZE*pf_id, cam_line.cam_line_mapped.camline);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1452
cam_line.cam_line_mapped.camline = ecore_rd(p_hwfn, p_ptt, PRS_REG_GFT_CAM + CAM_LINE_SIZE*pf_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1467
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE*pf_id + i*REG_SIZE, *(ram_line_ptr + i));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1474
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE*PRS_GFT_CAM_LINES_NO_MATCH + i*REG_SIZE, *(ram_line_ptr + i));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1481
void ecore_config_vf_zone_size_mode(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u16 mode, bool runtime_init)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1498
ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_MSDM_VF_SHIFT_B, msdm_vf_size_log);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1499
ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_MSDM_OFFSET_MASK_B, msdm_vf_offset_mask);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1665
void ecore_enable_context_validation(struct ecore_hwfn * p_hwfn, struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1671
ecore_wr(p_hwfn, p_ptt, CDU_REG_CCFC_CTX_VALID0, ctx_validation);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1675
ecore_wr(p_hwfn, p_ptt, CDU_REG_CCFC_CTX_VALID1, ctx_validation);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
1679
ecore_wr(p_hwfn, p_ptt, CDU_REG_TCFC_CTX_VALID0, ctx_validation);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
344
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
598
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
604
reg_val = ecore_rd(p_hwfn, p_ptt, QM_REG_SDMCMDREADY);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
617
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
622
if (!ecore_poll_on_qm_cmd_ready(p_hwfn, p_ptt))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
625
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDADDR, cmd_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
626
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATALSB, cmd_data_lsb);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
627
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATAMSB, cmd_data_msb);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
628
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
629
ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
631
return ecore_poll_on_qm_cmd_ready(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
693
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
727
ecore_tx_pq_map_rt_init(p_hwfn, p_ptt, port_id, pf_id, max_phys_tcs_per_port, is_first_pf, num_pf_cids, num_vf_cids,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
751
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
763
ecore_wr(p_hwfn, p_ptt, QM_REG_WFQPFWEIGHT + pf_id * 4, inc_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
769
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
781
ecore_wr(p_hwfn, p_ptt, QM_REG_RLPFCRD + pf_id * 4, (u32)QM_RL_CRD_REG_SIGN_BIT);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
782
ecore_wr(p_hwfn, p_ptt, QM_REG_RLPFINCVAL + pf_id * 4, inc_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
788
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
805
ecore_wr(p_hwfn, p_ptt, QM_REG_WFQVPWEIGHT + vport_pq_id * 4, inc_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
813
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
830
ecore_wr(p_hwfn, p_ptt, QM_REG_RLGLBLCRD + vport_id * 4, (u32)QM_RL_CRD_REG_SIGN_BIT);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
831
ecore_wr(p_hwfn, p_ptt, QM_REG_RLGLBLINCVAL + vport_id * 4, inc_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
837
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
862
if (!ecore_send_qm_cmd(p_hwfn, p_ptt, QM_STOP_CMD_ADDR, cmd_arr[0], cmd_arr[1]))
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
902
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
940
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));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
943
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));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
957
ecore_wr(p_hwfn, p_ptt, tc_weight_base_addr + tc_weight_addr_diff * tc_client_offset, byte_weight);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
960
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));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
965
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
973
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_CTRL, ctrl);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
979
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_INC_PERIOD, NIG_RL_PERIOD_CLK_25M);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
981
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_INC_VALUE, inc_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
982
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_MAX_VALUE, NIG_RL_MAX_VAL(inc_val, req->mtu));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
986
ecore_wr(p_hwfn, p_ptt, NIG_REG_TX_LB_GLBRATELIMIT_CTRL, ctrl);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
991
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_CTRL, ctrl);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
997
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_INC_PERIOD, NIG_RL_PERIOD_CLK_25M);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.c
999
ecore_wr(p_hwfn, p_ptt, NIG_REG_LB_BRBRATELIMIT_INC_VALUE, inc_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
122
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
151
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
166
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
183
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
199
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
217
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
238
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
252
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
267
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
282
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
298
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
314
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
326
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
340
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
351
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
363
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
376
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
388
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
401
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
411
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
426
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
448
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_fw_funcs.h
486
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
119
ecore_wr(p_hwfn, p_ptt, addr + (i << 2),
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
129
rc = ecore_dmae_host2grc(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
174
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
192
ecore_wr(p_hwfn, p_ptt, addr + (i << 2), data[i]);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
194
rc = ecore_dmae_host2grc(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
204
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
212
return ecore_dmae_host2grc(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
219
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
225
ecore_wr(p_hwfn, p_ptt, addr, fill);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
230
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
265
rc = ecore_init_array_dmae(p_hwfn, p_ptt, addr, 0,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
290
rc = ecore_init_array_dmae(p_hwfn, p_ptt, addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
302
rc = ecore_init_array_dmae(p_hwfn, p_ptt, addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
314
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
334
ecore_wr(p_hwfn, p_ptt, addr, data);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
339
rc = ecore_init_fill_dmae(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
342
ecore_init_fill(p_hwfn, p_ptt, addr, 0, data);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
345
rc = ecore_init_cmd_array(p_hwfn, p_ptt, p_cmd,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
349
ecore_init_rt(p_hwfn, p_ptt, addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
376
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
393
val = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
419
val = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
431
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
491
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
520
rc = ecore_init_cmd_wr(p_hwfn, p_ptt, &cmd->write,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
525
ecore_init_cmd_rd(p_hwfn, p_ptt, &cmd->read);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
546
ecore_init_cmd_cb(p_hwfn, p_ptt, &cmd->callback);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.c
97
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_init_ops.h
61
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1249
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1259
ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTN_MSG_ADDR_L,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1261
ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTN_MSG_ADDR_H,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1266
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1301
ecore_int_sb_attn_setup(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1305
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1330
ecore_int_sb_attn_init(p_hwfn, p_ptt, p_virt, p_phys);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1387
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1409
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1420
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1425
_ecore_int_cau_conf_pi(p_hwfn, p_ptt, p_sb->igu_sb_id,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1430
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1443
ecore_dmae_host2grc(p_hwfn, p_ptt, (u64)(osal_uintptr_t)&phys_addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1446
ecore_dmae_host2grc(p_hwfn, p_ptt, (u64)(osal_uintptr_t)&sb_entry,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1478
_ecore_int_cau_conf_pi(p_hwfn, p_ptt, igu_sb_id, RX_PI,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1490
_ecore_int_cau_conf_pi(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1499
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1507
ecore_int_cau_conf_sb(p_hwfn, p_ptt, sb_info->sb_phys,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1581
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1634
ecore_int_sb_setup(p_hwfn, p_ptt, sb_info);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1694
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1720
ecore_int_sb_init(p_hwfn, p_ptt, &p_sb->sb_info,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1774
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1805
ecore_wr(p_hwfn, p_ptt, IGU_REG_PF_CONFIGURATION, igu_pf_conf);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1809
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1819
ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTENTION_ENABLE, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1820
ecore_wr(p_hwfn, p_ptt, IGU_REG_LEADING_EDGE_LATCH, 0xfff);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1821
ecore_wr(p_hwfn, p_ptt, IGU_REG_TRAILING_EDGE_LATCH, 0xfff);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1822
ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTENTION_ENABLE, 0xfff);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1828
ecore_wr(p_hwfn, p_ptt, MISC_REG_AEU_MASK_ATTN_IGU, 0xff);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1832
ecore_int_igu_enable(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1842
tmp = ecore_rd(p_hwfn, p_ptt, MISC_REG_AEU_ENABLE4_IGU_OUT_0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1844
ecore_wr(p_hwfn, p_ptt, MISC_REG_AEU_ENABLE4_IGU_OUT_0, tmp);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1846
ecore_int_igu_enable_attn(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1858
ecore_int_igu_enable_int(p_hwfn, p_ptt, int_mode);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1866
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1873
ecore_wr(p_hwfn, p_ptt, IGU_REG_PF_CONFIGURATION, 0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1878
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1905
ecore_wr(p_hwfn, p_ptt, IGU_REG_COMMAND_REG_32LSB_DATA, data);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1909
ecore_wr(p_hwfn, p_ptt, IGU_REG_COMMAND_REG_CTRL, cmd_ctrl);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1922
val = ecore_rd(p_hwfn, p_ptt, sb_bit_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1935
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1949
ecore_int_igu_cleanup_sb(p_hwfn, p_ptt, igu_sb_id, 1, opaque);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1952
ecore_int_igu_cleanup_sb(p_hwfn, p_ptt, igu_sb_id, 0, opaque);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1958
val = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1973
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1978
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1988
val = ecore_rd(p_hwfn, p_ptt, IGU_REG_BLOCK_CONFIGURATION);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
1991
ecore_wr(p_hwfn, p_ptt, IGU_REG_BLOCK_CONFIGURATION, val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2004
ecore_int_igu_init_pure_rt_single(p_hwfn, p_ptt, igu_sb_id,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2010
ecore_int_igu_init_pure_rt_single(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2017
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2136
rval = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2141
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2158
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2174
return ecore_int_igu_reset_cam(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2178
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2181
u32 val = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2197
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2226
ecore_int_igu_read_cam_block(p_hwfn, p_ptt, igu_sb_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2289
ecore_int_igu_relocate_sb(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2399
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2403
ecore_int_cau_conf_sb(p_hwfn, p_ptt, 0,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2469
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2479
rc = ecore_int_sp_sb_alloc(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2485
rc = ecore_int_sb_attn_alloc(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2499
void ecore_int_setup(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2504
ecore_int_sb_setup(p_hwfn, p_ptt, &p_hwfn->p_sp_sb->sb_info);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2505
ecore_int_sb_attn_setup(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2535
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2546
rc = ecore_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2559
rc = ecore_dmae_host2grc(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2572
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2585
p_info->igu_prod = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2587
p_info->igu_cons = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.c
2591
p_info->pi[i] = (u16)ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.h
101
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.h
126
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.h
144
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int.h
92
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int_api.h
198
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int_api.h
212
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int_api.h
222
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int_api.h
253
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int_api.h
267
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int_api.h
340
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_int_api.h
356
ecore_int_igu_relocate_sb(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
223
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
235
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
251
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
276
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
289
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
463
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
591
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
605
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
754
static OSAL_INLINE enum _ecore_status_t ecore_iov_init_hw_for_vf(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_iov_vf_init_params *p_params) {return ECORE_INVAL;}
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
755
static OSAL_INLINE void ecore_iov_process_mbx_req(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, int vfid) {}
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
756
static OSAL_INLINE enum _ecore_status_t ecore_iov_release_hw_for_vf(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u16 rel_vf_id) {return ECORE_SUCCESS;}
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
758
static OSAL_INLINE enum _ecore_status_t ecore_iov_vf_flr_cleanup(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) {return ECORE_INVAL;}
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
759
static OSAL_INLINE enum _ecore_status_t ecore_iov_single_vf_flr_cleanup(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u16 rel_vf_id) {return ECORE_INVAL;}
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
775
static OSAL_INLINE enum _ecore_status_t ecore_iov_post_vf_bulletin(struct ecore_hwfn *p_hwfn, int vfid, struct ecore_ptt *p_ptt) {return ECORE_INVAL;}
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
787
static OSAL_INLINE enum _ecore_status_t ecore_iov_configure_tx_rate(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, int vfid, int val) { return ECORE_INVAL; }
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_iov_api.h
788
static OSAL_INLINE enum _ecore_status_t ecore_iov_get_vf_stats(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, int vfid, struct ecore_eth_stats *p_stats) { return ECORE_INVAL; }
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1723
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1734
ecore_memcpy_from(p_hwfn, p_ptt, &pstats,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1754
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1774
ecore_memcpy_from(p_hwfn, p_ptt, &tstats,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1801
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1812
ecore_memcpy_from(p_hwfn, p_ptt, &ustats,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1847
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1858
ecore_memcpy_from(p_hwfn, p_ptt, &mstats,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1878
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1887
ecore_memcpy_from(p_hwfn, p_ptt, &port_stats,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1965
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1969
__ecore_get_vport_mstats(p_hwfn, p_ptt, stats, statistics_bin);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1970
__ecore_get_vport_ustats(p_hwfn, p_ptt, stats, statistics_bin);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1971
__ecore_get_vport_tstats(p_hwfn, p_ptt, stats, statistics_bin);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1972
__ecore_get_vport_pstats(p_hwfn, p_ptt, stats, statistics_bin);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1981
__ecore_get_vport_port_stats(p_hwfn, p_ptt, stats);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
1994
struct ecore_ptt *p_ptt = IS_PF(p_dev) ?
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2005
if (IS_PF(p_dev) && !p_ptt) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2010
__ecore_get_vport_stats(p_hwfn, p_ptt, stats, fw_vport,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2014
if (IS_PF(p_dev) && p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2015
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2049
struct ecore_ptt *p_ptt = IS_PF(p_dev) ?
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2053
if (IS_PF(p_dev) && !p_ptt) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2060
ecore_memcpy_to(p_hwfn, p_ptt, addr, &mstats, len);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2064
ecore_memcpy_to(p_hwfn, p_ptt, addr, &ustats, len);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2068
ecore_memcpy_to(p_hwfn, p_ptt, addr, &pstats, len);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2071
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2084
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2088
ecore_set_rfs_mode_enable(p_hwfn, p_ptt, p_hwfn->rel_pf_id,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2100
ecore_set_rfs_mode_disable(p_hwfn, p_ptt, p_hwfn->rel_pf_id);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.c
2108
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2.h
193
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2_api.h
450
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_l2_api.h
471
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
101
u32 mfw_mb_offsize = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1017
return ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_UNLOAD_REQ, wol_param,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1022
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1048
return ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1052
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1056
u32 mfw_path_offsize = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1067
disabled_vfs[i] = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1082
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1087
u32 mfw_func_offsize = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1103
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
111
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1112
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1121
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1125
transceiver_state = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1145
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1152
eee_status = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1168
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1181
status = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1241
__ecore_configure_pf_max_bandwidth(p_hwfn, p_ptt, p_link, max_bw);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1244
__ecore_configure_pf_min_bandwidth(p_hwfn, p_ptt, p_link, min_bw);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1245
ecore_configure_vp_wfq_on_link_change(p_hwfn->p_dev, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
126
tmp = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1302
ecore_mcp_read_eee_config(p_hwfn, p_ptt, p_link);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1310
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1362
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1376
ecore_mcp_handle_link_change(p_hwfn, p_ptt, !b_up);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1382
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1392
path_offsize = ecore_rd(p_hwfn, p_ptt, path_offsize_addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1395
proc_kill_cnt = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1404
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1412
ecore_int_igu_disable_int(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1430
proc_kill_cnt = ecore_get_process_kill_counter(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1437
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1475
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1515
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
152
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1521
u32 mfw_path_offsize = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1530
((u32 *)p_data)[i] = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1538
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1547
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1570
ecore_mcp_update_bw(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1576
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1588
ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BW_UPDATE_ACK, 0, &resp,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1593
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1598
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1606
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1615
ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_S_TAG_UPDATE_ACK, 0,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1620
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1642
ecore_mcp_mdump_cmd(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1655
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
166
p_info->public_base = ecore_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1676
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1683
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1687
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1697
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1701
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1708
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1712
ecore_mcp_mdump_get_config(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1723
rc = ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
173
drv_mb_offsize = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1738
ecore_mcp_mdump_get_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1749
global_offsize = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1751
p_mdump_info->reason = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1757
rc = ecore_mcp_mdump_get_config(p_hwfn, p_ptt, &mdump_config);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1781
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1788
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1792
ecore_mcp_mdump_get_retain(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1804
rc = ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
182
mfw_mb_offsize = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1824
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1831
return ecore_mcp_mdump_cmd(p_hwfn, p_ptt, &mdump_cmd_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1835
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1846
rc = ecore_mcp_mdump_get_retain(p_hwfn, p_ptt, &mdump_retain);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
186
p_info->mfw_mb_length = (u16)ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1865
ecore_mcp_mdump_ack(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1870
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1880
ecore_mcp_read_mb(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1895
ecore_mcp_handle_link_change(p_hwfn, p_ptt, false);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1898
ecore_mcp_handle_vf_flr(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1901
ecore_dcbx_mib_update_event(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1905
ecore_dcbx_mib_update_event(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1909
ecore_dcbx_mib_update_event(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1913
ecore_mcp_handle_transceiver_change(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1916
ecore_mcp_handle_process_kill(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
192
p_info->drv_mb_seq = DRV_MB_RD(p_hwfn, p_ptt, drv_mb_header) &
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1922
ecore_mcp_send_protocol_stats(p_hwfn, p_ptt, i);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1925
ecore_mcp_update_bw(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1928
ecore_mcp_update_stag(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1931
ecore_mcp_handle_fan_failure(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1934
ecore_mcp_handle_critical_error(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1950
ecore_wr(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
196
p_info->drv_pulse_seq = DRV_MB_RD(p_hwfn, p_ptt, drv_pulse_mb) &
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1969
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
199
p_info->mcp_hist = (u16)ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1996
global_offsize = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
1999
*p_mfw_ver = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2004
*p_running_bundle_id = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2014
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2030
nvm_cfg_addr = ecore_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2037
nvm_cfg1_offset = ecore_rd(p_hwfn, p_ptt, nvm_cfg_addr + 4);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2042
*p_mbi_ver = ecore_rd(p_hwfn, p_ptt, mbi_ver_addr) &
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2054
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
206
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2067
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2068
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2071
*p_media_type = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2074
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2100
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2106
rc = ecore_mcp_cmd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2146
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2153
if (ecore_mcp_get_shmem_proto_mfw(p_hwfn, p_ptt, p_proto) !=
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2175
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
218
if (ecore_load_mcp_offsets(p_hwfn, p_ptt) != ECORE_SUCCESS) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2180
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2187
if (ecore_mcp_get_shmem_proto(p_hwfn, &shmem_info, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2227
rc = ecore_mcp_cmd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2281
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2286
rc = ecore_mcp_cmd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2307
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2314
rc = ecore_mcp_nvm_rd_cmd(p_hwfn, p_ptt, params->nvm_common.cmd,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2322
rc = ecore_mcp_cmd(p_hwfn, p_ptt, params->nvm_common.cmd,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2328
rc = ecore_mcp_nvm_wr_cmd(p_hwfn, p_ptt, params->nvm_common.cmd,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2344
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2354
ecore_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2359
if (ecore_mcp_get_shmem_proto(p_hwfn, &shmem_info, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2373
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2388
flash_size = ecore_rd(p_hwfn, p_ptt, MCP_REG_NVM_CFG4);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2399
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2410
ecore_wr(p_hwfn, p_ptt, MISC_REG_AEU_GENERAL_ATTN_35, 0x1);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2417
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2433
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CFG_VF_MSIX, param,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2451
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2457
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CFG_PF_VFS_MSIX,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2473
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2477
return ecore_mcp_config_vf_msix_bb(p_hwfn, p_ptt, vf_id, num);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2479
return ecore_mcp_config_vf_msix_ah(p_hwfn, p_ptt, num);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2483
ecore_mcp_send_drv_version(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2512
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2524
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2529
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_MCP_HALT, 0, &resp,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2538
cpu_state = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2546
ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE), cpu_state);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2556
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2560
ecore_wr(p_hwfn, p_ptt, MCP_REG_CPU_STATE, 0xffffffff);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2562
cpu_mode = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2564
ecore_wr(p_hwfn, p_ptt, MCP_REG_CPU_MODE, cpu_mode);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2567
cpu_state = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2581
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2604
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_CURR_CFG,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2614
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2637
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_DRIVER_STATE,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2646
ecore_mcp_ov_get_fc_npiv(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2656
addr = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2663
size = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2698
ecore_mcp_ov_update_mtu(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2706
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_MTU,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2715
ecore_mcp_ov_update_mac(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2738
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2749
ecore_mcp_ov_update_wol(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2777
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_WOL,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2789
ecore_mcp_ov_update_eswitch(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2811
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_ESWITCH_MODE,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2820
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2841
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_LED_MODE,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2850
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2856
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_MASK_PARITIES,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2875
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2878
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2879
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2895
rc = ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2915
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2925
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2928
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2929
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2940
rc = ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2945
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2954
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2956
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2957
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2962
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2972
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2975
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2976
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2982
rc = ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2984
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
299
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2994
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2997
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
2998
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3004
rc = ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3006
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3020
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3023
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3024
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3054
rc = ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3072
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3082
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3085
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3086
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3097
rc = ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3101
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3111
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3114
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3115
if (!p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3122
rc = ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3124
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3130
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3159
(void) ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3175
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
319
org_mcp_reset_seq = ecore_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
320
DRV_MB_WR(p_hwfn, p_ptt, drv_mb_header, (DRV_MSG_CODE_MCP_RESET | seq));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3202
(void) ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3217
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3225
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GPIO_READ,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3238
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3247
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GPIO_WRITE,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
326
} while ((org_mcp_reset_seq == ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3260
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3269
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GPIO_INFO,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3286
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3294
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3308
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
331
ecore_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0)) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3316
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3330
struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 *num_images)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3338
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3351
struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3369
rc = ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3381
ecore_mcp_get_nvm_image_att(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3408
rc = ecore_mcp_bist_nvm_test_get_num_images(p_hwfn, p_ptt, &num_images);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3413
rc = ecore_mcp_bist_nvm_test_get_image_att(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3435
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3444
rc = ecore_mcp_get_nvm_image_att(p_hwfn, p_ptt, image_id, &image_att);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
345
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3472
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3486
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
349
cpu_mode = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
350
cpu_state = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
351
cpu_pc_0 = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_PROGRAM_COUNTER);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3511
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3524
rc = ecore_mcp_nvm_command(p_hwfn, p_ptt, ¶ms);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
353
cpu_pc_1 = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_PROGRAM_COUNTER);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3540
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3545
return ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_MEM_ECC_EVENTS,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
355
cpu_pc_2 = ecore_rd(p_hwfn, p_ptt, MCP_REG_CPU_PROGRAM_COUNTER);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3628
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
363
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3677
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3703
ecore_mcp_set_resc_max_val(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3716
rc = ecore_mcp_resc_allocation_msg(p_hwfn, p_ptt, &in_params,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3727
ecore_mcp_get_resc_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3739
rc = ecore_mcp_resc_allocation_msg(p_hwfn, p_ptt, &in_params,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3755
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3759
return ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_INITIATE_PF_FLR, 0,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3764
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3775
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3798
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
381
actual_mb_seq = DRV_MB_RD(p_hwfn, p_ptt, drv_mb_header) &
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3818
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3833
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3839
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_RESOURCE_CMD, param,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3863
__ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
388
ecore_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0)) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3893
rc = ecore_mcp_resource_cmd(p_hwfn, p_ptt, param, &mcp_resp,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
390
ecore_load_mcp_offsets(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
391
ecore_mcp_cmd_port_init(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3925
ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3945
rc = __ecore_mcp_resc_lock(p_hwfn, p_ptt, p_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3957
ecore_mcp_resc_unlock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
396
DRV_MB_WR(p_hwfn, p_ptt, drv_mb_param, param);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
3974
rc = ecore_mcp_resource_cmd(p_hwfn, p_ptt, param, &mcp_resp,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
399
DRV_MB_WR(p_hwfn, p_ptt, drv_mb_header, (cmd | seq));
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4009
ecore_mcp_update_fcoe_cvid(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4015
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OEM_UPDATE_FCOE_CVID,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4026
struct ecore_ptt *p_ptt, u8 *wwn)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4040
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4047
void ecore_mcp_wol_wr(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4059
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4074
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4079
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
408
*o_mcp_resp = DRV_MB_RD(p_hwfn, p_ptt, fw_mb_header);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4090
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
4097
return ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_FEATURE_SUPPORT,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
422
*o_mcp_param = DRV_MB_RD(p_hwfn, p_ptt, fw_mb_param);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
427
ecore_mcp_print_cpu_info(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
436
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
472
ecore_memcpy_to(p_hwfn, p_ptt, union_data_addr, &union_data,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
475
rc = ecore_do_mcp_cmd(p_hwfn, p_ptt, p_mb_params->cmd,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
481
ecore_memcpy_from(p_hwfn, p_ptt, p_mb_params->p_data_dst,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
490
struct ecore_ptt *p_ptt, u32 cmd, u32 param,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
511
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
522
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
538
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
549
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
569
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
636
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
641
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CANCEL_LOAD_REQ, 0,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
711
__ecore_mcp_load_req(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
766
rc = ecore_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
853
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
888
rc = __ecore_mcp_load_req(p_hwfn, p_ptt, &in_params, &out_params);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
905
rc = __ecore_mcp_load_req(p_hwfn, p_ptt, &in_params,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
935
rc = __ecore_mcp_load_req(p_hwfn, p_ptt, &in_params,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
951
ecore_mcp_cancel_load_req(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
97
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.c
997
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
136
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
146
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
171
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
188
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
217
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
229
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
240
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
249
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
261
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
272
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
283
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
302
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
327
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
355
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
367
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
378
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
380
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
384
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
388
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
392
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
406
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
418
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
437
ecore_mcp_mdump_get_retain(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
449
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
463
ecore_mcp_set_resc_max_val(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
480
ecore_mcp_get_resc_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
493
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
505
ecore_mcp_ov_update_eswitch(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
560
ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
584
ecore_mcp_resc_unlock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
587
void ecore_mcp_wol_wr(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
597
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
607
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp.h
616
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1037
ecore_mcp_get_nvm_image_att(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1053
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1071
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1089
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1104
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1118
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1134
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1147
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1158
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1171
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1185
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1202
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1216
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1229
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1251
ecore_mcp_mdump_get_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1263
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1275
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1288
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1301
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1313
ecore_mcp_update_fcoe_cvid(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
1327
struct ecore_ptt *p_ptt, u8 *wwn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
642
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
656
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
670
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
701
struct ecore_ptt *p_ptt, u32 cmd, u32 param,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
712
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
761
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
776
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
790
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
804
ecore_mcp_send_drv_version(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
816
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
827
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
840
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
854
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
869
ecore_mcp_ov_get_fc_npiv(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
882
struct ecore_ptt *p_ptt, u16 mtu);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
894
ecore_mcp_ov_update_mac(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
907
ecore_mcp_ov_update_wol(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_mcp_api.h
920
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1001
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
101
int ecore_phy_core_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1012
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1023
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1034
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1048
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1068
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1132
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
116
rc = ecore_phy_read(p_hwfn, p_ptt, port, 0 /* lane */ , addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1199
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1221
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1232
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1243
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1254
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1268
int ecore_phy_sfp_decode(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1276
rc = ecore_validate_sfp_port(p_hwfn, p_ptt, port, p_phy_result_buf);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1280
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1290
rc = ecore_decode_sfp_info(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1296
rc = ecore_decode_qsfp_info(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1302
rc = ecore_decode_qsfp_info(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1308
rc = ecore_decode_qsfp_info(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
131
int ecore_phy_raw_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1328
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1334
u32 mfw_mb_offsize = ecore_rd(p_hwfn, p_ptt, addr);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1337
transceiver_state = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1352
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1360
rc = ecore_validate_sfp_port(p_hwfn, p_ptt, port, p_phy_result_buf);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1364
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1372
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1383
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1403
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1419
rc = ecore_validate_sfp_port(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1424
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1432
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1441
rc = ecore_mcp_phy_sfp_write(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1454
nvm_cfg_addr = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1456
nvm_cfg1_offset = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1460
gpio = (u16)ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1465
rc = ecore_phy_gpio_write(p_hwfn, p_ptt, gpio,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1476
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1485
rc = ecore_mcp_phy_sfp_write(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1506
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1514
rc = ecore_validate_sfp_port(p_hwfn, p_ptt, port, p_phy_result_buf);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1518
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
152
rc = ecore_phy_write(p_hwfn,p_ptt, port, lane, addr, data_lo,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1526
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1538
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1559
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1567
rc = ecore_validate_sfp_port(p_hwfn, p_ptt, port, p_phy_result_buf);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1571
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1579
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1591
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1612
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1619
rc = ecore_validate_sfp_port(p_hwfn, p_ptt, port, p_phy_result_buf);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1623
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1634
rc = ecore_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
164
int ecore_phy_raw_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1650
int ecore_phy_gpio_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1655
rc = ecore_mcp_gpio_write(p_hwfn, p_ptt, gpio, gpio_val);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1669
int ecore_phy_gpio_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1675
rc = ecore_mcp_gpio_read(p_hwfn, p_ptt, gpio, ¶m);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1687
int ecore_phy_gpio_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1693
rc = ecore_mcp_gpio_info(p_hwfn, p_ptt, gpio, &direction, &ctrl);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1731
int ecore_phy_extphy_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1738
rc = ecore_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_EXT_PHY_READ,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1755
int ecore_phy_extphy_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
1763
rc = ecore_mcp_nvm_wr_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_EXT_PHY_WRITE,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
187
rc = ecore_phy_read(p_hwfn,p_ptt, port, lane, addr, ECORE_PHY_RAW_READ,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
203
struct ecore_ptt *p_ptt)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
207
nvm_cfg_addr = ecore_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
208
nvm_cfg1_offset = ecore_rd(p_hwfn, p_ptt, nvm_cfg_addr +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
215
int ecore_phy_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
218
u32 nvm_cfg1_addr = ecore_phy_get_nvm_cfg1_addr(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
225
u8 is_bb = ((ecore_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_NUM) & 0x8070)
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
235
core_cfg = ecore_rd(p_hwfn, p_ptt, nvm_cfg1_addr +
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
292
rc = ecore_phy_read(p_hwfn, p_ptt, port, 0, SERDESID,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
53
struct ecore_ptt *p_ptt, u32 port, u32 lane,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
583
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
596
rc = ecore_phy_read(p_hwfn, p_ptt, port, 0 /*lane*/, addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
61
struct ecore_ptt *p_ptt, u32 port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
630
struct ecore_ptt *p_ptt, u32 port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
640
data_lo = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
644
data_hi = ecore_rd(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
661
int ecore_phy_mac_stat(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
673
return ecore_bb_phy_mac_stat(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
676
return ecore_ah_e5_phy_mac_stat(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
708
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
731
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
738
rc = ecore_validate_sfp_port(p_hwfn, p_ptt, port, p_phy_result_buf);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
76
int ecore_phy_core_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
769
int ecore_phy_sfp_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
775
rc = ecore_validate_sfp_parameters(p_hwfn, p_ptt, port, addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
779
rc = ecore_mcp_phy_sfp_write(p_hwfn, p_ptt, port, addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
794
int ecore_phy_sfp_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
801
rc = ecore_validate_sfp_parameters(p_hwfn, p_ptt, port, addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
808
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, addr,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
823
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
845
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
860
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
89
rc = ecore_phy_write(p_hwfn, p_ptt, port, 0 /* lane */, addr, data_lo,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
890
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
922
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
957
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.c
981
rc = ecore_mcp_phy_sfp_read(p_hwfn, p_ptt, port, I2C_TRANSCEIVER_ADDR,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.h
41
int ecore_phy_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy.h
43
int ecore_phy_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
100
int ecore_phy_raw_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
113
int ecore_phy_mac_stat(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
125
int ecore_phy_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
142
int ecore_phy_sfp_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
159
int ecore_phy_sfp_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
173
int ecore_phy_sfp_decode(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
187
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
201
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
216
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
231
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
245
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
259
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
273
int ecore_phy_gpio_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
286
int ecore_phy_gpio_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
300
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
315
int ecore_phy_extphy_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
331
int ecore_phy_extphy_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
52
int ecore_phy_core_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
67
int ecore_phy_core_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_phy_api.h
84
int ecore_phy_raw_write(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_ptp_api.h
40
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_ptp_api.h
43
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_ptp_api.h
47
struct ecore_ptt *p_ptt, u64 *ts);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_ptp_api.h
50
struct ecore_ptt *p_ptt, u64 *ts);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_ptp_api.h
53
struct ecore_ptt *p_ptt, u64 *cycles);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_ptp_api.h
56
struct ecore_ptt *p_ptt, s32 ppb);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_ptp_api.h
59
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_ptp_api.h
62
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_roce.h
102
void ecore_roce_dpm_dcbx(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_roce.h
103
void ecore_rdma_dpm_bar(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
100
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
107
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
108
if (!p_ptt) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
112
rc = ecore_mcp_bist_clock_test(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
113
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
124
struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
131
if (!p_ptt) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
137
rc = ecore_mcp_bist_nvm_test_get_num_images(p_hwfn, p_ptt, &num_images);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
148
rc = ecore_mcp_bist_nvm_test_get_image_att(p_hwfn, p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
212
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
218
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
75
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
83
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
84
if (!p_ptt) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
88
rc = ecore_mcp_bist_register_test(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_selftest.c
89
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_sp_commands.c
249
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_sp_commands.c
252
ecore_set_gre_enable(p_hwfn, p_ptt, p_tun->l2_gre.b_mode_enabled,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_sp_commands.c
254
ecore_set_vxlan_enable(p_hwfn, p_ptt, p_tun->vxlan.b_mode_enabled);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_sp_commands.c
256
ecore_set_geneve_enable(p_hwfn, p_ptt, p_tun->l2_geneve.b_mode_enabled,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_sriov.h
273
struct ecore_ptt *p_ptt);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_sriov.h
344
static OSAL_INLINE void ecore_iov_setup(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) {}
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_vf.h
83
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_vf.h
87
struct ecore_ptt *p_ptt,
usr/src/uts/common/io/qede/qede_main.c
3304
struct ecore_ptt *p_ptt;
usr/src/uts/common/io/qede/qede_main.c
3527
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/qede_main.c
3539
ecore_mcp_get_mfw_ver(p_hwfn, p_ptt, &qede->mfw_ver, NULL);
usr/src/uts/common/io/qede/qede_main.c
3541
ecore_ptt_release(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/qede_main.c
3706
struct ecore_ptt *p_ptt = NULL;
usr/src/uts/common/io/qede/qede_main.c
3710
p_ptt = ecore_ptt_acquire(p_hwfn);
usr/src/uts/common/io/qede/qede_main.c
3711
if (p_ptt) {
usr/src/uts/common/io/qede/qede_main.c
3712
status = ecore_start_recovery_process(p_hwfn, p_ptt);
usr/src/uts/common/io/qede/qede_main.c
3713
ecore_ptt_release(p_hwfn, p_ptt);