Home
last modified time | relevance | path

Searched defs:ctx (Results 101 – 125 of 2965) sorted by relevance

12345678910>>...119

/OK3568_Linux_fs/kernel/crypto/
H A Ddeflate.c42 static int deflate_comp_init(struct deflate_ctx *ctx, int format) in deflate_comp_init()
71 static int deflate_decomp_init(struct deflate_ctx *ctx, int format) in deflate_decomp_init()
96 static void deflate_comp_exit(struct deflate_ctx *ctx) in deflate_comp_exit()
102 static void deflate_decomp_exit(struct deflate_ctx *ctx) in deflate_decomp_exit()
108 static int __deflate_init(void *ctx, int format) in __deflate_init()
124 struct deflate_ctx *ctx; in gen_deflate_alloc_ctx() local
152 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_init() local
157 static void __deflate_exit(void *ctx) in __deflate_exit()
163 static void deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) in deflate_free_ctx()
171 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_exit() local
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/uAPI/
H A Drk_aiq_user_api_sysctl.cpp60 rk_aiq_sys_ctx_t* get_next_ctx(const rk_aiq_sys_ctx_t* ctx) in get_next_ctx()
68 rk_aiq_camgroup_ctx_t* get_binded_group_ctx(const rk_aiq_sys_ctx_t* ctx) in get_binded_group_ctx()
78 void rk_aiq_ctx_set_tool_mode(const rk_aiq_sys_ctx_t* ctx, bool status) in rk_aiq_ctx_set_tool_mode()
95 bool is_ctx_need_bypass(const rk_aiq_sys_ctx_t* ctx) in is_ctx_need_bypass()
254 static int rk_aiq_offline_init(rk_aiq_sys_ctx_t* ctx) in rk_aiq_offline_init()
374 rk_aiq_sys_ctx_t* ctx = new rk_aiq_sys_ctx_t(); in rk_aiq_uapi_sysctl_init() local
670 rk_aiq_uapi_sysctl_deinit_locked(rk_aiq_sys_ctx_t* ctx) in rk_aiq_uapi_sysctl_deinit_locked()
725 rk_aiq_uapi_sysctl_deinit(rk_aiq_sys_ctx_t* ctx) in rk_aiq_uapi_sysctl_deinit()
737 rk_aiq_uapi_sysctl_rawReproc_setInitExpInfo(const rk_aiq_sys_ctx_t* ctx, in rk_aiq_uapi_sysctl_rawReproc_setInitExpInfo()
788 rk_aiq_uapi_sysctl_prepare(const rk_aiq_sys_ctx_t* ctx, in rk_aiq_uapi_sysctl_prepare()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/mtk-jpeg/
H A Dmtk_jpeg_core.c149 struct mtk_jpeg_ctx *ctx = ctrl_to_ctx(ctrl); in vidioc_jpeg_enc_s_ctrl() local
170 static int mtk_jpeg_enc_ctrls_setup(struct mtk_jpeg_ctx *ctx) in mtk_jpeg_enc_ctrls_setup()
218 struct mtk_jpeg_ctx *ctx = mtk_jpeg_fh_to_ctx(priv); in mtk_jpeg_enum_fmt_vid_cap() local
229 struct mtk_jpeg_ctx *ctx = mtk_jpeg_fh_to_ctx(priv); in mtk_jpeg_enum_fmt_vid_out() local
237 static struct mtk_jpeg_q_data *mtk_jpeg_get_q_data(struct mtk_jpeg_ctx *ctx, in mtk_jpeg_get_q_data()
311 struct mtk_jpeg_ctx *ctx = mtk_jpeg_fh_to_ctx(priv); in mtk_jpeg_g_fmt_vid_mplane() local
357 struct mtk_jpeg_ctx *ctx = mtk_jpeg_fh_to_ctx(priv); in mtk_jpeg_try_fmt_vid_cap_mplane() local
386 struct mtk_jpeg_ctx *ctx = mtk_jpeg_fh_to_ctx(priv); in mtk_jpeg_try_fmt_vid_out_mplane() local
412 static int mtk_jpeg_s_fmt_mplane(struct mtk_jpeg_ctx *ctx, in mtk_jpeg_s_fmt_mplane()
493 static void mtk_jpeg_queue_src_chg_event(struct mtk_jpeg_ctx *ctx) in mtk_jpeg_queue_src_chg_event()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A Dj2s.cpp21 __attribute__((weak)) void* j2s_alloc_data(j2s_ctx* ctx, size_t size) in j2s_alloc_data()
26 __attribute__((weak)) void j2s_release_data(j2s_ctx* ctx, void* ptr) in j2s_release_data()
53 static inline int j2s_find_struct_index(j2s_ctx* ctx, const char* name) in j2s_find_struct_index()
67 int j2s_struct_free(j2s_ctx* ctx, const char* name, void* ptr) in j2s_struct_free()
74 cJSON* j2s_struct_to_json(j2s_ctx* ctx, const char* name, void* ptr) in j2s_struct_to_json()
81 int j2s_json_to_struct(j2s_ctx* ctx, cJSON* json, const char* name, void* ptr) in j2s_json_to_struct()
88 int j2s_json_from_struct(j2s_ctx* ctx, cJSON* json, const char* name, in j2s_json_from_struct()
96 void j2s_struct_to_cache(j2s_ctx* ctx, const char* name, int fd, void* ptr) in j2s_struct_to_cache()
103 int j2s_struct_from_cache(j2s_ctx* ctx, const char* name, int fd, void* ptr) in j2s_struct_from_cache()
111 static inline int j2s_enum_get_value(j2s_ctx* ctx, int enum_index, in j2s_enum_get_value()
[all …]
H A Dj2s_utils.cpp54 void* j2s_alloc_data(j2s_ctx* ctx, size_t size) in j2s_alloc_data()
68 int j2s_add_data(j2s_ctx* ctx, void* ptr, bool freeable) in j2s_add_data()
99 void j2s_release_data(j2s_ctx* ctx, void* ptr) in j2s_release_data()
199 static __attribute__((unused)) int j2s_load_ctx_cache(j2s_ctx* ctx, in j2s_load_ctx_cache()
255 static __attribute__((unused)) void j2s_save_ctx_cache(j2s_ctx* ctx, in j2s_save_ctx_cache()
283 void j2s_init(j2s_ctx* ctx) in j2s_init()
335 void j2s_camgroup_init(j2s_ctx* ctx) in j2s_camgroup_init()
347 void j2s_deinit(j2s_ctx* ctx) in j2s_deinit()
368 int j2s_load_struct_cache(j2s_ctx* ctx, const char* cache_file, void* ptr, in j2s_load_struct_cache()
418 void j2s_save_struct_cache(j2s_ctx* ctx, const char* cache_file, void* ptr, in j2s_save_struct_cache()
[all …]
/OK3568_Linux_fs/kernel/net/mac80211/
H A Dchan.c14 struct ieee80211_chanctx *ctx) in ieee80211_chanctx_num_assigned()
28 struct ieee80211_chanctx *ctx) in ieee80211_chanctx_num_reserved()
42 struct ieee80211_chanctx *ctx) in ieee80211_chanctx_refcount()
50 struct ieee80211_chanctx *ctx; in ieee80211_num_chanctx() local
83 struct ieee80211_chanctx *ctx, in ieee80211_chanctx_reserved_chandef()
106 struct ieee80211_chanctx *ctx, in ieee80211_chanctx_non_reserved_chandef()
132 struct ieee80211_chanctx *ctx, in ieee80211_chanctx_combined_chandef()
150 struct ieee80211_chanctx *ctx, in ieee80211_chanctx_can_reserve_chandef()
170 struct ieee80211_chanctx *ctx; in ieee80211_find_reservation_chanctx() local
309 struct ieee80211_chanctx *ctx) in ieee80211_recalc_chanctx_min_def()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c92 static int amdgpu_ctx_init_entity(struct amdgpu_ctx *ctx, u32 hw_ip, in amdgpu_ctx_init_entity()
144 struct amdgpu_ctx *ctx) in amdgpu_ctx_init()
185 struct amdgpu_ctx *ctx = container_of(ref, struct amdgpu_ctx, refcount); in amdgpu_ctx_fini() local
203 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, in amdgpu_ctx_get_entity()
241 struct amdgpu_ctx *ctx; in amdgpu_ctx_alloc() local
269 struct amdgpu_ctx *ctx; in amdgpu_ctx_do_release() local
288 struct amdgpu_ctx *ctx; in amdgpu_ctx_free() local
302 struct amdgpu_ctx *ctx; in amdgpu_ctx_query() local
338 struct amdgpu_ctx *ctx; in amdgpu_ctx_query2() local
410 struct amdgpu_ctx *ctx; in amdgpu_ctx_get() local
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dpwm-fan.c56 struct pwm_fan_ctx *ctx = dev_id; in pulse_handler() local
65 struct pwm_fan_ctx *ctx = from_timer(ctx, t, rpm_timer); in sample_timer() local
81 static int __set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) in __set_pwm()
104 static void pwm_fan_update_state(struct pwm_fan_ctx *ctx, unsigned long pwm) in pwm_fan_update_state()
118 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in pwm_store() local
136 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in pwm_show() local
144 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in rpm_show() local
162 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in pwm_fan_attrs_visible() local
185 struct pwm_fan_ctx *ctx = cdev->devdata; in pwm_fan_get_max_state() local
198 struct pwm_fan_ctx *ctx = cdev->devdata; in pwm_fan_get_cur_state() local
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/anr/
H A Drk_aiq_uapi_anr_int.cpp19 rk_aiq_uapi_anr_SetAttrib(RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_SetAttrib()
34 rk_aiq_uapi_anr_GetAttrib(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_GetAttrib()
48 rk_aiq_uapi_anr_SetIQPara(RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_SetIQPara()
184 rk_aiq_uapi_anr_GetIQPara(RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_GetIQPara()
307 rk_aiq_uapi_anr_SetLumaSFStrength(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_SetLumaSFStrength()
335 rk_aiq_uapi_anr_SetLumaTFStrength(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_SetLumaTFStrength()
356 rk_aiq_uapi_anr_GetLumaSFStrength(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_GetLumaSFStrength()
378 rk_aiq_uapi_anr_GetLumaTFStrength(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_GetLumaTFStrength()
399 rk_aiq_uapi_anr_SetChromaSFStrength(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_SetChromaSFStrength()
420 rk_aiq_uapi_anr_SetChromaTFStrength(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_anr_SetChromaTFStrength()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c107 static void safexcel_context_control(struct safexcel_ahash_ctx *ctx, in safexcel_context_control()
234 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_req_result() local
315 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_req() local
524 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_inv_result() local
592 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_inv() local
623 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_ahash_exit_inv() local
690 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_enqueue() local
769 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_final() local
919 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_ahash_cra_init() local
936 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha1_init() local
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_modeset_lock.c98 struct drm_modeset_acquire_ctx *ctx; in drm_modeset_lock_all() local
152 struct drm_modeset_acquire_ctx *ctx = config->acquire_ctx; in drm_modeset_unlock_all() local
198 void drm_modeset_acquire_init(struct drm_modeset_acquire_ctx *ctx, in drm_modeset_acquire_init()
214 void drm_modeset_acquire_fini(struct drm_modeset_acquire_ctx *ctx) in drm_modeset_acquire_fini()
226 void drm_modeset_drop_locks(struct drm_modeset_acquire_ctx *ctx) in drm_modeset_drop_locks()
241 struct drm_modeset_acquire_ctx *ctx, in modeset_lock()
294 int drm_modeset_backoff(struct drm_modeset_acquire_ctx *ctx) in drm_modeset_backoff()
339 struct drm_modeset_acquire_ctx *ctx) in drm_modeset_lock()
396 struct drm_modeset_acquire_ctx *ctx) in drm_modeset_lock_all_ctx()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c379 static int gsc_sw_reset(struct gsc_context *ctx) in gsc_sw_reset()
419 static void gsc_handle_irq(struct gsc_context *ctx, bool enable, in gsc_handle_irq()
449 static void gsc_src_set_fmt(struct gsc_context *ctx, u32 fmt, bool tiled) in gsc_src_set_fmt()
521 static void gsc_src_set_transf(struct gsc_context *ctx, unsigned int rotation) in gsc_src_set_transf()
564 static void gsc_src_set_size(struct gsc_context *ctx, in gsc_src_set_size()
607 static void gsc_src_set_buf_seq(struct gsc_context *ctx, u32 buf_id, in gsc_src_set_buf_seq()
625 static void gsc_src_set_addr(struct gsc_context *ctx, u32 buf_id, in gsc_src_set_addr()
636 static void gsc_dst_set_fmt(struct gsc_context *ctx, u32 fmt, bool tiled) in gsc_dst_set_fmt()
708 static int gsc_get_ratio_shift(struct gsc_context *ctx, u32 src, u32 dst, in gsc_get_ratio_shift()
743 static int gsc_set_prescaler(struct gsc_context *ctx, struct gsc_scaler *sc, in gsc_set_prescaler()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dcdc_ncm.c109 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_get_ethtool_stats() local
151 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_check_rx_max() local
174 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_check_tx_max() local
200 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_show_min_tx_pkt() local
208 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_show_rx_max() local
216 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_show_tx_max() local
224 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_show_tx_timer_usecs() local
232 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_store_min_tx_pkt() local
246 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_store_rx_max() local
259 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_store_tx_max() local
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/net/
H A Dbpf_jit_comp64.c33 static inline bool bpf_is_seen_register(struct codegen_context *ctx, int i) in bpf_is_seen_register()
38 static inline void bpf_set_seen_register(struct codegen_context *ctx, int i) in bpf_set_seen_register()
43 static inline bool bpf_has_stack_frame(struct codegen_context *ctx) in bpf_has_stack_frame()
65 static int bpf_jit_stack_local(struct codegen_context *ctx) in bpf_jit_stack_local()
73 static int bpf_jit_stack_tailcallcnt(struct codegen_context *ctx) in bpf_jit_stack_tailcallcnt()
78 static int bpf_jit_stack_offsetof(struct codegen_context *ctx, int reg) in bpf_jit_stack_offsetof()
89 static void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue()
137 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue()
156 static void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue()
166 static void bpf_jit_emit_func_call_hlp(u32 *image, struct codegen_context *ctx, in bpf_jit_emit_func_call_hlp()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/mtk-mdp/
H A Dmtk_mdp_m2m.c173 static const struct mtk_mdp_fmt *mtk_mdp_try_fmt_mplane(struct mtk_mdp_ctx *ctx, in mtk_mdp_try_fmt_mplane()
259 static struct mtk_mdp_frame *mtk_mdp_ctx_get_frame(struct mtk_mdp_ctx *ctx, in mtk_mdp_ctx_get_frame()
278 static int mtk_mdp_try_crop(struct mtk_mdp_ctx *ctx, u32 type, in mtk_mdp_try_crop()
364 void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state) in mtk_mdp_ctx_state_lock_set()
371 static bool mtk_mdp_ctx_state_is_set(struct mtk_mdp_ctx *ctx, u32 mask) in mtk_mdp_ctx_state_is_set()
394 struct mtk_mdp_ctx *ctx = q->drv_priv; in mtk_mdp_m2m_start_streaming() local
405 static void *mtk_mdp_m2m_buf_remove(struct mtk_mdp_ctx *ctx, in mtk_mdp_m2m_buf_remove()
416 struct mtk_mdp_ctx *ctx = q->drv_priv; in mtk_mdp_m2m_stop_streaming() local
429 static void mtk_mdp_prepare_addr(struct mtk_mdp_ctx *ctx, in mtk_mdp_prepare_addr()
457 static void mtk_mdp_m2m_get_bufs(struct mtk_mdp_ctx *ctx) in mtk_mdp_m2m_get_bufs()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/custom/
H A Dphl_custom.c41 struct phl_custom_ctx *ctx = (struct phl_custom_ctx *)priv; in _custom_rpt_notify_check() local
53 struct phl_custom_ctx *ctx = (struct phl_custom_ctx *)priv; in _custom_rpt_notify_complete() local
64 struct phl_custom_ctx *ctx = (struct phl_custom_ctx *)priv; in _custom_rpt_notify_start() local
80 _indicate_custome_evt_rpt(struct phl_custom_ctx *ctx) in _indicate_custome_evt_rpt()
97 _phl_custom_prepare_default_fail_rpt(struct phl_custom_ctx *ctx, in _phl_custom_prepare_default_fail_rpt()
115 struct phl_custom_ctx* ctx, in _phl_custom_hdl_fail_evt()
143 struct phl_custom_ctx* ctx, in _phl_custom_hdl_internal_evt()
180 struct phl_custom_ctx* ctx, in _phl_custom_hdl_external_evt()
189 struct phl_custom_ctx *ctx = (struct phl_custom_ctx *)priv; in _phl_custom_cmd_completion() local
199 struct phl_custom_ctx* ctx = NULL; in _phl_custom_mdl_init() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/custom/
H A Dphl_custom.c41 struct phl_custom_ctx *ctx = (struct phl_custom_ctx *)priv; in _custom_rpt_notify_check() local
53 struct phl_custom_ctx *ctx = (struct phl_custom_ctx *)priv; in _custom_rpt_notify_complete() local
64 struct phl_custom_ctx *ctx = (struct phl_custom_ctx *)priv; in _custom_rpt_notify_start() local
80 _indicate_custome_evt_rpt(struct phl_custom_ctx *ctx) in _indicate_custome_evt_rpt()
97 _phl_custom_prepare_default_fail_rpt(struct phl_custom_ctx *ctx, in _phl_custom_prepare_default_fail_rpt()
115 struct phl_custom_ctx* ctx, in _phl_custom_hdl_fail_evt()
143 struct phl_custom_ctx* ctx, in _phl_custom_hdl_internal_evt()
180 struct phl_custom_ctx* ctx, in _phl_custom_hdl_external_evt()
189 struct phl_custom_ctx *ctx = (struct phl_custom_ctx *)priv; in _phl_custom_cmd_completion() local
199 struct phl_custom_ctx* ctx = NULL; in _phl_custom_mdl_init() local
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.c99 static void lut_close(struct i915_gem_context *ctx) in lut_close()
141 lookup_user_engine(struct i915_gem_context *ctx, in lookup_user_engine()
169 context_get_vm_rcu(struct i915_gem_context *ctx) in context_get_vm_rcu()
207 struct i915_gem_context *ctx) in intel_context_set_gem()
269 struct i915_gem_context *ctx = engines->ctx; in engines_notify() local
300 static struct i915_gem_engines *default_engines(struct i915_gem_context *ctx) in default_engines()
336 static void i915_gem_context_free(struct i915_gem_context *ctx) in i915_gem_context_free()
358 struct i915_gem_context *ctx, *cn; in contexts_free_all() local
379 struct i915_gem_context *ctx = container_of(ref, typeof(*ctx), ref); in i915_gem_context_release() local
388 __context_engines_static(const struct i915_gem_context *ctx) in __context_engines_static()
[all …]
/OK3568_Linux_fs/kernel/drivers/tee/
H A Dtee_core.c49 struct tee_context *ctx; in teedev_open() local
75 void teedev_ctx_get(struct tee_context *ctx) in teedev_ctx_get()
85 struct tee_context *ctx = container_of(ref, struct tee_context, in teedev_ctx_release() local
92 void teedev_ctx_put(struct tee_context *ctx) in teedev_ctx_put()
100 void teedev_close_context(struct tee_context *ctx) in teedev_close_context()
111 struct tee_context *ctx; in tee_open() local
270 static int tee_ioctl_version(struct tee_context *ctx, in tee_ioctl_version()
286 static int tee_ioctl_shm_alloc(struct tee_context *ctx, in tee_ioctl_shm_alloc()
323 tee_ioctl_shm_register(struct tee_context *ctx, in tee_ioctl_shm_register()
362 static int params_from_user(struct tee_context *ctx, struct tee_param *params, in params_from_user()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/amfnr/
H A Drk_aiq_uapi_amfnr_int_v1.cpp11 rk_aiq_uapi_amfnr_SetAttrib_v1(RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_SetAttrib_v1()
26 rk_aiq_uapi_amfnr_GetAttrib_v1(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_GetAttrib_v1()
40 rk_aiq_uapi_amfnr_SetIQPara_v1(RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_SetIQPara_v1()
97 rk_aiq_uapi_amfnr_GetIQPara_v1(RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_GetIQPara_v1()
154 rk_aiq_uapi_amfnr_SetLumaTFStrength_v1(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_SetLumaTFStrength_v1()
180 rk_aiq_uapi_amfnr_GetLumaTFStrength_v1(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_GetLumaTFStrength_v1()
203 rk_aiq_uapi_amfnr_SetChromaTFStrength_v1(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_SetChromaTFStrength_v1()
223 rk_aiq_uapi_amfnr_GetChromaTFStrength_v1(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_GetChromaTFStrength_v1()
245 rk_aiq_uapi_amfnr_SetJsonPara_v1(RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_SetJsonPara_v1()
261 rk_aiq_uapi_amfnr_GetJsonPara_v1(RkAiqAlgoContext *ctx, in rk_aiq_uapi_amfnr_GetJsonPara_v1()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Ducma.c103 struct ucma_context *ctx; member
114 struct ucma_context *ctx; member
130 struct ucma_context *ctx; in _ucma_find_context() local
142 struct ucma_context *ctx; in ucma_get_ctx() local
153 static void ucma_put_ctx(struct ucma_context *ctx) in ucma_put_ctx()
165 struct ucma_context *ctx = ucma_get_ctx(file, id); in ucma_get_ctx_dev() local
178 struct ucma_context *ctx = container_of(work, struct ucma_context, close_work); in ucma_close_id() local
195 struct ucma_context *ctx; in ucma_alloc_ctx() local
216 static void ucma_set_ctx_cm_id(struct ucma_context *ctx, in ucma_set_ctx_cm_id()
223 static void ucma_finish_ctx(struct ucma_context *ctx) in ucma_finish_ctx()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/intel/atom/sst/
H A Dsst.c194 struct intel_sst_drv *ctx = container_of(work, in sst_process_pending_msg() local
200 static int sst_workqueue_init(struct intel_sst_drv *ctx) in sst_workqueue_init()
216 static void sst_init_locks(struct intel_sst_drv *ctx) in sst_init_locks()
224 int sst_alloc_drv_context(struct intel_sst_drv **ctx, in sst_alloc_drv_context()
241 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in firmware_version_show() local
264 int sst_context_init(struct intel_sst_drv *ctx) in sst_context_init()
356 void sst_context_cleanup(struct intel_sst_drv *ctx) in sst_context_cleanup()
375 void sst_configure_runtime_pm(struct intel_sst_drv *ctx) in sst_configure_runtime_pm()
400 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in intel_sst_runtime_suspend() local
423 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in intel_sst_suspend() local
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dexpr.c40 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) in expr__add_id()
62 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val) in expr__add_id_val()
83 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref) in expr__add_ref()
133 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, in expr__get_id()
139 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, in expr__resolve_id()
167 void expr__del_id(struct expr_parse_ctx *ctx, const char *id) in expr__del_id()
178 void expr__ctx_init(struct expr_parse_ctx *ctx) in expr__ctx_init()
183 void expr__ctx_clear(struct expr_parse_ctx *ctx) in expr__ctx_clear()
196 __expr__parse(double *val, struct expr_parse_ctx *ctx, const char *expr, in __expr__parse()
228 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, in expr__parse()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/
H A Dj2s.cpp22 __attribute__((weak)) void *j2s_alloc_data(j2s_ctx *ctx, size_t size) { in j2s_alloc_data()
27 __attribute__((weak)) void j2s_release_data(j2s_ctx *ctx, void *ptr) { in j2s_release_data()
154 static inline int j2s_find_struct_index(j2s_ctx *ctx, const char *name) { in j2s_find_struct_index()
167 int j2s_struct_free(j2s_ctx *ctx, const char *name, void *ptr) { in j2s_struct_free()
173 int j2s_struct_to_bin(j2s_ctx *ctx, const char *name, void *ptr, size_t len, in j2s_struct_to_bin()
188 cJSON *j2s_struct_to_json(j2s_ctx *ctx, const char *name, void *ptr) { in j2s_struct_to_json()
194 int j2s_json_to_struct(j2s_ctx *ctx, cJSON *json, const char *name, void *ptr) { in j2s_json_to_struct()
200 int j2s_json_from_struct(j2s_ctx *ctx, cJSON *json, const char *name, in j2s_json_from_struct()
208 static inline int j2s_enum_get_value(j2s_ctx *ctx, int enum_index, in j2s_enum_get_value()
229 static inline const char *j2s_enum_get_name(j2s_ctx *ctx, int enum_index, in j2s_enum_get_name()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/exynos-gsc/
H A Dgsc-regs.c107 void gsc_hw_set_input_path(struct gsc_ctx *ctx) in gsc_hw_set_input_path()
120 void gsc_hw_set_in_size(struct gsc_ctx *ctx) in gsc_hw_set_in_size()
142 void gsc_hw_set_in_image_rgb(struct gsc_ctx *ctx) in gsc_hw_set_in_image_rgb()
162 void gsc_hw_set_in_image_format(struct gsc_ctx *ctx) in gsc_hw_set_in_image_format()
218 void gsc_hw_set_output_path(struct gsc_ctx *ctx) in gsc_hw_set_output_path()
233 void gsc_hw_set_out_size(struct gsc_ctx *ctx) in gsc_hw_set_out_size()
262 void gsc_hw_set_out_image_rgb(struct gsc_ctx *ctx) in gsc_hw_set_out_image_rgb()
282 void gsc_hw_set_out_image_format(struct gsc_ctx *ctx) in gsc_hw_set_out_image_format()
342 void gsc_hw_set_prescaler(struct gsc_ctx *ctx) in gsc_hw_set_prescaler()
354 void gsc_hw_set_mainscaler(struct gsc_ctx *ctx) in gsc_hw_set_mainscaler()
[all …]

12345678910>>...119