Home
last modified time | relevance | path

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

/openbmc/linux/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()