Searched refs:fbnic_wr32 (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_irq.c | 17 fbnic_wr32(fbd, FBNIC_INTR_MASK_CLEAR(0), 1u << FBNIC_FW_MSIX_ENTRY); in fbnic_fw_msix_intr() 55 fbnic_wr32(fbd, FBNIC_INTR_MASK_CLEAR(0), 1u << FBNIC_FW_MSIX_ENTRY); in fbnic_fw_enable_mbx() 71 fbnic_wr32(fbd, FBNIC_INTR_MASK_SET(0), 1u << FBNIC_FW_MSIX_ENTRY); in fbnic_fw_disable_mbx() 91 fbnic_wr32(fbd, FBNIC_INTR_MASK_CLEAR(0), in fbnic_pcs_msix_intr() 125 fbnic_wr32(fbd, FBNIC_INTR_MSIX_CTRL(FBNIC_INTR_MSIX_CTRL_PCS_IDX), in fbnic_pcs_irq_enable() 141 fbnic_wr32(fbd, FBNIC_INTR_MSIX_CTRL(FBNIC_INTR_MSIX_CTRL_PCS_IDX), in fbnic_pcs_irq_disable() 143 fbnic_wr32(fbd, FBNIC_INTR_MASK_SET(0), 1u << FBNIC_PCS_MSIX_ENTRY); in fbnic_pcs_irq_disable()
|
D | fbnic.h | 72 static inline void fbnic_wr32(struct fbnic_dev *fbd, u32 reg, u32 val) in fbnic_wr32() function 95 fbnic_wr32(fbd, reg, v); in fbnic_rmw32() 98 #define wr32(_f, _r, _v) fbnic_wr32(_f, _r, _v)
|
D | fbnic_txrx.c | 847 fbnic_wr32(fbd, FBNIC_INTR_MASK_SET(v_idx / 32), 1 << (v_idx % 32)); in fbnic_nv_irq_disable() 855 fbnic_wr32(fbd, FBNIC_INTR_CQ_REARM(v_idx), in fbnic_nv_irq_rearm() 1900 fbnic_wr32(fbd, FBNIC_INTR_CQ_REARM(nv->v_idx), val); in fbnic_nv_irq_enable() 1928 fbnic_wr32(fbd, FBNIC_INTR_SET(i), irqs[i]); in fbnic_napi_enable() 1957 fbnic_wr32(fbd, FBNIC_INTR_MASK_CLEAR(i), irqs[i]); in fbnic_napi_depletion_check() 1958 fbnic_wr32(fbd, FBNIC_INTR_SET(i), irqs[i]); in fbnic_napi_depletion_check()
|