Home
last modified time | relevance | path

Searched refs:send_contexts (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A 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()
1056 struct send_context *sc = dd->send_contexts[i].sc; in sc_wait()
1166 sc = dd->send_contexts[ in pio_freeze()
[all...]
H A Dinit.c736 sc_disable(dd->send_contexts[i].sc); in init_after_reset()
1086 sc_flush(dd->send_contexts[i].sc); in shutdown_device()
1100 sc_disable(dd->send_contexts[i].sc); in shutdown_device()
1569 sc_free(dd->send_contexts[ctxt].sc); in cleanup_device_data()
1571 kfree(dd->send_contexts); in cleanup_device_data()
1572 dd->send_contexts = NULL; in cleanup_device_data()
H A 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()
H A Dchip.c5829 sci = &dd->send_contexts[sw_index]; in sc_to_vl()
6004 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int()
6798 sc = dd->send_contexts[i].sc; in start_freeze_handling()
13408 u32 send_contexts = chip_send_contexts(dd); in set_up_context_variables() local
13431 if (num_kernel_contexts > (send_contexts - num_vls - 1)) { in set_up_context_variables()
13434 send_contexts - num_vls - 1, in set_up_context_variables()
13436 num_kernel_contexts = send_contexts - num_vls - 1; in set_up_context_variables()
13548 send_contexts, in set_up_context_variables()
H A Dhfi.h1093 struct send_context_info *send_contexts; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dpio.c410 dd->send_contexts = kcalloc(dd->num_send_contexts, in init_send_contexts()
413 if (!dd->send_contexts || !dd->hw_to_sw) { in init_send_contexts()
415 kfree(dd->send_contexts); in init_send_contexts()
435 &dd->send_contexts[context]; in init_send_contexts()
460 for (index = 0, sci = &dd->send_contexts[0]; in sc_hw_alloc()
485 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
694 sci = &dd->send_contexts[sw_index]; in sc_alloc()
856 dd->send_contexts[sw_index].sc = NULL; in sc_free()
1014 struct send_context *sc = dd->send_contexts[i].sc; in sc_wait()
1124 sc = dd->send_contexts[ in pio_freeze()
[all...]
H A Dinit.c695 sc_disable(dd->send_contexts[i].sc); in init_after_reset()
1045 sc_flush(dd->send_contexts[i].sc); in shutdown_device()
1059 sc_disable(dd->send_contexts[i].sc); in shutdown_device()
1528 sc_free(dd->send_contexts[ctxt].sc); in cleanup_device_data()
1530 kfree(dd->send_contexts); in cleanup_device_data()
1531 dd->send_contexts = NULL; in cleanup_device_data()
H A Ddebugfs.c375 if (!dd->send_contexts || *pos >= dd->num_send_contexts) in _pios_seq_start()
386 if (!dd->send_contexts || *pos >= dd->num_send_contexts) in _pios_seq_next()
405 sci = &dd->send_contexts[i]; in _pios_seq_show()
H A Dchip.c5789 sci = &dd->send_contexts[sw_index]; in sc_to_vl()
5964 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int()
6759 sc = dd->send_contexts[i].sc; in start_freeze_handling()
13369 u32 send_contexts = chip_send_contexts(dd); in set_up_context_variables() local
13392 if (num_kernel_contexts > (send_contexts - num_vls - 1)) { in set_up_context_variables()
13395 send_contexts - num_vls - 1, in set_up_context_variables()
13397 num_kernel_contexts = send_contexts - num_vls - 1; in set_up_context_variables()
13509 send_contexts, in set_up_context_variables()
H A Dhfi.h1043 struct send_context_info *send_contexts; member

Completed in 63 milliseconds