Home
last modified time | relevance | path

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

/netbsd/src/sys/dev/pci/
Dif_mcx.c102 #define MCX_LOG_SQ_SIZE 11 macro
5181 npages = howmany((1 << MCX_LOG_SQ_SIZE) * sizeof(struct mcx_sq_entry), in mcx_create_sq()
5222 mbin->sq_wq.wq_log_size = MCX_LOG_SQ_SIZE; in mcx_create_sq()
6837 slot = be16toh(cqe->cq_wqe_count) % (1 << MCX_LOG_SQ_SIZE); in mcx_process_txeof()
7263 tx->tx_slots = kmem_zalloc(sizeof(*ms) * (1 << MCX_LOG_SQ_SIZE), in mcx_queue_up()
7266 for (i = 0; i < (1 << MCX_LOG_SQ_SIZE); i++) { in mcx_queue_up()
7296 mcx_free_slots(sc, tx->tx_slots, i, (1 << MCX_LOG_SQ_SIZE)); in mcx_queue_up()
7593 (1 << MCX_LOG_SQ_SIZE), (1 << MCX_LOG_SQ_SIZE)); in mcx_stop()
7818 idx = tx->tx_prod % (1 << MCX_LOG_SQ_SIZE); in mcx_send_common_locked()
7819 free = (tx->tx_cons + (1 << MCX_LOG_SQ_SIZE)) - tx->tx_prod; in mcx_send_common_locked()
[all …]