Lines Matching refs:p_ptt

315 						   struct ecore_ptt *p_ptt)
319 tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS2);
323 addr_lo = ecore_rd(p_hwfn, p_ptt,
325 addr_hi = ecore_rd(p_hwfn, p_ptt,
327 details = ecore_rd(p_hwfn, p_ptt,
342 tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_RD_DETAILS2);
346 addr_lo = ecore_rd(p_hwfn, p_ptt,
348 addr_hi = ecore_rd(p_hwfn, p_ptt,
350 details = ecore_rd(p_hwfn, p_ptt,
365 tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS_ICPL);
369 tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_MASTER_ZLR_ERR_DETAILS);
373 addr_lo = ecore_rd(p_hwfn, p_ptt,
375 addr_hi = ecore_rd(p_hwfn, p_ptt,
383 tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_VF_ILT_ERR_DETAILS2);
387 addr_lo = ecore_rd(p_hwfn, p_ptt,
389 addr_hi = ecore_rd(p_hwfn, p_ptt,
391 details = ecore_rd(p_hwfn, p_ptt,
400 ecore_wr(p_hwfn, p_ptt, PGLUE_B_REG_LATCHED_ERRORS_CLR, (1 << 2));
438 struct ecore_ptt *p_ptt)
454 usage = ecore_rd(p_hwfn, p_ptt, DORQ_REG_PF_USAGE_CNT);
467 ecore_wr(p_hwfn, p_ptt, DORQ_REG_DPM_FORCE_ABORT, 0x1);
470 ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_OVFL_STICKY, 0x0);
482 struct ecore_ptt *p_ptt = p_hwfn->p_dpc_ptt;
485 int_sts = ecore_rd(p_hwfn, p_ptt, DORQ_REG_INT_STS);
502 first_drop_reason = ecore_rd(p_hwfn, p_ptt,
505 details = ecore_rd(p_hwfn, p_ptt,
507 address = ecore_rd(p_hwfn, p_ptt,
509 overflow = ecore_rd(p_hwfn, p_ptt,
511 all_drops_reason = ecore_rd(p_hwfn, p_ptt,
529 rc = ecore_db_rec_attn(p_hwfn, p_ptt);
535 ecore_wr(p_hwfn, p_ptt, DORQ_REG_DB_DROP_DETAILS_REL, 0);
540 ecore_wr(p_hwfn, p_ptt, DORQ_REG_INT_STS_WR,
1352 struct ecore_ptt *p_ptt)
1362 ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTN_MSG_ADDR_L,
1364 ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTN_MSG_ADDR_H,
1369 struct ecore_ptt *p_ptt,
1404 ecore_int_sb_attn_setup(p_hwfn, p_ptt);
1408 struct ecore_ptt *p_ptt)
1433 ecore_int_sb_attn_init(p_hwfn, p_ptt, p_virt, p_phys);
1490 struct ecore_ptt *p_ptt,
1512 ecore_wr(p_hwfn, p_ptt,
1523 struct ecore_ptt *p_ptt,
1528 _ecore_int_cau_conf_pi(p_hwfn, p_ptt, p_sb->igu_sb_id,
1533 struct ecore_ptt *p_ptt,
1546 ecore_dmae_host2grc(p_hwfn, p_ptt, (u64)(osal_uintptr_t)&phys_addr,
1550 ecore_dmae_host2grc(p_hwfn, p_ptt, (u64)(osal_uintptr_t)&sb_entry,
1583 _ecore_int_cau_conf_pi(p_hwfn, p_ptt, igu_sb_id, RX_PI,
1595 _ecore_int_cau_conf_pi(p_hwfn, p_ptt,
1604 struct ecore_ptt *p_ptt,
1612 ecore_int_cau_conf_sb(p_hwfn, p_ptt, sb_info->sb_phys,
1686 struct ecore_ptt *p_ptt,
1739 ecore_int_sb_setup(p_hwfn, p_ptt, sb_info);
1799 struct ecore_ptt *p_ptt)
1825 ecore_int_sb_init(p_hwfn, p_ptt, &p_sb->sb_info,
1879 struct ecore_ptt *p_ptt,
1910 ecore_wr(p_hwfn, p_ptt, IGU_REG_PF_CONFIGURATION, igu_pf_conf);
1914 struct ecore_ptt *p_ptt)
1924 ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTENTION_ENABLE, 0);
1925 ecore_wr(p_hwfn, p_ptt, IGU_REG_LEADING_EDGE_LATCH, 0xfff);
1926 ecore_wr(p_hwfn, p_ptt, IGU_REG_TRAILING_EDGE_LATCH, 0xfff);
1927 ecore_wr(p_hwfn, p_ptt, IGU_REG_ATTENTION_ENABLE, 0xfff);
1933 ecore_wr(p_hwfn, p_ptt, MISC_REG_AEU_MASK_ATTN_IGU, 0xff);
1937 ecore_int_igu_enable(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
1942 ecore_int_igu_enable_attn(p_hwfn, p_ptt);
1954 ecore_int_igu_enable_int(p_hwfn, p_ptt, int_mode);
1962 struct ecore_ptt *p_ptt)
1969 ecore_wr(p_hwfn, p_ptt, IGU_REG_PF_CONFIGURATION, 0);
1974 struct ecore_ptt *p_ptt,
2001 ecore_wr(p_hwfn, p_ptt, IGU_REG_COMMAND_REG_32LSB_DATA, data);
2005 ecore_wr(p_hwfn, p_ptt, IGU_REG_COMMAND_REG_CTRL, cmd_ctrl);
2018 val = ecore_rd(p_hwfn, p_ptt, sb_bit_addr);
2031 struct ecore_ptt *p_ptt,
2045 ecore_int_igu_cleanup_sb(p_hwfn, p_ptt, igu_sb_id, 1, opaque);
2048 ecore_int_igu_cleanup_sb(p_hwfn, p_ptt, igu_sb_id, 0, opaque);
2054 val = ecore_rd(p_hwfn, p_ptt,
2069 ecore_wr(p_hwfn, p_ptt,
2074 struct ecore_ptt *p_ptt,
2084 val = ecore_rd(p_hwfn, p_ptt, IGU_REG_BLOCK_CONFIGURATION);
2087 ecore_wr(p_hwfn, p_ptt, IGU_REG_BLOCK_CONFIGURATION, val);
2100 ecore_int_igu_init_pure_rt_single(p_hwfn, p_ptt, igu_sb_id,
2106 ecore_int_igu_init_pure_rt_single(p_hwfn, p_ptt,
2113 struct ecore_ptt *p_ptt)
2231 rval = ecore_rd(p_hwfn, p_ptt,
2236 ecore_wr(p_hwfn, p_ptt,
2253 struct ecore_ptt *p_ptt)
2269 return ecore_int_igu_reset_cam(p_hwfn, p_ptt);
2273 struct ecore_ptt *p_ptt,
2276 u32 val = ecore_rd(p_hwfn, p_ptt,
2292 struct ecore_ptt *p_ptt)
2321 ecore_int_igu_read_cam_block(p_hwfn, p_ptt, igu_sb_id);
2384 ecore_int_igu_relocate_sb(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
2500 ecore_wr(p_hwfn, p_ptt,
2504 ecore_int_cau_conf_sb(p_hwfn, p_ptt, 0,
2570 struct ecore_ptt *p_ptt)
2580 rc = ecore_int_sp_sb_alloc(p_hwfn, p_ptt);
2586 rc = ecore_int_sb_attn_alloc(p_hwfn, p_ptt);
2600 void ecore_int_setup(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt)
2605 ecore_int_sb_setup(p_hwfn, p_ptt, &p_hwfn->p_sp_sb->sb_info);
2606 ecore_int_sb_attn_setup(p_hwfn, p_ptt);
2636 struct ecore_ptt *p_ptt,
2647 rc = ecore_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY +
2661 rc = ecore_dmae_host2grc(p_hwfn, p_ptt,
2674 struct ecore_ptt *p_ptt,
2687 p_info->igu_prod = ecore_rd(p_hwfn, p_ptt,
2689 p_info->igu_cons = ecore_rd(p_hwfn, p_ptt,
2693 p_info->pi[i] = (u16)ecore_rd(p_hwfn, p_ptt,