Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dpio.c460 dd->send_contexts = kcalloc(dd->num_send_contexts, in init_send_contexts()
463 if (!dd->send_contexts || !dd->hw_to_sw) { in init_send_contexts()
465 kfree(dd->send_contexts); in init_send_contexts()
485 &dd->send_contexts[context]; in init_send_contexts()
510 for (index = 0, sci = &dd->send_contexts[0]; in sc_hw_alloc()
535 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
744 sci = &dd->send_contexts[sw_index]; in sc_alloc()
905 dd->send_contexts[sw_index].sc = NULL; in sc_free()
1045 struct send_context *sc = dd->send_contexts[i].sc; in sc_wait()
1155 sc = dd->send_contexts[i].sc; in pio_freeze()
[all …]
Dinit.c745 sc_disable(dd->send_contexts[i].sc); in init_after_reset()
1074 sc_flush(dd->send_contexts[i].sc); in shutdown_device()
1088 sc_disable(dd->send_contexts[i].sc); in shutdown_device()
1578 sc_free(dd->send_contexts[ctxt].sc); in cleanup_device_data()
1580 kfree(dd->send_contexts); in cleanup_device_data()
1581 dd->send_contexts = NULL; in cleanup_device_data()
Dchip.c5782 sci = &dd->send_contexts[sw_index]; in sc_to_vl()
5957 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int()
6751 sc = dd->send_contexts[i].sc; in start_freeze_handling()
13393 u32 send_contexts = chip_send_contexts(dd); in set_up_context_variables() local
13416 if (num_kernel_contexts > (send_contexts - num_vls - 1)) { in set_up_context_variables()
13419 send_contexts - num_vls - 1, in set_up_context_variables()
13421 num_kernel_contexts = send_contexts - num_vls - 1; in set_up_context_variables()
13518 send_contexts, in set_up_context_variables()
Dhfi.h1035 struct send_context_info *send_contexts; member