Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_mad.h271 struct ib_cc_table_entry ccti_entries[IB_CCT_ENTRIES]; member
276 struct ib_cc_table_entry_shadow ccti_entries[IB_CCT_ENTRIES]; member
H A Dqib_init.c260 ppd->ccti_entries = kzalloc(size, GFP_KERNEL); in qib_init_pportdata()
261 if (!ppd->ccti_entries) in qib_init_pportdata()
288 kfree(ppd->ccti_entries); in qib_init_pportdata()
289 ppd->ccti_entries = NULL; in qib_init_pportdata()
1306 kfree(dd->pport[pidx].ccti_entries); in cleanup_device_data()
1307 dd->pport[pidx].ccti_entries = NULL; in cleanup_device_data()
H A Dqib_mad.c2197 p->ccti_entries[i].entry = cpu_to_be16(entries[i].entry); in cc_get_congestion_control_table()
2267 entries = ppd->ccti_entries + (IB_CCT_ENTRIES * cct_block_index); in cc_set_congestion_control_table()
2270 entries[i].entry = be16_to_cpu(p->ccti_entries[i].entry); in cc_set_congestion_control_table()
2275 memcpy(ppd->ccti_entries_shadow->entries, ppd->ccti_entries, in cc_set_congestion_control_table()
H A Dqib.h655 struct ib_cc_table_entry_shadow *ccti_entries; member
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dmad.h283 struct ib_cc_table_entry ccti_entries[IB_CCT_ENTRIES]; member
288 struct ib_cc_table_entry_shadow ccti_entries[IB_CCT_ENTRIES]; member
H A Dmad.c3764 memcpy(new_cc_state->cct.entries, ppd->ccti_entries, in apply_cc_state()
3926 cc_table_attr->ccti_entries[j].entry = in __subn_get_opa_cc_table()
3976 entries = ppd->ccti_entries; in __subn_set_opa_cc_table()
3978 entries[i].entry = be16_to_cpu(p->ccti_entries[j].entry); in __subn_set_opa_cc_table()
H A Dhfi.h858 struct ib_cc_table_entry_shadow ccti_entries[CC_TABLE_SHADOW_MAX]; member