Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 200 of 840) sorted by relevance

12345

/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dbacking_ops.c47 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event()
62 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read()
84 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx) in spu_backing_mbox_stat_read()
89 static unsigned int spu_backing_mbox_stat_poll(struct spu_context *ctx, in spu_backing_mbox_stat_poll()
128 static int spu_backing_ibox_read(struct spu_context *ctx, u32 * data) in spu_backing_ibox_read()
152 static int spu_backing_wbox_write(struct spu_context *ctx, u32 data) in spu_backing_wbox_write()
183 static u32 spu_backing_signal1_read(struct spu_context *ctx) in spu_backing_signal1_read()
188 static void spu_backing_signal1_write(struct spu_context *ctx, u32 data) in spu_backing_signal1_write()
200 static u32 spu_backing_signal2_read(struct spu_context *ctx) in spu_backing_signal2_read()
205 static void spu_backing_signal2_write(struct spu_context *ctx, u32 data) in spu_backing_signal2_write()
[all …]
Dhw_ops.c37 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read()
54 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read()
59 static unsigned int spu_hw_mbox_stat_poll(struct spu_context *ctx, in spu_hw_mbox_stat_poll()
96 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read()
117 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write()
138 static void spu_hw_signal1_write(struct spu_context *ctx, u32 data) in spu_hw_signal1_write()
143 static void spu_hw_signal2_write(struct spu_context *ctx, u32 data) in spu_hw_signal2_write()
148 static void spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal1_type_set()
164 static u64 spu_hw_signal1_type_get(struct spu_context *ctx) in spu_hw_signal1_type_get()
169 static void spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal2_type_set()
[all …]
Dsched.c97 void spu_set_timeslice(struct spu_context *ctx) in spu_set_timeslice()
108 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info()
149 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info()
167 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed()
179 static int node_allowed(struct spu_context *ctx, int node) in node_allowed()
206 struct spu_context *ctx = spu->ctx; in do_notify_spus_active() local
222 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
272 struct spu_context *ctx; in aff_merge_remaining_ctxs() local
283 struct spu_context *ctx; in aff_set_offsets() local
304 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
[all …]
Dcontext.c38 struct spu_context *ctx; in alloc_spu_context() local
82 struct spu_context *ctx; in destroy_spu_context() local
99 struct spu_context * get_spu_context(struct spu_context *ctx) in get_spu_context()
105 int put_spu_context(struct spu_context *ctx) in put_spu_context()
111 void spu_forget(struct spu_context *ctx) in spu_forget()
130 void spu_unmap_mappings(struct spu_context *ctx) in spu_unmap_mappings()
154 int spu_acquire_saved(struct spu_context *ctx) in spu_acquire_saved()
176 void spu_release_saved(struct spu_context *ctx) in spu_release_saved()
Dfile.c164 struct spu_context *ctx = i->i_ctx; in spufs_mem_open() local
178 struct spu_context *ctx = i->i_ctx; in spufs_mem_release() local
188 __spufs_mem_read(struct spu_context *ctx, char __user *buffer, in __spufs_mem_read()
200 struct spu_context *ctx = file->private_data; in spufs_mem_read() local
216 struct spu_context *ctx = file->private_data; in spufs_mem_write() local
238 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault() local
270 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access() local
320 struct spu_context *ctx = vma->vm_file->private_data; in spufs_ps_fault() local
402 struct spu_context *ctx = data; in spufs_cntl_get() local
416 struct spu_context *ctx = data; in spufs_cntl_set() local
[all …]
Drun.c16 struct spu_context *ctx = spu->ctx; in spufs_stop_callback() local
48 int spu_stopped(struct spu_context *ctx, u32 *stat) in spu_stopped()
81 static int spu_setup_isolated(struct spu_context *ctx) in spu_setup_isolated()
175 static int spu_run_init(struct spu_context *ctx, u32 *npc) in spu_run_init()
243 static int spu_run_fini(struct spu_context *ctx, u32 *npc, in spu_run_fini()
272 static int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret, in spu_handle_restartsys()
308 static int spu_process_callback(struct spu_context *ctx) in spu_process_callback()
352 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event) in spufs_run_spu()
Dcoredump.c37 static ssize_t do_coredump_read(int num, struct spu_context *ctx, void *buffer, in do_coredump_read()
53 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) in spufs_ctx_note_size()
75 struct spu_context *ctx; in match_context() local
109 struct spu_context *ctx; in spufs_coredump_extra_notes_size() local
131 static int spufs_arch_write_note(struct spu_context *ctx, int i, in spufs_arch_write_note()
187 struct spu_context *ctx; in spufs_coredump_extra_notes_write() local
Dfault.c36 static void spufs_handle_event(struct spu_context *ctx, in spufs_handle_event()
77 int spufs_handle_class0(struct spu_context *ctx) in spufs_handle_class0()
110 int spufs_handle_class1(struct spu_context *ctx) in spufs_handle_class1()
/linux-4.4.14/sound/soc/intel/skylake/
Dskl-sst-dsp.c30 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked()
37 static int skl_dsp_core_set_reset_state(struct sst_dsp *ctx) in skl_dsp_core_set_reset_state()
63 static int skl_dsp_core_unset_reset_state(struct sst_dsp *ctx) in skl_dsp_core_unset_reset_state()
90 static bool is_skl_dsp_core_enable(struct sst_dsp *ctx) in is_skl_dsp_core_enable()
106 static int skl_dsp_reset_core(struct sst_dsp *ctx) in skl_dsp_reset_core()
117 static int skl_dsp_start_core(struct sst_dsp *ctx) in skl_dsp_start_core()
143 static int skl_dsp_core_power_up(struct sst_dsp *ctx) in skl_dsp_core_power_up()
169 static int skl_dsp_core_power_down(struct sst_dsp *ctx) in skl_dsp_core_power_down()
184 static int skl_dsp_enable_core(struct sst_dsp *ctx) in skl_dsp_enable_core()
198 int skl_dsp_disable_core(struct sst_dsp *ctx) in skl_dsp_disable_core()
[all …]
Dskl-sst-cldma.c24 static void skl_cldma_int_enable(struct sst_dsp *ctx) in skl_cldma_int_enable()
30 void skl_cldma_int_disable(struct sst_dsp *ctx) in skl_cldma_int_disable()
37 static void skl_cldma_setup_bdle(struct sst_dsp *ctx, in skl_cldma_setup_bdle()
67 static void skl_cldma_setup_controller(struct sst_dsp *ctx, in skl_cldma_setup_controller()
88 static void skl_cldma_setup_spb(struct sst_dsp *ctx, in skl_cldma_setup_spb()
100 static void skl_cldma_cleanup_spb(struct sst_dsp *ctx) in skl_cldma_cleanup_spb()
110 static void skl_cldma_trigger(struct sst_dsp *ctx, bool enable) in skl_cldma_trigger()
122 static void skl_cldma_cleanup(struct sst_dsp *ctx) in skl_cldma_cleanup()
142 static int skl_cldma_wait_interruptible(struct sst_dsp *ctx) in skl_cldma_wait_interruptible()
165 static void skl_cldma_stop(struct sst_dsp *ctx) in skl_cldma_stop()
[all …]
Dskl-messages.c61 static void skl_dsp_enable_notification(struct skl_sst *ctx, bool enable) in skl_dsp_enable_notification()
113 struct skl_sst *ctx = skl->skl_sst; in skl_free_dsp() local
125 struct skl_sst *ctx = skl->skl_sst; in skl_suspend_dsp() local
145 struct skl_sst *ctx = skl->skl_sst; in skl_resume_dsp() local
279 static void skl_set_base_module_format(struct skl_sst *ctx, in skl_set_base_module_format()
329 static void skl_setup_cpr_gateway_cfg(struct skl_sst *ctx, in skl_setup_cpr_gateway_cfg()
398 static void skl_setup_out_format(struct skl_sst *ctx, in skl_setup_out_format()
422 static void skl_set_src_format(struct skl_sst *ctx, in skl_set_src_format()
439 static void skl_set_updown_mixer_format(struct skl_sst *ctx, in skl_set_updown_mixer_format()
465 static void skl_set_copier_format(struct skl_sst *ctx, in skl_set_copier_format()
[all …]
Dskl-sst.c40 static bool skl_check_fw_status(struct sst_dsp *ctx, u32 status) in skl_check_fw_status()
49 static int skl_transfer_firmware(struct sst_dsp *ctx, in skl_transfer_firmware()
70 static int skl_load_base_firmware(struct sst_dsp *ctx) in skl_load_base_firmware()
146 static int skl_set_dsp_D0(struct sst_dsp *ctx) in skl_set_dsp_D0()
161 static int skl_set_dsp_D3(struct sst_dsp *ctx) in skl_set_dsp_D3()
199 static unsigned int skl_get_errorcode(struct sst_dsp *ctx) in skl_get_errorcode()
275 void skl_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx) in skl_sst_dsp_cleanup()
Dskl-topology.c63 struct skl_sst *ctx = skl->skl_sst; in skl_tplg_alloc_pipe_mem() local
92 struct skl_sst *ctx = skl->skl_sst; in skl_tplg_alloc_pipe_mcps() local
127 static void skl_dump_mconfig(struct skl_sst *ctx, in skl_dump_mconfig()
208 static void skl_tplg_update_buffer_size(struct skl_sst *ctx, in skl_tplg_update_buffer_size()
228 struct skl_sst *ctx) in skl_tplg_update_module_params()
305 struct skl_sst *ctx = skl->skl_sst; in skl_tplg_init_pipe_modules() local
345 struct skl_sst *ctx = skl->skl_sst; in skl_tplg_mixer_dapm_pre_pmu_event() local
417 struct skl_sst *ctx = skl->skl_sst; in skl_tplg_pga_dapm_pre_pmu_event() local
496 struct skl_sst *ctx = skl->skl_sst; in skl_tplg_mixer_dapm_post_pmu_event() local
559 struct skl_sst *ctx = skl->skl_sst; in skl_tplg_mixer_dapm_pre_pmd_event() local
[all …]
/linux-4.4.14/arch/mips/net/
Dbpf_jit.c122 #define emit_instr(ctx, func, ...) \ argument
135 #define emit_long_instr(ctx, func, ...) \ argument
151 unsigned int src2, struct jit_ctx *ctx) in emit_addu()
156 static inline void emit_nop(struct jit_ctx *ctx) in emit_nop()
162 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) in emit_load_imm()
183 unsigned int src2, struct jit_ctx *ctx) in emit_or()
189 struct jit_ctx *ctx) in emit_ori()
200 int imm, struct jit_ctx *ctx) in emit_daddiu()
210 u32 imm, struct jit_ctx *ctx) in emit_addiu()
221 unsigned int src2, struct jit_ctx *ctx) in emit_and()
[all …]
/linux-4.4.14/drivers/gpu/drm/
Ddrm_modeset_lock.c69 struct drm_modeset_acquire_ctx *ctx; in drm_modeset_lock_all() local
118 struct drm_modeset_acquire_ctx *ctx = config->acquire_ctx; in drm_modeset_unlock_all() local
149 struct drm_modeset_acquire_ctx *ctx; in drm_modeset_lock_crtc() local
222 struct drm_modeset_acquire_ctx *ctx = crtc->acquire_ctx; in drm_modeset_unlock_crtc() local
262 void drm_modeset_acquire_init(struct drm_modeset_acquire_ctx *ctx, in drm_modeset_acquire_init()
275 void drm_modeset_acquire_fini(struct drm_modeset_acquire_ctx *ctx) in drm_modeset_acquire_fini()
287 void drm_modeset_drop_locks(struct drm_modeset_acquire_ctx *ctx) in drm_modeset_drop_locks()
302 struct drm_modeset_acquire_ctx *ctx, in modeset_lock()
343 static int modeset_backoff(struct drm_modeset_acquire_ctx *ctx, in modeset_backoff()
366 void drm_modeset_backoff(struct drm_modeset_acquire_ctx *ctx) in drm_modeset_backoff()
[all …]
Ddrm_context.c328 struct drm_ctx ctx; in drm_legacy_resctx() local
363 struct drm_ctx *ctx = data; in drm_legacy_addctx() local
410 struct drm_ctx *ctx = data; in drm_legacy_getctx() local
436 struct drm_ctx *ctx = data; in drm_legacy_switchctx() local
460 struct drm_ctx *ctx = data; in drm_legacy_newctx() local
486 struct drm_ctx *ctx = data; in drm_legacy_rmctx() local
/linux-4.4.14/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c37 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v5()
58 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v5()
64 static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v5()
198 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5()
205 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5()
247 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5()
265 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5()
272 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5()
279 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5()
321 static void s5p_mfc_enc_calc_src_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v5()
[all …]
Ds5p_mfc_opr_v6.c49 static int s5p_mfc_alloc_dec_temp_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v6()
57 static void s5p_mfc_release_dec_desc_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v6()
63 static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v6()
254 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6()
260 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6()
310 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6()
359 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6()
385 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6()
404 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6()
426 static int s5p_mfc_set_dec_frame_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_dec_frame_buffer_v6()
[all …]
Ds5p_mfc_dec.c224 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready()
324 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() local
416 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() local
465 static int reqbufs_output(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_output()
514 static int reqbufs_capture(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_capture()
573 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() local
594 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() local
622 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf() local
641 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf() local
670 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf() local
[all …]
Ds5p_mfc_enc.c727 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready()
747 static void cleanup_ref_queue(struct s5p_mfc_ctx *ctx) in cleanup_ref_queue()
766 static int enc_pre_seq_start(struct s5p_mfc_ctx *ctx) in enc_pre_seq_start()
784 static int enc_post_seq_start(struct s5p_mfc_ctx *ctx) in enc_post_seq_start()
824 static int enc_pre_frame_start(struct s5p_mfc_ctx *ctx) in enc_pre_frame_start()
852 static int enc_post_frame_start(struct s5p_mfc_ctx *ctx) in enc_post_frame_start()
1006 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() local
1091 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() local
1144 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() local
1220 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() local
[all …]
Ds5p_mfc.c47 void clear_work_bit(struct s5p_mfc_ctx *ctx) in clear_work_bit()
57 void set_work_bit(struct s5p_mfc_ctx *ctx) in set_work_bit()
67 void clear_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in clear_work_bit_irqsave()
78 void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in set_work_bit_irqsave()
89 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, in wake_up_ctx()
131 struct s5p_mfc_ctx *ctx; in s5p_mfc_watchdog_worker() local
184 static void s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_all_extracted()
215 static void s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_copy_time()
267 static void s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) in s5p_mfc_handle_frame_new()
323 static void s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, in s5p_mfc_handle_frame()
[all …]
/linux-4.4.14/drivers/gpu/drm/panel/
Dpanel-lg-lg4573.c40 static int lg4573_spi_write_u16(struct lg4573 *ctx, u16 data) in lg4573_spi_write_u16()
56 static int lg4573_spi_write_u16_array(struct lg4573 *ctx, const u16 *buffer, in lg4573_spi_write_u16_array()
71 static int lg4573_spi_write_dcs(struct lg4573 *ctx, u8 dcs) in lg4573_spi_write_dcs()
76 static int lg4573_display_on(struct lg4573 *ctx) in lg4573_display_on()
89 static int lg4573_display_off(struct lg4573 *ctx) in lg4573_display_off()
102 static int lg4573_display_mode_settings(struct lg4573 *ctx) in lg4573_display_mode_settings()
120 static int lg4573_power_settings(struct lg4573 *ctx) in lg4573_power_settings()
136 static int lg4573_gamma_settings(struct lg4573 *ctx) in lg4573_gamma_settings()
161 static int lg4573_init(struct lg4573 *ctx) in lg4573_init()
178 static int lg4573_power_on(struct lg4573 *ctx) in lg4573_power_on()
[all …]
Dpanel-samsung-s6e8aa0.c128 static int s6e8aa0_clear_error(struct s6e8aa0 *ctx) in s6e8aa0_clear_error()
136 static void s6e8aa0_dcs_write(struct s6e8aa0 *ctx, const void *data, size_t len) in s6e8aa0_dcs_write()
152 static int s6e8aa0_dcs_read(struct s6e8aa0 *ctx, u8 cmd, void *data, size_t len) in s6e8aa0_dcs_read()
169 #define s6e8aa0_dcs_write_seq(ctx, seq...) \ argument
176 #define s6e8aa0_dcs_write_seq_static(ctx, seq...) \ argument
182 static void s6e8aa0_apply_level_1_key(struct s6e8aa0 *ctx) in s6e8aa0_apply_level_1_key()
187 static void s6e8aa0_panel_cond_set_v142(struct s6e8aa0 *ctx) in s6e8aa0_panel_cond_set_v142()
258 static void s6e8aa0_panel_cond_set(struct s6e8aa0 *ctx) in s6e8aa0_panel_cond_set()
272 static void s6e8aa0_display_condition_set(struct s6e8aa0 *ctx) in s6e8aa0_display_condition_set()
277 static void s6e8aa0_etc_source_control(struct s6e8aa0 *ctx) in s6e8aa0_etc_source_control()
[all …]
Dpanel-samsung-ld9040.c118 static int ld9040_clear_error(struct ld9040 *ctx) in ld9040_clear_error()
126 static int ld9040_spi_write_word(struct ld9040 *ctx, u16 data) in ld9040_spi_write_word()
141 static void ld9040_dcs_write(struct ld9040 *ctx, const u8 *data, size_t len) in ld9040_dcs_write()
165 #define ld9040_dcs_write_seq_static(ctx, seq...) \ argument
171 static void ld9040_brightness_set(struct ld9040 *ctx) in ld9040_brightness_set()
179 static void ld9040_init(struct ld9040 *ctx) in ld9040_init()
198 static int ld9040_power_on(struct ld9040 *ctx) in ld9040_power_on()
215 static int ld9040_power_off(struct ld9040 *ctx) in ld9040_power_off()
227 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_unprepare() local
241 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_prepare() local
[all …]
/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c31 static int gsc_m2m_ctx_stop_req(struct gsc_ctx *ctx) in gsc_m2m_ctx_stop_req()
49 static void __gsc_m2m_job_abort(struct gsc_ctx *ctx) in __gsc_m2m_job_abort()
62 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_start_streaming() local
71 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_stop_streaming() local
78 void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state) in gsc_m2m_job_finish()
109 static int gsc_get_bufs(struct gsc_ctx *ctx) in gsc_get_bufs()
135 struct gsc_ctx *ctx = priv; in gsc_m2m_device_run() local
219 struct gsc_ctx *ctx = vb2_get_drv_priv(vq); in gsc_m2m_queue_setup() local
240 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in gsc_m2m_buf_prepare() local
259 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in gsc_m2m_buf_queue() local
[all …]
Dgsc-regs.c111 void gsc_hw_set_input_path(struct gsc_ctx *ctx) in gsc_hw_set_input_path()
124 void gsc_hw_set_in_size(struct gsc_ctx *ctx) in gsc_hw_set_in_size()
146 void gsc_hw_set_in_image_rgb(struct gsc_ctx *ctx) in gsc_hw_set_in_image_rgb()
166 void gsc_hw_set_in_image_format(struct gsc_ctx *ctx) in gsc_hw_set_in_image_format()
222 void gsc_hw_set_output_path(struct gsc_ctx *ctx) in gsc_hw_set_output_path()
237 void gsc_hw_set_out_size(struct gsc_ctx *ctx) in gsc_hw_set_out_size()
266 void gsc_hw_set_out_image_rgb(struct gsc_ctx *ctx) in gsc_hw_set_out_image_rgb()
286 void gsc_hw_set_out_image_format(struct gsc_ctx *ctx) in gsc_hw_set_out_image_format()
346 void gsc_hw_set_prescaler(struct gsc_ctx *ctx) in gsc_hw_set_prescaler()
358 void gsc_hw_set_mainscaler(struct gsc_ctx *ctx) in gsc_hw_set_mainscaler()
[all …]
Dgsc-core.c390 int gsc_try_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f) in gsc_try_fmt_mplane()
467 int gsc_g_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f) in gsc_g_fmt_mplane()
506 int gsc_g_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) in gsc_g_crop()
519 int gsc_try_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) in gsc_try_crop()
635 int gsc_set_scaler_info(struct gsc_ctx *ctx) in gsc_set_scaler_info()
700 static int __gsc_s_ctrl(struct gsc_ctx *ctx, struct v4l2_ctrl *ctrl) in __gsc_s_ctrl()
747 struct gsc_ctx *ctx = ctrl_to_ctx(ctrl); in gsc_s_ctrl() local
762 int gsc_ctrls_create(struct gsc_ctx *ctx) in gsc_ctrls_create()
792 void gsc_ctrls_delete(struct gsc_ctx *ctx) in gsc_ctrls_delete()
801 int gsc_prepare_addr(struct gsc_ctx *ctx, struct vb2_buffer *vb, in gsc_prepare_addr()
[all …]
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Datom.c56 struct atom_context *ctx; member
102 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute()
174 static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr, in atom_get_src_int()
362 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int()
398 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src()
403 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct()
429 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_get_dst()
438 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst()
445 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_put_dst()
584 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add()
[all …]
Damdgpu_ctx.c29 struct amdgpu_ctx *ctx) in amdgpu_ctx_init()
67 void amdgpu_ctx_fini(struct amdgpu_ctx *ctx) in amdgpu_ctx_fini()
91 struct amdgpu_ctx *ctx; in amdgpu_ctx_alloc() local
114 struct amdgpu_ctx *ctx; in amdgpu_ctx_do_release() local
126 struct amdgpu_ctx *ctx; in amdgpu_ctx_free() local
144 struct amdgpu_ctx *ctx; in amdgpu_ctx_query() local
209 struct amdgpu_ctx *ctx; in amdgpu_ctx_get() local
225 int amdgpu_ctx_put(struct amdgpu_ctx *ctx) in amdgpu_ctx_put()
234 uint64_t amdgpu_ctx_add_fence(struct amdgpu_ctx *ctx, struct amdgpu_ring *ring, in amdgpu_ctx_add_fence()
263 struct fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_get_fence()
[all …]
/linux-4.4.14/sound/soc/intel/atom/sst/
Dsst_drv_interface.c51 int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id) in free_stream_context()
69 int sst_get_stream_allocated(struct intel_sst_drv *ctx, in sst_get_stream_allocated()
125 int sst_get_stream(struct intel_sst_drv *ctx, in sst_get_stream()
145 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_power_control() local
186 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_open_pcm_stream() local
205 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_open() local
233 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_close() local
269 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_ack() local
300 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_set_metadata() local
319 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_stream_pause() local
[all …]
Dsst.c200 struct intel_sst_drv *ctx = container_of(work, in sst_process_pending_msg() local
206 static int sst_workqueue_init(struct intel_sst_drv *ctx) in sst_workqueue_init()
222 static void sst_init_locks(struct intel_sst_drv *ctx) in sst_init_locks()
230 int sst_alloc_drv_context(struct intel_sst_drv **ctx, in sst_alloc_drv_context()
244 int sst_context_init(struct intel_sst_drv *ctx) in sst_context_init()
326 void sst_context_cleanup(struct intel_sst_drv *ctx) in sst_context_cleanup()
345 static inline void sst_save_shim64(struct intel_sst_drv *ctx, in sst_save_shim64()
360 static inline void sst_restore_shim64(struct intel_sst_drv *ctx, in sst_restore_shim64()
376 void sst_configure_runtime_pm(struct intel_sst_drv *ctx) in sst_configure_runtime_pm()
403 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in intel_sst_runtime_suspend() local
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Datom.c56 struct atom_context *ctx; member
102 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute()
177 static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr, in atom_get_src_int()
365 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int()
401 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src()
406 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct()
432 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_get_dst()
441 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst()
448 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_put_dst()
587 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxnv50.c176 nv50_grctx_generate(struct nvkm_grctx *ctx) in nv50_grctx_generate()
268 struct nvkm_grctx ctx = { in nv50_grctx_init() local
296 nv50_gr_construct_mmio(struct nvkm_grctx *ctx) in nv50_gr_construct_mmio()
784 dd_emit(struct nvkm_grctx *ctx, int num, u32 val) { in dd_emit()
794 nv50_gr_construct_mmio_ddata(struct nvkm_grctx *ctx) in nv50_gr_construct_mmio_ddata()
1157 xf_emit(struct nvkm_grctx *ctx, int num, u32 val) { in xf_emit()
1188 nv50_gr_construct_xfer1(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer1()
1351 nv50_gr_construct_gene_dispatch(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_dispatch()
1407 nv50_gr_construct_gene_m2mf(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_m2mf()
1459 nv50_gr_construct_gene_ccache(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_ccache()
[all …]
Dctxnv40.h24 cp_out(struct nvkm_grctx *ctx, u32 inst) in cp_out()
36 cp_lsr(struct nvkm_grctx *ctx, u32 val) in cp_lsr()
42 cp_ctx(struct nvkm_grctx *ctx, u32 reg, u32 length) in cp_ctx()
58 cp_name(struct nvkm_grctx *ctx, int name) in cp_name()
78 _cp_bra(struct nvkm_grctx *ctx, u32 mod, int flag, int state, int name) in _cp_bra()
96 _cp_wait(struct nvkm_grctx *ctx, int flag, int state) in _cp_wait()
103 _cp_set(struct nvkm_grctx *ctx, int flag, int state) in _cp_set()
110 cp_pos(struct nvkm_grctx *ctx, int offset) in cp_pos()
120 gr_def(struct nvkm_grctx *ctx, u32 reg, u32 val) in gr_def()
Dctxnv40.c159 nv40_gr_construct_general(struct nvkm_grctx *ctx) in nv40_gr_construct_general()
265 nv40_gr_construct_state3d(struct nvkm_grctx *ctx) in nv40_gr_construct_state3d()
370 nv40_gr_construct_state3d_2(struct nvkm_grctx *ctx) in nv40_gr_construct_state3d_2()
534 nv40_gr_construct_state3d_3(struct nvkm_grctx *ctx) in nv40_gr_construct_state3d_3()
549 nv40_gr_construct_shader(struct nvkm_grctx *ctx) in nv40_gr_construct_shader()
596 nv40_grctx_generate(struct nvkm_grctx *ctx) in nv40_grctx_generate()
674 struct nvkm_grctx ctx = { in nv40_grctx_init() local
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Drxon.c39 struct iwl_rxon_context *ctx) in iwl_connection_init_rx_config()
100 struct iwl_rxon_context *ctx, in iwlagn_disable_bss()
120 struct iwl_rxon_context *ctx, in iwlagn_disable_pan()
157 struct iwl_rxon_context *ctx, in iwlagn_disconn_pan()
173 struct iwl_rxon_context *ctx) in iwlagn_update_qos()
213 struct iwl_rxon_context *ctx) in iwlagn_send_rxon_assoc()
293 struct iwl_rxon_context *ctx) in iwl_send_rxon_timing()
361 struct iwl_rxon_context *ctx) in iwlagn_rxon_disconn()
407 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_set_tx_power() local
461 struct iwl_rxon_context *ctx) in iwlagn_rxon_connect()
[all …]
Dsta.c147 struct iwl_rxon_context *ctx, in iwl_is_ht40_tx_allowed()
167 struct iwl_rxon_context *ctx, in iwl_sta_calc_ht_flags()
213 int iwl_sta_update_ht(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_sta_update_ht()
241 struct iwl_rxon_context *ctx) in iwl_set_ht_add_station()
257 u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_prep_station()
344 int iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_add_station_common()
569 static void iwl_sta_fill_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_sta_fill_lq()
628 struct iwl_rxon_context *ctx) in iwl_clear_ucode_stations()
662 void iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx) in iwl_restore_stations()
803 struct iwl_rxon_context *ctx, in is_lq_table_valid()
[all …]
Dmac80211.c102 struct iwl_rxon_context *ctx; in iwlagn_mac_setup_register() local
235 struct iwl_rxon_context *ctx; in __iwl_up() local
372 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_suspend() local
436 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_resume() local
616 struct iwl_rxon_context *ctx = vif_priv->ctx; in iwlagn_mac_set_key() local
972 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_channel_switch() local
1046 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_chswitch_done() local
1065 struct iwl_rxon_context *ctx; in iwlagn_configure_filter() local
1189 struct iwl_rxon_context *ctx = vif_priv->ctx; in iwlagn_mac_conf_tx() local
1234 static int iwl_set_mode(struct iwl_priv *priv, struct iwl_rxon_context *ctx) in iwl_set_mode()
[all …]
/linux-4.4.14/drivers/staging/skein/
Dskein_base.c23 int skein_256_init(struct skein_256_ctx *ctx, size_t hash_bit_len) in skein_256_init()
82 int skein_256_init_ext(struct skein_256_ctx *ctx, size_t hash_bit_len, in skein_256_init_ext()
141 int skein_256_update(struct skein_256_ctx *ctx, const u8 *msg, in skein_256_update()
196 int skein_256_final(struct skein_256_ctx *ctx, u8 *hash_val) in skein_256_final()
247 int skein_512_init(struct skein_512_ctx *ctx, size_t hash_bit_len) in skein_512_init()
310 int skein_512_init_ext(struct skein_512_ctx *ctx, size_t hash_bit_len, in skein_512_init_ext()
368 int skein_512_update(struct skein_512_ctx *ctx, const u8 *msg, in skein_512_update()
423 int skein_512_final(struct skein_512_ctx *ctx, u8 *hash_val) in skein_512_final()
474 int skein_1024_init(struct skein_1024_ctx *ctx, size_t hash_bit_len) in skein_1024_init()
531 int skein_1024_init_ext(struct skein_1024_ctx *ctx, size_t hash_bit_len, in skein_1024_init_ext()
[all …]
Dskein_api.c29 int skein_ctx_prepare(struct skein_ctx *ctx, enum skein_size size) in skein_ctx_prepare()
39 int skein_init(struct skein_ctx *ctx, size_t hash_bit_len) in skein_init()
83 int skein_mac_init(struct skein_ctx *ctx, const u8 *key, size_t key_len, in skein_mac_init()
127 void skein_reset(struct skein_ctx *ctx) in skein_reset()
146 int skein_update(struct skein_ctx *ctx, const u8 *msg, in skein_update()
171 int skein_update_bits(struct skein_ctx *ctx, const u8 *msg, in skein_update_bits()
220 int skein_final(struct skein_ctx *ctx, u8 *hash) in skein_final()
/linux-4.4.14/fs/
Deventfd.c54 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n) in eventfd_signal()
70 static void eventfd_free_ctx(struct eventfd_ctx *ctx) in eventfd_free_ctx()
77 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free() local
88 struct eventfd_ctx *eventfd_ctx_get(struct eventfd_ctx *ctx) in eventfd_ctx_get()
102 void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
110 struct eventfd_ctx *ctx = file->private_data; in eventfd_release() local
119 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll() local
137 static void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read()
156 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_t *wait, in eventfd_ctx_remove_wait_queue()
186 ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, __u64 *cnt) in eventfd_ctx_read()
[all …]
Dtimerfd.c49 static inline bool isalarm(struct timerfd_ctx *ctx) in isalarm()
60 static void timerfd_triggered(struct timerfd_ctx *ctx) in timerfd_triggered()
73 struct timerfd_ctx *ctx = container_of(htmr, struct timerfd_ctx, in timerfd_tmrproc() local
82 struct timerfd_ctx *ctx = container_of(alarm, struct timerfd_ctx, in timerfd_alarmproc() local
97 struct timerfd_ctx *ctx; in timerfd_clock_was_set() local
115 static void timerfd_remove_cancel(struct timerfd_ctx *ctx) in timerfd_remove_cancel()
125 static bool timerfd_canceled(struct timerfd_ctx *ctx) in timerfd_canceled()
133 static void timerfd_setup_cancel(struct timerfd_ctx *ctx, int flags) in timerfd_setup_cancel()
149 static ktime_t timerfd_get_remaining(struct timerfd_ctx *ctx) in timerfd_get_remaining()
161 static int timerfd_setup(struct timerfd_ctx *ctx, int flags, in timerfd_setup()
[all …]
Duserfaultfd.c65 struct userfaultfd_ctx *ctx; member
117 static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_get()
131 static void userfaultfd_ctx_put(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_put()
191 static inline bool userfaultfd_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_must_wait()
264 struct userfaultfd_ctx *ctx; in handle_userfault() local
428 struct userfaultfd_ctx *ctx = file->private_data; in userfaultfd_release() local
487 struct userfaultfd_ctx *ctx) in find_userfault()
507 struct userfaultfd_ctx *ctx = file->private_data; in userfaultfd_poll() local
542 static ssize_t userfaultfd_ctx_read(struct userfaultfd_ctx *ctx, int no_wait, in userfaultfd_ctx_read()
621 struct userfaultfd_ctx *ctx = file->private_data; in userfaultfd_read() local
[all …]
Daio.c205 static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages) in aio_private_file()
269 static void put_aio_ring_file(struct kioctx *ctx) in put_aio_ring_file()
285 static void aio_free_ring(struct kioctx *ctx) in aio_free_ring()
322 struct kioctx *ctx; in aio_ring_mremap() local
363 struct kioctx *ctx; in aio_migratepage() local
436 static int aio_setup_ring(struct kioctx *ctx) in aio_setup_ring()
536 struct kioctx *ctx = req->ki_ctx; in kiocb_set_cancel_fn() local
573 struct kioctx *ctx = container_of(work, struct kioctx, free_work); in free_ioctx() local
586 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs() local
603 struct kioctx *ctx = container_of(ref, struct kioctx, users); in free_ioctx_users() local
[all …]
Dreaddir.c24 int iterate_dir(struct file *file, struct dir_context *ctx) in iterate_dir()
72 struct dir_context ctx; member
77 static int fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir()
145 struct dir_context ctx; member
152 static int filldir(struct dir_context *ctx, const char *name, int namlen, in filldir()
230 struct dir_context ctx; member
237 static int filldir64(struct dir_context *ctx, const char *name, int namlen, in filldir64()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c172 static u32 fimc_read(struct fimc_context *ctx, u32 reg) in fimc_read()
177 static void fimc_write(struct fimc_context *ctx, u32 val, u32 reg) in fimc_write()
182 static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_set_bits()
189 static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_clear_bits()
196 static void fimc_sw_reset(struct fimc_context *ctx) in fimc_sw_reset()
221 static int fimc_set_camblk_fimd0_wb(struct fimc_context *ctx) in fimc_set_camblk_fimd0_wb()
228 static void fimc_set_type_ctrl(struct fimc_context *ctx, enum fimc_wb wb) in fimc_set_type_ctrl()
263 static void fimc_set_polarity(struct fimc_context *ctx, in fimc_set_polarity()
289 static void fimc_handle_jpeg(struct fimc_context *ctx, bool enable) in fimc_handle_jpeg()
304 static void fimc_mask_irq(struct fimc_context *ctx, bool enable) in fimc_mask_irq()
[all …]
Dexynos7_drm_decon.c86 struct decon_context *ctx = crtc->ctx; in decon_wait_for_vblank() local
105 struct decon_context *ctx = crtc->ctx; in decon_clear_channels() local
131 static int decon_ctx_initialize(struct decon_context *ctx, in decon_ctx_initialize()
149 static void decon_ctx_remove(struct decon_context *ctx) in decon_ctx_remove()
155 static u32 decon_calc_clkdiv(struct decon_context *ctx, in decon_calc_clkdiv()
169 struct decon_context *ctx = crtc->ctx; in decon_commit() local
234 struct decon_context *ctx = crtc->ctx; in decon_enable_vblank() local
259 struct decon_context *ctx = crtc->ctx; in decon_disable_vblank() local
276 static void decon_win_set_pixfmt(struct decon_context *ctx, unsigned int win, in decon_win_set_pixfmt()
353 static void decon_win_set_colkey(struct decon_context *ctx, unsigned int win) in decon_win_set_colkey()
[all …]
Dexynos5433_drm_decon.c74 static inline void decon_set_bits(struct decon_context *ctx, u32 reg, u32 mask, in decon_set_bits()
83 struct decon_context *ctx = crtc->ctx; in decon_enable_vblank() local
104 struct decon_context *ctx = crtc->ctx; in decon_disable_vblank() local
113 static void decon_setup_trigger(struct decon_context *ctx) in decon_setup_trigger()
125 struct decon_context *ctx = crtc->ctx; in decon_commit() local
185 static void decon_win_set_pixfmt(struct decon_context *ctx, unsigned int win, in decon_win_set_pixfmt()
237 static void decon_shadow_protect_win(struct decon_context *ctx, int win, in decon_shadow_protect_win()
247 struct decon_context *ctx = crtc->ctx; in decon_atomic_begin() local
262 struct decon_context *ctx = crtc->ctx; in decon_update_plane() local
312 struct decon_context *ctx = crtc->ctx; in decon_disable_plane() local
[all …]
Dexynos_drm_vidi.c94 struct vidi_context *ctx = crtc->ctx; in vidi_enable_vblank() local
116 struct vidi_context *ctx = crtc->ctx; in vidi_disable_vblank() local
128 struct vidi_context *ctx = crtc->ctx; in vidi_update_plane() local
141 struct vidi_context *ctx = crtc->ctx; in vidi_enable() local
156 struct vidi_context *ctx = crtc->ctx; in vidi_disable() local
165 static int vidi_ctx_initialize(struct vidi_context *ctx, in vidi_ctx_initialize()
186 struct vidi_context *ctx = container_of(work, struct vidi_context, in vidi_fake_vblank_handler() local
220 struct vidi_context *ctx = dev_get_drvdata(dev); in vidi_show_connection() local
236 struct vidi_context *ctx = dev_get_drvdata(dev); in vidi_store_connection() local
269 struct vidi_context *ctx = dev_get_drvdata(drm_dev->dev); in vidi_connection_ioctl() local
[all …]
Dexynos_drm_gsc.c398 static int gsc_sw_reset(struct gsc_context *ctx) in gsc_sw_reset()
438 static void gsc_set_gscblk_fimd_wb(struct gsc_context *ctx, bool enable) in gsc_set_gscblk_fimd_wb()
454 static void gsc_handle_irq(struct gsc_context *ctx, bool enable, in gsc_handle_irq()
486 struct gsc_context *ctx = get_gsc_context(dev); in gsc_src_set_fmt() local
559 struct gsc_context *ctx = get_gsc_context(dev); in gsc_src_set_transf() local
613 struct gsc_context *ctx = get_gsc_context(dev); in gsc_src_set_size() local
669 static int gsc_src_set_buf_seq(struct gsc_context *ctx, u32 buf_id, in gsc_src_set_buf_seq()
708 struct gsc_context *ctx = get_gsc_context(dev); in gsc_src_set_addr() local
760 struct gsc_context *ctx = get_gsc_context(dev); in gsc_dst_set_fmt() local
830 struct gsc_context *ctx = get_gsc_context(dev); in gsc_dst_set_transf() local
[all …]
Dexynos_drm_fimd.c209 struct fimd_context *ctx = crtc->ctx; in fimd_enable_vblank() local
241 struct fimd_context *ctx = crtc->ctx; in fimd_disable_vblank() local
265 struct fimd_context *ctx = crtc->ctx; in fimd_wait_for_vblank() local
282 static void fimd_enable_video_output(struct fimd_context *ctx, unsigned int win, in fimd_enable_video_output()
295 static void fimd_enable_shadow_channel_path(struct fimd_context *ctx, in fimd_enable_shadow_channel_path()
311 struct fimd_context *ctx = crtc->ctx; in fimd_clear_channels() local
359 static u32 fimd_calc_clkdiv(struct fimd_context *ctx, in fimd_calc_clkdiv()
381 struct fimd_context *ctx = crtc->ctx; in fimd_commit() local
480 static void fimd_win_set_pixfmt(struct fimd_context *ctx, unsigned int win, in fimd_win_set_pixfmt()
568 static void fimd_win_set_colkey(struct fimd_context *ctx, unsigned int win) in fimd_win_set_colkey()
[all …]
Dexynos_drm_dpi.c46 struct exynos_dpi *ctx = connector_to_dpi(connector); in exynos_dpi_detect() local
72 struct exynos_dpi *ctx = connector_to_dpi(connector); in exynos_dpi_get_modes() local
98 struct exynos_dpi *ctx = connector_to_dpi(connector); in exynos_dpi_best_encoder() local
110 struct exynos_dpi *ctx = encoder_to_dpi(encoder); in exynos_dpi_create_connector() local
146 struct exynos_dpi *ctx = encoder_to_dpi(encoder); in exynos_dpi_enable() local
156 struct exynos_dpi *ctx = encoder_to_dpi(encoder); in exynos_dpi_disable() local
263 static int exynos_dpi_parse_dt(struct exynos_dpi *ctx) in exynos_dpi_parse_dt()
328 struct exynos_dpi *ctx; in exynos_dpi_probe() local
354 struct exynos_dpi *ctx = encoder_to_dpi(encoder); in exynos_dpi_remove() local
Dexynos_mixer.c183 static void mixer_regs_dump(struct mixer_context *ctx) in mixer_regs_dump()
215 static void vp_regs_dump(struct mixer_context *ctx) in vp_regs_dump()
272 static void mixer_vsync_set_update(struct mixer_context *ctx, bool enable) in mixer_vsync_set_update()
285 static void mixer_cfg_scan(struct mixer_context *ctx, unsigned int height) in mixer_cfg_scan()
311 static void mixer_cfg_rgb_fmt(struct mixer_context *ctx, unsigned int height) in mixer_cfg_rgb_fmt()
352 static void mixer_cfg_layer(struct mixer_context *ctx, unsigned int win, in mixer_cfg_layer()
380 static void mixer_run(struct mixer_context *ctx) in mixer_run()
387 static void mixer_stop(struct mixer_context *ctx) in mixer_stop()
399 static void vp_video_buffer(struct mixer_context *ctx, in vp_video_buffer()
501 static void mixer_layer_update(struct mixer_context *ctx) in mixer_layer_update()
[all …]
/linux-4.4.14/drivers/media/platform/sti/bdisp/
Dbdisp-v4l2.c120 static inline void bdisp_ctx_state_lock_set(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_set()
129 static inline void bdisp_ctx_state_lock_clear(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_clear()
138 static inline bool bdisp_ctx_state_is_set(u32 mask, struct bdisp_ctx *ctx) in bdisp_ctx_state_is_set()
164 static struct bdisp_frame *ctx_get_frame(struct bdisp_ctx *ctx, in ctx_get_frame()
181 static void bdisp_job_finish(struct bdisp_ctx *ctx, int vb_state) in bdisp_job_finish()
208 static int bdisp_ctx_stop_req(struct bdisp_ctx *ctx) in bdisp_ctx_stop_req()
236 static void __bdisp_job_abort(struct bdisp_ctx *ctx) in __bdisp_job_abort()
253 static int bdisp_get_addr(struct bdisp_ctx *ctx, struct vb2_buffer *vb, in bdisp_get_addr()
281 static int bdisp_get_bufs(struct bdisp_ctx *ctx) in bdisp_get_bufs()
307 struct bdisp_ctx *ctx = priv; in bdisp_device_run() local
[all …]
Dbdisp-hw.c126 void bdisp_hw_free_nodes(struct bdisp_ctx *ctx) in bdisp_hw_free_nodes()
147 int bdisp_hw_alloc_nodes(struct bdisp_ctx *ctx) in bdisp_hw_alloc_nodes()
333 static int bdisp_hw_get_hv_inc(struct bdisp_ctx *ctx, u16 *h_inc, u16 *v_inc) in bdisp_hw_get_hv_inc()
363 static int bdisp_hw_get_op_cfg(struct bdisp_ctx *ctx, struct bdisp_op_cfg *c) in bdisp_hw_get_op_cfg()
462 static void bdisp_hw_build_node(struct bdisp_ctx *ctx, in bdisp_hw_build_node()
697 static int bdisp_hw_build_all_nodes(struct bdisp_ctx *ctx) in bdisp_hw_build_all_nodes()
752 static void bdisp_hw_save_request(struct bdisp_ctx *ctx) in bdisp_hw_save_request()
789 int bdisp_hw_update(struct bdisp_ctx *ctx) in bdisp_hw_update()
/linux-4.4.14/drivers/misc/cxl/
Dapi.c23 struct cxl_context *ctx; in cxl_dev_context_init() local
85 int cxl_release_context(struct cxl_context *ctx) in cxl_release_context()
98 int cxl_allocate_afu_irqs(struct cxl_context *ctx, int num) in cxl_allocate_afu_irqs()
106 void cxl_free_afu_irqs(struct cxl_context *ctx) in cxl_free_afu_irqs()
113 static irq_hw_number_t cxl_find_afu_irq(struct cxl_context *ctx, int num) in cxl_find_afu_irq()
130 int cxl_map_afu_irq(struct cxl_context *ctx, int num, in cxl_map_afu_irq()
146 void cxl_unmap_afu_irq(struct cxl_context *ctx, int num, void *cookie) in cxl_unmap_afu_irq()
165 int cxl_start_context(struct cxl_context *ctx, u64 wed, in cxl_start_context()
198 int cxl_process_element(struct cxl_context *ctx) in cxl_process_element()
205 int cxl_stop_context(struct cxl_context *ctx) in cxl_stop_context()
[all …]
Dcontext.c37 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master, in cxl_context_init()
105 struct cxl_context *ctx = vma->vm_file->private_data; in cxl_mmap_fault() local
158 int cxl_context_iomap(struct cxl_context *ctx, struct vm_area_struct *vma) in cxl_context_iomap()
197 int __detach_context(struct cxl_context *ctx) in __detach_context()
225 void cxl_context_detach(struct cxl_context *ctx) in cxl_context_detach()
242 struct cxl_context *ctx; in cxl_context_detach_all() local
269 struct cxl_context *ctx = container_of(rcu, struct cxl_context, rcu); in reclaim_ctx() local
284 void cxl_context_free(struct cxl_context *ctx) in cxl_context_free()
Dfault.c35 static struct cxl_sste* find_free_sste(struct cxl_context *ctx, in find_free_sste()
66 static void cxl_load_segment(struct cxl_context *ctx, struct copro_slb *slb) in cxl_load_segment()
87 static int cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, in cxl_fault_segment()
100 static void cxl_ack_ae(struct cxl_context *ctx) in cxl_ack_ae()
115 static int cxl_handle_segment_miss(struct cxl_context *ctx, in cxl_handle_segment_miss()
134 static void cxl_handle_page_fault(struct cxl_context *ctx, in cxl_handle_page_fault()
171 struct cxl_context *ctx = in cxl_handle_fault() local
226 static void cxl_prefault_one(struct cxl_context *ctx, u64 ea) in cxl_prefault_one()
260 static void cxl_prefault_vma(struct cxl_context *ctx) in cxl_prefault_vma()
302 void cxl_prefault(struct cxl_context *ctx, u64 wed) in cxl_prefault()
Dnative.c310 static void slb_invalid(struct cxl_context *ctx) in slb_invalid()
332 static int do_process_element_cmd(struct cxl_context *ctx, in do_process_element_cmd()
383 static int add_process_element(struct cxl_context *ctx) in add_process_element()
396 static int terminate_process_element(struct cxl_context *ctx) in terminate_process_element()
419 static int remove_process_element(struct cxl_context *ctx) in remove_process_element()
442 void cxl_assign_psn_space(struct cxl_context *ctx) in cxl_assign_psn_space()
496 static u64 calculate_sr(struct cxl_context *ctx) in calculate_sr()
517 static int attach_afu_directed(struct cxl_context *ctx, u64 wed, u64 amr) in attach_afu_directed()
601 static int attach_dedicated(struct cxl_context *ctx, u64 wed, u64 amr) in attach_dedicated()
689 int cxl_attach_process(struct cxl_context *ctx, bool kernel, u64 wed, u64 amr) in cxl_attach_process()
[all …]
Dfile.c52 struct cxl_context *ctx; in __afu_open() local
117 struct cxl_context *ctx = file->private_data; in afu_release() local
147 static long afu_ioctl_start_work(struct cxl_context *ctx, in afu_ioctl_start_work()
218 static long afu_ioctl_process_element(struct cxl_context *ctx, in afu_ioctl_process_element()
229 static long afu_ioctl_get_afu_id(struct cxl_context *ctx, in afu_ioctl_get_afu_id()
250 struct cxl_context *ctx = file->private_data; in afu_ioctl() local
279 struct cxl_context *ctx = file->private_data; in afu_mmap() local
293 struct cxl_context *ctx = file->private_data; in afu_poll() local
317 static inline int ctx_event_pending(struct cxl_context *ctx) in ctx_event_pending()
326 struct cxl_context *ctx = file->private_data; in afu_read() local
Dirq.c23 static irqreturn_t handle_psl_slice_error(struct cxl_context *ctx, u64 dsisr, u64 errstat) in handle_psl_slice_error()
88 static irqreturn_t schedule_cxl_fault(struct cxl_context *ctx, u64 dsisr, u64 dar) in schedule_cxl_fault()
98 struct cxl_context *ctx = data; in cxl_irq() local
195 struct cxl_context *ctx; in cxl_irq_multiplexed() local
223 struct cxl_context *ctx = data; in cxl_irq_afu() local
416 void afu_irq_name_free(struct cxl_context *ctx) in afu_irq_name_free()
427 int afu_allocate_irqs(struct cxl_context *ctx, u32 count) in afu_allocate_irqs()
478 static void afu_register_hwirqs(struct cxl_context *ctx) in afu_register_hwirqs()
496 int afu_register_irqs(struct cxl_context *ctx, u32 count) in afu_register_irqs()
508 void afu_release_irqs(struct cxl_context *ctx, void *cookie) in afu_release_irqs()
/linux-4.4.14/drivers/media/platform/coda/
Dcoda-bit.c66 static void coda_command_async(struct coda_ctx *ctx, int cmd) in coda_command_async()
98 static int coda_command_sync(struct coda_ctx *ctx, int cmd) in coda_command_sync()
110 int coda_hw_reset(struct coda_ctx *ctx) in coda_hw_reset()
146 static void coda_kfifo_sync_from_device(struct coda_ctx *ctx) in coda_kfifo_sync_from_device()
159 static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_full()
171 static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_write()
181 static int coda_bitstream_queue(struct coda_ctx *ctx, in coda_bitstream_queue()
197 static bool coda_bitstream_try_queue(struct coda_ctx *ctx, in coda_bitstream_try_queue()
226 void coda_fill_bitstream(struct coda_ctx *ctx, bool streaming) in coda_fill_bitstream()
304 void coda_bit_stream_end_flag(struct coda_ctx *ctx) in coda_bit_stream_end_flag()
[all …]
Dcoda-common.c86 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base()
330 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap() local
368 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() local
389 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat()
416 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage()
428 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt()
488 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap() local
537 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out() local
564 static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f) in coda_s_fmt()
618 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap() local
[all …]
/linux-4.4.14/arch/x86/crypto/
Daesni-intel_glue.c181 static void aesni_gcm_enc_avx(void *ctx, u8 *out, in aesni_gcm_enc_avx()
197 static void aesni_gcm_dec_avx(void *ctx, u8 *out, in aesni_gcm_dec_avx()
232 static void aesni_gcm_enc_avx2(void *ctx, u8 *out, in aesni_gcm_enc_avx2()
252 static void aesni_gcm_dec_avx2(void *ctx, u8 *out, in aesni_gcm_dec_avx2()
307 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common() local
336 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_encrypt() local
349 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_decrypt() local
362 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_encrypt() local
369 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_decrypt() local
378 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ecb_encrypt() local
[all …]
Dtwofish_glue_3way.c39 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way()
45 static inline void twofish_enc_blk_xor_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_xor_3way()
51 void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src) in twofish_dec_blk_cbc_3way()
65 void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_enc_blk_ctr()
80 void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src, in twofish_enc_blk_ctr_3way()
189 struct twofish_ctx *ctx = priv; in encrypt_callback() local
204 struct twofish_ctx *ctx = priv; in decrypt_callback() local
219 struct twofish_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_twofish_setkey() local
234 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
251 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
[all …]
Dserpent_avx_glue.c68 void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in __serpent_crypt_ctr()
80 void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_enc()
87 void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_dec()
217 struct serpent_ctx *ctx; member
224 struct crypt_priv *ctx = priv; in encrypt_callback() local
241 struct crypt_priv *ctx = priv; in decrypt_callback() local
258 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_setkey() local
274 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
300 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
325 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_exit_tfm() local
[all …]
Dghash-clmulni-intel_glue.c58 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey() local
84 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update() local
116 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) in ghash_flush()
137 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final() local
168 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init() local
192 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update() local
210 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final() local
225 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest() local
246 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey() local
263 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm() local
[all …]
Dserpent_sse2_glue.c48 static void serpent_decrypt_cbc_xway(void *ctx, u128 *dst, const u128 *src) in serpent_decrypt_cbc_xway()
62 static void serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_crypt_ctr()
73 static void serpent_crypt_ctr_xway(void *ctx, u128 *dst, const u128 *src, in serpent_crypt_ctr_xway()
186 struct serpent_ctx *ctx; member
193 struct crypt_priv *ctx = priv; in encrypt_callback() local
210 struct crypt_priv *ctx = priv; in decrypt_callback() local
232 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_setkey() local
247 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
273 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
298 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_exit_tfm() local
[all …]
Dcast6_avx_glue.c59 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc()
65 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec()
71 static void cast6_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_crypt_ctr()
204 struct cast6_ctx *ctx; member
211 struct crypt_priv *ctx = priv; in encrypt_callback() local
228 struct crypt_priv *ctx = priv; in decrypt_callback() local
250 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_cast6_setkey() local
264 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
290 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
315 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_exit_tfm() local
[all …]
Dtwofish_avx_glue.c64 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way()
70 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc()
76 static void twofish_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_dec()
217 struct twofish_ctx *ctx; member
224 struct crypt_priv *ctx = priv; in encrypt_callback() local
246 struct crypt_priv *ctx = priv; in decrypt_callback() local
268 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
294 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
320 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
330 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() local
Ddes3_ede_glue.c44 static inline void des3_ede_enc_blk(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_enc_blk()
52 static inline void des3_ede_dec_blk(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_dec_blk()
60 static inline void des3_ede_enc_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_enc_blk_3way()
68 static inline void des3_ede_dec_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_dec_blk_3way()
133 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() local
143 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() local
153 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_encrypt() local
194 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_decrypt() local
270 static void ctr_crypt_final(struct des3_ede_x86_ctx *ctx, in ctr_crypt_final()
289 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ctr_crypt() local
[all …]
Dcrct10dif-pclmul_glue.c50 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_init() local
60 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_update() local
73 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_final() local
94 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_finup() local
102 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_digest() local
Dcamellia_aesni_avx_glue.c53 void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_enc()
60 void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_dec()
209 struct camellia_ctx *ctx; member
216 struct crypt_priv *ctx = priv; in encrypt_callback() local
240 struct crypt_priv *ctx = priv; in decrypt_callback() local
264 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
290 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
316 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
326 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() local
Dblowfish_glue.c47 static inline void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src) in blowfish_enc_blk()
52 static inline void blowfish_enc_blk_xor(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_xor()
58 static inline void blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_4way()
64 static inline void blowfish_enc_blk_xor_4way(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_xor_4way()
84 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_crypt() local
146 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_encrypt() local
187 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_decrypt() local
265 static void ctr_crypt_final(struct bf_ctx *ctx, struct blkcipher_walk *walk) in ctr_crypt_final()
283 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ctr_crypt() local
Dfpu.c30 struct crypto_fpu_ctx *ctx = crypto_tfm_ctx(parent); in crypto_fpu_setkey() local
48 struct crypto_fpu_ctx *ctx = crypto_blkcipher_ctx(desc_in->tfm); in crypto_fpu_encrypt() local
67 struct crypto_fpu_ctx *ctx = crypto_blkcipher_ctx(desc_in->tfm); in crypto_fpu_decrypt() local
85 struct crypto_fpu_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_fpu_init_tfm() local
98 struct crypto_fpu_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_fpu_exit_tfm() local
Dserpent_avx2_glue.c183 struct serpent_ctx *ctx; member
190 struct crypt_priv *ctx = priv; in encrypt_callback() local
214 struct crypt_priv *ctx = priv; in decrypt_callback() local
238 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
264 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
290 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
300 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() local
Dcamellia_glue.c1282 void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src) in camellia_decrypt_cbc_2way()
1292 void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr()
1306 void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr_2way()
1411 struct camellia_ctx *ctx = priv; in encrypt_callback() local
1427 struct camellia_ctx *ctx = priv; in decrypt_callback() local
1443 struct camellia_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_camellia_setkey() local
1460 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
1477 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
1493 struct camellia_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_camellia_exit_tfm() local
1502 struct camellia_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_camellia_setkey() local
[all …]
Dcamellia_aesni_avx2_glue.c205 struct camellia_ctx *ctx; member
212 struct crypt_priv *ctx = priv; in encrypt_callback() local
242 struct crypt_priv *ctx = priv; in decrypt_callback() local
272 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
298 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
324 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
334 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() local
Dglue_helper.c39 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_ecb_crypt_128bit() local
96 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_cbc_encrypt_128bit() local
142 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_cbc_decrypt_128bit() local
220 void *ctx = crypto_blkcipher_ctx(desc->tfm); in glue_ctr_crypt_final_128bit() local
241 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_ctr_crypt_128bit() local
307 void *ctx, in __glue_xts_crypt_128bit()
346 void (*tweak_fn)(void *ctx, u8 *dst, const u8 *src), in glue_xts_crypt_128bit()
382 void glue_xts_crypt_128bit_one(void *ctx, u128 *dst, const u128 *src, le128 *iv, in glue_xts_crypt_128bit_one()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-m2m.c43 void fimc_m2m_job_finish(struct fimc_ctx *ctx, int vb_state) in fimc_m2m_job_finish()
62 static int fimc_m2m_shutdown(struct fimc_ctx *ctx) in fimc_m2m_shutdown()
81 struct fimc_ctx *ctx = q->drv_priv; in start_streaming() local
90 struct fimc_ctx *ctx = q->drv_priv; in stop_streaming() local
103 struct fimc_ctx *ctx = priv; in fimc_device_run() local
183 struct fimc_ctx *ctx = vb2_get_drv_priv(vq); in fimc_queue_setup() local
207 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_prepare() local
224 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_queue() local
277 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_fmt_mplane() local
287 static int fimc_try_fmt_mplane(struct fimc_ctx *ctx, struct v4l2_format *f) in fimc_try_fmt_mplane()
[all …]
Dfimc-reg.c44 static u32 fimc_hw_get_in_flip(struct fimc_ctx *ctx) in fimc_hw_get_in_flip()
59 static u32 fimc_hw_get_target_flip(struct fimc_ctx *ctx) in fimc_hw_get_target_flip()
74 void fimc_hw_set_rotation(struct fimc_ctx *ctx) in fimc_hw_set_rotation()
107 void fimc_hw_set_target_format(struct fimc_ctx *ctx) in fimc_hw_set_target_format()
150 static void fimc_hw_set_out_dma_size(struct fimc_ctx *ctx) in fimc_hw_set_out_dma_size()
169 void fimc_hw_set_out_dma(struct fimc_ctx *ctx) in fimc_hw_set_out_dma()
234 void fimc_hw_set_prescaler(struct fimc_ctx *ctx) in fimc_hw_set_prescaler()
250 static void fimc_hw_set_scaler(struct fimc_ctx *ctx) in fimc_hw_set_scaler()
314 void fimc_hw_set_mainscaler(struct fimc_ctx *ctx) in fimc_hw_set_mainscaler()
349 void fimc_hw_enable_capture(struct fimc_ctx *ctx) in fimc_hw_enable_capture()
[all …]
Dfimc-core.c216 int fimc_check_scaler_ratio(struct fimc_ctx *ctx, int sw, int sh, in fimc_check_scaler_ratio()
249 int fimc_set_scaler_info(struct fimc_ctx *ctx) in fimc_set_scaler_info()
317 struct fimc_ctx *ctx; in fimc_irq_handler() local
351 int fimc_prepare_addr(struct fimc_ctx *ctx, struct vb2_buffer *vb, in fimc_prepare_addr()
406 void fimc_set_yuv_order(struct fimc_ctx *ctx) in fimc_set_yuv_order()
448 void fimc_prepare_dma_offset(struct fimc_ctx *ctx, struct fimc_frame *f) in fimc_prepare_dma_offset()
483 static int fimc_set_color_effect(struct fimc_ctx *ctx, enum v4l2_colorfx colorfx) in fimc_set_color_effect()
531 static int __fimc_s_ctrl(struct fimc_ctx *ctx, struct v4l2_ctrl *ctrl) in __fimc_s_ctrl()
582 struct fimc_ctx *ctx = ctrl_to_ctx(ctrl); in fimc_s_ctrl() local
597 int fimc_ctrls_create(struct fimc_ctx *ctx) in fimc_ctrls_create()
[all …]
Dfimc-capture.c38 struct fimc_ctx *ctx = fimc->vid_cap.ctx; in fimc_capture_hw_init() local
154 static int fimc_capture_config_update(struct fimc_ctx *ctx) in fimc_capture_config_update()
262 struct fimc_ctx *ctx = q->drv_priv; in start_streaming() local
293 struct fimc_ctx *ctx = q->drv_priv; in stop_streaming() local
347 struct fimc_ctx *ctx = vq->drv_priv; in queue_setup() local
385 struct fimc_ctx *ctx = vq->drv_priv; in buffer_prepare() local
411 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() local
579 static struct fimc_fmt *fimc_capture_try_format(struct fimc_ctx *ctx, in fimc_capture_try_format()
656 static void fimc_capture_try_selection(struct fimc_ctx *ctx, in fimc_capture_try_selection()
776 static int fimc_pipeline_try_format(struct fimc_ctx *ctx, in fimc_pipeline_try_format()
[all …]
/linux-4.4.14/drivers/net/usb/
Dcdc_ncm.c107 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_get_ethtool_stats() local
149 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_check_rx_max() local
172 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_check_tx_max() local
192 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_show_min_tx_pkt() local
200 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_show_rx_max() local
208 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_show_tx_max() local
216 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_show_tx_timer_usecs() local
224 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_store_min_tx_pkt() local
238 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_store_rx_max() local
251 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_store_tx_max() local
[all …]
Dhuawei_cdc_ncm.c34 struct cdc_ncm_ctx *ctx; member
72 struct cdc_ncm_ctx *ctx; in huawei_cdc_ncm_bind() local
117 struct cdc_ncm_ctx *ctx = drvstate->ctx; in huawei_cdc_ncm_unbind() local
132 struct cdc_ncm_ctx *ctx = drvstate->ctx; in huawei_cdc_ncm_suspend() local
160 struct cdc_ncm_ctx *ctx = drvstate->ctx; in huawei_cdc_ncm_resume() local
/linux-4.4.14/drivers/hwmon/
Dpwm-fan.c41 static int __set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) in __set_pwm()
70 static void pwm_fan_update_state(struct pwm_fan_ctx *ctx, unsigned long pwm) in pwm_fan_update_state()
84 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in set_pwm() local
102 struct pwm_fan_ctx *ctx = dev_get_drvdata(dev); in show_pwm() local
121 struct pwm_fan_ctx *ctx = cdev->devdata; in pwm_fan_get_max_state() local
134 struct pwm_fan_ctx *ctx = cdev->devdata; in pwm_fan_get_cur_state() local
147 struct pwm_fan_ctx *ctx = cdev->devdata; in pwm_fan_set_cur_state() local
174 struct pwm_fan_ctx *ctx) in pwm_fan_of_get_cooling_data()
217 struct pwm_fan_ctx *ctx; in pwm_fan_probe() local
285 struct pwm_fan_ctx *ctx = platform_get_drvdata(pdev); in pwm_fan_remove() local
[all …]
/linux-4.4.14/arch/arm/net/
Dbpf_jit_32.c141 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) in _emit()
155 static inline void emit(u32 inst, struct jit_ctx *ctx) in emit()
160 static u16 saved_regs(struct jit_ctx *ctx) in saved_regs()
184 static inline int mem_words_used(struct jit_ctx *ctx) in mem_words_used()
198 static void build_prologue(struct jit_ctx *ctx) in build_prologue()
238 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
277 static u16 imm_offset(u32 k, struct jit_ctx *ctx) in imm_offset()
325 static inline void emit_mov_i_no8m(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m()
336 static inline void emit_mov_i(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i()
348 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32()
[all …]
/linux-4.4.14/drivers/media/platform/s5p-g2d/
Dg2d.c91 static struct g2d_frame *get_frame(struct g2d_ctx *ctx, in get_frame()
108 struct g2d_ctx *ctx = vb2_get_drv_priv(vq); in g2d_queue_setup() local
126 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_prepare() local
138 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_queue() local
151 struct g2d_ctx *ctx = priv; in queue_init() local
181 struct g2d_ctx *ctx = container_of(ctrl->handler, struct g2d_ctx, in g2d_s_ctrl() local
207 static int g2d_setup_ctrls(struct g2d_ctx *ctx) in g2d_setup_ctrls()
242 struct g2d_ctx *ctx = NULL; in g2d_open() local
283 struct g2d_ctx *ctx = fh2ctx(file->private_data); in g2d_release() local
318 struct g2d_ctx *ctx = prv; in vidioc_g_fmt() local
[all …]
/linux-4.4.14/net/mac80211/
Dchan.c13 struct ieee80211_chanctx *ctx) in ieee80211_chanctx_num_assigned()
27 struct ieee80211_chanctx *ctx) in ieee80211_chanctx_num_reserved()
41 struct ieee80211_chanctx *ctx) in ieee80211_chanctx_refcount()
49 struct ieee80211_chanctx *ctx; in ieee80211_num_chanctx() local
82 struct ieee80211_chanctx *ctx, in ieee80211_chanctx_reserved_chandef()
105 struct ieee80211_chanctx *ctx, in ieee80211_chanctx_non_reserved_chandef()
131 struct ieee80211_chanctx *ctx, in ieee80211_chanctx_combined_chandef()
149 struct ieee80211_chanctx *ctx, in ieee80211_chanctx_can_reserve_chandef()
169 struct ieee80211_chanctx *ctx; in ieee80211_find_reservation_chanctx() local
310 struct ieee80211_chanctx *ctx) in ieee80211_recalc_chanctx_min_def()
[all …]
Dtkip.c84 static void tkip_mixing_phase1(const u8 *tk, struct tkip_ctx *ctx, in tkip_mixing_phase1()
108 static void tkip_mixing_phase2(const u8 *tk, struct tkip_ctx *ctx, in tkip_mixing_phase2()
158 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_compute_tkip_p1k() local
179 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p1k_iv() local
192 struct tkip_ctx ctx; in ieee80211_get_tkip_rx_p1k() local
205 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p2k() local
/linux-4.4.14/fs/f2fs/
Dcrypto.c81 void f2fs_release_crypto_ctx(struct f2fs_crypto_ctx *ctx) in f2fs_release_crypto_ctx()
110 struct f2fs_crypto_ctx *ctx = NULL; in f2fs_get_crypto_ctx() local
151 struct f2fs_crypto_ctx *ctx = in completion_pages() local
172 void f2fs_end_io_crypto_work(struct f2fs_crypto_ctx *ctx, struct bio *bio) in f2fs_end_io_crypto_work()
211 struct f2fs_crypto_ctx *ctx; in f2fs_crypto_initialize() local
275 struct f2fs_crypto_ctx *ctx; in f2fs_restore_and_release_control_page() local
294 struct f2fs_crypto_ctx *ctx = in f2fs_restore_control_page() local
323 static int f2fs_page_crypto(struct f2fs_crypto_ctx *ctx, in f2fs_page_crypto()
379 static struct page *alloc_bounce_page(struct f2fs_crypto_ctx *ctx) in alloc_bounce_page()
406 struct f2fs_crypto_ctx *ctx; in f2fs_encrypt() local
[all …]
Dcrypto_policy.c35 struct f2fs_encryption_context ctx; in f2fs_is_encryption_context_consistent_with_policy() local
55 struct f2fs_encryption_context ctx; in f2fs_create_encryption_context_from_policy() local
115 struct f2fs_encryption_context ctx; in f2fs_get_policy() local
186 struct f2fs_encryption_context ctx; in f2fs_inherit_context() local
/linux-4.4.14/arch/x86/include/asm/crypto/
Dserpent-sse2.h16 static inline void serpent_enc_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway()
22 static inline void serpent_enc_blk_xway_xor(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway_xor()
28 static inline void serpent_dec_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_dec_blk_xway()
43 static inline void serpent_enc_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway()
49 static inline void serpent_enc_blk_xway_xor(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway_xor()
55 static inline void serpent_dec_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_dec_blk_xway()
Dcamellia.h67 static inline void camellia_enc_blk(struct camellia_ctx *ctx, u8 *dst, in camellia_enc_blk()
73 static inline void camellia_enc_blk_xor(struct camellia_ctx *ctx, u8 *dst, in camellia_enc_blk_xor()
79 static inline void camellia_enc_blk_2way(struct camellia_ctx *ctx, u8 *dst, in camellia_enc_blk_2way()
85 static inline void camellia_enc_blk_xor_2way(struct camellia_ctx *ctx, u8 *dst, in camellia_enc_blk_xor_2way()
/linux-4.4.14/drivers/infiniband/core/
Ducma.c104 struct ucma_context *ctx; member
114 struct ucma_context *ctx; member
129 struct ucma_context *ctx; in _ucma_find_context() local
141 struct ucma_context *ctx; in ucma_get_ctx() local
155 static void ucma_put_ctx(struct ucma_context *ctx) in ucma_put_ctx()
171 struct ucma_context *ctx = container_of(work, struct ucma_context, close_work); in ucma_close_id() local
185 struct ucma_context *ctx; in ucma_alloc_ctx() local
211 static struct ucma_multicast* ucma_alloc_multicast(struct ucma_context *ctx) in ucma_alloc_multicast()
262 static void ucma_set_event_context(struct ucma_context *ctx, in ucma_set_event_context()
285 struct ucma_context *ctx = cm_id->context; in ucma_removal_event_handler() local
[all …]
Ducm.c92 struct ib_ucm_context *ctx; member
127 struct ib_ucm_context *ctx; in ib_ucm_ctx_get() local
142 static void ib_ucm_ctx_put(struct ib_ucm_context *ctx) in ib_ucm_ctx_put()
153 static void ib_ucm_cleanup_events(struct ib_ucm_context *ctx) in ib_ucm_cleanup_events()
179 struct ib_ucm_context *ctx; in ib_ucm_ctx_alloc() local
352 struct ib_ucm_context *ctx; in ib_ucm_event_handler() local
389 struct ib_ucm_context *ctx; in ib_ucm_event() local
476 struct ib_ucm_context *ctx; in ib_ucm_create_id() local
523 struct ib_ucm_context *ctx; in ib_ucm_destroy_id() local
568 struct ib_ucm_context *ctx; in ib_ucm_attr_id() local
[all …]
/linux-4.4.14/sound/soc/au1x/
Dac97c.c71 static inline unsigned long RD(struct au1xpsc_audio_data *ctx, int reg) in RD()
76 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR()
85 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_read() local
127 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_write() local
156 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_warm_reset() local
166 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_cold_reset() local
192 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in alchemy_ac97c_startup() local
233 struct au1xpsc_audio_data *ctx; in au1xac97c_drvprobe() local
289 struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); in au1xac97c_drvremove() local
303 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); in au1xac97c_drvsuspend() local
[all …]
Di2sc.c69 static inline unsigned long RD(struct au1xpsc_audio_data *ctx, int reg) in RD()
74 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR()
82 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(cpu_dai); in au1xi2s_set_fmt() local
138 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_trigger() local
184 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_hw_params() local
199 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_startup() local
235 struct au1xpsc_audio_data *ctx; in au1xi2s_drvprobe() local
273 struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); in au1xi2s_drvremove() local
285 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); in au1xi2s_drvsuspend() local
/linux-4.4.14/drivers/net/ethernet/microchip/
Dencx24j600-regmap.c28 static int encx24j600_switch_bank(struct encx24j600_context *ctx, in encx24j600_switch_bank()
41 static int encx24j600_cmdn(struct encx24j600_context *ctx, u8 opcode, in encx24j600_cmdn()
56 struct encx24j600_context *ctx = context; in regmap_lock_mutex() local
62 struct encx24j600_context *ctx = context; in regmap_unlock_mutex() local
69 struct encx24j600_context *ctx = context; in regmap_encx24j600_sfr_read() local
117 static int regmap_encx24j600_sfr_update(struct encx24j600_context *ctx, in regmap_encx24j600_sfr_update()
176 struct encx24j600_context *ctx = context; in regmap_encx24j600_sfr_write() local
180 static int regmap_encx24j600_sfr_set_bits(struct encx24j600_context *ctx, in regmap_encx24j600_sfr_set_bits()
186 static int regmap_encx24j600_sfr_clr_bits(struct encx24j600_context *ctx, in regmap_encx24j600_sfr_clr_bits()
196 struct encx24j600_context *ctx = context; in regmap_encx24j600_reg_update_bits() local
[all …]
/linux-4.4.14/drivers/mmc/core/
Dslot-gpio.c47 struct mmc_gpio *ctx = devm_kzalloc(host->parent, in mmc_gpio_alloc() local
63 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_get_ro() local
78 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_get_cd() local
103 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_request_ro() local
123 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpiod_request_cd_irq() local
163 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_set_cd_isr() local
188 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_request_cd() local
234 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpiod_request_cd() local
280 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpiod_request_ro() local
/linux-4.4.14/drivers/media/platform/s5p-jpeg/
Djpeg-core.c552 struct s5p_jpeg_ctx *ctx) in s5p_jpeg_adjust_fourcc_to_subsampling()
614 static int s5p_jpeg_to_user_subsampling(struct s5p_jpeg_ctx *ctx) in s5p_jpeg_to_user_subsampling()
788 static void exynos4_jpeg_parse_decode_h_tbl(struct s5p_jpeg_ctx *ctx) in exynos4_jpeg_parse_decode_h_tbl()
825 static void exynos4_jpeg_parse_huff_tbl(struct s5p_jpeg_ctx *ctx) in exynos4_jpeg_parse_huff_tbl()
884 static void exynos4_jpeg_parse_decode_q_tbl(struct s5p_jpeg_ctx *ctx) in exynos4_jpeg_parse_decode_q_tbl()
915 static void exynos4_jpeg_parse_q_tbl(struct s5p_jpeg_ctx *ctx) in exynos4_jpeg_parse_q_tbl()
972 struct s5p_jpeg_ctx *ctx; in s5p_jpeg_open() local
1035 struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data); in s5p_jpeg_release() local
1098 struct s5p_jpeg_ctx *ctx) in s5p_jpeg_parse_hdr()
1246 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_querycap() local
[all …]
/linux-4.4.14/crypto/
Dablk_helper.c40 struct async_helper_ctx *ctx = crypto_ablkcipher_ctx(tfm); in ablk_set_key() local
57 struct async_helper_ctx *ctx = crypto_ablkcipher_ctx(tfm); in __ablk_encrypt() local
72 struct async_helper_ctx *ctx = crypto_ablkcipher_ctx(tfm); in ablk_encrypt() local
91 struct async_helper_ctx *ctx = crypto_ablkcipher_ctx(tfm); in ablk_decrypt() local
116 struct async_helper_ctx *ctx = crypto_tfm_ctx(tfm); in ablk_exit() local
124 struct async_helper_ctx *ctx = crypto_tfm_ctx(tfm); in ablk_init_common() local
Dchainiv.c51 struct chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in chainiv_givencrypt() local
102 struct chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in chainiv_init() local
116 static int async_chainiv_schedule_work(struct async_chainiv_ctx *ctx) in async_chainiv_schedule_work()
140 struct async_chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in async_chainiv_postpone_request() local
157 struct async_chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in async_chainiv_givencrypt_tail() local
177 struct async_chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in async_chainiv_givencrypt() local
203 struct async_chainiv_ctx *ctx = container_of(work, in async_chainiv_do_postponed() local
233 struct async_chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in async_chainiv_init() local
253 struct async_chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in async_chainiv_exit() local
Dxcbc.c42 u8 ctx[]; member
58 u8 ctx[]; member
65 struct xcbc_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_setkey() local
85 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_xcbc_digest_init() local
101 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_xcbc_digest_update() local
147 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_xcbc_digest_final() local
182 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in xcbc_init_tfm() local
195 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in xcbc_exit_tfm() local
Dcmac.c35 u8 ctx[]; member
51 u8 ctx[]; member
58 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cmac_digest_setkey() local
111 struct cmac_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_cmac_digest_init() local
127 struct cmac_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_cmac_digest_update() local
173 struct cmac_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_cmac_digest_final() local
208 struct cmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in cmac_init_tfm() local
221 struct cmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in cmac_exit_tfm() local
Dskcipher.c37 struct crypto_blkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_setkey_blkcipher() local
58 struct crypto_blkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_crypt_blkcipher() local
89 struct crypto_blkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_exit_skcipher_ops_blkcipher() local
98 struct crypto_blkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_init_skcipher_ops_blkcipher() local
129 struct crypto_ablkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_setkey_ablkcipher() local
149 struct crypto_ablkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_crypt_ablkcipher() local
181 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_exit_skcipher_ops_ablkcipher() local
190 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_init_skcipher_ops_ablkcipher() local
Ddeflate.c45 static int deflate_comp_init(struct deflate_ctx *ctx) in deflate_comp_init()
70 static int deflate_decomp_init(struct deflate_ctx *ctx) in deflate_decomp_init()
92 static void deflate_comp_exit(struct deflate_ctx *ctx) in deflate_comp_exit()
98 static void deflate_decomp_exit(struct deflate_ctx *ctx) in deflate_decomp_exit()
106 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_init() local
121 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_exit() local
Dcryptd.c187 struct cryptd_blkcipher_ctx *ctx = crypto_ablkcipher_ctx(parent); in cryptd_blkcipher_setkey() local
232 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(req->tfm); in cryptd_blkcipher_encrypt() local
241 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(req->tfm); in cryptd_blkcipher_decrypt() local
277 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_blkcipher_init_tfm() local
292 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_blkcipher_exit_tfm() local
344 struct cryptd_instance_ctx *ctx; in cryptd_create_blkcipher() local
408 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_hash_init_tfm() local
424 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_hash_exit_tfm() local
432 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in cryptd_hash_setkey() local
461 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); in cryptd_hash_init() local
[all …]
Dcrct10dif_generic.c44 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_init() local
54 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_update() local
62 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_final() local
78 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_finup() local
86 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_digest() local
Dlrw.c48 int lrw_init_table(struct lrw_table_ctx *ctx, const u8 *tweak) in lrw_init_table()
72 void lrw_free_table(struct lrw_table_ctx *ctx) in lrw_free_table()
82 struct priv *ctx = crypto_tfm_ctx(parent); in setkey() local
139 struct blkcipher_walk *w, struct priv *ctx, in crypt()
198 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in encrypt() local
209 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in decrypt() local
223 struct lrw_table_ctx *ctx = req->table_ctx; in lrw_crypt() local
301 struct priv *ctx = crypto_tfm_ctx(tfm); in init_tfm() local
320 struct priv *ctx = crypto_tfm_ctx(tfm); in exit_tfm() local
Dalgif_aead.c60 struct aead_ctx *ctx = ask->private; in aead_sndbuf() local
71 static inline bool aead_sufficient_data(struct aead_ctx *ctx) in aead_sufficient_data()
81 struct aead_ctx *ctx = ask->private; in aead_put_sgl() local
120 struct aead_ctx *ctx = ask->private; in aead_wait_for_data() local
150 struct aead_ctx *ctx = ask->private; in aead_data_wakeup() local
172 struct aead_ctx *ctx = ask->private; in aead_sendmsg() local
305 struct aead_ctx *ctx = ask->private; in aead_sendpage() local
356 struct aead_ctx *ctx = ask->private; in aead_recvmsg() local
479 struct aead_ctx *ctx = ask->private; in aead_poll() local
539 struct aead_ctx *ctx = ask->private; in aead_sock_destruct() local
[all …]
Dtea.c50 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_setkey() local
66 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_encrypt() local
94 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_decrypt() local
123 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_setkey() local
139 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_encrypt() local
159 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_decrypt() local
183 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_encrypt() local
203 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_decrypt() local
Dchacha20poly1305.c88 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_iv() local
127 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_decrypt() local
174 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_tail() local
207 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipherpad() local
237 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipher() local
268 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_adpad() local
298 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_ad() local
322 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_setkey() local
349 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_init() local
373 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_genkey() local
[all …]
Dghash-generic.c47 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey() local
67 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update() local
103 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) in ghash_flush()
122 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final() local
136 struct ghash_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_exit_tfm() local
Dauthencesn.c66 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_setkey() local
104 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv_tail() local
138 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv() local
184 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_copy() local
196 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_encrypt() local
236 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt_tail() local
280 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt() local
332 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_init_tfm() local
380 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_exit_tfm() local
389 struct authenc_esn_instance_ctx *ctx = aead_instance_ctx(inst); in crypto_authenc_esn_free() local
[all …]
Dauthenc.c84 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey() local
142 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv() local
186 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_copy_assoc() local
199 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt() local
239 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail() local
291 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt() local
319 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_init_tfm() local
364 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_exit_tfm() local
373 struct authenc_instance_ctx *ctx = aead_instance_ctx(inst); in crypto_authenc_free() local
388 struct authenc_instance_ctx *ctx; in crypto_authenc_create() local
Dsalsa20_generic.c107 static void salsa20_keysetup(struct salsa20_ctx *ctx, const u8 *k, u32 kbytes) in salsa20_keysetup()
131 static void salsa20_ivsetup(struct salsa20_ctx *ctx, const u8 *iv) in salsa20_ivsetup()
139 static void salsa20_encrypt_bytes(struct salsa20_ctx *ctx, u8 *dst, in salsa20_encrypt_bytes()
172 struct salsa20_ctx *ctx = crypto_tfm_ctx(tfm); in setkey() local
183 struct salsa20_ctx *ctx = crypto_blkcipher_ctx(tfm); in encrypt() local
Dcts.c60 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(parent); in crypto_cts_setkey() local
73 static int cts_cbc_encrypt(struct crypto_cts_ctx *ctx, in cts_cbc_encrypt()
129 struct crypto_cts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in crypto_cts_encrypt() local
159 static int cts_cbc_decrypt(struct crypto_cts_ctx *ctx, in cts_cbc_decrypt()
224 struct crypto_cts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in crypto_cts_decrypt() local
257 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_cts_init_tfm() local
270 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_cts_exit_tfm() local
Decb.c28 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(parent); in crypto_ecb_setkey() local
75 struct crypto_ecb_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ecb_encrypt() local
89 struct crypto_ecb_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ecb_decrypt() local
101 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ecb_init_tfm() local
114 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ecb_exit_tfm() local
Dctr.c41 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(parent); in crypto_ctr_setkey() local
133 struct crypto_ctr_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ctr_crypt() local
162 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ctr_init_tfm() local
176 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ctr_exit_tfm() local
255 struct crypto_rfc3686_ctx *ctx = crypto_ablkcipher_ctx(parent); in crypto_rfc3686_setkey() local
281 struct crypto_rfc3686_ctx *ctx = crypto_ablkcipher_ctx(tfm); in crypto_rfc3686_crypt() local
310 struct crypto_rfc3686_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_rfc3686_init_tfm() local
331 struct crypto_rfc3686_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_rfc3686_exit_tfm() local
Dgcm.c115 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_setkey() local
224 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_init_crypt() local
445 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash() local
568 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_init_tfm() local
604 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_exit_tfm() local
612 struct gcm_instance_ctx *ctx = aead_instance_ctx(inst); in crypto_gcm_free() local
630 struct gcm_instance_ctx *ctx; in crypto_gcm_create_common() local
786 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setkey() local
809 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setauthsize() local
827 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4106_crypt() local
[all …]
Dxts.c36 struct priv *ctx = crypto_tfm_ctx(parent); in setkey() local
94 struct blkcipher_walk *w, struct priv *ctx, in crypt()
150 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in encrypt() local
161 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in decrypt() local
246 struct priv *ctx = crypto_tfm_ctx(tfm); in init_tfm() local
282 struct priv *ctx = crypto_tfm_ctx(tfm); in exit_tfm() local
Dalgif_skcipher.c109 struct skcipher_ctx *ctx = ask->private; in skcipher_sndbuf() local
123 struct skcipher_ctx *ctx = ask->private; in skcipher_alloc_sgl() local
153 struct skcipher_ctx *ctx = ask->private; in skcipher_pull_sgl() local
195 struct skcipher_ctx *ctx = ask->private; in skcipher_free_sgl() local
246 struct skcipher_ctx *ctx = ask->private; in skcipher_wait_for_data() local
277 struct skcipher_ctx *ctx = ask->private; in skcipher_data_wakeup() local
300 struct skcipher_ctx *ctx = ask->private; in skcipher_sendmsg() local
436 struct skcipher_ctx *ctx = ask->private; in skcipher_sendpage() local
482 static int skcipher_all_sg_nents(struct skcipher_ctx *ctx) in skcipher_all_sg_nents()
506 struct skcipher_ctx *ctx = ask->private; in skcipher_recvmsg_async() local
[all …]
Dpcrypt.c105 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setkey() local
113 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setauthsize() local
158 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_encrypt() local
200 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_decrypt() local
227 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_init_tfm() local
252 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_exit_tfm() local
276 struct pcrypt_instance_ctx *ctx; in pcrypt_create_aead() local
354 struct pcrypt_instance_ctx *ctx = crypto_instance_ctx(inst); in pcrypt_free() local
/linux-4.4.14/drivers/clk/samsung/
Dclk.c62 struct samsung_clk_provider *ctx; in samsung_clk_init() local
86 struct samsung_clk_provider *ctx) in samsung_clk_of_add_provider()
96 void samsung_clk_add_lookup(struct samsung_clk_provider *ctx, struct clk *clk, in samsung_clk_add_lookup()
104 void __init samsung_clk_register_alias(struct samsung_clk_provider *ctx, in samsung_clk_register_alias()
138 void __init samsung_clk_register_fixed_rate(struct samsung_clk_provider *ctx, in samsung_clk_register_fixed_rate()
168 void __init samsung_clk_register_fixed_factor(struct samsung_clk_provider *ctx, in samsung_clk_register_fixed_factor()
188 void __init samsung_clk_register_mux(struct samsung_clk_provider *ctx, in samsung_clk_register_mux()
220 void __init samsung_clk_register_div(struct samsung_clk_provider *ctx, in samsung_clk_register_div()
259 void __init samsung_clk_register_gate(struct samsung_clk_provider *ctx, in samsung_clk_register_gate()
293 void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, in samsung_clk_of_register_fixed_ext()
[all …]
/linux-4.4.14/crypto/asymmetric_keys/
Dpkcs7_parser.c115 struct pkcs7_parse_context *ctx; in pkcs7_parse_message() local
198 struct pkcs7_parse_context *ctx = context; in pkcs7_note_OID() local
217 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_digest_algo() local
254 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_pkey_algo() local
274 struct pkcs7_parse_context *ctx = context; in pkcs7_check_content_type() local
291 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signeddata_version() local
325 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signerinfo_version() local
368 struct pkcs7_parse_context *ctx = context; in pkcs7_extract_cert() local
408 struct pkcs7_parse_context *ctx = context; in pkcs7_note_certificate_list() local
426 struct pkcs7_parse_context *ctx = context; in pkcs7_note_content() local
[all …]
Dx509_cert_parser.c71 struct x509_parse_context *ctx; in x509_cert_parse() local
143 struct x509_parse_context *ctx = context; in x509_note_OID() local
163 struct x509_parse_context *ctx = context; in x509_note_tbs_certificate() local
180 struct x509_parse_context *ctx = context; in x509_note_pkey_algo() local
232 struct x509_parse_context *ctx = context; in x509_note_signature() local
254 struct x509_parse_context *ctx = context; in x509_note_serial() local
267 struct x509_parse_context *ctx = context; in x509_extract_name_segment() local
292 static int x509_fabricate_name(struct x509_parse_context *ctx, size_t hdrlen, in x509_fabricate_name()
371 struct x509_parse_context *ctx = context; in x509_note_issuer() local
381 struct x509_parse_context *ctx = context; in x509_note_subject() local
[all …]
Dverify_pefile.c27 struct pefile_context *ctx) in pefile_parse_binary()
127 struct pefile_context *ctx) in pefile_strip_sig_wrapper()
246 struct pefile_context *ctx, in pefile_digest_pe_contents()
323 struct pefile_context *ctx) in pefile_digest_pe()
426 struct pefile_context ctx; in verify_pefile_signature() local
/linux-4.4.14/drivers/media/platform/
Dm2m-deinterlace.c158 struct deinterlace_ctx *ctx = priv; in deinterlace_job_ready() local
175 struct deinterlace_ctx *ctx = priv; in deinterlace_job_abort() local
187 struct deinterlace_ctx *ctx = priv; in deinterlace_lock() local
194 struct deinterlace_ctx *ctx = priv; in deinterlace_unlock() local
224 static void deinterlace_issue_dma(struct deinterlace_ctx *ctx, int op, in deinterlace_issue_dma()
375 struct deinterlace_ctx *ctx = priv; in deinterlace_device_run() local
513 static int vidioc_g_fmt(struct deinterlace_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt()
575 struct deinterlace_ctx *ctx = priv; in vidioc_try_fmt_vid_cap() local
610 static int vidioc_s_fmt(struct deinterlace_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt()
674 struct deinterlace_ctx *ctx = priv; in vidioc_s_fmt_vid_out() local
[all …]
Dvim2m.c184 static struct vim2m_q_data *get_q_data(struct vim2m_ctx *ctx, in get_q_data()
199 static int device_process(struct vim2m_ctx *ctx, in device_process()
348 struct vim2m_ctx *ctx = priv; in job_ready() local
361 struct vim2m_ctx *ctx = priv; in job_abort() local
375 struct vim2m_ctx *ctx = priv; in device_run() local
478 static int vidioc_g_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt()
538 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_cap() local
560 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_out() local
579 static int vidioc_s_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt()
625 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_s_fmt_vid_out() local
[all …]
Dmx2_emmaprp.c225 static struct emmaprp_q_data *get_q_data(struct emmaprp_ctx *ctx, in get_q_data()
244 struct emmaprp_ctx *ctx = priv; in emmaprp_job_abort() local
256 struct emmaprp_ctx *ctx = priv; in emmaprp_lock() local
263 struct emmaprp_ctx *ctx = priv; in emmaprp_unlock() local
290 struct emmaprp_ctx *ctx = priv; in emmaprp_device_run() local
452 static int vidioc_g_fmt(struct emmaprp_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt()
526 struct emmaprp_ctx *ctx = priv; in vidioc_try_fmt_vid_cap() local
543 struct emmaprp_ctx *ctx = priv; in vidioc_try_fmt_vid_out() local
556 static int vidioc_s_fmt(struct emmaprp_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt()
621 struct emmaprp_ctx *ctx = priv; in vidioc_reqbufs() local
[all …]
/linux-4.4.14/security/selinux/
Dxfrm.c58 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) in selinux_authorizable_ctx()
83 struct xfrm_sec_ctx *ctx = NULL; in selinux_xfrm_alloc_user() local
125 static void selinux_xfrm_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_free()
137 static int selinux_xfrm_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_delete()
153 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in selinux_xfrm_policy_lookup()
236 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_skb_sid_ingress() local
314 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_free()
322 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_delete()
345 struct xfrm_sec_ctx *ctx; in selinux_xfrm_state_alloc_acquire() local
413 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_sock_rcv_skb() local
/linux-4.4.14/arch/arm/crypto/
Dghash-ce-glue.c48 struct ghash_desc_ctx *ctx = shash_desc_ctx(desc); in ghash_init() local
57 struct ghash_desc_ctx *ctx = shash_desc_ctx(desc); in ghash_update() local
91 struct ghash_desc_ctx *ctx = shash_desc_ctx(desc); in ghash_final() local
154 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init() local
178 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update() local
196 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final() local
211 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest() local
232 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey() local
249 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm() local
266 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_exit_tfm() local
Daes-ce-glue.c51 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
63 static int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey()
133 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey() local
152 struct crypto_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_set_key() local
169 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() local
192 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() local
215 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() local
239 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() local
263 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_encrypt() local
306 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
[all …]
Daesbs-glue.c60 struct aesbs_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in aesbs_cbc_set_key() local
76 struct aesbs_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in aesbs_ctr_set_key() local
90 struct aesbs_xts_ctx *ctx = crypto_tfm_ctx(tfm); in aesbs_xts_set_key() local
108 struct aesbs_cbc_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_cbc_encrypt() local
149 struct aesbs_cbc_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_cbc_decrypt() local
207 struct aesbs_ctr_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_ctr_encrypt() local
256 struct aesbs_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_xts_encrypt() local
280 struct aesbs_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_xts_decrypt() local
Daes_glue.c18 struct AES_CTX *ctx = crypto_tfm_ctx(tfm); in aes_encrypt() local
24 struct AES_CTX *ctx = crypto_tfm_ctx(tfm); in aes_decrypt() local
31 struct AES_CTX *ctx = crypto_tfm_ctx(tfm); in aes_set_key() local
/linux-4.4.14/arch/s390/crypto/
Ddes_s390.c39 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_setkey() local
55 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_encrypt() local
62 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_decrypt() local
112 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_desall_crypt() local
148 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des_encrypt() local
159 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des_decrypt() local
243 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_setkey() local
259 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_encrypt() local
266 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_decrypt() local
294 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des3_encrypt() local
[all …]
/linux-4.4.14/drivers/media/platform/ti-vpe/
Dvpe.c409 static struct vpe_q_data *get_q_data(struct vpe_ctx *ctx, in get_q_data()
494 #define GET_OFFSET_TOP(ctx, obj, reg) \ argument
497 #define VPE_SET_MMR_ADB_HDR(ctx, hdr, regs, offset_a) \ argument
502 static void init_adb_hdrs(struct vpe_ctx *ctx) in init_adb_hdrs()
526 static int realloc_mv_buffers(struct vpe_ctx *ctx, size_t size) in realloc_mv_buffers()
567 static void free_mv_buffers(struct vpe_ctx *ctx) in free_mv_buffers()
577 static void free_vbs(struct vpe_ctx *ctx) in free_vbs()
631 static void set_us_coefficients(struct vpe_ctx *ctx) in set_us_coefficients()
659 static void set_cfg_and_line_modes(struct vpe_ctx *ctx) in set_cfg_and_line_modes()
715 static void set_src_registers(struct vpe_ctx *ctx) in set_src_registers()
[all …]
/linux-4.4.14/arch/powerpc/crypto/
Daes-spe-glue.c95 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_aes_setkey() local
127 struct ppc_xts_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_xts_setkey() local
163 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_aes_encrypt() local
172 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_aes_decrypt() local
182 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ecb_encrypt() local
210 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ecb_decrypt() local
238 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_cbc_encrypt() local
266 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_cbc_decrypt() local
294 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ctr_crypt() local
324 struct ppc_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_xts_encrypt() local
[all …]
/linux-4.4.14/drivers/acpi/apei/
Derst.c119 static int erst_exec_load_var1(struct apei_exec_context *ctx, in erst_exec_load_var1()
125 static int erst_exec_load_var2(struct apei_exec_context *ctx, in erst_exec_load_var2()
131 static int erst_exec_store_var1(struct apei_exec_context *ctx, in erst_exec_store_var1()
137 static int erst_exec_add(struct apei_exec_context *ctx, in erst_exec_add()
144 static int erst_exec_subtract(struct apei_exec_context *ctx, in erst_exec_subtract()
151 static int erst_exec_add_value(struct apei_exec_context *ctx, in erst_exec_add_value()
165 static int erst_exec_subtract_value(struct apei_exec_context *ctx, in erst_exec_subtract_value()
179 static int erst_exec_stall(struct apei_exec_context *ctx, in erst_exec_stall()
196 static int erst_exec_stall_while_true(struct apei_exec_context *ctx, in erst_exec_stall_while_true()
226 struct apei_exec_context *ctx, in erst_exec_skip_next_instruction_if_true()
[all …]
Dapei-base.c52 void apei_exec_ctx_init(struct apei_exec_context *ctx, in apei_exec_ctx_init()
78 int apei_exec_read_register(struct apei_exec_context *ctx, in apei_exec_read_register()
93 int apei_exec_read_register_value(struct apei_exec_context *ctx, in apei_exec_read_register_value()
126 int apei_exec_write_register(struct apei_exec_context *ctx, in apei_exec_write_register()
133 int apei_exec_write_register_value(struct apei_exec_context *ctx, in apei_exec_write_register_value()
145 int apei_exec_noop(struct apei_exec_context *ctx, in apei_exec_noop()
156 int __apei_exec_run(struct apei_exec_context *ctx, u8 action, in __apei_exec_run()
206 static int apei_exec_for_each_entry(struct apei_exec_context *ctx, in apei_exec_for_each_entry()
235 static int pre_map_gar_callback(struct apei_exec_context *ctx, in pre_map_gar_callback()
251 int apei_exec_pre_map_gars(struct apei_exec_context *ctx) in apei_exec_pre_map_gars()
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_context.c136 static void i915_gem_context_clean(struct intel_context *ctx) in i915_gem_context_clean()
153 struct intel_context *ctx = container_of(ctx_ref, typeof(*ctx), ref); in i915_gem_context_free() local
210 struct intel_context *ctx; in __create_hw_context() local
266 struct intel_context *ctx; in i915_gem_create_context() local
323 struct intel_context *ctx; in i915_gem_context_reset() local
353 struct intel_context *ctx; in i915_gem_context_init() local
467 struct intel_context *ctx = p; in context_idr_cleanup() local
476 struct intel_context *ctx; in i915_gem_context_open() local
503 struct intel_context *ctx; in i915_gem_context_get() local
854 struct intel_context *ctx; in i915_gem_context_create_ioctl() local
[all …]
/linux-4.4.14/arch/x86/crypto/sha-mb/
Dsha_mb_ctx.h83 #define hash_ctx_user_data(ctx) ((ctx)->user_data) argument
84 #define hash_ctx_digest(ctx) ((ctx)->job.result_digest) argument
85 #define hash_ctx_processing(ctx) ((ctx)->status & HASH_CTX_STS_PROCESSING) argument
86 #define hash_ctx_complete(ctx) ((ctx)->status == HASH_CTX_STS_COMPLETE) argument
87 #define hash_ctx_status(ctx) ((ctx)->status) argument
88 #define hash_ctx_error(ctx) ((ctx)->error) argument
89 #define hash_ctx_init(ctx) \ argument
Dsha1_mb.c88 static inline struct ahash_request *cast_mcryptd_ctx_to_req(struct mcryptd_hash_request_ctx *ctx) in cast_mcryptd_ctx_to_req()
134 …ic struct sha1_hash_ctx *sha1_ctx_mgr_resubmit(struct sha1_ctx_mgr *mgr, struct sha1_hash_ctx *ctx) in sha1_ctx_mgr_resubmit()
220 struct sha1_hash_ctx *ctx; in sha1_ctx_mgr_get_comp_ctx() local
232 struct sha1_hash_ctx *ctx, in sha1_ctx_mgr_submit()
322 struct sha1_hash_ctx *ctx; in sha1_ctx_mgr_flush() local
705 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_init() local
719 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_update() local
732 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_finup() local
745 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_final() local
756 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_digest() local
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcommonring.c26 int (*cr_ring_bell)(void *ctx), in brcmf_commonring_register_cb()
27 int (*cr_update_rptr)(void *ctx), in brcmf_commonring_register_cb()
28 int (*cr_update_wptr)(void *ctx), in brcmf_commonring_register_cb()
29 int (*cr_write_rptr)(void *ctx), in brcmf_commonring_register_cb()
30 int (*cr_write_wptr)(void *ctx), void *ctx) in brcmf_commonring_register_cb()
/linux-4.4.14/drivers/crypto/vmx/
Daes.c42 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_init() local
70 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_exit() local
82 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_setkey() local
99 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_encrypt() local
116 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_decrypt() local
Dghash.c61 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(tfm); in p8_ghash_init_tfm() local
91 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(tfm); in p8_ghash_exit_tfm() local
101 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_init() local
114 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(tfm)); in p8_ghash_setkey() local
134 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_update() local
187 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_final() local
Daes_ctr.c41 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_init() local
69 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_exit() local
81 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_setkey() local
93 static void p8_aes_ctr_final(struct p8_aes_ctr_ctx *ctx, in p8_aes_ctr_final()
120 struct p8_aes_ctr_ctx *ctx = in p8_aes_ctr_crypt() local
Daes_cbc.c43 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_init() local
71 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_exit() local
83 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_setkey() local
104 struct p8_aes_cbc_ctx *ctx = in p8_aes_cbc_encrypt() local
145 struct p8_aes_cbc_ctx *ctx = in p8_aes_cbc_decrypt() local
/linux-4.4.14/drivers/crypto/ux500/cryp/
Dcryp_core.c178 static void add_session_id(struct cryp_ctx *ctx) in add_session_id()
192 struct cryp_ctx *ctx; in cryp_interrupt_handler() local
280 static int cfg_ivs(struct cryp_device_data *device_data, struct cryp_ctx *ctx) in cfg_ivs()
335 static int cfg_keys(struct cryp_ctx *ctx) in cfg_keys()
368 static int cryp_setup_context(struct cryp_ctx *ctx, in cryp_setup_context()
422 static int cryp_get_device_data(struct cryp_ctx *ctx, in cryp_get_device_data()
513 struct cryp_ctx *ctx = (struct cryp_ctx *) data; in cryp_dma_out_callback() local
519 static int cryp_set_dma_transfer(struct cryp_ctx *ctx, in cryp_set_dma_transfer()
602 static void cryp_dma_done(struct cryp_ctx *ctx) in cryp_dma_done()
619 static int cryp_dma_write(struct cryp_ctx *ctx, struct scatterlist *sg, in cryp_dma_write()
[all …]
/linux-4.4.14/tools/perf/util/
Dstat-shadow.c36 int ctx = 0; in evsel_context() local
81 int ctx = evsel_context(counter); in perf_stat__update_shadow_stats() local
146 int ctx = evsel_context(evsel); in print_stalled_cycles_frontend() local
166 int ctx = evsel_context(evsel); in print_stalled_cycles_backend() local
186 int ctx = evsel_context(evsel); in print_branch_misses() local
206 int ctx = evsel_context(evsel); in print_l1_dcache_misses() local
226 int ctx = evsel_context(evsel); in print_l1_icache_misses() local
246 int ctx = evsel_context(evsel); in print_dtlb_cache_misses() local
266 int ctx = evsel_context(evsel); in print_itlb_cache_misses() local
286 int ctx = evsel_context(evsel); in print_ll_cache_misses() local
[all …]
/linux-4.4.14/include/linux/
Dww_mutex.h47 struct ww_acquire_ctx *ctx; member
119 static inline void ww_acquire_init(struct ww_acquire_ctx *ctx, in ww_acquire_init()
153 static inline void ww_acquire_done(struct ww_acquire_ctx *ctx) in ww_acquire_done()
170 static inline void ww_acquire_fini(struct ww_acquire_ctx *ctx) in ww_acquire_fini()
223 static inline int ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
263 struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
295 ww_mutex_lock_slow(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_slow()
332 struct ww_acquire_ctx *ctx) in ww_mutex_lock_slow_interruptible()
Deventfd.h59 static inline int eventfd_signal(struct eventfd_ctx *ctx, int n) in eventfd_signal()
64 static inline void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
69 static inline ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, in eventfd_ctx_read()
75 static inline int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, in eventfd_ctx_remove_wait_queue()
/linux-4.4.14/drivers/crypto/ux500/hash/
Dhash_core.c148 struct hash_ctx *ctx = data; in hash_dma_callback() local
153 static int hash_set_dma_transfer(struct hash_ctx *ctx, struct scatterlist *sg, in hash_set_dma_transfer()
200 static void hash_dma_done(struct hash_ctx *ctx) in hash_dma_done()
210 static int hash_dma_write(struct hash_ctx *ctx, in hash_dma_write()
236 struct hash_ctx *ctx = device_data->current_ctx; in get_empty_message_digest() local
380 static int hash_get_device_data(struct hash_ctx *ctx, in hash_get_device_data()
486 struct hash_ctx *ctx) in init_hash_hw()
567 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_init() local
675 static void hash_incrementlength(struct hash_req_ctx *ctx, u32 incr) in hash_incrementlength()
757 void hash_begin(struct hash_device_data *device_data, struct hash_ctx *ctx) in hash_begin()
[all …]
/linux-4.4.14/drivers/char/hw_random/
Dxgene-rng.c105 struct xgene_rng_dev *ctx = (struct xgene_rng_dev *) arg; in xgene_rng_expired_timer() local
114 static void xgene_rng_start_timer(struct xgene_rng_dev *ctx) in xgene_rng_start_timer()
125 static void xgene_rng_init_fro(struct xgene_rng_dev *ctx, u32 fro_val) in xgene_rng_init_fro()
133 static void xgene_rng_chk_overflow(struct xgene_rng_dev *ctx) in xgene_rng_chk_overflow()
218 struct xgene_rng_dev *ctx = (struct xgene_rng_dev *) id; in xgene_rng_irq_handler() local
228 struct xgene_rng_dev *ctx = (struct xgene_rng_dev *) rng->priv; in xgene_rng_data_present() local
243 struct xgene_rng_dev *ctx = (struct xgene_rng_dev *) rng->priv; in xgene_rng_data_read() local
255 static void xgene_rng_init_internal(struct xgene_rng_dev *ctx) in xgene_rng_init_internal()
292 struct xgene_rng_dev *ctx = (struct xgene_rng_dev *) rng->priv; in xgene_rng_init() local
332 struct xgene_rng_dev *ctx; in xgene_rng_probe() local
[all …]
/linux-4.4.14/drivers/crypto/
Datmel-sha.c158 static size_t atmel_sha_append_sg(struct atmel_sha_reqctx *ctx) in atmel_sha_append_sg()
216 static void atmel_sha_fill_padding(struct atmel_sha_reqctx *ctx, int length) in atmel_sha_fill_padding()
259 struct atmel_sha_reqctx *ctx = ahash_request_ctx(req); in atmel_sha_init() local
319 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); in atmel_sha_write_ctrl() local
354 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); in atmel_sha_xmit_cpu() local
384 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); in atmel_sha_xmit_pdc() local
428 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); in atmel_sha_xmit_dma() local
493 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); in atmel_sha_update_cpu() local
505 struct atmel_sha_reqctx *ctx, in atmel_sha_xmit_dma_map()
524 struct atmel_sha_reqctx *ctx = ahash_request_ctx(dd->req); in atmel_sha_update_dma_slow() local
[all …]
Dimg-hash.c165 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); in img_hash_start() local
211 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); in img_hash_dma_callback() local
224 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); in img_hash_xmit_dma() local
254 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); in img_hash_write_via_cpu() local
271 struct img_hash_request_ctx *ctx = ahash_request_ctx(req); in img_hash_finish() local
283 struct img_hash_request_ctx *ctx = ahash_request_ctx(req); in img_hash_copy_hash() local
293 struct img_hash_request_ctx *ctx = ahash_request_ctx(req); in img_hash_finish_req() local
314 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); in img_hash_write_via_dma() local
359 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); in img_hash_dma_task() local
430 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); in img_hash_write_via_dma_stop() local
[all …]
Dmv_cesa.c174 static void compute_aes_dec_key(struct mv_ctx *ctx) in compute_aes_dec_key()
203 struct mv_ctx *ctx = crypto_tfm_ctx(tfm); in mv_setkey_aes() local
261 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_process_current_q() local
393 static inline int mv_hash_import_sha1_ctx(const struct mv_req_hash_ctx *ctx, in mv_hash_import_sha1_ctx()
431 static void mv_save_digest_state(struct mv_req_hash_ctx *ctx) in mv_save_digest_state()
443 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_hash_algo_completion() local
554 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_start_new_hash_req() local
670 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_ecb() local
692 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_cbc() local
708 static void mv_init_hash_req_ctx(struct mv_req_hash_ctx *ctx, int op, in mv_init_hash_req_ctx()
[all …]
Domap-sham.c281 struct omap_sham_reqctx *ctx = ahash_request_ctx(req); in omap_sham_copy_hash_omap2() local
296 struct omap_sham_reqctx *ctx = ahash_request_ctx(req); in omap_sham_copy_hash_omap4() local
321 struct omap_sham_reqctx *ctx = ahash_request_ctx(req); in omap_sham_copy_ready_hash() local
384 struct omap_sham_reqctx *ctx = ahash_request_ctx(dd->req); in omap_sham_write_ctrl_omap2() local
419 static int get_block_size(struct omap_sham_reqctx *ctx) in get_block_size()
453 struct omap_sham_reqctx *ctx = ahash_request_ctx(dd->req); in omap_sham_write_ctrl_omap4() local
516 struct omap_sham_reqctx *ctx = ahash_request_ctx(dd->req); in omap_sham_xmit_cpu() local
561 struct omap_sham_reqctx *ctx = ahash_request_ctx(dd->req); in omap_sham_xmit_dma() local
628 static size_t omap_sham_append_buffer(struct omap_sham_reqctx *ctx, in omap_sham_append_buffer()
642 static size_t omap_sham_append_sg(struct omap_sham_reqctx *ctx) in omap_sham_append_sg()
[all …]
/linux-4.4.14/drivers/crypto/amcc/
Dcrypto4xx_alg.c75 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_encrypt() local
89 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_decrypt() local
111 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_setkey_aes() local
187 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_hash_alg_init() local
239 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_init() local
256 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_update() local
275 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_digest() local
Dcrypto4xx_sa.c37 u32 get_dynamic_sa_offset_state_ptr_field(struct crypto4xx_ctx *ctx) in get_dynamic_sa_offset_state_ptr_field()
64 u32 get_dynamic_sa_iv_size(struct crypto4xx_ctx *ctx) in get_dynamic_sa_iv_size()
75 u32 get_dynamic_sa_offset_key_field(struct crypto4xx_ctx *ctx) in get_dynamic_sa_offset_key_field()
/linux-4.4.14/arch/ia64/kernel/
Dperfmon.c99 #define PMC_OVFL_NOTIFY(ctx, i) ((ctx)->ctx_pmds[i].flags & PFM_REGFL_OVFL_NOTIFY) argument
126 #define CTX_USED_PMD(ctx, mask) (ctx)->ctx_used_pmds[0] |= (mask) argument
127 #define CTX_IS_USED_PMD(ctx, c) (((ctx)->ctx_used_pmds[0] & (1UL << (c))) != 0UL) argument
129 #define CTX_USED_MONITOR(ctx, mask) (ctx)->ctx_used_monitors[0] |= (mask) argument
131 #define CTX_USED_IBR(ctx,n) (ctx)->ctx_used_ibrs[(n)>>6] |= 1UL<< ((n) % 64) argument
132 #define CTX_USED_DBR(ctx,n) (ctx)->ctx_used_dbrs[(n)>>6] |= 1UL<< ((n) % 64) argument
133 #define CTX_USES_DBREGS(ctx) (((pfm_context_t *)(ctx))->ctx_fl_using_dbreg==1) argument
348 #define SET_LAST_CPU(ctx, v) (ctx)->ctx_last_cpu = (v) argument
349 #define GET_LAST_CPU(ctx) (ctx)->ctx_last_cpu argument
351 #define SET_LAST_CPU(ctx, v) do {} while(0) argument
[all …]
/linux-4.4.14/net/netfilter/
Dnf_tables_api.c91 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init()
110 static struct nft_trans *nft_trans_alloc(struct nft_ctx *ctx, int msg_type, in nft_trans_alloc()
180 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add()
195 static int nft_deltable(struct nft_ctx *ctx) in nft_deltable()
207 static int nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) in nft_trans_chain_add()
222 static int nft_delchain(struct nft_ctx *ctx) in nft_delchain()
267 nf_tables_delrule_deactivate(struct nft_ctx *ctx, struct nft_rule *rule) in nf_tables_delrule_deactivate()
278 static struct nft_trans *nft_trans_rule_add(struct nft_ctx *ctx, int msg_type, in nft_trans_rule_add()
293 static int nft_delrule(struct nft_ctx *ctx, struct nft_rule *rule) in nft_delrule()
311 static int nft_delrule_by_chain(struct nft_ctx *ctx) in nft_delrule_by_chain()
[all …]
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_krb5_seal.c74 setup_token(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token()
100 setup_token_v2(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token_v2()
128 gss_get_mic_v1(struct krb5_ctx *ctx, struct xdr_buf *text, in gss_get_mic_v1()
169 gss_get_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *text, in gss_get_mic_v2()
215 struct krb5_ctx *ctx = gss_ctx->internal_ctx_id; in gss_get_mic_kerberos() local
Dgss_krb5_mech.c220 struct krb5_ctx *ctx, struct crypto_blkcipher **res) in get_key()
275 gss_import_v1_context(const void *p, const void *end, struct krb5_ctx *ctx) in gss_import_v1_context()
348 context_v2_alloc_cipher(struct krb5_ctx *ctx, const char *cname, u8 *key) in context_v2_alloc_cipher()
378 context_derive_keys_des3(struct krb5_ctx *ctx, gfp_t gfp_mask) in context_derive_keys_des3()
428 context_derive_keys_rc4(struct krb5_ctx *ctx) in context_derive_keys_rc4()
496 context_derive_keys_new(struct krb5_ctx *ctx, gfp_t gfp_mask) in context_derive_keys_new()
607 gss_import_v2_context(const void *p, const void *end, struct krb5_ctx *ctx, in gss_import_v2_context()
686 struct krb5_ctx *ctx; in gss_import_sec_context_kerberos() local
/linux-4.4.14/drivers/base/regmap/
Dregmap-mmio.c92 struct regmap_mmio_context *ctx = context; in regmap_mmio_gather_write() local
139 struct regmap_mmio_context *ctx = context; in regmap_mmio_write() local
152 struct regmap_mmio_context *ctx = context; in regmap_mmio_read() local
199 struct regmap_mmio_context *ctx = context; in regmap_mmio_free_context() local
223 struct regmap_mmio_context *ctx; in regmap_mmio_gen_context() local
305 struct regmap_mmio_context *ctx; in __regmap_init_mmio_clk() local
323 struct regmap_mmio_context *ctx; in __devm_regmap_init_mmio_clk() local
/linux-4.4.14/fs/ext4/
Dcrypto.c70 void ext4_release_crypto_ctx(struct ext4_crypto_ctx *ctx) in ext4_release_crypto_ctx()
98 struct ext4_crypto_ctx *ctx = NULL; in ext4_get_crypto_ctx() local
200 struct ext4_crypto_ctx *ctx; in ext4_init_crypto() local
227 struct ext4_crypto_ctx *ctx = in ext4_restore_control_page() local
312 static struct page *alloc_bounce_page(struct ext4_crypto_ctx *ctx) in alloc_bounce_page()
339 struct ext4_crypto_ctx *ctx; in ext4_encrypt() local
389 struct ext4_crypto_ctx *ctx; in ext4_encrypted_zeroout() local
Dcrypto_policy.c33 struct ext4_encryption_context ctx; in ext4_is_encryption_context_consistent_with_policy() local
52 struct ext4_encryption_context ctx; in ext4_create_encryption_context_from_policy() local
127 struct ext4_encryption_context ctx; in ext4_get_policy() local
192 struct ext4_encryption_context ctx; in ext4_inherit_context() local
/linux-4.4.14/fs/cifs/
Dasn1.c109 asn1_open(struct asn1_ctx *ctx, unsigned char *buf, unsigned int len) in asn1_open()
118 asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) in asn1_octet_decode()
151 asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) in asn1_tag_decode()
167 asn1_id_decode(struct asn1_ctx *ctx, in asn1_id_decode()
187 asn1_length_decode(struct asn1_ctx *ctx, unsigned int *def, unsigned int *len) in asn1_length_decode()
223 asn1_header_decode(struct asn1_ctx *ctx, in asn1_header_decode()
248 asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc) in asn1_eoc_decode()
401 asn1_subid_decode(struct asn1_ctx *ctx, unsigned long *subid) in asn1_subid_decode()
418 asn1_oid_decode(struct asn1_ctx *ctx, in asn1_oid_decode()
497 struct asn1_ctx ctx; in decode_negTokenInit() local
/linux-4.4.14/drivers/crypto/caam/
Dcaamalg.c198 static void append_key_aead(u32 *desc, struct caam_ctx *ctx, in append_key_aead()
240 static void init_sh_desc_key_aead(u32 *desc, struct caam_ctx *ctx, in init_sh_desc_key_aead()
259 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc() local
434 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc() local
717 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize() local
727 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc() local
917 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize() local
927 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc() local
1090 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize() local
1100 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc() local
[all …]
Dcaamrng.c88 static inline void rng_unmap_ctx(struct caam_rng_ctx *ctx) in rng_unmap_ctx()
121 static inline int submit_job(struct caam_rng_ctx *ctx, int to_current) in submit_job()
141 struct caam_rng_ctx *ctx = rng_ctx; in caam_read() local
192 static inline int rng_create_sh_desc(struct caam_rng_ctx *ctx) in rng_create_sh_desc()
221 static inline int rng_create_job_desc(struct caam_rng_ctx *ctx, int buf_id) in rng_create_job_desc()
259 static int caam_init_buf(struct caam_rng_ctx *ctx, int buf_id) in caam_init_buf()
275 static int caam_init_rng(struct caam_rng_ctx *ctx, struct device *jrdev) in caam_init_rng()
/linux-4.4.14/arch/arm64/net/
Dbpf_jit_comp.c68 static inline void emit(const u32 insn, struct jit_ctx *ctx) in emit()
77 struct jit_ctx *ctx) in emit_a64_mov_i64()
94 const s32 val, struct jit_ctx *ctx) in emit_a64_mov_i()
114 const struct jit_ctx *ctx) in bpf2a64_offset()
131 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset()
148 static void build_prologue(struct jit_ctx *ctx) in build_prologue()
209 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
247 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx) in build_insn()
721 static int build_body(struct jit_ctx *ctx) in build_body()
759 struct jit_ctx ctx; in bpf_int_jit_compile() local
/linux-4.4.14/kernel/locking/
Dmutex.c158 struct ww_acquire_ctx *ctx) in ww_mutex_set_context_fastpath()
202 struct ww_acquire_ctx *ctx) in ww_mutex_set_context_slowpath()
481 __ww_mutex_lock_check_stamp(struct mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_check_stamp()
654 ww_mutex_deadlock_injection(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_deadlock_injection()
680 __ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock()
695 __ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible()
839 __ww_mutex_lock_slowpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_slowpath()
847 struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible_slowpath()
914 __ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock()
932 __ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec.c278 struct ptlrpc_cli_ctx *sptlrpc_cli_ctx_get(struct ptlrpc_cli_ctx *ctx) in sptlrpc_cli_ctx_get()
285 void sptlrpc_cli_ctx_put(struct ptlrpc_cli_ctx *ctx, int sync) in sptlrpc_cli_ctx_put()
527 int ctx_check_refresh(struct ptlrpc_cli_ctx *ctx) in ctx_check_refresh()
566 void req_off_ctx_list(struct ptlrpc_request *req, struct ptlrpc_cli_ctx *ctx) in req_off_ctx_list()
590 struct ptlrpc_cli_ctx *ctx = req->rq_cli_ctx; in sptlrpc_req_refresh_ctx() local
840 struct ptlrpc_cli_ctx *ctx; in sptlrpc_import_check_ctx() local
892 struct ptlrpc_cli_ctx *ctx = req->rq_cli_ctx; in sptlrpc_cli_wrap_request() local
934 struct ptlrpc_cli_ctx *ctx = req->rq_cli_ctx; in do_cli_unwrap_reply() local
1480 struct ptlrpc_cli_ctx *ctx = req->rq_cli_ctx; in sptlrpc_cli_alloc_reqbuf() local
1510 struct ptlrpc_cli_ctx *ctx = req->rq_cli_ctx; in sptlrpc_cli_free_reqbuf() local
[all …]
Dsec_plain.c177 int plain_ctx_refresh(struct ptlrpc_cli_ctx *ctx) in plain_ctx_refresh()
185 int plain_ctx_validate(struct ptlrpc_cli_ctx *ctx) in plain_ctx_validate()
191 int plain_ctx_sign(struct ptlrpc_cli_ctx *ctx, struct ptlrpc_request *req) in plain_ctx_sign()
215 int plain_ctx_verify(struct ptlrpc_cli_ctx *ctx, struct ptlrpc_request *req) in plain_ctx_verify()
288 int plain_cli_wrap_bulk(struct ptlrpc_cli_ctx *ctx, in plain_cli_wrap_bulk()
331 int plain_cli_unwrap_bulk(struct ptlrpc_cli_ctx *ctx, in plain_cli_unwrap_bulk()
377 struct ptlrpc_cli_ctx *ctx, *ctx_new; in plain_sec_install_ctx() local
442 struct ptlrpc_cli_ctx *ctx; in plain_create_sec() local
487 struct ptlrpc_cli_ctx *ctx; in plain_lookup_ctx() local
503 struct ptlrpc_cli_ctx *ctx, int sync) in plain_release_ctx()
[all …]
/linux-4.4.14/arch/sparc/crypto/
Daes_glue.c169 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_set_key() local
201 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt() local
208 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt() local
219 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() local
248 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() local
279 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() local
308 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() local
336 static void ctr_crypt_final(struct crypto_sparc64_aes_ctx *ctx, in ctr_crypt_final()
356 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_crypt() local
Ddes_glue.c72 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in des_encrypt() local
80 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in des_decrypt() local
97 struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ecb_crypt() local
145 struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() local
176 struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() local
242 struct des3_ede_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in des3_ede_encrypt() local
250 struct des3_ede_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in des3_ede_decrypt() local
265 struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ecb3_crypt() local
317 struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc3_encrypt() local
353 struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc3_decrypt() local
Dcamellia_glue.c38 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in camellia_set_key() local
59 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in camellia_encrypt() local
68 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in camellia_decrypt() local
89 struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ecb_crypt() local
152 struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() local
191 struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() local
/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto-aes.c28 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_complete() local
43 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_setkey() local
72 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_crypt() local
129 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_cra_init() local
158 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_rfc3686_setkey() local
171 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_rfc3686_crypt() local
204 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_rfc3686_cra_init() local
/linux-4.4.14/arch/arm64/crypto/
Daes-ce-cipher.c27 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
41 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_encrypt() local
86 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_decrypt() local
149 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey()
225 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey() local
Daes-glue.c85 struct crypto_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_set_key() local
102 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() local
124 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() local
146 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() local
169 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() local
192 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_encrypt() local
238 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
262 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() local
Daes-ce-ccm-glue.c21 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
50 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey() local
109 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac() local
151 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt() local
215 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt() local
Dcrc32-arm64.c103 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_init() local
131 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_update() local
140 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksumc_update() local
148 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_final() local
156 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksumc_final() local
177 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_finup() local
185 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksumc_finup() local
/linux-4.4.14/arch/powerpc/platforms/cell/
Dspu_notify.c31 void spu_switch_notify(struct spu *spu, struct spu_context *ctx) in spu_switch_notify()
54 void spu_set_profile_private_kref(struct spu_context *ctx, in spu_set_profile_private_kref()
63 void *spu_get_profile_private_kref(struct spu_context *ctx) in spu_get_profile_private_kref()
/linux-4.4.14/drivers/firewire/
Dcore-iso.c167 struct fw_iso_context *ctx; in fw_iso_context_create() local
186 void fw_iso_context_destroy(struct fw_iso_context *ctx) in fw_iso_context_destroy()
192 int fw_iso_context_start(struct fw_iso_context *ctx, in fw_iso_context_start()
199 int fw_iso_context_set_channels(struct fw_iso_context *ctx, u64 *channels) in fw_iso_context_set_channels()
204 int fw_iso_context_queue(struct fw_iso_context *ctx, in fw_iso_context_queue()
213 void fw_iso_context_queue_flush(struct fw_iso_context *ctx) in fw_iso_context_queue_flush()
219 int fw_iso_context_flush_completions(struct fw_iso_context *ctx) in fw_iso_context_flush_completions()
225 int fw_iso_context_stop(struct fw_iso_context *ctx) in fw_iso_context_stop()
Dohci.c665 static inline dma_addr_t ar_buffer_bus(struct ar_context *ctx, unsigned int i) in ar_buffer_bus()
670 static void ar_context_link_page(struct ar_context *ctx, unsigned int index) in ar_context_link_page()
688 static void ar_context_release(struct ar_context *ctx) in ar_context_release()
703 static void ar_context_abort(struct ar_context *ctx, const char *error_msg) in ar_context_abort()
721 static inline unsigned int ar_first_buffer_index(struct ar_context *ctx) in ar_first_buffer_index()
730 static unsigned int ar_search_last_active_buffer(struct ar_context *ctx, in ar_search_last_active_buffer()
787 static void ar_sync_buffers_for_cpu(struct ar_context *ctx, in ar_sync_buffers_for_cpu()
813 static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer) in handle_ar_packet()
911 static void *handle_ar_packets(struct ar_context *ctx, void *p, void *end) in handle_ar_packets()
925 static void ar_recycle_buffers(struct ar_context *ctx, unsigned int end_buffer) in ar_recycle_buffers()
[all …]
/linux-4.4.14/drivers/gpu/host1x/
Ddebug.h28 void *ctx; member
32 static inline void write_to_seqfile(void *ctx, const char *str, size_t len) in write_to_seqfile()
37 static inline void write_to_printk(void *ctx, const char *str, size_t len) in write_to_printk()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_algs.c145 struct qat_alg_aead_ctx *ctx, in qat_alg_do_precomputes()
277 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); in qat_alg_aead_init_enc_session() local
358 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); in qat_alg_aead_init_dec_session() local
445 static void qat_alg_ablkcipher_init_com(struct qat_alg_ablkcipher_ctx *ctx, in qat_alg_ablkcipher_init_com()
467 static void qat_alg_ablkcipher_init_enc(struct qat_alg_ablkcipher_ctx *ctx, in qat_alg_ablkcipher_init_enc()
480 static void qat_alg_ablkcipher_init_dec(struct qat_alg_ablkcipher_ctx *ctx, in qat_alg_ablkcipher_init_dec()
556 static int qat_alg_ablkcipher_init_sessions(struct qat_alg_ablkcipher_ctx *ctx, in qat_alg_ablkcipher_init_sessions()
577 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_setkey() local
778 struct qat_alg_aead_ctx *ctx = qat_req->aead_ctx; in qat_aead_alg_callback() local
793 struct qat_alg_ablkcipher_ctx *ctx = qat_req->ablkcipher_ctx; in qat_ablkcipher_alg_callback() local
[all …]
/linux-4.4.14/block/
Dblk-mq-sysfs.c36 struct blk_mq_ctx *ctx; in blk_mq_sysfs_show() local
59 struct blk_mq_ctx *ctx; in blk_mq_sysfs_store() local
125 static ssize_t blk_mq_sysfs_dispatched_show(struct blk_mq_ctx *ctx, char *page) in blk_mq_sysfs_dispatched_show()
131 static ssize_t blk_mq_sysfs_merged_show(struct blk_mq_ctx *ctx, char *page) in blk_mq_sysfs_merged_show()
136 static ssize_t blk_mq_sysfs_completed_show(struct blk_mq_ctx *ctx, char *page) in blk_mq_sysfs_completed_show()
166 static ssize_t blk_mq_sysfs_rq_list_show(struct blk_mq_ctx *ctx, char *page) in blk_mq_sysfs_rq_list_show()
349 struct blk_mq_ctx *ctx; in blk_mq_unregister_hctx() local
364 struct blk_mq_ctx *ctx; in blk_mq_register_hctx() local
387 struct blk_mq_ctx *ctx; in blk_mq_unregister_disk() local
414 struct blk_mq_ctx *ctx; in blk_mq_sysfs_init() local
/linux-4.4.14/drivers/media/platform/s5p-tv/
Dsii9234_drv.c105 static int sii9234_reset(struct sii9234_context *ctx) in sii9234_reset()
216 static int sii9234_set_internal(struct sii9234_context *ctx) in sii9234_set_internal()
233 struct sii9234_context *ctx = sd_to_context(sd); in sii9234_runtime_suspend() local
247 struct sii9234_context *ctx = sd_to_context(sd); in sii9234_runtime_resume() local
284 struct sii9234_context *ctx = sd_to_context(sd); in sii9234_s_power() local
297 struct sii9234_context *ctx = sd_to_context(sd); in sii9234_s_stream() local
322 struct sii9234_context *ctx; in sii9234_probe() local
/linux-4.4.14/drivers/net/ieee802154/
Dat86rf230.c348 struct at86rf230_state_change *ctx = context; in at86rf230_async_error_recover() local
360 struct at86rf230_state_change *ctx, int rc) in at86rf230_async_error()
371 struct at86rf230_state_change *ctx, in at86rf230_async_read_reg()
387 struct at86rf230_state_change *ctx, in at86rf230_async_write_reg()
403 struct at86rf230_state_change *ctx = context; in at86rf230_async_state_assert() local
461 struct at86rf230_state_change *ctx = in at86rf230_async_state_timer() local
475 struct at86rf230_state_change *ctx = context; in at86rf230_async_state_delay() local
567 struct at86rf230_state_change *ctx = context; in at86rf230_async_state_change_start() local
599 struct at86rf230_state_change *ctx, in at86rf230_async_state_change()
612 struct at86rf230_state_change *ctx = context; in at86rf230_sync_state_change_complete() local
[all …]
/linux-4.4.14/drivers/i2c/busses/
Di2c-xgene-slimpro.c117 struct slimpro_i2c_dev *ctx = to_slimpro_i2c_dev(cl); in slimpro_i2c_rx_cb() local
132 static int start_i2c_msg_xfer(struct slimpro_i2c_dev *ctx) in start_i2c_msg_xfer()
147 static int slimpro_i2c_rd(struct slimpro_i2c_dev *ctx, u32 chip, in slimpro_i2c_rd()
169 static int slimpro_i2c_wr(struct slimpro_i2c_dev *ctx, u32 chip, in slimpro_i2c_wr()
192 static int slimpro_i2c_blkrd(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, in slimpro_i2c_blkrd()
233 static int slimpro_i2c_blkwr(struct slimpro_i2c_dev *ctx, u32 chip, in slimpro_i2c_blkwr()
280 struct slimpro_i2c_dev *ctx = i2c_get_adapdata(adap); in xgene_slimpro_i2c_xfer() local
382 struct slimpro_i2c_dev *ctx; in xgene_slimpro_i2c_probe() local
432 struct slimpro_i2c_dev *ctx = platform_get_drvdata(pdev); in xgene_slimpro_i2c_remove() local
/linux-4.4.14/fs/ntfs/
Dattrib.c84 int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, ntfs_attr_search_ctx *ctx) in ntfs_map_runlist_nolock()
465 ntfs_attr_search_ctx *ctx) in ntfs_attr_find_vcn_nolock()
591 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_attr_find()
860 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_external_attr_find()
1190 ntfs_attr_search_ctx *ctx) in ntfs_attr_lookup()
1217 static inline void ntfs_attr_init_search_ctx(ntfs_attr_search_ctx *ctx, in ntfs_attr_init_search_ctx()
1240 void ntfs_attr_reinit_search_ctx(ntfs_attr_search_ctx *ctx) in ntfs_attr_reinit_search_ctx()
1271 ntfs_attr_search_ctx *ctx; in ntfs_attr_get_search_ctx() local
1286 void ntfs_attr_put_search_ctx(ntfs_attr_search_ctx *ctx) in ntfs_attr_put_search_ctx()
1543 ntfs_attr_search_ctx *ctx; in ntfs_attr_make_non_resident() local
[all …]
/linux-4.4.14/arch/mips/cavium-octeon/crypto/
Docteon-md5.c38 static void octeon_md5_store_hash(struct md5_state *ctx) in octeon_md5_store_hash()
46 static void octeon_md5_read_hash(struct md5_state *ctx) in octeon_md5_read_hash()
158 struct md5_state *ctx = shash_desc_ctx(desc); in octeon_md5_export() local
166 struct md5_state *ctx = shash_desc_ctx(desc); in octeon_md5_import() local
/linux-4.4.14/net/ipv4/netfilter/
Dnf_nat_snmp_basic.c152 static void asn1_open(struct asn1_ctx *ctx, in asn1_open()
162 static unsigned char asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) in asn1_octet_decode()
172 static unsigned char asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) in asn1_tag_decode()
188 static unsigned char asn1_id_decode(struct asn1_ctx *ctx, in asn1_id_decode()
209 static unsigned char asn1_length_decode(struct asn1_ctx *ctx, in asn1_length_decode()
246 static unsigned char asn1_header_decode(struct asn1_ctx *ctx, in asn1_header_decode()
272 static unsigned char asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc) in asn1_eoc_decode()
302 static unsigned char asn1_null_decode(struct asn1_ctx *ctx, unsigned char *eoc) in asn1_null_decode()
308 static unsigned char asn1_long_decode(struct asn1_ctx *ctx, in asn1_long_decode()
336 static unsigned char asn1_uint_decode(struct asn1_ctx *ctx, in asn1_uint_decode()
[all …]
/linux-4.4.14/drivers/edac/
Dxgene_edac.c157 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; in xgene_edac_mc_err_inject_write() local
188 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; in xgene_edac_mc_check() local
261 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; in xgene_edac_mc_irq_ctl() local
321 static int xgene_edac_mc_is_active(struct xgene_edac_mc_ctx *ctx, int mc_idx) in xgene_edac_mc_is_active()
359 struct xgene_edac_mc_ctx *ctx; in xgene_edac_mc_add() local
535 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; in xgene_edac_pmd_l1_check() local
674 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; in xgene_edac_pmd_l2_check() local
749 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; in xgene_edac_pmd_check() local
768 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; in xgene_edac_pmd_cpu_hw_cfg() local
783 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; in xgene_edac_pmd_hw_cfg() local
[all …]
/linux-4.4.14/kernel/events/
Dcore.c341 __get_cpu_context(struct perf_event_context *ctx) in __get_cpu_context()
347 struct perf_event_context *ctx) in perf_ctx_lock()
355 struct perf_event_context *ctx) in perf_ctx_unlock()
367 struct perf_event_context *ctx = event->ctx; in perf_cgroup_match() local
448 struct perf_event_context *ctx) in perf_cgroup_set_timestamp()
657 struct perf_event_context *ctx) in perf_cgroup_mark_enabled()
723 struct perf_event_context *ctx) in perf_cgroup_set_timestamp()
749 struct perf_event_context *ctx) in perf_cgroup_mark_enabled()
850 static void perf_event_ctx_activate(struct perf_event_context *ctx) in perf_event_ctx_activate()
861 static void perf_event_ctx_deactivate(struct perf_event_context *ctx) in perf_event_ctx_deactivate()
[all …]
/linux-4.4.14/drivers/video/fbdev/omap2/
Dvrfb.c83 static void omap2_sms_write_rot_control(u32 val, unsigned ctx) in omap2_sms_write_rot_control()
88 static void omap2_sms_write_rot_size(u32 val, unsigned ctx) in omap2_sms_write_rot_size()
93 static void omap2_sms_write_rot_physical_ba(u32 val, unsigned ctx) in omap2_sms_write_rot_physical_ba()
98 static inline void restore_hw_context(int ctx) in restore_hw_context()
188 u8 ctx = vrfb->context; in omap_vrfb_setup() local
264 int ctx = vrfb->context; in omap_vrfb_release_ctx() local
294 u8 ctx; in omap_vrfb_request_ctx() local
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dchannel.c104 struct ath_chanctx *ctx; in ath_chanctx_init() local
126 void ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, in ath_chanctx_set_channel()
155 struct ath_chanctx *ctx; in ath_is_go_chanctx_present() local
229 void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx) in ath_chanctx_check_active()
309 ath_chanctx_get_next(struct ath_softc *sc, struct ath_chanctx *ctx) in ath_chanctx_get_next()
370 struct ath_chanctx *ctx, in ath_chanctx_handle_bmiss()
395 struct ath_chanctx *ctx, in ath_chanctx_offchannel_noa()
481 struct ath_chanctx *ctx; in ath_chanctx_event() local
780 static void ath_chanctx_switch(struct ath_softc *sc, struct ath_chanctx *ctx, in ath_chanctx_switch()
843 struct ath_chanctx *ctx; in ath_chanctx_get_oper_chan() local
[all …]
/linux-4.4.14/drivers/scsi/
Dvmw_pvscsi.c162 struct pvscsi_ctx *ctx, *end; in pvscsi_find_context() local
175 struct pvscsi_ctx *ctx; in pvscsi_acquire_context() local
188 struct pvscsi_ctx *ctx) in pvscsi_release_context()
201 const struct pvscsi_ctx *ctx) in pvscsi_map_context()
264 const struct pvscsi_ctx *ctx) in pvscsi_abort_cmd()
332 static void pvscsi_create_sg(struct pvscsi_ctx *ctx, in pvscsi_create_sg()
353 struct pvscsi_ctx *ctx, struct scsi_cmnd *cmd, in pvscsi_map_buffers()
390 struct pvscsi_ctx *ctx) in pvscsi_unmap_buffers()
521 struct pvscsi_ctx *ctx; in pvscsi_complete_request() local
656 struct pvscsi_ctx *ctx, struct scsi_cmnd *cmd) in pvscsi_queue_ring()
[all …]

12345