Searched refs:mbmem (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.c338 * fm10k_mbx_write_copy - pulls data off of Tx FIFO and places it in mbmem
342 * mailbox memory. The offset in mbmem is based on the lower bits of the
349 u32 mbmem = mbx->mbmem_reg; fm10k_mbx_write_copy() local
356 /* determine data length and mbmem tail index */ fm10k_mbx_write_copy()
379 fm10k_write_reg(hw, mbmem + tail++, *(head++)); fm10k_mbx_write_copy()
404 /* determine length of data to pull, reserve space for mbmem header */ fm10k_mbx_pull_head()
428 * fm10k_mbx_read_copy - pulls data off of mbmem and places it in Rx FIFO
440 u32 mbmem = mbx->mbmem_reg ^ mbx->mbmem_len; fm10k_mbx_read_copy() local
444 /* determine data length and mbmem head index */ fm10k_mbx_read_copy()
463 *(tail++) = fm10k_read_reg(hw, mbmem + head++); fm10k_mbx_read_copy()
792 * fm10k_mbx_read - Copies the mbmem to local message buffer
796 * This function copies the message from the mbmem to the message array
819 * fm10k_mbx_write - Copies the local message buffer to mbmem
823 * This function copies the message from the the message array to mbmem
827 u32 mbmem = mbx->mbmem_reg; fm10k_mbx_write() local
830 fm10k_write_reg(hw, mbmem, mbx->mbx_hdr); fm10k_mbx_write()
H A Dfm10k_pf.c664 /* zero out all mbmem registers */ fm10k_iov_assign_resources_pf()

Completed in 114 milliseconds