Searched refs:mbmem_len (Results 1 – 2 of 2) sorted by relevance
140 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() local392 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 …]
265 u16 max_size, mbmem_len; member