Home
last modified time | relevance | path

Searched refs:pctx (Results 1 – 12 of 12) sorted by relevance

/drivers/media/platform/st/sti/delta/
Ddelta-mjpeg-dec.c171 static bool delta_mjpeg_check_status(struct delta_ctx *pctx, in delta_mjpeg_check_status() argument
174 struct delta_dev *delta = pctx->dev; in delta_mjpeg_check_status()
183 pctx->name, pctx->decoded_frames, in delta_mjpeg_check_status()
185 pctx->stream_errors++; in delta_mjpeg_check_status()
189 pctx->name, pctx->decoded_frames, in delta_mjpeg_check_status()
191 pctx->decode_errors++; in delta_mjpeg_check_status()
197 "%s firmware: decoding time(us)=%d\n", pctx->name, in delta_mjpeg_check_status()
203 static int delta_mjpeg_ipc_open(struct delta_ctx *pctx) in delta_mjpeg_ipc_open() argument
205 struct delta_dev *delta = pctx->dev; in delta_mjpeg_ipc_open()
206 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_ipc_open()
[all …]
Ddelta-ipc.c110 int delta_ipc_open(struct delta_ctx *pctx, const char *name, in delta_ipc_open() argument
114 struct delta_dev *delta = pctx->dev; in delta_ipc_open()
116 struct delta_ipc_ctx *ctx = &pctx->ipc_ctx; in delta_ipc_open()
124 pctx->name); in delta_ipc_open()
125 pctx->sys_errors++; in delta_ipc_open()
132 pctx->name); in delta_ipc_open()
139 pctx->name); in delta_ipc_open()
146 pctx->name); in delta_ipc_open()
153 pctx->name, in delta_ipc_open()
166 ret = hw_alloc(pctx, ipc_buf_size, in delta_ipc_open()
[all …]
Ddelta-mjpeg-hdr.c40 static int delta_mjpeg_read_sof(struct delta_ctx *pctx, in delta_mjpeg_read_sof() argument
44 struct delta_dev *delta = pctx->dev; in delta_mjpeg_read_sof()
65 pctx->name, header->nb_of_components, in delta_mjpeg_read_sof()
79 pctx->name, size); in delta_mjpeg_read_sof()
83 int delta_mjpeg_read_header(struct delta_ctx *pctx, in delta_mjpeg_read_header() argument
88 struct delta_dev *delta = pctx->dev; in delta_mjpeg_read_header()
112 pctx->name); in delta_mjpeg_read_header()
116 ret = delta_mjpeg_read_sof(pctx, in delta_mjpeg_read_header()
136 "%s found header @ offset %d:\n%s", pctx->name, in delta_mjpeg_read_header()
144 pctx->name, size); in delta_mjpeg_read_header()
Ddelta-mjpeg.h30 int delta_mjpeg_read_header(struct delta_ctx *pctx,
Ddelta.h557 int delta_recycle_default(struct delta_ctx *pctx,
Ddelta-v4l2.c1210 int delta_recycle_default(struct delta_ctx *pctx, in delta_recycle_default() argument
/drivers/net/
Dgtp.c106 static void pdp_context_delete(struct pdp_ctx *pctx);
173 static bool gtp_check_ms_ipv4(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms_ipv4() argument
184 return iph->daddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4()
186 return iph->saddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4()
192 static bool gtp_check_ms(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms() argument
197 return gtp_check_ms_ipv4(skb, pctx, hdrlen, role); in gtp_check_ms()
202 static int gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb, in gtp_rx() argument
205 if (!gtp_check_ms(skb, pctx, hdrlen, role)) { in gtp_rx()
206 netdev_dbg(pctx->dev, "No PDP ctx for this MS\n"); in gtp_rx()
212 !net_eq(sock_net(pctx->sk), dev_net(pctx->dev)))) { in gtp_rx()
[all …]
/drivers/media/platform/st/sti/hva/
Dhva-h264.c415 static int hva_h264_fill_slice_header(struct hva_ctx *pctx, in hva_h264_fill_slice_header() argument
429 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_slice_header()
484 pctx->name, __func__, frame_order, idr_pic_id, *header_size); in hva_h264_fill_slice_header()
488 static int hva_h264_fill_data_nal(struct hva_ctx *pctx, in hva_h264_fill_data_nal() argument
492 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_data_nal()
495 dev_dbg(dev, "%s %s stuffing bytes %d\n", pctx->name, __func__, in hva_h264_fill_data_nal()
500 pctx->name, __func__, stuffing_bytes); in hva_h264_fill_data_nal()
521 static int hva_h264_fill_sei_nal(struct hva_ctx *pctx, in hva_h264_fill_sei_nal() argument
525 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_sei_nal()
582 pctx->name, type); in hva_h264_fill_sei_nal()
[all …]
/drivers/gpu/drm/i915/gt/
Dintel_rc6.c318 struct drm_i915_gem_object *pctx; in vlv_rc6_init() local
329 pctx = i915_gem_object_create_region_at(i915->mm.stolen_region, in vlv_rc6_init()
333 if (IS_ERR(pctx)) in vlv_rc6_init()
334 return PTR_ERR(pctx); in vlv_rc6_init()
349 pctx = i915_gem_object_create_stolen(i915, pctx_size); in vlv_rc6_init()
350 if (IS_ERR(pctx)) { in vlv_rc6_init()
353 return PTR_ERR(pctx); in vlv_rc6_init()
358 pctx->stolen->start, in vlv_rc6_init()
360 pctx_paddr = i915->dsm.start + pctx->stolen->start; in vlv_rc6_init()
364 rc6->pctx = pctx; in vlv_rc6_init()
[all …]
Dintel_rc6_types.h22 struct drm_i915_gem_object *pctx; member
/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-responder.c382 struct ieee80211_chanctx_conf ctx, *pctx; in iwl_mvm_ftm_start_responder() local
401 pctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_ftm_start_responder()
405 ctx = *pctx; in iwl_mvm_ftm_start_responder()
406 phy_ctxt_id = (u16 *)pctx->drv_priv; in iwl_mvm_ftm_start_responder()
/drivers/block/
Drbd.c6259 struct rbd_parse_opts_ctx *pctx) in rbd_parse_param() argument
6261 struct rbd_options *opt = pctx->opts; in rbd_parse_param()
6266 ret = ceph_parse_param(param, pctx->copts, NULL); in rbd_parse_param()
6299 kfree(pctx->spec->pool_ns); in rbd_parse_param()
6300 pctx->spec->pool_ns = param->string; in rbd_parse_param()
6355 static int rbd_parse_options(char *options, struct rbd_parse_opts_ctx *pctx) in rbd_parse_options() argument
6383 ret = rbd_parse_param(&param, pctx); in rbd_parse_options()
6444 struct rbd_parse_opts_ctx pctx = { 0 }; in rbd_add_parse_args() local
6467 pctx.spec = rbd_spec_alloc(); in rbd_add_parse_args()
6468 if (!pctx.spec) in rbd_add_parse_args()
[all …]