Searched refs:to_ctx (Results 1 – 4 of 4) sorted by relevance
133 struct mlx5e_tx_timeout_ctx *to_ctx; in mlx5e_tx_reporter_timeout_recover() local139 to_ctx = ctx; in mlx5e_tx_reporter_timeout_recover()140 sq = to_ctx->sq; in mlx5e_tx_reporter_timeout_recover()145 to_ctx->status = 0; /* this sq recovered */ in mlx5e_tx_reporter_timeout_recover()153 to_ctx->status = 1; /* all channels recovered */ in mlx5e_tx_reporter_timeout_recover()157 to_ctx->status = err; in mlx5e_tx_reporter_timeout_recover()401 struct mlx5e_tx_timeout_ctx *to_ctx = ctx; in mlx5e_tx_reporter_timeout_dump() local403 return mlx5e_tx_reporter_dump_sq(priv, fmsg, to_ctx->sq); in mlx5e_tx_reporter_timeout_dump()489 struct mlx5e_tx_timeout_ctx to_ctx = {}; in mlx5e_reporter_tx_timeout() local493 to_ctx.sq = sq; in mlx5e_reporter_tx_timeout()[all …]
31 #define to_ctx(ctx) ((struct delta_mjpeg_ctx *)(ctx)->priv) macro206 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_ipc_open()245 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_ipc_decode()337 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_close()352 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_get_streaminfo()375 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_decode()432 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_get_frame()
26 #define to_ctx(hdl) ((struct delta_ipc_ctx *)hdl) macro230 struct delta_ipc_ctx *ctx = to_ctx(hdl); in delta_ipc_set_stream()321 struct delta_ipc_ctx *ctx = to_ctx(hdl); in delta_ipc_decode()434 struct delta_ipc_ctx *ctx = to_ctx(hdl); in delta_ipc_close()
82 static struct qcom_iommu_ctx * to_ctx(struct qcom_iommu_domain *d, unsigned asid) in to_ctx() function121 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_tlb_sync()140 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_tlb_inv_context()157 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_tlb_inv_range_nosync()255 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_init_domain()409 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_identity_attach()