Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 2124) sorted by relevance

12345678910>>...85

/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_context.h22 static inline bool i915_gem_context_is_closed(const struct i915_gem_context *ctx) in i915_gem_context_is_closed()
27 static inline void i915_gem_context_set_closed(struct i915_gem_context *ctx) in i915_gem_context_set_closed()
33 static inline bool i915_gem_context_no_error_capture(const struct i915_gem_context *ctx) in i915_gem_context_no_error_capture()
38 static inline void i915_gem_context_set_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_set_no_error_capture()
43 static inline void i915_gem_context_clear_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_clear_no_error_capture()
48 static inline bool i915_gem_context_is_bannable(const struct i915_gem_context *ctx) in i915_gem_context_is_bannable()
53 static inline void i915_gem_context_set_bannable(struct i915_gem_context *ctx) in i915_gem_context_set_bannable()
58 static inline void i915_gem_context_clear_bannable(struct i915_gem_context *ctx) in i915_gem_context_clear_bannable()
63 static inline bool i915_gem_context_is_recoverable(const struct i915_gem_context *ctx) in i915_gem_context_is_recoverable()
68 static inline void i915_gem_context_set_recoverable(struct i915_gem_context *ctx) in i915_gem_context_set_recoverable()
[all …]
/Linux-v5.15/arch/powerpc/platforms/cell/spufs/
Dbacking_ops.c34 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event()
49 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read()
71 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx) in spu_backing_mbox_stat_read()
76 static __poll_t spu_backing_mbox_stat_poll(struct spu_context *ctx, in spu_backing_mbox_stat_poll()
115 static int spu_backing_ibox_read(struct spu_context *ctx, u32 * data) in spu_backing_ibox_read()
139 static int spu_backing_wbox_write(struct spu_context *ctx, u32 data) in spu_backing_wbox_write()
170 static u32 spu_backing_signal1_read(struct spu_context *ctx) in spu_backing_signal1_read()
175 static void spu_backing_signal1_write(struct spu_context *ctx, u32 data) in spu_backing_signal1_write()
187 static u32 spu_backing_signal2_read(struct spu_context *ctx) in spu_backing_signal2_read()
192 static void spu_backing_signal2_write(struct spu_context *ctx, u32 data) in spu_backing_signal2_write()
[all …]
Dhw_ops.c24 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read()
41 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read()
46 static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events) in spu_hw_mbox_stat_poll()
82 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read()
103 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write()
124 static void spu_hw_signal1_write(struct spu_context *ctx, u32 data) in spu_hw_signal1_write()
129 static void spu_hw_signal2_write(struct spu_context *ctx, u32 data) in spu_hw_signal2_write()
134 static void spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal1_type_set()
150 static u64 spu_hw_signal1_type_get(struct spu_context *ctx) in spu_hw_signal1_type_get()
155 static void spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal2_type_set()
[all …]
Dfile.c160 struct spu_context *ctx = i->i_ctx; in spufs_mem_open() local
174 struct spu_context *ctx = i->i_ctx; in spufs_mem_release() local
184 spufs_mem_dump(struct spu_context *ctx, struct coredump_params *cprm) in spufs_mem_dump()
193 struct spu_context *ctx = file->private_data; in spufs_mem_read() local
210 struct spu_context *ctx = file->private_data; in spufs_mem_write() local
233 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault() local
265 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access() local
314 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault() local
396 struct spu_context *ctx = data; in spufs_cntl_get() local
410 struct spu_context *ctx = data; in spufs_cntl_set() local
[all …]
Dsched.c85 void spu_set_timeslice(struct spu_context *ctx) in spu_set_timeslice()
96 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info()
137 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info()
155 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed()
167 static int node_allowed(struct spu_context *ctx, int node) in node_allowed()
191 struct spu_context *ctx = spu->ctx; in do_notify_spus_active() local
207 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
256 struct spu_context *ctx; in aff_merge_remaining_ctxs() local
267 struct spu_context *ctx; in aff_set_offsets() local
288 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
[all …]
/Linux-v5.15/drivers/gpu/drm/panel/
Dpanel-samsung-s6e3ha2.c244 static int s6e3ha2_dcs_write(struct s6e3ha2 *ctx, const void *data, size_t len) in s6e3ha2_dcs_write()
251 #define s6e3ha2_dcs_write_seq_static(ctx, seq...) do { \ argument
265 static int s6e3ha2_test_key_on_f0(struct s6e3ha2 *ctx) in s6e3ha2_test_key_on_f0()
271 static int s6e3ha2_test_key_off_f0(struct s6e3ha2 *ctx) in s6e3ha2_test_key_off_f0()
277 static int s6e3ha2_test_key_on_fc(struct s6e3ha2 *ctx) in s6e3ha2_test_key_on_fc()
283 static int s6e3ha2_test_key_off_fc(struct s6e3ha2 *ctx) in s6e3ha2_test_key_off_fc()
289 static int s6e3ha2_single_dsi_set(struct s6e3ha2 *ctx) in s6e3ha2_single_dsi_set()
296 static int s6e3ha2_freq_calibration(struct s6e3ha2 *ctx) in s6e3ha2_freq_calibration()
317 static int s6e3ha2_aor_control(struct s6e3ha2 *ctx) in s6e3ha2_aor_control()
323 static int s6e3ha2_caps_elvss_set(struct s6e3ha2 *ctx) in s6e3ha2_caps_elvss_set()
[all …]
/Linux-v5.15/drivers/gpu/drm/bridge/
Dsil-sii8620.c137 static int sii8620_clear_error(struct sii8620 *ctx) in sii8620_clear_error()
145 static void sii8620_read_buf(struct sii8620 *ctx, u16 addr, u8 *buf, int len) in sii8620_read_buf()
179 static u8 sii8620_readb(struct sii8620 *ctx, u16 addr) in sii8620_readb()
187 static void sii8620_write_buf(struct sii8620 *ctx, u16 addr, const u8 *buf, in sii8620_write_buf()
230 #define sii8620_write(ctx, addr, arr...) \ argument
236 static void __sii8620_write_seq(struct sii8620 *ctx, const u16 *seq, int len) in __sii8620_write_seq()
244 #define sii8620_write_seq(ctx, seq...) \ argument
250 #define sii8620_write_seq_static(ctx, seq...) \ argument
256 static void sii8620_setbits(struct sii8620 *ctx, u16 addr, u8 mask, u8 val) in sii8620_setbits()
262 static inline bool sii8620_is_mhl3(struct sii8620 *ctx) in sii8620_is_mhl3()
[all …]
/Linux-v5.15/drivers/gpu/drm/bridge/analogix/
Danx7625.c44 static int i2c_access_workaround(struct anx7625_data *ctx, in i2c_access_workaround()
78 static int anx7625_reg_read(struct anx7625_data *ctx, in anx7625_reg_read()
94 static int anx7625_reg_block_read(struct anx7625_data *ctx, in anx7625_reg_block_read()
111 static int anx7625_reg_write(struct anx7625_data *ctx, in anx7625_reg_write()
129 static int anx7625_write_or(struct anx7625_data *ctx, in anx7625_write_or()
142 static int anx7625_write_and(struct anx7625_data *ctx, in anx7625_write_and()
155 static int anx7625_write_and_or(struct anx7625_data *ctx, in anx7625_write_and_or()
169 static int anx7625_read_ctrl_status_p0(struct anx7625_data *ctx) in anx7625_read_ctrl_status_p0()
174 static int wait_aux_op_finish(struct anx7625_data *ctx) in wait_aux_op_finish()
200 static int anx7625_video_mute_control(struct anx7625_data *ctx, in anx7625_video_mute_control()
[all …]
/Linux-v5.15/arch/mips/net/
Dbpf_jit.c121 #define emit_instr(ctx, func, ...) \ argument
134 #define emit_long_instr(ctx, func, ...) \ argument
150 unsigned int src2, struct jit_ctx *ctx) in emit_addu()
155 static inline void emit_nop(struct jit_ctx *ctx) in emit_nop()
161 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) in emit_load_imm()
182 unsigned int src2, struct jit_ctx *ctx) in emit_or()
188 struct jit_ctx *ctx) in emit_ori()
199 int imm, struct jit_ctx *ctx) in emit_daddiu()
209 u32 imm, struct jit_ctx *ctx) in emit_addiu()
220 unsigned int src2, struct jit_ctx *ctx) in emit_and()
[all …]
/Linux-v5.15/drivers/base/regmap/
Dregmap-mmio.c72 static void regmap_mmio_write8(struct regmap_mmio_context *ctx, in regmap_mmio_write8()
79 static void regmap_mmio_write8_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write8_relaxed()
86 static void regmap_mmio_write16le(struct regmap_mmio_context *ctx, in regmap_mmio_write16le()
93 static void regmap_mmio_write16le_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write16le_relaxed()
100 static void regmap_mmio_write16be(struct regmap_mmio_context *ctx, in regmap_mmio_write16be()
107 static void regmap_mmio_write32le(struct regmap_mmio_context *ctx, in regmap_mmio_write32le()
114 static void regmap_mmio_write32le_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write32le_relaxed()
121 static void regmap_mmio_write32be(struct regmap_mmio_context *ctx, in regmap_mmio_write32be()
129 static void regmap_mmio_write64le(struct regmap_mmio_context *ctx, in regmap_mmio_write64le()
136 static void regmap_mmio_write64le_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write64le_relaxed()
[all …]
/Linux-v5.15/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c34 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v5()
55 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v5()
61 static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v5()
193 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5()
200 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5()
242 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5()
260 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5()
267 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5()
274 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5()
316 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.c46 static int s5p_mfc_alloc_dec_temp_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v6()
54 static void s5p_mfc_release_dec_desc_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v6()
60 static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v6()
327 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6()
333 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6()
388 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6()
436 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6()
471 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6()
490 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6()
512 static int s5p_mfc_set_dec_frame_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_dec_frame_buffer_v6()
[all …]
/Linux-v5.15/drivers/media/i2c/
Dmax2175.c30 #define mxm_dbg(ctx, fmt, arg...) dev_dbg(&ctx->client->dev, fmt, ## arg) argument
31 #define mxm_err(ctx, fmt, arg...) dev_err(&ctx->client->dev, fmt, ## arg) argument
316 static int max2175_read(struct max2175 *ctx, u8 idx, u8 *val) in max2175_read()
330 static int max2175_write(struct max2175 *ctx, u8 idx, u8 val) in max2175_write()
342 static u8 max2175_read_bits(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb) in max2175_read_bits()
352 static int max2175_write_bits(struct max2175 *ctx, u8 idx, in max2175_write_bits()
364 static int max2175_write_bit(struct max2175 *ctx, u8 idx, u8 bit, u8 newval) in max2175_write_bit()
370 static int max2175_poll_timeout(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb, in max2175_poll_timeout()
380 static int max2175_poll_csm_ready(struct max2175 *ctx) in max2175_poll_csm_ready()
391 #define MAX2175_IS_BAND_AM(ctx) \ argument
[all …]
/Linux-v5.15/sound/soc/intel/skylake/
Dcnl-sst-dsp.c27 cnl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_set_reset_state()
44 cnl_dsp_core_unset_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_unset_reset_state()
59 static bool is_cnl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) in is_cnl_dsp_core_enable()
77 static int cnl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_reset_core()
88 static int cnl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_start_core()
111 static int cnl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_power_up()
126 static int cnl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_power_down()
141 int cnl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_enable_core()
156 int cnl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_disable_core()
186 struct sst_dsp *ctx = dev_id; in cnl_dsp_sst_interrupt() local
[all …]
Dskl-sst-dsp.c22 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked()
34 void skl_dsp_init_core_state(struct sst_dsp *ctx) in skl_dsp_init_core_state()
49 unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx) in skl_dsp_get_enabled_cores()
78 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_set_reset_state()
106 struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_unset_reset_state()
135 is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) in is_skl_dsp_core_enable()
153 static int skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_reset_core()
164 int skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_start_core()
188 int skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_power_up()
216 int skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_power_down()
[all …]
Dskl-sst-cldma.c17 static void skl_cldma_int_enable(struct sst_dsp *ctx) in skl_cldma_int_enable()
23 void skl_cldma_int_disable(struct sst_dsp *ctx) in skl_cldma_int_disable()
29 static void skl_cldma_stream_run(struct sst_dsp *ctx, bool enable) in skl_cldma_stream_run()
55 static void skl_cldma_stream_clear(struct sst_dsp *ctx) in skl_cldma_stream_clear()
77 static void skl_cldma_setup_bdle(struct sst_dsp *ctx, in skl_cldma_setup_bdle()
107 static void skl_cldma_setup_controller(struct sst_dsp *ctx, in skl_cldma_setup_controller()
129 static void skl_cldma_setup_spb(struct sst_dsp *ctx, in skl_cldma_setup_spb()
141 static void skl_cldma_cleanup_spb(struct sst_dsp *ctx) in skl_cldma_cleanup_spb()
151 static void skl_cldma_cleanup(struct sst_dsp *ctx) in skl_cldma_cleanup()
160 int skl_cldma_wait_interruptible(struct sst_dsp *ctx) in skl_cldma_wait_interruptible()
[all …]
/Linux-v5.15/drivers/media/dvb-core/
Ddvb_vb2.c37 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _queue_setup() local
56 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_prepare() local
73 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_queue() local
86 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _start_streaming() local
94 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _stop_streaming() local
112 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _dmxdev_lock() local
120 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _dmxdev_unlock() local
139 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _fill_dmx_buffer() local
151 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _fill_vb2_buffer() local
167 int dvb_vb2_init(struct dvb_vb2_ctx *ctx, const char *name, int nonblocking) in dvb_vb2_init()
[all …]
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup.c76 int lookup_pass(struct bpf_sk_lookup *ctx) in lookup_pass()
82 int lookup_drop(struct bpf_sk_lookup *ctx) in lookup_drop()
88 int reuseport_pass(struct sk_reuseport_md *ctx) in reuseport_pass()
94 int reuseport_drop(struct sk_reuseport_md *ctx) in reuseport_drop()
101 int redir_port(struct bpf_sk_lookup *ctx) in redir_port()
120 int redir_ip4(struct bpf_sk_lookup *ctx) in redir_ip4()
143 int redir_ip6(struct bpf_sk_lookup *ctx) in redir_ip6()
168 int select_sock_a(struct bpf_sk_lookup *ctx) in select_sock_a()
183 int select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) in select_sock_a_no_reuseport()
198 int select_sock_b(struct sk_reuseport_md *ctx) in select_sock_b()
[all …]
/Linux-v5.15/arch/riscv/net/
Dbpf_jit_comp64.c41 static u8 bpf_to_rv_reg(int bpf_reg, struct rv_jit_context *ctx) in bpf_to_rv_reg()
57 static bool seen_reg(int reg, struct rv_jit_context *ctx) in seen_reg()
72 static void mark_fp(struct rv_jit_context *ctx) in mark_fp()
77 static void mark_call(struct rv_jit_context *ctx) in mark_call()
82 static bool seen_call(struct rv_jit_context *ctx) in seen_call()
87 static void mark_tail_call(struct rv_jit_context *ctx) in mark_tail_call()
92 static bool seen_tail_call(struct rv_jit_context *ctx) in seen_tail_call()
97 static u8 rv_tail_call_reg(struct rv_jit_context *ctx) in rv_tail_call_reg()
123 static void emit_imm(u8 rd, s64 val, struct rv_jit_context *ctx) in emit_imm()
166 static void __build_epilogue(bool is_tail_call, struct rv_jit_context *ctx) in __build_epilogue()
[all …]
/Linux-v5.15/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c113 static u32 fimc_read(struct fimc_context *ctx, u32 reg) in fimc_read()
118 static void fimc_write(struct fimc_context *ctx, u32 val, u32 reg) in fimc_write()
123 static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_set_bits()
130 static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_clear_bits()
137 static void fimc_sw_reset(struct fimc_context *ctx) in fimc_sw_reset()
162 static void fimc_set_type_ctrl(struct fimc_context *ctx) in fimc_set_type_ctrl()
182 static void fimc_handle_jpeg(struct fimc_context *ctx, bool enable) in fimc_handle_jpeg()
197 static void fimc_mask_irq(struct fimc_context *ctx, bool enable) in fimc_mask_irq()
212 static void fimc_clear_irq(struct fimc_context *ctx) in fimc_clear_irq()
217 static bool fimc_check_ovf(struct fimc_context *ctx) in fimc_check_ovf()
[all …]
/Linux-v5.15/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c27 static int gsc_m2m_ctx_stop_req(struct gsc_ctx *ctx) in gsc_m2m_ctx_stop_req()
45 static void __gsc_m2m_job_abort(struct gsc_ctx *ctx) in __gsc_m2m_job_abort()
58 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_start_streaming() local
63 static void __gsc_m2m_cleanup_queue(struct gsc_ctx *ctx) in __gsc_m2m_cleanup_queue()
80 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_stop_streaming() local
89 void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state) in gsc_m2m_job_finish()
120 static int gsc_get_bufs(struct gsc_ctx *ctx) in gsc_get_bufs()
146 struct gsc_ctx *ctx = priv; in gsc_m2m_device_run() local
229 struct gsc_ctx *ctx = vb2_get_drv_priv(vq); in gsc_m2m_queue_setup() local
248 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in gsc_m2m_buf_prepare() local
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Datom.c61 struct atom_context *ctx; member
107 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute()
179 static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr, in atom_get_src_int()
364 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int()
400 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src()
405 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct()
431 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_get_dst()
440 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst()
447 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_put_dst()
583 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add()
[all …]
/Linux-v5.15/drivers/misc/habanalabs/common/mmu/
Dmmu_v1.c15 static struct pgt_info *get_pgt_info(struct hl_ctx *ctx, u64 hop_addr) in get_pgt_info()
27 static void _free_hop(struct hl_ctx *ctx, struct pgt_info *pgt_info) in _free_hop()
38 static void free_hop(struct hl_ctx *ctx, u64 hop_addr) in free_hop()
45 static u64 alloc_hop(struct hl_ctx *ctx) in alloc_hop()
85 static inline u64 get_phys_hop0_addr(struct hl_ctx *ctx) in get_phys_hop0_addr()
91 static inline u64 get_hop0_addr(struct hl_ctx *ctx) in get_hop0_addr()
97 static void flush(struct hl_ctx *ctx) in flush()
105 static inline void write_pte(struct hl_ctx *ctx, u64 shadow_pte_addr, u64 val) in write_pte()
125 static inline void write_final_pte(struct hl_ctx *ctx, u64 shadow_pte_addr, in write_final_pte()
135 static inline void clear_pte(struct hl_ctx *ctx, u64 pte_addr) in clear_pte()
[all …]
/Linux-v5.15/drivers/media/platform/ti-vpe/
Dcal-video.c50 struct cal_ctx *ctx = video_drvdata(file); in cal_querycap() local
63 struct cal_ctx *ctx = video_drvdata(file); in cal_g_fmt_vid_cap() local
75 static const struct cal_format_info *find_format_by_pix(struct cal_ctx *ctx, in find_format_by_pix()
90 static const struct cal_format_info *find_format_by_code(struct cal_ctx *ctx, in find_format_by_code()
108 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_enum_fmt_vid_cap() local
121 static int __subdev_get_format(struct cal_ctx *ctx, in __subdev_get_format()
143 static int __subdev_set_format(struct cal_ctx *ctx, in __subdev_set_format()
164 static void cal_calc_format_size(struct cal_ctx *ctx, in cal_calc_format_size()
195 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_try_fmt_vid_cap() local
255 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_s_fmt_vid_cap() local
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_ctl.c80 static inline u32 dpu_hw_ctl_get_flush_register(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_get_flush_register()
87 static inline void dpu_hw_ctl_trigger_start(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_start()
94 static inline void dpu_hw_ctl_trigger_pending(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_pending()
101 static inline void dpu_hw_ctl_clear_pending_flush(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_clear_pending_flush()
108 static inline void dpu_hw_ctl_update_pending_flush(struct dpu_hw_ctl *ctx, in dpu_hw_ctl_update_pending_flush()
116 static u32 dpu_hw_ctl_get_pending_flush(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_get_pending_flush()
121 static inline void dpu_hw_ctl_trigger_flush_v1(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_flush_v1()
134 static inline void dpu_hw_ctl_trigger_flush(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_flush()
141 static uint32_t dpu_hw_ctl_get_bitmask_sspp(struct dpu_hw_ctl *ctx, in dpu_hw_ctl_get_bitmask_sspp()
196 static uint32_t dpu_hw_ctl_get_bitmask_mixer(struct dpu_hw_ctl *ctx, in dpu_hw_ctl_get_bitmask_mixer()
[all …]

12345678910>>...85