Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_fw.c163 struct fbnic_fw_mbx *rx_mbx = &fbd->mbx[FBNIC_IPC_MBX_RX_IDX]; in fbnic_mbx_alloc_rx_msgs() local
164 u8 tail = rx_mbx->tail, head = rx_mbx->head, count; in fbnic_mbx_alloc_rx_msgs()
170 if (!rx_mbx->ready) in fbnic_mbx_alloc_rx_msgs()
666 struct fbnic_fw_mbx *rx_mbx = &fbd->mbx[FBNIC_IPC_MBX_RX_IDX]; in fbnic_mbx_process_rx_msgs() local
667 u8 head = rx_mbx->head; in fbnic_mbx_process_rx_msgs()
670 while (head != rx_mbx->tail) { in fbnic_mbx_process_rx_msgs()
678 dma_unmap_single(fbd->dev, rx_mbx->buf_info[head].addr, in fbnic_mbx_process_rx_msgs()
681 msg = rx_mbx->buf_info[head].msg; in fbnic_mbx_process_rx_msgs()
713 free_page((unsigned long)rx_mbx->buf_info[head].msg); in fbnic_mbx_process_rx_msgs()
714 rx_mbx->buf_info[head].msg = NULL; in fbnic_mbx_process_rx_msgs()
[all …]