Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dpio.c458 dd->hw_to_sw = kmalloc_array(TXE_NUM_CONTEXTS, sizeof(u8), in init_send_contexts()
463 if (!dd->send_contexts || !dd->hw_to_sw) { in init_send_contexts()
464 kfree(dd->hw_to_sw); in init_send_contexts()
472 dd->hw_to_sw[i] = INVALID_SCI; in init_send_contexts()
516 dd->hw_to_sw[context] = index; in sc_hw_alloc()
541 dd->hw_to_sw[hw_context] = INVALID_SCI; in sc_hw_free()
1752 sw_index = dd->hw_to_sw[hw_context]; in sc_group_release_update()
1765 sw_index = dd->hw_to_sw[gc]; in sc_group_release_update()
Dinit.c1582 kfree(dd->hw_to_sw); in cleanup_device_data()
1583 dd->hw_to_sw = NULL; in cleanup_device_data()
Dhfi.h1037 u8 *hw_to_sw; member
Dchip.c5950 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()