Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dpio.c452 dd->send_contexts = kcalloc(dd->num_send_contexts, in init_send_contexts()
455 if (!dd->send_contexts || !dd->hw_to_sw) { in init_send_contexts()
457 kfree(dd->send_contexts); in init_send_contexts()
477 &dd->send_contexts[context]; in init_send_contexts()
502 for (index = 0, sci = &dd->send_contexts[0]; in sc_hw_alloc()
527 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
736 sci = &dd->send_contexts[sw_index]; in sc_alloc()
898 dd->send_contexts[sw_index].sc = NULL; in sc_free()
1054 struct send_context *sc = dd->send_contexts[i].sc; in sc_wait()
1164 sc = dd->send_contexts[i].sc; in pio_freeze()
[all …]
Dinit.c754 sc_disable(dd->send_contexts[i].sc); in init_after_reset()
1095 sc_flush(dd->send_contexts[i].sc); in shutdown_device()
1109 sc_disable(dd->send_contexts[i].sc); in shutdown_device()
1585 sc_free(dd->send_contexts[ctxt].sc); in cleanup_device_data()
1587 kfree(dd->send_contexts); in cleanup_device_data()
1588 dd->send_contexts = NULL; in cleanup_device_data()
Ddebugfs.c417 if (!dd->send_contexts || *pos >= dd->num_send_contexts) in _pios_seq_start()
428 if (!dd->send_contexts || *pos >= dd->num_send_contexts) in _pios_seq_next()
447 sci = &dd->send_contexts[i]; in _pios_seq_show()
Dchip.c5800 sci = &dd->send_contexts[sw_index]; in sc_to_vl()
5975 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int()
6769 sc = dd->send_contexts[i].sc; in start_freeze_handling()
13241 u32 send_contexts = chip_send_contexts(dd); in set_up_context_variables() local
13264 if (num_kernel_contexts > (send_contexts - num_vls - 1)) { in set_up_context_variables()
13267 send_contexts - num_vls - 1, in set_up_context_variables()
13269 num_kernel_contexts = send_contexts - num_vls - 1; in set_up_context_variables()
13379 send_contexts, in set_up_context_variables()
Dhfi.h1097 struct send_context_info *send_contexts; member