Home
last modified time | relevance | path

Searched refs:nic_reg_write (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dnic_main.c88 static void nic_reg_write(struct nicpf *nic, u64 offset, u64 val) in nic_reg_write() function
106 nic_reg_write(nic, NIC_PF_MAILBOX_INT, INTR_MASK(vf_cnt)); in nic_enable_mbx_intr()
109 nic_reg_write(nic, NIC_PF_MAILBOX_ENA_W1S, INTR_MASK(vf_cnt)); in nic_enable_mbx_intr()
112 nic_reg_write(nic, NIC_PF_MAILBOX_INT + sizeof(u64), in nic_enable_mbx_intr()
114 nic_reg_write(nic, NIC_PF_MAILBOX_ENA_W1S + sizeof(u64), in nic_enable_mbx_intr()
121 nic_reg_write(nic, NIC_PF_MAILBOX_INT + (mbx_reg << 3), BIT_ULL(vf)); in nic_clear_mbx_intr()
215 nic_reg_write(nic, NIC_PF_SW_SYNC_RX, 0x01); in nic_rcv_queue_sw_sync()
222 nic_reg_write(nic, NIC_PF_SW_SYNC_RX, 0x00); in nic_rcv_queue_sw_sync()
272 nic_reg_write(nic, NIC_PF_LMAC_0_7_CREDIT + (lmac * 8), lmac_credits); in nic_update_hw_frs()
278 nic_reg_write(nic, in nic_update_hw_frs()
[all …]