Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dpio.c450 dd->hw_to_sw = kmalloc_array(TXE_NUM_CONTEXTS, sizeof(u8), in init_send_contexts()
455 if (!dd->send_contexts || !dd->hw_to_sw) { in init_send_contexts()
456 kfree(dd->hw_to_sw); in init_send_contexts()
464 dd->hw_to_sw[i] = INVALID_SCI; in init_send_contexts()
508 dd->hw_to_sw[context] = index; in sc_hw_alloc()
533 dd->hw_to_sw[hw_context] = INVALID_SCI; in sc_hw_free()
1767 sw_index = dd->hw_to_sw[hw_context]; in sc_group_release_update()
1780 sw_index = dd->hw_to_sw[gc]; in sc_group_release_update()
Dinit.c1573 kfree(dd->hw_to_sw); in cleanup_device_data()
1574 dd->hw_to_sw = NULL; in cleanup_device_data()
Dhfi.h1095 u8 *hw_to_sw; member
Dchip.c5997 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()