Home
last modified time | relevance | path

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

/drivers/net/
Dgtp.c86 static void pdp_context_delete(struct pdp_ctx *pctx);
153 static bool gtp_check_ms_ipv4(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms_ipv4() argument
164 return iph->daddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4()
166 return iph->saddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4()
172 static bool gtp_check_ms(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms() argument
177 return gtp_check_ms_ipv4(skb, pctx, hdrlen, role); in gtp_check_ms()
182 static int gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb, in gtp_rx() argument
185 if (!gtp_check_ms(skb, pctx, hdrlen, role)) { in gtp_rx()
186 netdev_dbg(pctx->dev, "No PDP ctx for this MS\n"); in gtp_rx()
192 !net_eq(sock_net(pctx->sk), dev_net(pctx->dev)))) in gtp_rx()
[all …]
/drivers/media/platform/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.c1213 int delta_recycle_default(struct delta_ctx *pctx, in delta_recycle_default() argument
/drivers/media/platform/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()
482 pctx->name, __func__, frame_order, idr_pic_id, *header_size); in hva_h264_fill_slice_header()
486 static int hva_h264_fill_data_nal(struct hva_ctx *pctx, in hva_h264_fill_data_nal() argument
490 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_data_nal()
493 dev_dbg(dev, "%s %s stuffing bytes %d\n", pctx->name, __func__, in hva_h264_fill_data_nal()
498 pctx->name, __func__, stuffing_bytes); in hva_h264_fill_data_nal()
519 static int hva_h264_fill_sei_nal(struct hva_ctx *pctx, in hva_h264_fill_sei_nal() argument
523 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_sei_nal()
580 pctx->name, type); in hva_h264_fill_sei_nal()
[all …]
/drivers/gpu/drm/i915/gt/
Dintel_rc6.c296 struct drm_i915_gem_object *pctx; in vlv_rc6_init() local
307 pctx = i915_gem_object_create_stolen_for_preallocated(i915, in vlv_rc6_init()
310 if (IS_ERR(pctx)) in vlv_rc6_init()
311 return PTR_ERR(pctx); in vlv_rc6_init()
326 pctx = i915_gem_object_create_stolen(i915, pctx_size); in vlv_rc6_init()
327 if (IS_ERR(pctx)) { in vlv_rc6_init()
330 return PTR_ERR(pctx); in vlv_rc6_init()
335 pctx->stolen->start, in vlv_rc6_init()
337 pctx_paddr = i915->dsm.start + pctx->stolen->start; in vlv_rc6_init()
341 rc6->pctx = pctx; in vlv_rc6_init()
[all …]
Dintel_rc6_types.h23 struct drm_i915_gem_object *pctx; member
/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-responder.c391 struct ieee80211_chanctx_conf ctx, *pctx; in iwl_mvm_ftm_start_responder() local
410 pctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_ftm_start_responder()
414 ctx = *pctx; in iwl_mvm_ftm_start_responder()
415 phy_ctxt_id = (u16 *)pctx->drv_priv; in iwl_mvm_ftm_start_responder()
/drivers/block/
Drbd.c6331 struct rbd_parse_opts_ctx *pctx) in rbd_parse_param() argument
6333 struct rbd_options *opt = pctx->opts; in rbd_parse_param()
6338 ret = ceph_parse_param(param, pctx->copts, NULL); in rbd_parse_param()
6371 kfree(pctx->spec->pool_ns); in rbd_parse_param()
6372 pctx->spec->pool_ns = param->string; in rbd_parse_param()
6427 static int rbd_parse_options(char *options, struct rbd_parse_opts_ctx *pctx) in rbd_parse_options() argument
6455 ret = rbd_parse_param(&param, pctx); in rbd_parse_options()
6516 struct rbd_parse_opts_ctx pctx = { 0 }; in rbd_add_parse_args() local
6539 pctx.spec = rbd_spec_alloc(); in rbd_add_parse_args()
6540 if (!pctx.spec) in rbd_add_parse_args()
[all …]