Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A Dmad.h269 #define IB_CCT_ENTRIES 64 macro
270 #define IB_CCT_MIN_ENTRIES (IB_CCT_ENTRIES * 2)
282 struct ib_cc_table_entry ccti_entries[IB_CCT_ENTRIES];
287 struct ib_cc_table_entry_shadow ccti_entries[IB_CCT_ENTRIES];
291 (IB_CC_TABLE_CAP_DEFAULT * IB_CCT_ENTRIES)
H A Dmad.c3899 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); in __subn_get_opa_cc_table()
3917 sentry = start_block * IB_CCT_ENTRIES; in __subn_get_opa_cc_table()
3918 eentry = sentry + (IB_CCT_ENTRIES * n_blocks); in __subn_get_opa_cc_table()
3950 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); in __subn_set_opa_cc_table()
3959 sentry = start_block * IB_CCT_ENTRIES; in __subn_set_opa_cc_table()
3960 eentry = sentry + ((n_blocks - 1) * IB_CCT_ENTRIES) + in __subn_set_opa_cc_table()
3961 (be16_to_cpu(p->ccti_limit)) % IB_CCT_ENTRIES + 1; in __subn_set_opa_cc_table()