Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rdma/hfi1/
Dpio.c478 u32 *hw_context) in sc_hw_alloc() argument
492 *hw_context = context; in sc_hw_alloc()
505 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument
512 __func__, sw_index, hw_context); in sc_hw_free()
515 dd->hw_to_sw[hw_context] = INVALID_SCI; in sc_hw_free()
545 u32 gc = group_context(sc->hw_context, sc->group); in cr_group_addresses()
546 u32 index = sc->hw_context & 0x7; in cr_group_addresses()
627 write_kctxt_csr(sc->dd, sc->hw_context, in sc_set_cr_threshold()
649 u32 hw_context = sc->hw_context; in set_pio_integrity() local
660 write_kctxt_csr(dd, hw_context, SC(CHECK_ENABLE), reg); in set_pio_integrity()
[all …]
Dpio.h115 u32 hw_context; /* hardware context number */ member
189 void sc_group_release_update(struct hfi1_devdata *dd, u32 hw_context);
Dtrace.h251 __field(u32, hw_context)
257 __entry->hw_context = sc->hw_context;
264 __entry->hw_context,
275 __field(u32, hw_context)
282 __entry->hw_context = sc->hw_context;
290 __entry->hw_context,
Dfile_ops.c517 (uctxt->sc->hw_context * BIT(16))) + in hfi1_file_mmap()
805 write_kctxt_csr(dd, uctxt->sc->hw_context, SEND_CTXT_CHECK_ENABLE, in hfi1_file_close()
1021 uctxt->sc->hw_context); in allocate_ctxt()
1205 cinfo.send_ctxt = uctxt->sc->hw_context; in get_ctxt_info()
Dchip.c2479 unsigned int hw_context) in is_sendctxt_err_int() argument
2487 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()
2491 sw_index, hw_context); in is_sendctxt_err_int()
2498 sw_index, hw_context); in is_sendctxt_err_int()
2505 status = read_kctxt_csr(dd, hw_context, SEND_CTXT_ERR_STATUS); in is_sendctxt_err_int()
2507 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int()
8646 reg = read_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt()
8652 write_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt()
10267 sctxt = rcd->sc->hw_context; in hfi1_set_ctxt_jkey()
10305 sctxt = rcd->sc->hw_context; in hfi1_clear_ctxt_jkey()
[all …]
Ddiag.c577 vl, sc->sw_index, sc->hw_context); in diagpkt_write()
873 sc->hw_context); in hfi1_snoop_write()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dmmu.c138 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument
142 uint32_t offset = (hw_context == 0) ? PSB_CR_BIF_DIR_LIST_BASE0 : in psb_mmu_set_pd_context()
143 PSB_CR_BIF_DIR_LIST_BASE1 + hw_context * 4; in psb_mmu_set_pd_context()
149 pd->hw_context = hw_context; in psb_mmu_set_pd_context()
224 pd->hw_context = -1; in psb_mmu_alloc_pd()
256 if (pd->hw_context != -1) { in psb_mmu_free_pagedir()
257 PSB_WSGX32(0, PSB_CR_BIF_DIR_LIST_BASE0 + pd->hw_context * 4); in psb_mmu_free_pagedir()
307 if (pd->driver->has_clflush && pd->hw_context != -1) { in psb_mmu_alloc_pt()
357 if (pd->hw_context != -1) { in psb_mmu_pt_alloc_map_lock()
394 if (pd->hw_context != -1) { in psb_mmu_pt_unmap_unlock()
[all …]
Dmmu.h52 int hw_context; member
83 extern void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context);
/linux-4.4.14/drivers/crypto/
Dtalitos.c825 u32 hw_context[TALITOS_MDEU_MAX_CONTEXT_SIZE / sizeof(u32)]; member
839 u32 hw_context[TALITOS_MDEU_MAX_CONTEXT_SIZE / sizeof(u32)]; member
1742 (char *)req_ctx->hw_context, in common_nonsnoop_hash()
1775 req_ctx->hw_context, DMA_FROM_DEVICE); in common_nonsnoop_hash()
1830 req_ctx->hw_context[0] = SHA224_H0; in ahash_init_sha224_swinit()
1831 req_ctx->hw_context[1] = SHA224_H1; in ahash_init_sha224_swinit()
1832 req_ctx->hw_context[2] = SHA224_H2; in ahash_init_sha224_swinit()
1833 req_ctx->hw_context[3] = SHA224_H3; in ahash_init_sha224_swinit()
1834 req_ctx->hw_context[4] = SHA224_H4; in ahash_init_sha224_swinit()
1835 req_ctx->hw_context[5] = SHA224_H5; in ahash_init_sha224_swinit()
[all …]
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1304 struct hw_context { struct
1747 struct hw_context context[ILT_MAX_L2_LINES];