Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c140 return len & ((mbx->mbmem_len << 1) - 1); in fm10k_mbx_index_len()
153 u16 tail = (mbx->tail + offset + 1) & ((mbx->mbmem_len << 1) - 1); in fm10k_mbx_tail_add()
169 u16 tail = (mbx->tail - offset - 1) & ((mbx->mbmem_len << 1) - 1); in fm10k_mbx_tail_sub()
185 u16 head = (mbx->head + offset + 1) & ((mbx->mbmem_len << 1) - 1); in fm10k_mbx_head_add()
201 u16 head = (mbx->head - offset - 1) & ((mbx->mbmem_len << 1) - 1); in fm10k_mbx_head_sub()
342 mask = mbx->mbmem_len - 1; in fm10k_mbx_write_copy()
385 u16 mbmem_len, len, ack = fm10k_mbx_index_len(mbx, head, mbx->tail); in fm10k_mbx_pull_head() local
392 mbmem_len = mbx->mbmem_len - 1; in fm10k_mbx_pull_head()
394 if (len > mbmem_len) in fm10k_mbx_pull_head()
395 len = mbmem_len; in fm10k_mbx_pull_head()
[all …]
Dfm10k_mbx.h265 u16 max_size, mbmem_len; member