/Linux-v5.4/drivers/gpu/drm/i915/gem/ |
D | i915_gem_context.h | 21 static inline bool i915_gem_context_is_closed(const struct i915_gem_context *ctx) in i915_gem_context_is_closed() 26 static inline void i915_gem_context_set_closed(struct i915_gem_context *ctx) in i915_gem_context_set_closed() 32 static inline bool i915_gem_context_no_error_capture(const struct i915_gem_context *ctx) in i915_gem_context_no_error_capture() 37 static inline void i915_gem_context_set_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_set_no_error_capture() 42 static inline void i915_gem_context_clear_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_clear_no_error_capture() 47 static inline bool i915_gem_context_is_bannable(const struct i915_gem_context *ctx) in i915_gem_context_is_bannable() 52 static inline void i915_gem_context_set_bannable(struct i915_gem_context *ctx) in i915_gem_context_set_bannable() 57 static inline void i915_gem_context_clear_bannable(struct i915_gem_context *ctx) in i915_gem_context_clear_bannable() 62 static inline bool i915_gem_context_is_recoverable(const struct i915_gem_context *ctx) in i915_gem_context_is_recoverable() 67 static inline void i915_gem_context_set_recoverable(struct i915_gem_context *ctx) in i915_gem_context_set_recoverable() [all …]
|
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/ |
D | backing_ops.c | 34 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 …]
|
D | hw_ops.c | 24 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 …]
|
D | sched.c | 85 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 …]
|
D | file.c | 151 struct spu_context *ctx = i->i_ctx; in spufs_mem_open() local 165 struct spu_context *ctx = i->i_ctx; in spufs_mem_release() local 175 __spufs_mem_read(struct spu_context *ctx, char __user *buffer, in __spufs_mem_read() 187 struct spu_context *ctx = file->private_data; in spufs_mem_read() local 203 struct spu_context *ctx = file->private_data; in spufs_mem_write() local 226 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault() local 258 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access() local 307 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault() local 389 struct spu_context *ctx = data; in spufs_cntl_get() local 403 struct spu_context *ctx = data; in spufs_cntl_set() local [all …]
|
/Linux-v5.4/drivers/gpu/drm/panel/ |
D | panel-samsung-s6e3ha2.c | 245 static int s6e3ha2_dcs_write(struct s6e3ha2 *ctx, const void *data, size_t len) in s6e3ha2_dcs_write() 252 #define s6e3ha2_dcs_write_seq_static(ctx, seq...) do { \ argument 266 static int s6e3ha2_test_key_on_f0(struct s6e3ha2 *ctx) in s6e3ha2_test_key_on_f0() 272 static int s6e3ha2_test_key_off_f0(struct s6e3ha2 *ctx) in s6e3ha2_test_key_off_f0() 278 static int s6e3ha2_test_key_on_fc(struct s6e3ha2 *ctx) in s6e3ha2_test_key_on_fc() 284 static int s6e3ha2_test_key_off_fc(struct s6e3ha2 *ctx) in s6e3ha2_test_key_off_fc() 290 static int s6e3ha2_single_dsi_set(struct s6e3ha2 *ctx) in s6e3ha2_single_dsi_set() 297 static int s6e3ha2_freq_calibration(struct s6e3ha2 *ctx) in s6e3ha2_freq_calibration() 318 static int s6e3ha2_aor_control(struct s6e3ha2 *ctx) in s6e3ha2_aor_control() 324 static int s6e3ha2_caps_elvss_set(struct s6e3ha2 *ctx) in s6e3ha2_caps_elvss_set() [all …]
|
D | panel-lg-lg4573.c | 40 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 …]
|
/Linux-v5.4/drivers/gpu/drm/bridge/ |
D | sil-sii8620.c | 136 static int sii8620_clear_error(struct sii8620 *ctx) in sii8620_clear_error() 144 static void sii8620_read_buf(struct sii8620 *ctx, u16 addr, u8 *buf, int len) in sii8620_read_buf() 178 static u8 sii8620_readb(struct sii8620 *ctx, u16 addr) in sii8620_readb() 186 static void sii8620_write_buf(struct sii8620 *ctx, u16 addr, const u8 *buf, in sii8620_write_buf() 229 #define sii8620_write(ctx, addr, arr...) \ argument 235 static void __sii8620_write_seq(struct sii8620 *ctx, const u16 *seq, int len) in __sii8620_write_seq() 243 #define sii8620_write_seq(ctx, seq...) \ argument 249 #define sii8620_write_seq_static(ctx, seq...) \ argument 255 static void sii8620_setbits(struct sii8620 *ctx, u16 addr, u8 mask, u8 val) in sii8620_setbits() 261 static inline bool sii8620_is_mhl3(struct sii8620 *ctx) in sii8620_is_mhl3() [all …]
|
/Linux-v5.4/sound/soc/intel/skylake/ |
D | cnl-sst-dsp.c | 27 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 …]
|
D | skl-sst-dsp.c | 22 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 …]
|
D | skl-sst-cldma.c | 16 static void skl_cldma_int_enable(struct sst_dsp *ctx) in skl_cldma_int_enable() 22 void skl_cldma_int_disable(struct sst_dsp *ctx) in skl_cldma_int_disable() 28 static void skl_cldma_stream_run(struct sst_dsp *ctx, bool enable) in skl_cldma_stream_run() 54 static void skl_cldma_stream_clear(struct sst_dsp *ctx) in skl_cldma_stream_clear() 76 static void skl_cldma_setup_bdle(struct sst_dsp *ctx, in skl_cldma_setup_bdle() 106 static void skl_cldma_setup_controller(struct sst_dsp *ctx, in skl_cldma_setup_controller() 128 static void skl_cldma_setup_spb(struct sst_dsp *ctx, in skl_cldma_setup_spb() 140 static void skl_cldma_cleanup_spb(struct sst_dsp *ctx) in skl_cldma_cleanup_spb() 150 static void skl_cldma_cleanup(struct sst_dsp *ctx) in skl_cldma_cleanup() 159 int skl_cldma_wait_interruptible(struct sst_dsp *ctx) in skl_cldma_wait_interruptible() [all …]
|
/Linux-v5.4/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 34 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 …]
|
D | s5p_mfc_opr_v6.c | 46 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.4/drivers/media/i2c/ |
D | max2175.c | 30 #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.4/drivers/media/dvb-core/ |
D | dvb_vb2.c | 37 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.4/drivers/media/platform/exynos-gsc/ |
D | gsc-m2m.c | 27 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 65 static void __gsc_m2m_cleanup_queue(struct gsc_ctx *ctx) in __gsc_m2m_cleanup_queue() 82 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_stop_streaming() local 91 void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state) in gsc_m2m_job_finish() 122 static int gsc_get_bufs(struct gsc_ctx *ctx) in gsc_get_bufs() 148 struct gsc_ctx *ctx = priv; in gsc_m2m_device_run() local 231 struct gsc_ctx *ctx = vb2_get_drv_priv(vq); in gsc_m2m_queue_setup() local 250 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in gsc_m2m_buf_prepare() local [all …]
|
/Linux-v5.4/drivers/gpu/drm/exynos/ |
D | exynos_drm_fimc.c | 114 static u32 fimc_read(struct fimc_context *ctx, u32 reg) in fimc_read() 119 static void fimc_write(struct fimc_context *ctx, u32 val, u32 reg) in fimc_write() 124 static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_set_bits() 131 static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_clear_bits() 138 static void fimc_sw_reset(struct fimc_context *ctx) in fimc_sw_reset() 163 static void fimc_set_type_ctrl(struct fimc_context *ctx) in fimc_set_type_ctrl() 183 static void fimc_handle_jpeg(struct fimc_context *ctx, bool enable) in fimc_handle_jpeg() 198 static void fimc_mask_irq(struct fimc_context *ctx, bool enable) in fimc_mask_irq() 213 static void fimc_clear_irq(struct fimc_context *ctx) in fimc_clear_irq() 218 static bool fimc_check_ovf(struct fimc_context *ctx) in fimc_check_ovf() [all …]
|
/Linux-v5.4/drivers/base/regmap/ |
D | regmap-mmio.c | 71 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 …]
|
/Linux-v5.4/drivers/misc/cxl/ |
D | context.c | 35 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 …]
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 58 struct atom_context *ctx; member 104 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute() 176 static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr, in atom_get_src_int() 361 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 397 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 402 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct() 428 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_get_dst() 437 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() 444 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_put_dst() 580 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() [all …]
|
/Linux-v5.4/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_dec.c | 88 static struct mtk_q_data *mtk_vdec_get_q_data(struct mtk_vcodec_ctx *ctx, in mtk_vdec_get_q_data() 103 static struct vb2_buffer *get_display_buffer(struct mtk_vcodec_ctx *ctx) in get_display_buffer() 153 static struct vb2_buffer *get_free_buffer(struct mtk_vcodec_ctx *ctx) in get_free_buffer() 232 static void clean_display_buffer(struct mtk_vcodec_ctx *ctx) in clean_display_buffer() 241 static void clean_free_buffer(struct mtk_vcodec_ctx *ctx) in clean_free_buffer() 250 static void mtk_vdec_queue_res_chg_event(struct mtk_vcodec_ctx *ctx) in mtk_vdec_queue_res_chg_event() 262 static void mtk_vdec_flush_decoder(struct mtk_vcodec_ctx *ctx) in mtk_vdec_flush_decoder() 275 static void mtk_vdec_update_fmt(struct mtk_vcodec_ctx *ctx, in mtk_vdec_update_fmt() 296 static int mtk_vdec_pic_info_update(struct mtk_vcodec_ctx *ctx) in mtk_vdec_pic_info_update() 344 struct mtk_vcodec_ctx *ctx = container_of(work, struct mtk_vcodec_ctx, in mtk_vdec_worker() local [all …]
|
/Linux-v5.4/drivers/misc/habanalabs/ |
D | mmu.c | 16 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, u64 hop_addr) in free_hop() 40 static u64 alloc_hop(struct hl_ctx *ctx) in alloc_hop() 79 static inline u64 get_phys_hop0_addr(struct hl_ctx *ctx) in get_phys_hop0_addr() 85 static inline u64 get_hop0_addr(struct hl_ctx *ctx) in get_hop0_addr() 91 static inline void flush(struct hl_ctx *ctx) in flush() 99 static inline void write_pte(struct hl_ctx *ctx, u64 shadow_pte_addr, u64 val) in write_pte() 119 static inline void write_final_pte(struct hl_ctx *ctx, u64 shadow_pte_addr, in write_final_pte() 129 static inline void clear_pte(struct hl_ctx *ctx, u64 pte_addr) in clear_pte() 135 static inline void get_pte(struct hl_ctx *ctx, u64 hop_addr) in get_pte() [all …]
|
/Linux-v5.4/sound/soc/intel/atom/sst/ |
D | sst_drv_interface.c | 43 int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id) in free_stream_context() 61 int sst_get_stream_allocated(struct intel_sst_drv *ctx, in sst_get_stream_allocated() 117 int sst_get_stream(struct intel_sst_drv *ctx, in sst_get_stream() 137 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_power_control() local 178 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_open_pcm_stream() local 197 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_open() local 225 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_close() local 251 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_ack() local 280 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_set_metadata() local 299 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_stream_pause() local [all …]
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | atom.c | 60 struct atom_context *ctx; member 107 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute() 182 static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr, in atom_get_src_int() 367 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 403 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 408 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct() 434 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_get_dst() 443 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() 450 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_put_dst() 586 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() [all …]
|
/Linux-v5.4/crypto/ |
D | zstd.c | 32 static int zstd_comp_init(struct zstd_ctx *ctx) in zstd_comp_init() 56 static int zstd_decomp_init(struct zstd_ctx *ctx) in zstd_decomp_init() 79 static void zstd_comp_exit(struct zstd_ctx *ctx) in zstd_comp_exit() 86 static void zstd_decomp_exit(struct zstd_ctx *ctx) in zstd_decomp_exit() 93 static int __zstd_init(void *ctx) in __zstd_init() 109 struct zstd_ctx *ctx; in zstd_alloc_ctx() local 126 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_init() local 131 static void __zstd_exit(void *ctx) in __zstd_exit() 137 static void zstd_free_ctx(struct crypto_scomp *tfm, void *ctx) in zstd_free_ctx() 145 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_exit() local [all …]
|