Home
last modified time | relevance | path

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

12345678910>>...79

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
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()
194 struct spu_context *ctx = spu->ctx; in do_notify_spus_active() local
210 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
260 struct spu_context *ctx; in aff_merge_remaining_ctxs() local
271 struct spu_context *ctx; in aff_set_offsets() local
292 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
[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 …]
/kernel/linux/linux-5.10/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 …]
Dpanel-lg-lg4573.c40 static int lg4573_spi_write_u16(struct lg4573 *ctx, u16 data) in lg4573_spi_write_u16()
56 static int lg4573_spi_write_u16_array(struct lg4573 *ctx, const u16 *buffer, in lg4573_spi_write_u16_array()
71 static int lg4573_spi_write_dcs(struct lg4573 *ctx, u8 dcs) in lg4573_spi_write_dcs()
76 static int lg4573_display_on(struct lg4573 *ctx) in lg4573_display_on()
89 static int lg4573_display_off(struct lg4573 *ctx) in lg4573_display_off()
102 static int lg4573_display_mode_settings(struct lg4573 *ctx) in lg4573_display_mode_settings()
120 static int lg4573_power_settings(struct lg4573 *ctx) in lg4573_power_settings()
136 static int lg4573_gamma_settings(struct lg4573 *ctx) in lg4573_gamma_settings()
161 static int lg4573_init(struct lg4573 *ctx) in lg4573_init()
178 static int lg4573_power_on(struct lg4573 *ctx) in lg4573_power_on()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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-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 …]
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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c115 static u32 fimc_read(struct fimc_context *ctx, u32 reg) in fimc_read()
120 static void fimc_write(struct fimc_context *ctx, u32 val, u32 reg) in fimc_write()
125 static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_set_bits()
132 static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_clear_bits()
139 static void fimc_sw_reset(struct fimc_context *ctx) in fimc_sw_reset()
164 static void fimc_set_type_ctrl(struct fimc_context *ctx) in fimc_set_type_ctrl()
184 static void fimc_handle_jpeg(struct fimc_context *ctx, bool enable) in fimc_handle_jpeg()
199 static void fimc_mask_irq(struct fimc_context *ctx, bool enable) in fimc_mask_irq()
214 static void fimc_clear_irq(struct fimc_context *ctx) in fimc_clear_irq()
219 static bool fimc_check_ovf(struct fimc_context *ctx) in fimc_check_ovf()
[all …]
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap-mmio.c71 static void regmap_mmio_write8(struct regmap_mmio_context *ctx, in regmap_mmio_write8()
78 static void regmap_mmio_write16le(struct regmap_mmio_context *ctx, in regmap_mmio_write16le()
85 static void regmap_mmio_write16be(struct regmap_mmio_context *ctx, in regmap_mmio_write16be()
92 static void regmap_mmio_write32le(struct regmap_mmio_context *ctx, in regmap_mmio_write32le()
99 static void regmap_mmio_write32be(struct regmap_mmio_context *ctx, in regmap_mmio_write32be()
107 static void regmap_mmio_write64le(struct regmap_mmio_context *ctx, in regmap_mmio_write64le()
117 struct regmap_mmio_context *ctx = context; in regmap_mmio_write() local
134 static unsigned int regmap_mmio_read8(struct regmap_mmio_context *ctx, in regmap_mmio_read8()
140 static unsigned int regmap_mmio_read16le(struct regmap_mmio_context *ctx, in regmap_mmio_read16le()
146 static unsigned int regmap_mmio_read16be(struct regmap_mmio_context *ctx, in regmap_mmio_read16be()
[all …]
/kernel/linux/linux-5.10/lib/kunit/
Dkunit-test.c20 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_successful_try() local
34 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_try_catch_successful_try_no_catch() local
49 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_unsuccessful_try() local
59 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_catch() local
66 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_try_catch_unsuccessful_try_does_catch() local
80 struct kunit_try_catch_test_context *ctx; in kunit_try_catch_test_init() local
119 struct kunit_test_resource_context *ctx = context; in fake_resource_init() local
135 struct kunit_test_resource_context *ctx = test->priv; in kunit_resource_test_init_resources() local
144 struct kunit_test_resource_context *ctx = test->priv; in kunit_resource_test_alloc_resource() local
174 struct kunit_test_resource_context *ctx = test->priv; in kunit_resource_test_destroy_resource() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_ctl.c71 static inline u32 dpu_hw_ctl_get_flush_register(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_get_flush_register()
78 static inline void dpu_hw_ctl_trigger_start(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_start()
85 static inline void dpu_hw_ctl_trigger_pending(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_pending()
92 static inline void dpu_hw_ctl_clear_pending_flush(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_clear_pending_flush()
99 static inline void dpu_hw_ctl_update_pending_flush(struct dpu_hw_ctl *ctx, in dpu_hw_ctl_update_pending_flush()
107 static inline void dpu_hw_ctl_update_pending_intf_flush(struct dpu_hw_ctl *ctx, in dpu_hw_ctl_update_pending_intf_flush()
113 static u32 dpu_hw_ctl_get_pending_flush(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_get_pending_flush()
118 static inline void dpu_hw_ctl_trigger_flush_v1(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_flush_v1()
128 static inline void dpu_hw_ctl_trigger_flush(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_flush()
135 static uint32_t dpu_hw_ctl_get_bitmask_sspp(struct dpu_hw_ctl *ctx, in dpu_hw_ctl_get_bitmask_sspp()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dcontext.c35 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master) in cxl_context_init()
118 void cxl_context_set_mapping(struct cxl_context *ctx, in cxl_context_set_mapping()
129 struct cxl_context *ctx = vma->vm_file->private_data; in cxl_mmap_fault() local
182 int cxl_context_iomap(struct cxl_context *ctx, struct vm_area_struct *vma) in cxl_context_iomap()
234 int __detach_context(struct cxl_context *ctx) in __detach_context()
282 void cxl_context_detach(struct cxl_context *ctx) in cxl_context_detach()
299 struct cxl_context *ctx; in cxl_context_detach_all() local
326 struct cxl_context *ctx = container_of(rcu, struct cxl_context, rcu); in reclaim_ctx() local
342 void cxl_context_free(struct cxl_context *ctx) in cxl_context_free()
352 void cxl_context_mm_count_get(struct cxl_context *ctx) in cxl_context_mm_count_get()
[all …]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmmu_v1.c16 static struct pgt_info *get_pgt_info(struct hl_ctx *ctx, u64 hop_addr) in get_pgt_info()
28 static void _free_hop(struct hl_ctx *ctx, struct pgt_info *pgt_info) in _free_hop()
39 static void free_hop(struct hl_ctx *ctx, u64 hop_addr) in free_hop()
46 static u64 alloc_hop(struct hl_ctx *ctx) in alloc_hop()
86 static inline u64 get_phys_hop0_addr(struct hl_ctx *ctx) in get_phys_hop0_addr()
92 static inline u64 get_hop0_addr(struct hl_ctx *ctx) in get_hop0_addr()
98 static void flush(struct hl_ctx *ctx) in flush()
106 static inline void write_pte(struct hl_ctx *ctx, u64 shadow_pte_addr, u64 val) in write_pte()
126 static inline void write_final_pte(struct hl_ctx *ctx, u64 shadow_pte_addr, in write_final_pte()
136 static inline void clear_pte(struct hl_ctx *ctx, u64 pte_addr) in clear_pte()
[all …]

12345678910>>...79