Home
last modified time | relevance | path

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

/freebsd/sys/dev/vnic/
H A Dnic_main.c417 bus_space_handle_t mbx_addr = nic_get_mbx_addr(vf); in nic_send_msg_to_vf() local
426 nic_reg_write(nic, mbx_addr + 0, msg[0]); in nic_send_msg_to_vf()
427 nic_reg_write(nic, mbx_addr + 8, msg[1]); in nic_send_msg_to_vf()
429 nic_reg_write(nic, mbx_addr + 8, msg[1]); in nic_send_msg_to_vf()
430 nic_reg_write(nic, mbx_addr + 0, msg[0]); in nic_send_msg_to_vf()
888 uint64_t mbx_addr; in nic_handle_mbx_intr() local
897 mbx_addr = nic_get_mbx_addr(vf); in nic_handle_mbx_intr()
901 *mbx_data = nic_reg_read(nic, mbx_addr); in nic_handle_mbx_intr()
903 mbx_addr += sizeof(uint64_t); in nic_handle_mbx_intr()
H A Dnicvf_main.c902 uint64_t mbx_addr; in nicvf_handle_mbx_intr() local
905 mbx_addr = NIC_VF_PF_MAILBOX_0_1; in nicvf_handle_mbx_intr()
909 *mbx_data = nicvf_reg_read(nic, mbx_addr); in nicvf_handle_mbx_intr()
911 mbx_addr += sizeof(uint64_t); in nicvf_handle_mbx_intr()