Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dgdma_main.c587 u32 log2_num_entries; in mana_gd_create_eq() local
592 log2_num_entries = ilog2(queue->queue_size / GDMA_EQE_SIZE); in mana_gd_create_eq()
594 if (spec->eq.log2_throttle_limit > log2_num_entries) { in mana_gd_create_eq()
596 spec->eq.log2_throttle_limit, log2_num_entries); in mana_gd_create_eq()
608 queue->head |= INITIALIZED_OWNER_BIT(log2_num_entries); in mana_gd_create_eq()
631 u32 log2_num_entries = ilog2(spec->queue_size / GDMA_CQE_SIZE); in mana_gd_create_cq() local
633 queue->head |= INITIALIZED_OWNER_BIT(log2_num_entries); in mana_gd_create_cq()
/openbmc/linux/include/net/mana/
H A Dgdma.h502 #define INITIALIZED_OWNER_BIT(log2_num_entries) (1UL << (log2_num_entries)) argument