Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dnic_main.c135 void __iomem *mbx_addr = nic->reg_base + nic_get_mbx_addr(vf); in nic_send_msg_to_vf() local
146 writeq_relaxed(msg[0], mbx_addr); in nic_send_msg_to_vf()
147 writeq_relaxed(msg[1], mbx_addr + 8); in nic_send_msg_to_vf()
149 writeq_relaxed(msg[1], mbx_addr + 8); in nic_send_msg_to_vf()
150 writeq_relaxed(msg[0], mbx_addr); in nic_send_msg_to_vf()
957 u64 mbx_addr; in nic_handle_mbx_intr() local
964 mbx_addr = nic_get_mbx_addr(vf); in nic_handle_mbx_intr()
968 *mbx_data = nic_reg_read(nic, mbx_addr); in nic_handle_mbx_intr()
970 mbx_addr += sizeof(u64); in nic_handle_mbx_intr()
Dnicvf_main.c204 u64 mbx_addr; in nicvf_handle_mbx_intr() local
207 mbx_addr = NIC_VF_PF_MAILBOX_0_1; in nicvf_handle_mbx_intr()
211 *mbx_data = nicvf_reg_read(nic, mbx_addr); in nicvf_handle_mbx_intr()
213 mbx_addr += sizeof(u64); in nicvf_handle_mbx_intr()