Home
last modified time | relevance | path

Searched refs:hw_to_sw (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A 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()
H A Dinit.c1573 kfree(dd->hw_to_sw); in cleanup_device_data()
1574 dd->hw_to_sw = NULL; in cleanup_device_data()
H A Dhfi.h1095 u8 *hw_to_sw; member
H A Dchip.c5997 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dpio.c408 dd->hw_to_sw = kmalloc_array(TXE_NUM_CONTEXTS, sizeof(u8), in init_send_contexts()
413 if (!dd->send_contexts || !dd->hw_to_sw) { in init_send_contexts()
414 kfree(dd->hw_to_sw); in init_send_contexts()
422 dd->hw_to_sw[i] = INVALID_SCI; in init_send_contexts()
466 dd->hw_to_sw[context] = index; in sc_hw_alloc()
491 dd->hw_to_sw[hw_context] = INVALID_SCI; in sc_hw_free()
1725 sw_index = dd->hw_to_sw[hw_context]; in sc_group_release_update()
1738 sw_index = dd->hw_to_sw[gc]; in sc_group_release_update()
H A Dinit.c1532 kfree(dd->hw_to_sw); in cleanup_device_data()
1533 dd->hw_to_sw = NULL; in cleanup_device_data()
H A Dhfi.h1045 u8 *hw_to_sw; member
H A Dchip.c5957 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()

Completed in 58 milliseconds