Home
last modified time | relevance | path

Searched refs:hw_context (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Dpio.c454 u32 *hw_context) in sc_hw_alloc() argument
468 *hw_context = context; in sc_hw_alloc()
481 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument
488 __func__, sw_index, hw_context); in sc_hw_free()
491 dd->hw_to_sw[hw_context] = INVALID_SCI; in sc_hw_free()
521 u32 gc = group_context(sc->hw_context, sc->group); in cr_group_addresses()
522 u32 index = sc->hw_context & 0x7; in cr_group_addresses()
603 write_kctxt_csr(sc->dd, sc->hw_context, in sc_set_cr_threshold()
624 u32 hw_context = sc->hw_context; in set_pio_integrity() local
627 write_kctxt_csr(dd, hw_context, in set_pio_integrity()
[all …]
H A Dpio.h69 u8 hw_context; /* hardware context number */ member
253 void sc_group_release_update(struct hfi1_devdata *dd, u32 hw_context);
H A Dfile_ops.c359 (uctxt->sc->hw_context * BIT(16))) + in hfi1_file_mmap()
979 uctxt->sc->hw_context); in allocate_ctxt()
1154 cinfo.send_ctxt = uctxt->sc->hw_context; in get_ctxt_info()
H A Dchip.c5947 unsigned int hw_context) in is_sendctxt_err_int() argument
5957 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()
5961 sw_index, hw_context); in is_sendctxt_err_int()
5969 sw_index, hw_context); in is_sendctxt_err_int()
5977 status = read_kctxt_csr(dd, hw_context, SEND_CTXT_ERR_STATUS); in is_sendctxt_err_int()
5979 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int()
13118 reg = read_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt()
13124 write_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt()
14757 hw_ctxt = rcd->sc->hw_context; in hfi1_set_ctxt_jkey()
14791 hw_ctxt = rcd->sc->hw_context; in hfi1_clear_ctxt_jkey()
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h1199 struct hw_context { struct
1649 struct hw_context context[ILT_MAX_L2_LINES];