Searched refs:fbnic_wr32 (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_time.c | 58 fbnic_wr32(fbd, FBNIC_PTP_ADD_VAL_NS, in __fbnic_time_set_addend() 60 fbnic_wr32(fbd, FBNIC_PTP_ADD_VAL_SUBNS, (u32)addend); in __fbnic_time_set_addend() 119 fbnic_wr32(fbd, FBNIC_PTP_ADJUST, FBNIC_PTP_ADJUST_ADDEND_SET); in fbnic_ptp_adjfine() 228 fbnic_wr32(fbd, FBNIC_PTP_CTRL, in fbnic_ptp_reset() 237 fbnic_wr32(fbd, FBNIC_PTP_INIT_HI, 0); in fbnic_ptp_reset() 238 fbnic_wr32(fbd, FBNIC_PTP_INIT_LO, 0); in fbnic_ptp_reset() 240 fbnic_wr32(fbd, FBNIC_PTP_ADJUST, FBNIC_PTP_ADJUST_INIT); in fbnic_ptp_reset() 242 fbnic_wr32(fbd, FBNIC_PTP_CTRL, in fbnic_ptp_reset()
|
| H A D | fbnic_irq.c | 17 fbnic_wr32(fbd, FBNIC_INTR_MASK_CLEAR(0), 1u << FBNIC_FW_MSIX_ENTRY); in fbnic_fw_msix_intr() 36 fbnic_wr32(fbd, FBNIC_INTR_MASK_CLEAR(0), 1u << FBNIC_FW_MSIX_ENTRY); in __fbnic_fw_enable_mbx() 91 fbnic_wr32(fbd, FBNIC_INTR_MASK_SET(0), 1u << FBNIC_FW_MSIX_ENTRY); in fbnic_fw_disable_mbx() 127 fbnic_wr32(fbd, FBNIC_INTR_MASK_CLEAR(0), in fbnic_pcs_msix_intr() 168 fbnic_wr32(fbd, FBNIC_INTR_MSIX_CTRL(FBNIC_INTR_MSIX_CTRL_PCS_IDX), in fbnic_pcs_request_irq() 190 fbnic_wr32(fbd, FBNIC_INTR_MSIX_CTRL(FBNIC_INTR_MSIX_CTRL_PCS_IDX), in fbnic_pcs_free_irq() 198 fbnic_wr32(fbd, FBNIC_INTR_MASK_SET(0), 1u << FBNIC_PCS_MSIX_ENTRY); in fbnic_pcs_free_irq()
|
| H A D | fbnic.h | 102 static inline void fbnic_wr32(struct fbnic_dev *fbd, u32 reg, u32 val) in fbnic_wr32() function 125 fbnic_wr32(fbd, reg, v); in fbnic_rmw32() 128 #define wr32(_f, _r, _v) fbnic_wr32(_f, _r, _v)
|
| H A D | fbnic_txrx.c | 1168 fbnic_wr32(fbd, FBNIC_INTR_MASK_SET(v_idx / 32), 1 << (v_idx % 32)); in fbnic_nv_irq_disable() 1176 fbnic_wr32(fbd, FBNIC_INTR_CQ_REARM(v_idx), in fbnic_nv_irq_rearm() 2213 fbnic_wr32(fbd, FBNIC_INTR_CQ_REARM(nv->v_idx), val); in fbnic_config_txrx_usecs() 2330 fbnic_wr32(fbd, FBNIC_INTR_SET(i), irqs[i]); in fbnic_napi_enable() 2360 fbnic_wr32(fbd, FBNIC_INTR_MASK_CLEAR(i), irqs[i]); in fbnic_napi_depletion_check() 2361 fbnic_wr32(fbd, FBNIC_INTR_SET(i), irqs[i]); in fbnic_napi_depletion_check()
|