Home
last modified time | relevance | path

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

/drivers/mtd/
Dmtdoops.c72 static void mark_page_used(struct mtdoops_context *cxt, int page) in mark_page_used() argument
74 set_bit(page, cxt->oops_page_used); in mark_page_used()
77 static void mark_page_unused(struct mtdoops_context *cxt, int page) in mark_page_unused() argument
79 clear_bit(page, cxt->oops_page_used); in mark_page_unused()
82 static int page_is_used(struct mtdoops_context *cxt, int page) in page_is_used() argument
84 return test_bit(page, cxt->oops_page_used); in page_is_used()
93 static int mtdoops_erase_block(struct mtdoops_context *cxt, int offset) in mtdoops_erase_block() argument
95 struct mtd_info *mtd = cxt->mtd; in mtdoops_erase_block()
130 mark_page_unused(cxt, page); in mtdoops_erase_block()
135 static void mtdoops_inc_counter(struct mtdoops_context *cxt) in mtdoops_inc_counter() argument
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c238 init_p->cxts[0] = q->cxt; in bnx2x_vfop_qctor_prep()
435 qdtor->cxt->ustorm_ag_context.cdu_usage = 0; in bnx2x_vfop_qdtor()
436 qdtor->cxt->xstorm_ag_context.cdu_reserved = 0; in bnx2x_vfop_qdtor()
461 vfop->args.qdtor.cxt = bnx2x_vfq(vf, qid, cxt); in bnx2x_vfop_qdtor_cmd()
2044 struct hw_dma *cxt = &bp->vfdb->context[i]; in bnx2x_iov_free_mem() local
2045 BNX2X_PCI_FREE(cxt->addr, cxt->mapping, cxt->size); in bnx2x_iov_free_mem()
2074 struct hw_dma *cxt = BP_VF_CXT_PAGE(bp, i); in bnx2x_iov_alloc_mem() local
2075 cxt->size = min_t(size_t, tot_size, CDU_ILT_PAGE_SZ); in bnx2x_iov_alloc_mem()
2077 if (cxt->size) { in bnx2x_iov_alloc_mem()
2078 BNX2X_PCI_ALLOC(cxt->addr, &cxt->mapping, cxt->size); in bnx2x_iov_alloc_mem()
[all …]
Dbnx2x_sriov.h69 struct eth_context *cxt; member
147 struct eth_context *cxt; member
Dbnx2x_cmn.h1303 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt,
Dbnx2x_cmn.c4728 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, in bnx2x_set_ctx_validation() argument
4732 cxt->ustorm_ag_context.cdu_usage = in bnx2x_set_ctx_validation()
4736 cxt->xstorm_ag_context.cdu_reserved = in bnx2x_set_ctx_validation()
/drivers/acpi/
Dec.c568 static void acpi_ec_run(void *cxt) in acpi_ec_run() argument
570 struct acpi_ec_query_handler *handler = cxt; in acpi_ec_run()