Home
last modified time | relevance | path

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

1234

/linux-4.1.27/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
287 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access() local
314 struct spu_context *ctx = file->private_data; in spufs_mem_mmap() local
344 struct spu_context *ctx = file->private_data; in spufs_get_unmapped_area() local
375 struct spu_context *ctx = vma->vm_file->private_data; in spufs_ps_fault() 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.1.27/arch/mips/net/
Dbpf_jit.c157 #define emit_instr(ctx, func, ...) \ argument
170 #define emit_long_instr(ctx, func, ...) \ argument
186 unsigned int src2, struct jit_ctx *ctx) in emit_addu()
191 static inline void emit_nop(struct jit_ctx *ctx) in emit_nop()
197 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) in emit_load_imm()
218 unsigned int src2, struct jit_ctx *ctx) in emit_or()
224 struct jit_ctx *ctx) in emit_ori()
235 int imm, struct jit_ctx *ctx) in emit_daddiu()
245 u32 imm, struct jit_ctx *ctx) in emit_addiu()
256 unsigned int src2, struct jit_ctx *ctx) in emit_and()
[all …]
/linux-4.1.27/drivers/gpu/drm/
Ddrm_modeset_lock.c74 struct drm_modeset_acquire_ctx *ctx; in __drm_modeset_lock_all() local
144 struct drm_modeset_acquire_ctx *ctx = config->acquire_ctx; in drm_modeset_unlock_all() local
175 struct drm_modeset_acquire_ctx *ctx; in drm_modeset_lock_crtc() local
248 struct drm_modeset_acquire_ctx *ctx = crtc->acquire_ctx; in drm_modeset_unlock_crtc() local
288 void drm_modeset_acquire_init(struct drm_modeset_acquire_ctx *ctx, in drm_modeset_acquire_init()
301 void drm_modeset_acquire_fini(struct drm_modeset_acquire_ctx *ctx) in drm_modeset_acquire_fini()
313 void drm_modeset_drop_locks(struct drm_modeset_acquire_ctx *ctx) in drm_modeset_drop_locks()
328 struct drm_modeset_acquire_ctx *ctx, in modeset_lock()
367 static int modeset_backoff(struct drm_modeset_acquire_ctx *ctx, in modeset_backoff()
390 void drm_modeset_backoff(struct drm_modeset_acquire_ctx *ctx) in drm_modeset_backoff()
[all …]
Ddrm_context.c305 struct drm_ctx ctx; in drm_legacy_resctx() local
336 struct drm_ctx *ctx = data; in drm_legacy_addctx() local
379 struct drm_ctx *ctx = data; in drm_legacy_getctx() local
401 struct drm_ctx *ctx = data; in drm_legacy_switchctx() local
421 struct drm_ctx *ctx = data; in drm_legacy_newctx() local
443 struct drm_ctx *ctx = data; in drm_legacy_rmctx() local
/linux-4.1.27/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()
196 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5()
203 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5()
245 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5()
263 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5()
270 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5()
277 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5()
319 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()
253 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6()
259 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6()
309 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6()
357 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6()
383 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6()
402 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6()
424 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
665 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()
823 static int enc_pre_frame_start(struct s5p_mfc_ctx *ctx) in enc_pre_frame_start()
851 static int enc_post_frame_start(struct s5p_mfc_ctx *ctx) in enc_post_frame_start()
1000 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() local
1085 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() local
1138 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() local
1214 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
191 static void s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_all_extracted()
220 static void s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_copy_time()
271 static void s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) in s5p_mfc_handle_frame_new()
324 static void s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, in s5p_mfc_handle_frame()
[all …]
/linux-4.1.27/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
258 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.1.27/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
185 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_open_pcm_stream() local
204 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_open() local
230 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_close() local
266 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_ack() local
297 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_set_metadata() local
316 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.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxnv50.c177 nv50_grctx_generate(struct nvkm_grctx *ctx) in nv50_grctx_generate()
269 struct nvkm_grctx ctx = { in nv50_grctx_init() local
297 nv50_gr_construct_mmio(struct nvkm_grctx *ctx) in nv50_gr_construct_mmio()
785 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()
1187 nv50_gr_construct_xfer1(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer1()
1350 nv50_gr_construct_gene_dispatch(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_dispatch()
1406 nv50_gr_construct_gene_m2mf(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_m2mf()
1458 nv50_gr_construct_gene_ccache(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_ccache()
[all …]
Dctxnv40.h23 cp_out(struct nvkm_grctx *ctx, u32 inst) in cp_out()
35 cp_lsr(struct nvkm_grctx *ctx, u32 val) in cp_lsr()
41 cp_ctx(struct nvkm_grctx *ctx, u32 reg, u32 length) in cp_ctx()
57 cp_name(struct nvkm_grctx *ctx, int name) in cp_name()
77 _cp_bra(struct nvkm_grctx *ctx, u32 mod, int flag, int state, int name) in _cp_bra()
95 _cp_wait(struct nvkm_grctx *ctx, int flag, int state) in _cp_wait()
102 _cp_set(struct nvkm_grctx *ctx, int flag, int state) in _cp_set()
109 cp_pos(struct nvkm_grctx *ctx, int offset) in cp_pos()
119 gr_def(struct nvkm_grctx *ctx, u32 reg, u32 val) in gr_def()
Dctxnv40.c160 nv40_gr_construct_general(struct nvkm_grctx *ctx) in nv40_gr_construct_general()
266 nv40_gr_construct_state3d(struct nvkm_grctx *ctx) in nv40_gr_construct_state3d()
371 nv40_gr_construct_state3d_2(struct nvkm_grctx *ctx) in nv40_gr_construct_state3d_2()
535 nv40_gr_construct_state3d_3(struct nvkm_grctx *ctx) in nv40_gr_construct_state3d_3()
550 nv40_gr_construct_shader(struct nvkm_grctx *ctx) in nv40_gr_construct_shader()
597 nv40_grctx_generate(struct nvkm_grctx *ctx) in nv40_grctx_generate()
675 struct nvkm_grctx ctx = { in nv40_grctx_init() local
/linux-4.1.27/drivers/gpu/drm/panel/
Dpanel-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-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.1.27/drivers/net/wireless/iwlwifi/dvm/
Drxon.c38 struct iwl_rxon_context *ctx) in iwl_connection_init_rx_config()
99 struct iwl_rxon_context *ctx, in iwlagn_disable_bss()
119 struct iwl_rxon_context *ctx, in iwlagn_disable_pan()
156 struct iwl_rxon_context *ctx, in iwlagn_disconn_pan()
172 struct iwl_rxon_context *ctx) in iwlagn_update_qos()
212 struct iwl_rxon_context *ctx) in iwlagn_send_rxon_assoc()
292 struct iwl_rxon_context *ctx) in iwl_send_rxon_timing()
360 struct iwl_rxon_context *ctx) in iwlagn_rxon_disconn()
406 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_set_tx_power() local
460 struct iwl_rxon_context *ctx) in iwlagn_rxon_connect()
[all …]
Dsta.c175 struct iwl_rxon_context *ctx, in iwl_is_ht40_tx_allowed()
195 struct iwl_rxon_context *ctx, in iwl_sta_calc_ht_flags()
241 int iwl_sta_update_ht(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_sta_update_ht()
269 struct iwl_rxon_context *ctx) in iwl_set_ht_add_station()
285 u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_prep_station()
372 int iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_add_station_common()
602 static void iwl_sta_fill_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_sta_fill_lq()
661 struct iwl_rxon_context *ctx) in iwl_clear_ucode_stations()
695 void iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx) in iwl_restore_stations()
836 struct iwl_rxon_context *ctx, in is_lq_table_valid()
[all …]
Dmac80211.c102 struct iwl_rxon_context *ctx; in iwlagn_mac_setup_register() local
234 struct iwl_rxon_context *ctx; in __iwl_up() local
359 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_suspend() local
423 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_resume() local
603 struct iwl_rxon_context *ctx = vif_priv->ctx; in iwlagn_mac_set_key() local
959 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_channel_switch() local
1033 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_chswitch_done() local
1052 struct iwl_rxon_context *ctx; in iwlagn_configure_filter() local
1178 struct iwl_rxon_context *ctx = vif_priv->ctx; in iwlagn_mac_conf_tx() local
1223 static int iwl_set_mode(struct iwl_priv *priv, struct iwl_rxon_context *ctx) in iwl_set_mode()
[all …]
/linux-4.1.27/drivers/staging/skein/
Dskein_base.c23 int skein_256_init(struct skein_256_ctx *ctx, size_t hash_bit_len) in skein_256_init()
80 int skein_256_init_ext(struct skein_256_ctx *ctx, size_t hash_bit_len, in skein_256_init_ext()
139 int skein_256_update(struct skein_256_ctx *ctx, const u8 *msg, in skein_256_update()
194 int skein_256_final(struct skein_256_ctx *ctx, u8 *hash_val) in skein_256_final()
245 int skein_512_init(struct skein_512_ctx *ctx, size_t hash_bit_len) in skein_512_init()
306 int skein_512_init_ext(struct skein_512_ctx *ctx, size_t hash_bit_len, in skein_512_init_ext()
364 int skein_512_update(struct skein_512_ctx *ctx, const u8 *msg, in skein_512_update()
419 int skein_512_final(struct skein_512_ctx *ctx, u8 *hash_val) in skein_512_final()
470 int skein_1024_init(struct skein_1024_ctx *ctx, size_t hash_bit_len) in skein_1024_init()
525 int skein_1024_init_ext(struct skein_1024_ctx *ctx, size_t hash_bit_len, in skein_1024_init_ext()
[all …]
Dskein_api.c30 int skein_ctx_prepare(struct skein_ctx *ctx, enum skein_size size) in skein_ctx_prepare()
40 int skein_init(struct skein_ctx *ctx, size_t hash_bit_len) in skein_init()
84 int skein_mac_init(struct skein_ctx *ctx, const u8 *key, size_t key_len, in skein_mac_init()
128 void skein_reset(struct skein_ctx *ctx) in skein_reset()
147 int skein_update(struct skein_ctx *ctx, const u8 *msg, in skein_update()
172 int skein_update_bits(struct skein_ctx *ctx, const u8 *msg, in skein_update_bits()
221 int skein_final(struct skein_ctx *ctx, u8 *hash) in skein_final()
/linux-4.1.27/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 …]
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()
328 struct kioctx *ctx; in aio_ring_remap() local
354 struct kioctx *ctx; in aio_migratepage() local
427 static int aio_setup_ring(struct kioctx *ctx) in aio_setup_ring()
527 struct kioctx *ctx = req->ki_ctx; in kiocb_set_cancel_fn() local
564 struct kioctx *ctx = container_of(work, struct kioctx, free_work); in free_ioctx() local
577 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs() local
594 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.1.27/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.c75 struct decon_context *ctx = crtc->ctx; in decon_wait_for_vblank() local
92 static void decon_clear_channel(struct decon_context *ctx) in decon_clear_channel()
119 static int decon_ctx_initialize(struct decon_context *ctx, in decon_ctx_initialize()
146 static void decon_ctx_remove(struct decon_context *ctx) in decon_ctx_remove()
153 static u32 decon_calc_clkdiv(struct decon_context *ctx, in decon_calc_clkdiv()
177 struct decon_context *ctx = crtc->ctx; in decon_commit() local
242 struct decon_context *ctx = crtc->ctx; in decon_enable_vblank() local
267 struct decon_context *ctx = crtc->ctx; in decon_disable_vblank() local
284 static void decon_win_set_pixfmt(struct decon_context *ctx, unsigned int win) in decon_win_set_pixfmt()
361 static void decon_win_set_colkey(struct decon_context *ctx, unsigned int win) in decon_win_set_colkey()
[all …]
Dexynos_drm_vidi.c89 struct vidi_context *ctx = crtc->ctx; in vidi_enable_vblank() local
111 struct vidi_context *ctx = crtc->ctx; in vidi_disable_vblank() local
122 struct vidi_context *ctx = crtc->ctx; in vidi_win_commit() local
143 struct vidi_context *ctx = crtc->ctx; in vidi_win_disable() local
155 static int vidi_power_on(struct vidi_context *ctx, bool enable) in vidi_power_on()
186 struct vidi_context *ctx = crtc->ctx; in vidi_dpms() local
209 static int vidi_ctx_initialize(struct vidi_context *ctx, in vidi_ctx_initialize()
230 struct vidi_context *ctx = container_of(work, struct vidi_context, in vidi_fake_vblank_handler() local
256 struct vidi_context *ctx = dev_get_drvdata(dev); in vidi_show_connection() local
272 struct vidi_context *ctx = dev_get_drvdata(dev); in vidi_store_connection() 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
606 struct gsc_context *ctx = get_gsc_context(dev); in gsc_src_set_size() local
662 static int gsc_src_set_buf_seq(struct gsc_context *ctx, u32 buf_id, in gsc_src_set_buf_seq()
701 struct gsc_context *ctx = get_gsc_context(dev); in gsc_src_set_addr() local
753 struct gsc_context *ctx = get_gsc_context(dev); in gsc_dst_set_fmt() local
823 struct gsc_context *ctx = get_gsc_context(dev); in gsc_dst_set_transf() local
[all …]
Dexynos_drm_fimd.c201 struct fimd_context *ctx = crtc->ctx; in fimd_wait_for_vblank() local
218 static void fimd_enable_video_output(struct fimd_context *ctx, unsigned int win, in fimd_enable_video_output()
231 static void fimd_enable_shadow_channel_path(struct fimd_context *ctx, in fimd_enable_shadow_channel_path()
245 static void fimd_clear_channel(struct fimd_context *ctx) in fimd_clear_channel()
276 static int fimd_iommu_attach_devices(struct fimd_context *ctx, in fimd_iommu_attach_devices()
300 static void fimd_iommu_detach_devices(struct fimd_context *ctx) in fimd_iommu_detach_devices()
307 static u32 fimd_calc_clkdiv(struct fimd_context *ctx, in fimd_calc_clkdiv()
339 struct fimd_context *ctx = crtc->ctx; in fimd_commit() local
439 struct fimd_context *ctx = crtc->ctx; in fimd_enable_vblank() local
471 struct fimd_context *ctx = crtc->ctx; in fimd_disable_vblank() local
[all …]
Dexynos_drm_dpi.c47 struct exynos_dpi *ctx = connector_to_dpi(connector); in exynos_dpi_detect() local
70 struct exynos_dpi *ctx = connector_to_dpi(connector); in exynos_dpi_get_modes() local
96 struct exynos_dpi *ctx = connector_to_dpi(connector); in exynos_dpi_best_encoder() local
109 struct exynos_dpi *ctx = display_to_dpi(display); in exynos_dpi_create_connector() local
132 static void exynos_dpi_poweron(struct exynos_dpi *ctx) in exynos_dpi_poweron()
140 static void exynos_dpi_poweroff(struct exynos_dpi *ctx) in exynos_dpi_poweroff()
150 struct exynos_dpi *ctx = display_to_dpi(display); in exynos_dpi_dpms() local
262 static int exynos_dpi_parse_dt(struct exynos_dpi *ctx) in exynos_dpi_parse_dt()
300 struct exynos_dpi *ctx; in exynos_dpi_probe() local
343 struct exynos_dpi *ctx = display_to_dpi(display); in exynos_dpi_remove() local
Dexynos_mixer.c167 static void mixer_regs_dump(struct mixer_context *ctx) in mixer_regs_dump()
199 static void vp_regs_dump(struct mixer_context *ctx) in vp_regs_dump()
256 static void mixer_vsync_set_update(struct mixer_context *ctx, bool enable) in mixer_vsync_set_update()
269 static void mixer_cfg_scan(struct mixer_context *ctx, unsigned int height) in mixer_cfg_scan()
295 static void mixer_cfg_rgb_fmt(struct mixer_context *ctx, unsigned int height) in mixer_cfg_rgb_fmt()
336 static void mixer_cfg_layer(struct mixer_context *ctx, unsigned int win, in mixer_cfg_layer()
364 static void mixer_run(struct mixer_context *ctx) in mixer_run()
371 static void mixer_stop(struct mixer_context *ctx) in mixer_stop()
383 static void vp_video_buffer(struct mixer_context *ctx, unsigned int win) in vp_video_buffer()
484 static void mixer_layer_update(struct mixer_context *ctx) in mixer_layer_update()
[all …]
/linux-4.1.27/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()
225 void coda_fill_bitstream(struct coda_ctx *ctx, bool streaming) in coda_fill_bitstream()
287 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()
381 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap() local
424 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() local
445 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat()
472 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage()
484 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt()
544 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap() local
593 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out() local
620 static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f) in coda_s_fmt()
658 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap() local
[all …]
/linux-4.1.27/arch/arm/net/
Dbpf_jit_32.c116 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) in _emit()
130 static inline void emit(u32 inst, struct jit_ctx *ctx) in emit()
135 static u16 saved_regs(struct jit_ctx *ctx) in saved_regs()
159 static inline int mem_words_used(struct jit_ctx *ctx) in mem_words_used()
173 static void build_prologue(struct jit_ctx *ctx) in build_prologue()
213 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
252 static u16 imm_offset(u32 k, struct jit_ctx *ctx) in imm_offset()
300 static inline void emit_mov_i_no8m(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m()
311 static inline void emit_mov_i(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i()
323 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32()
[all …]
/linux-4.1.27/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
223 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_queue() local
276 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_fmt_mplane() local
286 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()
268 struct fimc_ctx *ctx = q->drv_priv; in start_streaming() local
299 struct fimc_ctx *ctx = q->drv_priv; in stop_streaming() local
352 struct fimc_ctx *ctx = vq->drv_priv; in queue_setup() local
390 struct fimc_ctx *ctx = vq->drv_priv; in buffer_prepare() local
415 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() local
583 static struct fimc_fmt *fimc_capture_try_format(struct fimc_ctx *ctx, in fimc_capture_try_format()
660 static void fimc_capture_try_selection(struct fimc_ctx *ctx, in fimc_capture_try_selection()
780 static int fimc_pipeline_try_format(struct fimc_ctx *ctx, in fimc_pipeline_try_format()
[all …]
/linux-4.1.27/drivers/misc/cxl/
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
146 int cxl_context_iomap(struct cxl_context *ctx, struct vm_area_struct *vma) in cxl_context_iomap()
177 static void __detach_context(struct cxl_context *ctx) in __detach_context()
200 void cxl_context_detach(struct cxl_context *ctx) in cxl_context_detach()
210 struct cxl_context *ctx; in cxl_context_detach_all() local
235 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
222 static void cxl_prefault_one(struct cxl_context *ctx, u64 ea) in cxl_prefault_one()
256 static void cxl_prefault_vma(struct cxl_context *ctx) in cxl_prefault_vma()
298 void cxl_prefault(struct cxl_context *ctx, u64 wed) in cxl_prefault()
Dnative.c269 static void slb_invalid(struct cxl_context *ctx) in slb_invalid()
289 static int do_process_element_cmd(struct cxl_context *ctx, in do_process_element_cmd()
335 static int add_process_element(struct cxl_context *ctx) in add_process_element()
348 static int terminate_process_element(struct cxl_context *ctx) in terminate_process_element()
366 static int remove_process_element(struct cxl_context *ctx) in remove_process_element()
382 static void assign_psn_space(struct cxl_context *ctx) in assign_psn_space()
433 static int attach_afu_directed(struct cxl_context *ctx, u64 wed, u64 amr) in attach_afu_directed()
530 static int attach_dedicated(struct cxl_context *ctx, u64 wed, u64 amr) in attach_dedicated()
618 int cxl_attach_process(struct cxl_context *ctx, bool kernel, u64 wed, u64 amr) in cxl_attach_process()
630 static inline int detach_process_native_dedicated(struct cxl_context *ctx) in detach_process_native_dedicated()
[all …]
Dfile.c52 struct cxl_context *ctx; in __afu_open() local
111 struct cxl_context *ctx = file->private_data; in afu_release() local
135 static long afu_ioctl_start_work(struct cxl_context *ctx, in afu_ioctl_start_work()
204 static long afu_ioctl_process_element(struct cxl_context *ctx, in afu_ioctl_process_element()
217 struct cxl_context *ctx = file->private_data; in afu_ioctl() local
240 struct cxl_context *ctx = file->private_data; in afu_mmap() local
251 struct cxl_context *ctx = file->private_data; in afu_poll() local
275 static inline int ctx_event_pending(struct cxl_context *ctx) in ctx_event_pending()
284 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
407 void afu_irq_name_free(struct cxl_context *ctx) in afu_irq_name_free()
418 int afu_register_irqs(struct cxl_context *ctx, u32 count) in afu_register_irqs()
479 void afu_release_irqs(struct cxl_context *ctx) in afu_release_irqs()
/linux-4.1.27/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
114 struct cdc_ncm_ctx *ctx = drvstate->ctx; in huawei_cdc_ncm_unbind() local
129 struct cdc_ncm_ctx *ctx = drvstate->ctx; in huawei_cdc_ncm_suspend() local
157 struct cdc_ncm_ctx *ctx = drvstate->ctx; in huawei_cdc_ncm_resume() local
Dcdc_mbim.c32 struct cdc_ncm_ctx *ctx; member
142 struct cdc_ncm_ctx *ctx; in cdc_mbim_bind() local
198 struct cdc_ncm_ctx *ctx = info->ctx; in cdc_mbim_unbind() local
224 struct cdc_ncm_ctx *ctx = info->ctx; in cdc_mbim_tx_fixup() local
414 struct cdc_ncm_ctx *ctx = info->ctx; in cdc_mbim_rx_fixup() local
509 struct cdc_ncm_ctx *ctx = info->ctx; in cdc_mbim_suspend() local
537 struct cdc_ncm_ctx *ctx = info->ctx; in cdc_mbim_resume() local
/linux-4.1.27/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.1.27/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
137 struct g2d_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in g2d_buf_queue() local
150 struct g2d_ctx *ctx = priv; in queue_init() local
180 struct g2d_ctx *ctx = container_of(ctrl->handler, struct g2d_ctx, in g2d_s_ctrl() local
206 static int g2d_setup_ctrls(struct g2d_ctx *ctx) in g2d_setup_ctrls()
241 struct g2d_ctx *ctx = NULL; in g2d_open() local
282 struct g2d_ctx *ctx = fh2ctx(file->private_data); in g2d_release() local
317 struct g2d_ctx *ctx = prv; in vidioc_g_fmt() local
[all …]
/linux-4.1.27/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()
306 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common() local
335 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_encrypt() local
348 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_decrypt() local
361 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_encrypt() local
368 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_decrypt() local
377 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.c69 void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in __serpent_crypt_ctr()
81 void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_enc()
88 void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_dec()
218 struct serpent_ctx *ctx; member
225 struct crypt_priv *ctx = priv; in encrypt_callback() local
242 struct crypt_priv *ctx = priv; in decrypt_callback() local
259 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_setkey() local
275 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
301 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
326 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 …]
Dcast6_avx_glue.c60 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc()
66 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec()
72 static void cast6_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_crypt_ctr()
205 struct cast6_ctx *ctx; member
212 struct crypt_priv *ctx = priv; in encrypt_callback() local
229 struct crypt_priv *ctx = priv; in decrypt_callback() local
251 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_cast6_setkey() local
265 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
291 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
316 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_exit_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 …]
Dtwofish_avx_glue.c66 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way()
72 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc()
78 static void twofish_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_dec()
219 struct twofish_ctx *ctx; member
226 struct crypt_priv *ctx = priv; in encrypt_callback() local
248 struct crypt_priv *ctx = priv; in decrypt_callback() local
270 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
296 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
322 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
332 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() local
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
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 …]
Dcamellia_aesni_avx_glue.c54 void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_enc()
61 void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_dec()
210 struct camellia_ctx *ctx; member
217 struct crypt_priv *ctx = priv; in encrypt_callback() local
241 struct crypt_priv *ctx = priv; in decrypt_callback() local
265 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
291 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
317 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
327 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.c184 struct serpent_ctx *ctx; member
191 struct crypt_priv *ctx = priv; in encrypt_callback() local
215 struct crypt_priv *ctx = priv; in decrypt_callback() local
239 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
265 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
291 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
301 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.c206 struct camellia_ctx *ctx; member
213 struct crypt_priv *ctx = priv; in encrypt_callback() local
243 struct crypt_priv *ctx = priv; in decrypt_callback() local
273 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local
299 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local
325 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() local
335 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.1.27/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
302 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.1.27/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.1.27/crypto/
Dchainiv.c51 struct chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in chainiv_givencrypt() local
86 struct chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in chainiv_givencrypt_first() local
116 struct chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in chainiv_init() local
123 static int async_chainiv_schedule_work(struct async_chainiv_ctx *ctx) in async_chainiv_schedule_work()
147 struct async_chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in async_chainiv_postpone_request() local
164 struct async_chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in async_chainiv_givencrypt_tail() local
184 struct async_chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in async_chainiv_givencrypt() local
211 struct async_chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in async_chainiv_givencrypt_first() local
237 struct async_chainiv_ctx *ctx = container_of(work, in async_chainiv_do_postponed() local
266 struct async_chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in async_chainiv_init() local
[all …]
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
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
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
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
Dauthenc.c88 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey() local
127 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in authenc_geniv_ahash_update_done() local
156 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in authenc_geniv_ahash_done() local
179 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in authenc_verify_ahash_update_done() local
228 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in authenc_verify_ahash_done() local
262 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_ahash_fb() local
301 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_ahash() local
382 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt_done() local
397 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt() local
438 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_givencrypt() local
[all …]
Dauthencesn.c62 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_setkey() local
101 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in authenc_esn_geniv_ahash_update_done() local
141 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in authenc_esn_geniv_ahash_update_done2() local
172 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in authenc_esn_geniv_ahash_done() local
196 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in authenc_esn_verify_ahash_update_done() local
257 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in authenc_esn_verify_ahash_update_done2() local
307 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in authenc_esn_verify_ahash_done() local
342 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_ahash() local
459 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_encrypt_done() local
473 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_encrypt() local
[all …]
Dalgif_skcipher.c71 #define GET_SREQ(areq, ctx) (struct skcipher_async_req *)((char *)areq + \ argument
74 #define GET_REQ_SIZE(ctx) \ argument
77 #define GET_IV_SIZE(ctx) \ argument
107 struct skcipher_ctx *ctx = ask->private; in skcipher_async_cb() local
120 struct skcipher_ctx *ctx = ask->private; in skcipher_sndbuf() local
134 struct skcipher_ctx *ctx = ask->private; in skcipher_alloc_sgl() local
164 struct skcipher_ctx *ctx = ask->private; in skcipher_pull_sgl() local
206 struct skcipher_ctx *ctx = ask->private; in skcipher_free_sgl() local
257 struct skcipher_ctx *ctx = ask->private; in skcipher_wait_for_data() local
288 struct skcipher_ctx *ctx = ask->private; in skcipher_data_wakeup() local
[all …]
Dalgif_aead.c59 struct aead_ctx *ctx = ask->private; in aead_sndbuf() local
70 static inline bool aead_sufficient_data(struct aead_ctx *ctx) in aead_sufficient_data()
80 struct aead_ctx *ctx = ask->private; in aead_put_sgl() local
118 struct aead_ctx *ctx = ask->private; in aead_wait_for_data() local
148 struct aead_ctx *ctx = ask->private; in aead_data_wakeup() local
170 struct aead_ctx *ctx = ask->private; in aead_sendmsg() local
303 struct aead_ctx *ctx = ask->private; in aead_sendpage() local
354 struct aead_ctx *ctx = ask->private; in aead_recvmsg() local
527 struct aead_ctx *ctx = ask->private; in aead_poll() local
587 struct aead_ctx *ctx = ask->private; in aead_sock_destruct() 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
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
Dcryptd.c188 struct cryptd_blkcipher_ctx *ctx = crypto_ablkcipher_ctx(parent); in cryptd_blkcipher_setkey() local
233 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(req->tfm); in cryptd_blkcipher_encrypt() local
242 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(req->tfm); in cryptd_blkcipher_decrypt() local
278 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_blkcipher_init_tfm() local
293 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_blkcipher_exit_tfm() local
335 struct cryptd_instance_ctx *ctx; in cryptd_create_blkcipher() local
399 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_hash_init_tfm() local
415 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_hash_exit_tfm() local
423 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in cryptd_hash_setkey() local
452 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); in cryptd_hash_init() local
[all …]
Dseqiv.c84 static void seqiv_geniv(struct seqiv_ctx *ctx, u8 *info, u64 seq, in seqiv_geniv()
101 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_givencrypt() local
146 struct seqiv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_givencrypt() local
192 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_givencrypt_first() local
215 struct seqiv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_givencrypt_first() local
238 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_init() local
250 struct seqiv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_init() 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
Dpcrypt.c104 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setkey() local
112 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setauthsize() local
165 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_encrypt() local
207 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_decrypt() local
250 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_givencrypt() local
278 struct pcrypt_aead_ctx *ctx = crypto_tfm_ctx(tfm); in pcrypt_aead_init_tfm() local
304 struct pcrypt_aead_ctx *ctx = crypto_tfm_ctx(tfm); in pcrypt_aead_exit_tfm() local
312 struct pcrypt_instance_ctx *ctx; in pcrypt_alloc_instance() local
402 struct pcrypt_instance_ctx *ctx = crypto_instance_ctx(inst); in pcrypt_free() local
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
Dccm.c79 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_setkey() local
249 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_auth() local
306 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_encrypt() local
376 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_decrypt() local
436 struct crypto_ccm_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ccm_init_tfm() local
469 struct crypto_ccm_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ccm_exit_tfm() local
596 struct ccm_instance_ctx *ctx = crypto_instance_ctx(inst); in crypto_ccm_free() local
641 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey() local
664 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize() local
682 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4309_crypt() local
[all …]
D842.c52 struct nx842_ctx *ctx = crypto_tfm_ctx(tfm); in nx842_init() local
65 struct nx842_ctx *ctx = crypto_tfm_ctx(tfm); in nx842_exit() local
80 struct nx842_ctx *ctx = crypto_tfm_ctx(tfm); in nx842_crypto_compress() local
122 struct nx842_ctx *ctx = crypto_tfm_ctx(tfm); in nx842_crypto_decompress() local
Dcrc32c_generic.c64 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_init() local
92 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_update() local
100 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_final() local
115 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_finup() local
Dgcm.c107 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_setkey() local
194 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_init_crypt() local
463 struct crypto_gcm_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in gcm_hash() local
655 struct crypto_gcm_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_gcm_init_tfm() local
691 struct crypto_gcm_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_gcm_exit_tfm() local
707 struct gcm_instance_ctx *ctx; in crypto_gcm_alloc_common() local
816 struct gcm_instance_ctx *ctx = crypto_instance_ctx(inst); in crypto_gcm_free() local
861 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setkey() local
884 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setauthsize() local
902 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4106_crypt() local
[all …]
Dlzo.c32 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_init() local
46 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_exit() local
54 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_compress() local
Dlz4.c33 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_init() local
44 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_exit() local
51 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_compress_crypto() local
/linux-4.1.27/drivers/infiniband/core/
Ducma.c95 struct ucma_context *ctx; member
105 struct ucma_context *ctx; member
119 struct ucma_context *ctx; in _ucma_find_context() local
131 struct ucma_context *ctx; in ucma_get_ctx() local
141 static void ucma_put_ctx(struct ucma_context *ctx) in ucma_put_ctx()
149 struct ucma_context *ctx; in ucma_alloc_ctx() local
174 static struct ucma_multicast* ucma_alloc_multicast(struct ucma_context *ctx) in ucma_alloc_multicast()
225 static void ucma_set_event_context(struct ucma_context *ctx, in ucma_set_event_context()
249 struct ucma_context *ctx = cm_id->context; in ucma_event_handler() local
295 struct ucma_context *ctx; in ucma_get_event() 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.1.27/fs/ext4/
Dcrypto.c67 void ext4_release_crypto_ctx(struct ext4_crypto_ctx *ctx) in ext4_release_crypto_ctx()
99 struct ext4_crypto_ctx *ctx = kzalloc(sizeof(struct ext4_crypto_ctx), in ext4_alloc_and_init_crypto_ctx() local
118 struct ext4_crypto_ctx *ctx = NULL; in ext4_get_crypto_ctx() local
252 struct ext4_crypto_ctx *ctx; in ext4_init_crypto() local
279 struct ext4_crypto_ctx *ctx = in ext4_restore_control_page() local
308 static int ext4_page_crypto(struct ext4_crypto_ctx *ctx, in ext4_page_crypto()
405 struct ext4_crypto_ctx *ctx; in ext4_encrypt() local
455 int ext4_decrypt(struct ext4_crypto_ctx *ctx, struct page *page) in ext4_decrypt()
471 struct ext4_crypto_ctx *ctx = ext4_get_crypto_ctx(inode); in ext4_decrypt_one() local
482 struct ext4_crypto_ctx *ctx; in ext4_encrypted_zeroout() local
Dcrypto_fname.c58 static int ext4_fname_encrypt(struct ext4_fname_crypto_ctx *ctx, in ext4_fname_encrypt()
135 static int ext4_fname_decrypt(struct ext4_fname_crypto_ctx *ctx, in ext4_fname_decrypt()
261 void ext4_free_fname_crypto_ctx(struct ext4_fname_crypto_ctx *ctx) in ext4_free_fname_crypto_ctx()
285 void ext4_put_fname_crypto_ctx(struct ext4_fname_crypto_ctx **ctx) in ext4_put_fname_crypto_ctx()
308 struct ext4_fname_crypto_ctx *ctx; in ext4_alloc_fname_crypto_ctx() local
340 struct ext4_fname_crypto_ctx *ctx; in ext4_get_fname_crypto_ctx() local
470 int ext4_fname_crypto_namelen_on_disk(struct ext4_fname_crypto_ctx *ctx, in ext4_fname_crypto_namelen_on_disk()
494 int ext4_fname_crypto_alloc_buffer(struct ext4_fname_crypto_ctx *ctx, in ext4_fname_crypto_alloc_buffer()
532 int _ext4_fname_disk_to_usr(struct ext4_fname_crypto_ctx *ctx, in _ext4_fname_disk_to_usr()
571 int ext4_fname_disk_to_usr(struct ext4_fname_crypto_ctx *ctx, in ext4_fname_disk_to_usr()
[all …]
Dcrypto_policy.c32 struct ext4_encryption_context ctx; in ext4_is_encryption_context_consistent_with_policy() local
51 struct ext4_encryption_context ctx; in ext4_create_encryption_context_from_policy() local
108 struct ext4_encryption_context ctx; in ext4_get_policy() local
170 struct ext4_encryption_context ctx; in ext4_inherit_context() local
/linux-4.1.27/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.1.27/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.1.27/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()
769 struct s5p_jpeg_ctx *ctx; in s5p_jpeg_open() local
832 struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data); in s5p_jpeg_release() local
895 struct s5p_jpeg_ctx *ctx) in s5p_jpeg_parse_hdr()
991 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_querycap() local
1039 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_cap() local
1052 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_out() local
1062 static struct s5p_jpeg_q_data *get_q_data(struct s5p_jpeg_ctx *ctx, in get_q_data()
1106 static struct s5p_jpeg_fmt *s5p_jpeg_find_format(struct s5p_jpeg_ctx *ctx, in s5p_jpeg_find_format()
[all …]
/linux-4.1.27/drivers/clk/samsung/
Dclk.c58 struct samsung_clk_provider *ctx; in samsung_clk_init() local
82 struct samsung_clk_provider *ctx) in samsung_clk_of_add_provider()
92 void samsung_clk_add_lookup(struct samsung_clk_provider *ctx, struct clk *clk, in samsung_clk_add_lookup()
100 void __init samsung_clk_register_alias(struct samsung_clk_provider *ctx, in samsung_clk_register_alias()
134 void __init samsung_clk_register_fixed_rate(struct samsung_clk_provider *ctx, in samsung_clk_register_fixed_rate()
163 void __init samsung_clk_register_fixed_factor(struct samsung_clk_provider *ctx, in samsung_clk_register_fixed_factor()
183 void __init samsung_clk_register_mux(struct samsung_clk_provider *ctx, in samsung_clk_register_mux()
215 void __init samsung_clk_register_div(struct samsung_clk_provider *ctx, in samsung_clk_register_div()
254 void __init samsung_clk_register_gate(struct samsung_clk_provider *ctx, in samsung_clk_register_gate()
288 void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, in samsung_clk_of_register_fixed_ext()
[all …]
/linux-4.1.27/crypto/asymmetric_keys/
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 …]
Dpkcs7_parser.c88 struct pkcs7_parse_context *ctx; in pkcs7_parse_message() local
167 struct pkcs7_parse_context *ctx = context; in pkcs7_note_OID() local
186 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_digest_algo() local
215 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_pkey_algo() local
235 struct pkcs7_parse_context *ctx = context; in pkcs7_extract_cert() local
275 struct pkcs7_parse_context *ctx = context; in pkcs7_note_certificate_list() local
294 struct pkcs7_parse_context *ctx = context; in pkcs7_note_data() local
312 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_authenticated_attr() local
335 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_set_of_authattrs() local
350 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_serial() 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()
423 struct pefile_context ctx; in verify_pefile_signature() local
Dmscode_parser.c24 int mscode_parse(struct pefile_context *ctx) in mscode_parse()
82 struct pefile_context *ctx = context; in mscode_note_digest_algo() local
121 struct pefile_context *ctx = context; in mscode_note_digest() local
/linux-4.1.27/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.1.27/security/selinux/
Dxfrm.c61 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) in selinux_authorizable_ctx()
86 struct xfrm_sec_ctx *ctx = NULL; in selinux_xfrm_alloc_user() local
128 static void selinux_xfrm_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_free()
140 static int selinux_xfrm_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_delete()
156 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in selinux_xfrm_policy_lookup()
239 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_skb_sid_ingress() local
317 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_free()
325 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_delete()
348 struct xfrm_sec_ctx *ctx; in selinux_xfrm_state_alloc_acquire() local
416 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_sock_rcv_skb() local
/linux-4.1.27/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()
374 struct deinterlace_ctx *ctx = priv; in deinterlace_device_run() local
512 static int vidioc_g_fmt(struct deinterlace_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt()
574 struct deinterlace_ctx *ctx = priv; in vidioc_try_fmt_vid_cap() local
609 static int vidioc_s_fmt(struct deinterlace_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt()
673 struct deinterlace_ctx *ctx = priv; in vidioc_s_fmt_vid_out() local
[all …]
Dvim2m.c187 static struct vim2m_q_data *get_q_data(struct vim2m_ctx *ctx, in get_q_data()
202 static int device_process(struct vim2m_ctx *ctx, in device_process()
351 struct vim2m_ctx *ctx = priv; in job_ready() local
364 struct vim2m_ctx *ctx = priv; in job_abort() local
378 struct vim2m_ctx *ctx = priv; in device_run() local
482 static int vidioc_g_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt()
542 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_cap() local
564 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_out() local
583 static int vidioc_s_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt()
629 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.1.27/arch/s390/crypto/
Ddes_s390.c38 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_setkey() local
54 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_encrypt() local
61 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_decrypt() local
111 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_desall_crypt() local
147 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des_encrypt() local
158 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des_decrypt() local
242 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_setkey() local
258 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_encrypt() local
265 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_decrypt() local
293 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des3_encrypt() local
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/acpi/apei/
Derst.c122 static int erst_exec_load_var1(struct apei_exec_context *ctx, in erst_exec_load_var1()
128 static int erst_exec_load_var2(struct apei_exec_context *ctx, in erst_exec_load_var2()
134 static int erst_exec_store_var1(struct apei_exec_context *ctx, in erst_exec_store_var1()
140 static int erst_exec_add(struct apei_exec_context *ctx, in erst_exec_add()
147 static int erst_exec_subtract(struct apei_exec_context *ctx, in erst_exec_subtract()
154 static int erst_exec_add_value(struct apei_exec_context *ctx, in erst_exec_add_value()
168 static int erst_exec_subtract_value(struct apei_exec_context *ctx, in erst_exec_subtract_value()
182 static int erst_exec_stall(struct apei_exec_context *ctx, in erst_exec_stall()
199 static int erst_exec_stall_while_true(struct apei_exec_context *ctx, in erst_exec_stall_while_true()
229 struct apei_exec_context *ctx, in erst_exec_skip_next_instruction_if_true()
[all …]
Dapei-base.c56 void apei_exec_ctx_init(struct apei_exec_context *ctx, in apei_exec_ctx_init()
82 int apei_exec_read_register(struct apei_exec_context *ctx, in apei_exec_read_register()
97 int apei_exec_read_register_value(struct apei_exec_context *ctx, in apei_exec_read_register_value()
130 int apei_exec_write_register(struct apei_exec_context *ctx, in apei_exec_write_register()
137 int apei_exec_write_register_value(struct apei_exec_context *ctx, in apei_exec_write_register_value()
149 int apei_exec_noop(struct apei_exec_context *ctx, in apei_exec_noop()
160 int __apei_exec_run(struct apei_exec_context *ctx, u8 action, in __apei_exec_run()
210 static int apei_exec_for_each_entry(struct apei_exec_context *ctx, in apei_exec_for_each_entry()
239 static int pre_map_gar_callback(struct apei_exec_context *ctx, in pre_map_gar_callback()
255 int apei_exec_pre_map_gars(struct apei_exec_context *ctx) in apei_exec_pre_map_gars()
[all …]
Dapei-internal.h43 static inline void apei_exec_ctx_set_input(struct apei_exec_context *ctx, in apei_exec_ctx_set_input()
49 static inline u64 apei_exec_ctx_get_output(struct apei_exec_context *ctx) in apei_exec_ctx_get_output()
56 static inline int apei_exec_run(struct apei_exec_context *ctx, u8 action) in apei_exec_run()
62 static inline int apei_exec_run_optional(struct apei_exec_context *ctx, u8 action) in apei_exec_run_optional()
/linux-4.1.27/drivers/crypto/vmx/
Daes.c42 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_init() local
67 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_exit() local
79 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_setkey() local
94 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_encrypt() local
109 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
89 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(tfm); in p8_ghash_exit_tfm() local
99 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_init() local
112 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(tfm)); in p8_ghash_setkey() local
130 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_update() local
177 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
66 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_exit() local
78 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_setkey() local
90 static void p8_aes_ctr_final(struct p8_aes_ctr_ctx *ctx, in p8_aes_ctr_final()
116 struct p8_aes_ctr_ctx *ctx = crypto_tfm_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
68 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_exit() local
80 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_setkey() local
99 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx( in p8_aes_cbc_encrypt() local
135 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx( in p8_aes_cbc_decrypt() local
/linux-4.1.27/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.c91 static inline struct ahash_request *cast_mcryptd_ctx_to_req(struct mcryptd_hash_request_ctx *ctx) in cast_mcryptd_ctx_to_req()
137 …ic struct sha1_hash_ctx *sha1_ctx_mgr_resubmit(struct sha1_ctx_mgr *mgr, struct sha1_hash_ctx *ctx) in sha1_ctx_mgr_resubmit()
223 struct sha1_hash_ctx *ctx; in sha1_ctx_mgr_get_comp_ctx() local
235 struct sha1_hash_ctx *ctx, in sha1_ctx_mgr_submit()
325 struct sha1_hash_ctx *ctx; in sha1_ctx_mgr_flush() local
708 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_init() local
722 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_update() local
735 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_finup() local
748 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_final() local
759 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_digest() local
[all …]
/linux-4.1.27/drivers/staging/unisys/visorchipset/
Dparser.c49 struct parser_context *ctx = NULL; in parser_init_guts() local
157 parser_simpleString_get(struct parser_context *ctx) in parser_simpleString_get()
168 void *parser_byte_stream_get(struct parser_context *ctx, ulong *nbytes) in parser_byte_stream_get()
178 parser_id_get(struct parser_context *ctx) in parser_id_get()
189 parser_param_start(struct parser_context *ctx, PARSER_WHICH_STRING which_string) in parser_param_start()
222 parser_done(struct parser_context *ctx) in parser_done()
265 parser_param_get(struct parser_context *ctx, char *nam, int namesize) in parser_param_get()
400 parser_string_get(struct parser_context *ctx) in parser_string_get()
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dsec.c279 struct ptlrpc_cli_ctx *sptlrpc_cli_ctx_get(struct ptlrpc_cli_ctx *ctx) in sptlrpc_cli_ctx_get()
286 void sptlrpc_cli_ctx_put(struct ptlrpc_cli_ctx *ctx, int sync) in sptlrpc_cli_ctx_put()
305 void sptlrpc_cli_ctx_expire(struct ptlrpc_cli_ctx *ctx) in sptlrpc_cli_ctx_expire()
316 void sptlrpc_cli_ctx_wakeup(struct ptlrpc_cli_ctx *ctx) in sptlrpc_cli_ctx_wakeup()
330 int sptlrpc_cli_ctx_display(struct ptlrpc_cli_ctx *ctx, char *buf, int bufsize) in sptlrpc_cli_ctx_display()
569 int ctx_check_refresh(struct ptlrpc_cli_ctx *ctx) in ctx_check_refresh()
608 void req_off_ctx_list(struct ptlrpc_request *req, struct ptlrpc_cli_ctx *ctx) in req_off_ctx_list()
632 struct ptlrpc_cli_ctx *ctx = req->rq_cli_ctx; in sptlrpc_req_refresh_ctx() local
882 struct ptlrpc_cli_ctx *ctx; in sptlrpc_import_check_ctx() local
934 struct ptlrpc_cli_ctx *ctx = req->rq_cli_ctx; in sptlrpc_cli_wrap_request() 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
443 struct ptlrpc_cli_ctx *ctx; in plain_create_sec() local
488 struct ptlrpc_cli_ctx *ctx; in plain_lookup_ctx() local
504 struct ptlrpc_cli_ctx *ctx, int sync) in plain_release_ctx()
[all …]
/linux-4.1.27/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.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcommonring.c37 int (*cr_ring_bell)(void *ctx), in brcmf_commonring_register_cb()
38 int (*cr_update_rptr)(void *ctx), in brcmf_commonring_register_cb()
39 int (*cr_update_wptr)(void *ctx), in brcmf_commonring_register_cb()
40 int (*cr_write_rptr)(void *ctx), in brcmf_commonring_register_cb()
41 int (*cr_write_wptr)(void *ctx), void *ctx) in brcmf_commonring_register_cb()
/linux-4.1.27/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
314 struct regmap_mmio_context *ctx; in regmap_init_mmio_clk() local
340 struct regmap_mmio_context *ctx; in devm_regmap_init_mmio_clk() local
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/drm/i915/
Di915_gem_context.c138 struct intel_context *ctx = container_of(ctx_ref, in i915_gem_context_free() local
189 struct intel_context *ctx; in __create_hw_context() local
244 struct intel_context *ctx; in i915_gem_create_context() local
300 struct intel_context *ctx; in i915_gem_context_reset() local
330 struct intel_context *ctx; in i915_gem_context_init() local
446 struct intel_context *ctx = p; in context_idr_cleanup() local
455 struct intel_context *ctx; in i915_gem_context_open() local
482 struct intel_context *ctx; in i915_gem_context_get() local
851 struct intel_context *ctx; in i915_gem_context_create_ioctl() local
877 struct intel_context *ctx; in i915_gem_context_destroy_ioctl() local
[all …]
Dintel_lrc.c583 struct intel_context *ctx) in logical_ring_invalidate_all_caches()
603 struct intel_context *ctx, in execlists_move_to_gpu()
653 struct intel_context *ctx, in intel_execlists_submission()
759 struct intel_context *ctx = req->ctx; in intel_execlists_retire_requests() local
794 struct intel_context *ctx) in logical_ring_flush_all_caches()
821 struct intel_context *ctx, in intel_logical_ring_advance_and_submit()
835 struct intel_context *ctx) in intel_lr_context_pin()
866 struct intel_context *ctx) in intel_lr_context_unpin()
881 struct intel_context *ctx) in logical_ring_alloc_request()
937 struct intel_context *ctx = request->ctx; in logical_ring_wait_request() local
[all …]
/linux-4.1.27/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.c169 static void compute_aes_dec_key(struct mv_ctx *ctx) in compute_aes_dec_key()
198 struct mv_ctx *ctx = crypto_tfm_ctx(tfm); in mv_setkey_aes() local
256 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_process_current_q() local
388 static inline int mv_hash_import_sha1_ctx(const struct mv_req_hash_ctx *ctx, in mv_hash_import_sha1_ctx()
426 static void mv_save_digest_state(struct mv_req_hash_ctx *ctx) in mv_save_digest_state()
438 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_hash_algo_completion() local
549 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_start_new_hash_req() local
665 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_ecb() local
687 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_cbc() local
703 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
378 struct omap_sham_reqctx *ctx = ahash_request_ctx(dd->req); in omap_sham_write_ctrl_omap2() local
413 static int get_block_size(struct omap_sham_reqctx *ctx) in get_block_size()
447 struct omap_sham_reqctx *ctx = ahash_request_ctx(dd->req); in omap_sham_write_ctrl_omap4() local
510 struct omap_sham_reqctx *ctx = ahash_request_ctx(dd->req); in omap_sham_xmit_cpu() local
555 struct omap_sham_reqctx *ctx = ahash_request_ctx(dd->req); in omap_sham_xmit_dma() local
622 static size_t omap_sham_append_buffer(struct omap_sham_reqctx *ctx, in omap_sham_append_buffer()
636 static size_t omap_sham_append_sg(struct omap_sham_reqctx *ctx) in omap_sham_append_sg()
[all …]
Dpicoxcell_crypto.c201 static inline void __iomem *spacc_ctx_page_addr(struct spacc_generic_ctx *ctx, in spacc_ctx_page_addr()
220 static void spacc_cipher_write_ctx(struct spacc_generic_ctx *ctx, in spacc_cipher_write_ctx()
236 static unsigned spacc_load_ctx(struct spacc_generic_ctx *ctx, in spacc_load_ctx()
449 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_aead_des_setkey() local
469 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_aead_aes_setkey() local
496 struct spacc_aead_ctx *ctx = crypto_aead_ctx(tfm); in spacc_aead_setkey() local
532 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(crypto_aead_tfm(tfm)); in spacc_aead_setauthsize() local
550 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_aead_need_fallback() local
570 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(old_tfm); in spacc_aead_do_fallback() local
598 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_aead_submit() local
[all …]
/linux-4.1.27/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.1.27/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
Dauth_gss.c118 gss_get_ctx(struct gss_cl_ctx *ctx) in gss_get_ctx()
125 gss_put_ctx(struct gss_cl_ctx *ctx) in gss_put_ctx()
137 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx()
183 struct gss_cl_ctx *ctx = NULL; in gss_cred_get_ctx() local
196 struct gss_cl_ctx *ctx; in gss_alloc_context() local
210 gss_fill_context(const void *p, const void *end, struct gss_cl_ctx *ctx, struct gss_api_mech *gm) in gss_fill_context()
298 struct gss_cl_ctx *ctx; member
680 struct gss_cl_ctx *ctx; in gss_pipe_downcall() local
1211 struct gss_cl_ctx *ctx = rcu_dereference_protected(gss_cred->gc_ctx, 1); in gss_destroying_context() local
1236 gss_do_free_ctx(struct gss_cl_ctx *ctx) in gss_do_free_ctx()
[all …]
/linux-4.1.27/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.1.27/net/netfilter/
Dnf_tables_api.c91 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init()
109 static struct nft_trans *nft_trans_alloc(struct nft_ctx *ctx, int msg_type, in nft_trans_alloc()
142 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add()
157 static int nft_deltable(struct nft_ctx *ctx) in nft_deltable()
169 static int nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) in nft_trans_chain_add()
184 static int nft_delchain(struct nft_ctx *ctx) in nft_delchain()
229 nf_tables_delrule_deactivate(struct nft_ctx *ctx, struct nft_rule *rule) in nf_tables_delrule_deactivate()
240 static struct nft_trans *nft_trans_rule_add(struct nft_ctx *ctx, int msg_type, in nft_trans_rule_add()
255 static int nft_delrule(struct nft_ctx *ctx, struct nft_rule *rule) in nft_delrule()
273 static int nft_delrule_by_chain(struct nft_ctx *ctx) in nft_delrule_by_chain()
[all …]
/linux-4.1.27/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.1.27/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()
656 ww_mutex_deadlock_injection(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_deadlock_injection()
682 __ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock()
697 __ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible()
841 __ww_mutex_lock_slowpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_slowpath()
849 struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible_slowpath()
916 __ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock()
934 __ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible()
/linux-4.1.27/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()
142 static void build_prologue(struct jit_ctx *ctx) in build_prologue()
175 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
214 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx) in build_insn()
670 static int build_body(struct jit_ctx *ctx) in build_body()
708 struct jit_ctx ctx; in bpf_int_jit_compile() local
/linux-4.1.27/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.1.27/drivers/crypto/qat/qat_common/
Dqat_algs.c154 struct qat_alg_aead_ctx *ctx, in qat_alg_do_precomputes()
281 static int qat_alg_aead_init_enc_session(struct qat_alg_aead_ctx *ctx, in qat_alg_aead_init_enc_session()
361 static int qat_alg_aead_init_dec_session(struct qat_alg_aead_ctx *ctx, in qat_alg_aead_init_dec_session()
452 static void qat_alg_ablkcipher_init_com(struct qat_alg_ablkcipher_ctx *ctx, in qat_alg_ablkcipher_init_com()
474 static void qat_alg_ablkcipher_init_enc(struct qat_alg_ablkcipher_ctx *ctx, in qat_alg_ablkcipher_init_enc()
487 static void qat_alg_ablkcipher_init_dec(struct qat_alg_ablkcipher_ctx *ctx, in qat_alg_ablkcipher_init_dec()
518 static int qat_alg_aead_init_sessions(struct qat_alg_aead_ctx *ctx, in qat_alg_aead_init_sessions()
547 static int qat_alg_ablkcipher_init_sessions(struct qat_alg_ablkcipher_ctx *ctx, in qat_alg_ablkcipher_init_sessions()
567 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_setkey() local
801 struct qat_alg_aead_ctx *ctx = qat_req->aead_ctx; in qat_aead_alg_callback() local
[all …]
/linux-4.1.27/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
Dccp-crypto-aes-xts.c100 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_xts_setkey() local
122 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_xts_crypt() local
194 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_xts_cra_init() local
218 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_xts_cra_exit() local
/linux-4.1.27/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.1.27/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
206 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.1.27/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.1.27/drivers/staging/ozwpan/
Dozcdev.c50 struct oz_serial_ctx *ctx; in oz_cdev_claim_ctx() local
63 static void oz_cdev_release_ctx(struct oz_serial_ctx *ctx) in oz_cdev_release_ctx()
102 struct oz_serial_ctx *ctx; in oz_cdev_read() local
156 struct oz_serial_ctx *ctx; in oz_cdev_write() local
326 struct oz_serial_ctx *ctx = oz_cdev_claim_ctx(dev->active_pd); in oz_cdev_poll() local
432 struct oz_serial_ctx *ctx; in oz_cdev_start() local
470 struct oz_serial_ctx *ctx; in oz_cdev_stop() local
500 struct oz_serial_ctx *ctx; in oz_cdev_rx() local
/linux-4.1.27/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.1.27/drivers/crypto/caam/
Dcaamrng.c88 static inline void rng_unmap_ctx(struct caam_rng_ctx *ctx) in rng_unmap_ctx()
117 static inline int submit_job(struct caam_rng_ctx *ctx, int to_current) in submit_job()
137 struct caam_rng_ctx *ctx = rng_ctx; in caam_read() local
188 static inline int rng_create_sh_desc(struct caam_rng_ctx *ctx) in rng_create_sh_desc()
217 static inline int rng_create_job_desc(struct caam_rng_ctx *ctx, int buf_id) in rng_create_job_desc()
255 static int caam_init_buf(struct caam_rng_ctx *ctx, int buf_id) in caam_init_buf()
271 static int caam_init_rng(struct caam_rng_ctx *ctx, struct device *jrdev) in caam_init_rng()
Dcaamalg.c200 static void append_key_aead(u32 *desc, struct caam_ctx *ctx, in append_key_aead()
242 static void init_sh_desc_key_aead(u32 *desc, struct caam_ctx *ctx, in init_sh_desc_key_aead()
262 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc() local
453 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc() local
731 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize() local
742 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc() local
961 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize() local
972 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc() local
1242 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize() local
1253 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc() local
[all …]
Dcaamhash.c227 static inline void append_key_ahash(u32 *desc, struct caam_hash_ctx *ctx) in append_key_ahash()
235 static inline void init_sh_desc_key_ahash(u32 *desc, struct caam_hash_ctx *ctx) in init_sh_desc_key_ahash()
279 struct caam_hash_ctx *ctx) in ahash_ctx_data_to_out()
298 int digestsize, struct caam_hash_ctx *ctx) in ahash_data_to_out()
313 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc() local
428 static int gen_split_hash_key(struct caam_hash_ctx *ctx, const u8 *key_in, in gen_split_hash_key()
437 static int hash_digest_key(struct caam_hash_ctx *ctx, const u8 *key_in, in hash_digest_key()
517 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey() local
624 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_unmap_ctx() local
640 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done() local
[all …]
/linux-4.1.27/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()
343 struct blk_mq_ctx *ctx; in blk_mq_unregister_hctx() local
358 struct blk_mq_ctx *ctx; in blk_mq_register_hctx() local
381 struct blk_mq_ctx *ctx; in blk_mq_unregister_disk() local
403 struct blk_mq_ctx *ctx; in blk_mq_sysfs_init() local
/linux-4.1.27/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.1.27/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.1.27/kernel/events/
Dcore.c338 __get_cpu_context(struct perf_event_context *ctx) in __get_cpu_context()
344 struct perf_event_context *ctx) in perf_ctx_lock()
352 struct perf_event_context *ctx) in perf_ctx_unlock()
364 struct perf_event_context *ctx = event->ctx; in perf_cgroup_match() local
445 struct perf_event_context *ctx) in perf_cgroup_set_timestamp()
645 struct perf_event_context *ctx) in perf_cgroup_mark_enabled()
711 struct perf_event_context *ctx) in perf_cgroup_set_timestamp()
737 struct perf_event_context *ctx) in perf_cgroup_mark_enabled()
864 static void perf_event_ctx_activate(struct perf_event_context *ctx) in perf_event_ctx_activate()
875 static void perf_event_ctx_deactivate(struct perf_event_context *ctx) in perf_event_ctx_deactivate()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/frv/mm/
Dmmu-context.c44 static unsigned get_cxn(mm_context_t *ctx) in get_cxn()
90 void change_mm_context(mm_context_t *old, mm_context_t *ctx, pgd_t *pgd) in change_mm_context()
132 mm_context_t *ctx = &mm->context; in destroy_context() local
/linux-4.1.27/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.1.27/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 …]
/linux-4.1.27/fs/xfs/
Dxfs_log_cil.c283 struct xfs_cil_ctx *ctx = cil->xc_ctx; in xlog_cil_insert_items() local
376 struct xfs_cil_ctx *ctx = args; in xlog_cil_committed() local
430 struct xfs_cil_ctx *ctx; in xlog_cil_push() local
835 struct xfs_cil_ctx *ctx; in xlog_cil_force_lsn() local
928 struct xfs_cil_ctx *ctx; in xfs_log_item_in_current_chkpt() local
953 struct xfs_cil_ctx *ctx; in xlog_cil_init() local
/linux-4.1.27/kernel/
Dauditsc.c131 static int audit_match_perm(struct audit_context *ctx, int mask) in audit_match_perm()
174 static int audit_match_filetype(struct audit_context *ctx, int val) in audit_match_filetype()
202 static void audit_set_auditable(struct audit_context *ctx) in audit_set_auditable()
210 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref()
231 static int grow_tree_refs(struct audit_context *ctx) in grow_tree_refs()
248 static void unroll_tree_refs(struct audit_context *ctx, in unroll_tree_refs()
278 static void free_tree_refs(struct audit_context *ctx) in free_tree_refs()
287 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) in match_tree_refs()
313 struct audit_context *ctx) in audit_compare_uid()
337 struct audit_context *ctx) in audit_compare_gid()
[all …]
/linux-4.1.27/drivers/net/wireless/orinoco/
Dorinoco_usb.c299 static void ezusb_request_context_put(struct request_context *ctx) in ezusb_request_context_put()
323 struct request_context *ctx = (void *) _ctx; in ezusb_request_timerfn() local
341 struct request_context *ctx; in ezusb_alloc_ctx() local
382 static void ezusb_ctx_complete(struct request_context *ctx) in ezusb_ctx_complete()
451 struct request_context *ctx; in ezusb_req_queue_run() local
501 struct request_context *ctx) in ezusb_req_enqueue_run()
526 struct request_context *ctx = urb->context; in ezusb_request_out_callback() local
600 struct request_context *ctx = NULL; in ezusb_request_in_callback() local
685 struct request_context *ctx) in ezusb_req_ctx_wait()
856 struct request_context *ctx, in ezusb_access_ltv()
[all …]
/linux-4.1.27/drivers/ata/
Dahci_xgene.c98 static int xgene_ahci_init_memram(struct xgene_ahci_context *ctx) in xgene_ahci_init_memram()
200 struct xgene_ahci_context *ctx = hpriv->plat_data; in xgene_ahci_qc_issue() local
229 static bool xgene_ahci_is_memram_inited(struct xgene_ahci_context *ctx) in xgene_ahci_is_memram_inited()
274 static void xgene_ahci_set_phy_cfg(struct xgene_ahci_context *ctx, int channel) in xgene_ahci_set_phy_cfg()
363 struct xgene_ahci_context *ctx = hpriv->plat_data; in xgene_ahci_do_hardreset() local
508 struct xgene_ahci_context *ctx = hpriv->plat_data; in xgene_ahci_softreset() local
564 struct xgene_ahci_context *ctx = hpriv->plat_data; in xgene_ahci_hw_init() local
613 static int xgene_ahci_mux_select(struct xgene_ahci_context *ctx) in xgene_ahci_mux_select()
636 struct xgene_ahci_context *ctx; in xgene_ahci_probe() local

1234