Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic.h304 unsigned long ctx_align; member
Dcnic.c1212 cp->ctx_align = 0; in cnic_alloc_bnx2x_context()
1214 cp->ctx_align = ctx_blk_size; in cnic_alloc_bnx2x_context()
1226 if (cp->ctx_align && cp->ctx_blk_size == ctx_blk_size) { in cnic_alloc_bnx2x_context()
1227 if (cp->ctx_arr[i].mapping & (cp->ctx_align - 1)) { in cnic_alloc_bnx2x_context()
1229 cp->ctx_blk_size += cp->ctx_align; in cnic_alloc_bnx2x_context()
1666 if (cp->ctx_align) { in cnic_get_bnx2x_ctx()
1667 unsigned long mask = cp->ctx_align - 1; in cnic_get_bnx2x_ctx()
1670 align_off = cp->ctx_align - in cnic_get_bnx2x_ctx()
4853 if (cp->ctx_align) { in cnic_setup_bnx2x_context()
4854 unsigned long mask = cp->ctx_align - 1; in cnic_setup_bnx2x_context()