Searched refs:get_next_index (Results 1 – 3 of 3) sorted by relevance
170 #define get_next_index(index, length) ((((index) + 1) == length)?0:(index) +1) macro
1014 producer = get_next_index(producer, MaxTxDescCount); in unm_send_mapped()1043 adapter->cmdProducer = get_next_index(producer, MaxTxDescCount); in unm_send_mapped()1423 last_consumer = get_next_index(last_consumer, in unm_process_cmd_ring()1585 producer = get_next_index(producer, rcv_desc->MaxRxDescCount); in unm_post_rx_buffers_nodb()
2136 producer = get_next_index(producer, adapter->MaxTxDescCount); in nx_nic_send_cmd_descs()