Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/microsoft/mana/ !
Dgdma_main.c561 u32 log2_num_entries; in mana_gd_create_eq() local
566 log2_num_entries = ilog2(queue->queue_size / GDMA_EQE_SIZE); in mana_gd_create_eq()
568 if (spec->eq.log2_throttle_limit > log2_num_entries) { in mana_gd_create_eq()
570 spec->eq.log2_throttle_limit, log2_num_entries); in mana_gd_create_eq()
582 queue->head |= INITIALIZED_OWNER_BIT(log2_num_entries); in mana_gd_create_eq()
605 u32 log2_num_entries = ilog2(spec->queue_size / GDMA_CQE_SIZE); in mana_gd_create_cq() local
607 queue->head |= INITIALIZED_OWNER_BIT(log2_num_entries); in mana_gd_create_cq()
Dgdma.h465 #define INITIALIZED_OWNER_BIT(log2_num_entries) (1UL << (log2_num_entries)) argument