Searched refs:to_ctx (Results 1 – 5 of 5) sorted by relevance
93 struct mlx5e_tx_timeout_ctx *to_ctx; in mlx5e_tx_reporter_timeout_recover() local99 to_ctx = ctx; in mlx5e_tx_reporter_timeout_recover()100 sq = to_ctx->sq; in mlx5e_tx_reporter_timeout_recover()105 to_ctx->status = 0; /* this sq recovered */ in mlx5e_tx_reporter_timeout_recover()111 to_ctx->status = 1; /* all channels recovered */ in mlx5e_tx_reporter_timeout_recover()115 to_ctx->status = err; in mlx5e_tx_reporter_timeout_recover()415 struct mlx5e_tx_timeout_ctx to_ctx = {}; in mlx5e_reporter_tx_timeout() local418 to_ctx.sq = sq; in mlx5e_reporter_tx_timeout()419 err_ctx.ctx = &to_ctx; in mlx5e_reporter_tx_timeout()428 return to_ctx.status; in mlx5e_reporter_tx_timeout()
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()
27 #define to_ctx(__fh) container_of(__fh, struct delta_ctx, fh) macro385 struct delta_ctx *ctx = to_ctx(file->private_data); in delta_querycap()399 struct delta_ctx *ctx = to_ctx(file->private_data); in delta_enum_fmt_stream()413 struct delta_ctx *ctx = to_ctx(file->private_data); in delta_enum_fmt_frame()427 struct delta_ctx *ctx = to_ctx(file->private_data); in delta_g_fmt_stream()455 struct delta_ctx *ctx = to_ctx(file->private_data); in delta_g_fmt_frame()494 struct delta_ctx *ctx = to_ctx(file->private_data); in delta_try_fmt_stream()548 struct delta_ctx *ctx = to_ctx(file->private_data); in delta_try_fmt_frame()608 struct delta_ctx *ctx = to_ctx(file->private_data); in delta_s_fmt_stream()644 struct delta_ctx *ctx = to_ctx(file->private_data); in delta_s_fmt_frame()[all …]
26 #define to_ctx(hdl) ((struct delta_ipc_ctx *)hdl) macro231 struct delta_ipc_ctx *ctx = to_ctx(hdl); in delta_ipc_set_stream()322 struct delta_ipc_ctx *ctx = to_ctx(hdl); in delta_ipc_decode()435 struct delta_ipc_ctx *ctx = to_ctx(hdl); in delta_ipc_close()
94 static struct qcom_iommu_ctx * to_ctx(struct qcom_iommu_domain *d, unsigned asid) in to_ctx() function133 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_tlb_sync()152 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_tlb_inv_context()169 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_tlb_inv_range_nosync()275 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_init_domain()425 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_detach_dev()