Home
last modified time | relevance | path

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

/drivers/staging/qlge/
Dqlge.h40 #define QLGE_BQ_LEN BIT(QLGE_BQ_SHIFT) macro
41 #define QLGE_BQ_SIZE (QLGE_BQ_LEN * sizeof(__le64))
53 MAX_DB_PAGES_PER_BQ(QLGE_BQ_LEN) * sizeof(u64) + \
54 MAX_DB_PAGES_PER_BQ(QLGE_BQ_LEN) * sizeof(u64))
1450 #define QLGE_BQ_WRAP(index) ((index) & (QLGE_BQ_LEN - 1))
Dqlge_main.c1099 i -= QLGE_BQ_LEN; in qlge_refill_bq()
1120 i -= QLGE_BQ_LEN; in qlge_refill_bq()
1124 i += QLGE_BQ_LEN; in qlge_refill_bq()
2741 for (i = 0; i < QLGE_BQ_LEN; i++) { in qlge_free_sbq_buffers()
2798 bq->queue = kmalloc_array(QLGE_BQ_LEN, sizeof(struct qlge_bq_desc), in qlge_init_bq()
2805 for (i = 0; i < QLGE_BQ_LEN; i++, buf_ptr++, bq_desc++) { in qlge_init_bq()
2970 shadow_reg += (sizeof(u64) * MAX_DB_PAGES_PER_BQ(QLGE_BQ_LEN)); in qlge_start_rx_ring()
2971 shadow_reg_dma += (sizeof(u64) * MAX_DB_PAGES_PER_BQ(QLGE_BQ_LEN)); in qlge_start_rx_ring()
3011 page_entries < MAX_DB_PAGES_PER_BQ(QLGE_BQ_LEN); in qlge_start_rx_ring()
3019 cqicb->lbq_len = cpu_to_le16(QLGE_FIT16(QLGE_BQ_LEN)); in qlge_start_rx_ring()
[all …]