Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A Dpio.c453 u32 *hw_context) in sc_hw_alloc() argument
467 *hw_context = context; in sc_hw_alloc()
480 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument
487 __func__, sw_index, hw_context); in sc_hw_free()
490 dd->hw_to_sw[hw_context] = INVALID_SCI; in sc_hw_free()
520 u32 gc = group_context(sc->hw_context, sc->group); in cr_group_addresses()
521 u32 index = sc->hw_context & 0x7; in cr_group_addresses()
602 write_kctxt_csr(sc->dd, sc->hw_context, in sc_set_cr_threshold()
623 u32 hw_context = sc->hw_context; in set_pio_integrity() local
626 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/gpu/drm/gma500/
H A Dmmu.c121 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument
125 uint32_t offset = (hw_context == 0) ? PSB_CR_BIF_DIR_LIST_BASE0 : in psb_mmu_set_pd_context()
126 PSB_CR_BIF_DIR_LIST_BASE1 + hw_context * 4; in psb_mmu_set_pd_context()
132 pd->hw_context = hw_context; in psb_mmu_set_pd_context()
207 pd->hw_context = -1; in psb_mmu_alloc_pd()
239 if (pd->hw_context != -1) { in psb_mmu_free_pagedir()
240 PSB_WSGX32(0, PSB_CR_BIF_DIR_LIST_BASE0 + pd->hw_context * 4); in psb_mmu_free_pagedir()
289 if (pd->driver->has_clflush && pd->hw_context != -1) { in psb_mmu_alloc_pt()
338 if (pd->hw_context != -1) { in psb_mmu_pt_alloc_map_lock()
375 if (pd->hw_context != -1) { in psb_mmu_pt_unmap_unlock()
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h1199 struct hw_context { struct
1649 struct hw_context context[ILT_MAX_L2_LINES];