Searched refs:base_ctx (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/mfd/ |
H A D | qcom-spmi-pmic.c | 137 struct qcom_spmi_dev *base_ctx; in pmic_spmi_get_base_revid() local 150 base_ctx = spmi_device_get_drvdata(base); in pmic_spmi_get_base_revid() 151 if (!base_ctx) { in pmic_spmi_get_base_revid() 155 memcpy(&ctx->pmic, &base_ctx->pmic, sizeof(ctx->pmic)); in pmic_spmi_get_base_revid()
|
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw_verbs.h | 37 int siw_alloc_ucontext(struct ib_ucontext *base_ctx, struct ib_udata *udata); 38 void siw_dealloc_ucontext(struct ib_ucontext *base_ctx);
|
H A D | siw_verbs.c | 80 int siw_alloc_ucontext(struct ib_ucontext *base_ctx, struct ib_udata *udata) in siw_alloc_ucontext() argument 82 struct siw_device *sdev = to_siw_dev(base_ctx->device); in siw_alloc_ucontext() 83 struct siw_ucontext *ctx = to_siw_ctx(base_ctx); in siw_alloc_ucontext() 103 siw_dbg(base_ctx->device, "success. now %d context(s)\n", in siw_alloc_ucontext() 110 siw_dbg(base_ctx->device, "failure %d. now %d context(s)\n", rv, in siw_alloc_ucontext() 116 void siw_dealloc_ucontext(struct ib_ucontext *base_ctx) in siw_dealloc_ucontext() argument 118 struct siw_ucontext *uctx = to_siw_ctx(base_ctx); in siw_dealloc_ucontext()
|
H A D | siw.h | 563 static inline struct siw_ucontext *to_siw_ctx(struct ib_ucontext *base_ctx) in to_siw_ctx() argument 565 return container_of(base_ctx, struct siw_ucontext, base_ucontext); in to_siw_ctx()
|