/drivers/gpu/drm/i915/gem/ |
D | i915_gem_context.h | 22 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 …]
|
/drivers/gpu/drm/bridge/ |
D | sil-sii8620.c | 137 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 …]
|
/drivers/gpu/drm/panel/ |
D | panel-samsung-s6e3ha2.c | 244 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 …]
|
D | panel-samsung-s6e8aa0.c | 128 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 …]
|
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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_fimc.c | 115 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 …]
|
D | exynos7_drm_decon.c | 86 struct decon_context *ctx = crtc->ctx; in decon_wait_for_vblank() local 105 struct decon_context *ctx = crtc->ctx; in decon_clear_channels() local 124 static int decon_ctx_initialize(struct decon_context *ctx, in decon_ctx_initialize() 134 static void decon_ctx_remove(struct decon_context *ctx) in decon_ctx_remove() 140 static u32 decon_calc_clkdiv(struct decon_context *ctx, in decon_calc_clkdiv() 154 struct decon_context *ctx = crtc->ctx; in decon_commit() local 219 struct decon_context *ctx = crtc->ctx; in decon_enable_vblank() local 244 struct decon_context *ctx = crtc->ctx; in decon_disable_vblank() local 261 static void decon_win_set_pixfmt(struct decon_context *ctx, unsigned int win, in decon_win_set_pixfmt() 333 static void decon_win_set_colkey(struct decon_context *ctx, unsigned int win) in decon_win_set_colkey() [all …]
|
/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 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 …]
|
/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 77 static int safexcel_skcipher_iv(struct safexcel_cipher_ctx *ctx, u8 *iv, in safexcel_skcipher_iv() 105 static void safexcel_skcipher_token(struct safexcel_cipher_ctx *ctx, u8 *iv, in safexcel_skcipher_token() 134 static void safexcel_aead_iv(struct safexcel_cipher_ctx *ctx, u8 *iv, in safexcel_aead_iv() 160 static void safexcel_aead_token(struct safexcel_cipher_ctx *ctx, u8 *iv, in safexcel_aead_token() 375 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_aes_setkey() local 406 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_setkey() local 505 static int safexcel_context_control(struct safexcel_cipher_ctx *ctx, in safexcel_context_control() 617 struct safexcel_cipher_ctx *ctx = crypto_skcipher_ctx(skcipher); in safexcel_handle_req_result() local 676 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_send_req() local 902 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_handle_inv_result() local [all …]
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_ctl.c | 71 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 …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 60 struct atom_context *ctx; member 106 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute() 178 static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr, in atom_get_src_int() 363 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 399 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 404 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct() 430 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_get_dst() 439 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() 446 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_put_dst() 582 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() [all …]
|
/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 …]
|
/drivers/misc/habanalabs/common/ |
D | mmu_v1.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, 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 …]
|
/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 …]
|
/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() 155 static struct vb2_buffer *get_free_buffer(struct mtk_vcodec_ctx *ctx) in get_free_buffer() 235 static void clean_display_buffer(struct mtk_vcodec_ctx *ctx) in clean_display_buffer() 244 static void clean_free_buffer(struct mtk_vcodec_ctx *ctx) in clean_free_buffer() 253 static void mtk_vdec_queue_res_chg_event(struct mtk_vcodec_ctx *ctx) in mtk_vdec_queue_res_chg_event() 265 static void mtk_vdec_flush_decoder(struct mtk_vcodec_ctx *ctx) in mtk_vdec_flush_decoder() 278 static void mtk_vdec_update_fmt(struct mtk_vcodec_ctx *ctx, in mtk_vdec_update_fmt() 299 static int mtk_vdec_pic_info_update(struct mtk_vcodec_ctx *ctx) in mtk_vdec_pic_info_update() 347 struct mtk_vcodec_ctx *ctx = container_of(work, struct mtk_vcodec_ctx, in mtk_vdec_worker() local [all …]
|
/drivers/media/platform/coda/ |
D | coda-bit.c | 63 static void coda_command_async(struct coda_ctx *ctx, int cmd) in coda_command_async() 96 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() 148 static void coda_kfifo_sync_from_device(struct coda_ctx *ctx) in coda_kfifo_sync_from_device() 161 static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_full() 173 static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_write() 183 static int coda_h264_bitstream_pad(struct coda_ctx *ctx, u32 size) in coda_h264_bitstream_pad() 202 int coda_bitstream_flush(struct coda_ctx *ctx) in coda_bitstream_flush() 222 static int coda_bitstream_queue(struct coda_ctx *ctx, const u8 *buf, u32 size) in coda_bitstream_queue() 229 static u32 coda_buffer_parse_headers(struct coda_ctx *ctx, in coda_buffer_parse_headers() [all …]
|
/drivers/media/platform/sti/bdisp/ |
D | bdisp-v4l2.c | 120 static inline void bdisp_ctx_state_lock_set(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_set() 129 static inline void bdisp_ctx_state_lock_clear(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_clear() 138 static inline bool bdisp_ctx_state_is_set(u32 mask, struct bdisp_ctx *ctx) in bdisp_ctx_state_is_set() 164 static struct bdisp_frame *ctx_get_frame(struct bdisp_ctx *ctx, in ctx_get_frame() 181 static void bdisp_job_finish(struct bdisp_ctx *ctx, int vb_state) in bdisp_job_finish() 208 static int bdisp_ctx_stop_req(struct bdisp_ctx *ctx) in bdisp_ctx_stop_req() 236 static void __bdisp_job_abort(struct bdisp_ctx *ctx) in __bdisp_job_abort() 253 static int bdisp_get_addr(struct bdisp_ctx *ctx, struct vb2_buffer *vb, in bdisp_get_addr() 281 static int bdisp_get_bufs(struct bdisp_ctx *ctx) in bdisp_get_bufs() 307 struct bdisp_ctx *ctx = priv; in bdisp_device_run() local [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxnv50.c | 177 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() 795 nv50_gr_construct_mmio_ddata(struct nvkm_grctx *ctx) in nv50_gr_construct_mmio_ddata() 1158 xf_emit(struct nvkm_grctx *ctx, int num, u32 val) { in xf_emit() 1189 nv50_gr_construct_xfer1(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer1() 1352 nv50_gr_construct_gene_dispatch(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_dispatch() 1408 nv50_gr_construct_gene_m2mf(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_m2mf() 1460 nv50_gr_construct_gene_ccache(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_ccache() [all …]
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rxon.c | 24 struct iwl_rxon_context *ctx) in iwl_connection_init_rx_config() 85 struct iwl_rxon_context *ctx, in iwlagn_disable_bss() 105 struct iwl_rxon_context *ctx, in iwlagn_disable_pan() 142 struct iwl_rxon_context *ctx, in iwlagn_disconn_pan() 158 struct iwl_rxon_context *ctx) in iwlagn_update_qos() 198 struct iwl_rxon_context *ctx) in iwlagn_send_rxon_assoc() 278 struct iwl_rxon_context *ctx) in iwl_send_rxon_timing() 346 struct iwl_rxon_context *ctx) in iwlagn_rxon_disconn() 392 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_set_tx_power() local 446 struct iwl_rxon_context *ctx) in iwlagn_rxon_connect() [all …]
|
/drivers/staging/media/rkvdec/ |
D | rkvdec.c | 127 static void rkvdec_reset_fmt(struct rkvdec_ctx *ctx, struct v4l2_format *f, in rkvdec_reset_fmt() 139 static void rkvdec_reset_coded_fmt(struct rkvdec_ctx *ctx) in rkvdec_reset_coded_fmt() 154 static void rkvdec_reset_decoded_fmt(struct rkvdec_ctx *ctx) in rkvdec_reset_decoded_fmt() 204 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_try_capture_fmt() local 245 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_try_output_fmt() local 276 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_s_capture_fmt() local 297 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_s_output_fmt() local 358 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_g_output_fmt() local 367 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_g_capture_fmt() local 386 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_enum_capture_fmt() local [all …]
|
/drivers/media/platform/sti/delta/ |
D | delta-v4l2.c | 61 static void dump_au(struct delta_ctx *ctx, struct delta_au *au) in dump_au() 77 static void dump_frame(struct delta_ctx *ctx, struct delta_frame *frame) in dump_frame() 90 static void delta_au_done(struct delta_ctx *ctx, struct delta_au *au, int err) in delta_au_done() 99 static void delta_frame_done(struct delta_ctx *ctx, struct delta_frame *frame, in delta_frame_done() 117 static void requeue_free_frames(struct delta_ctx *ctx) in requeue_free_frames() 134 static int delta_recycle(struct delta_ctx *ctx, struct delta_frame *frame) in delta_recycle() 159 static void delta_push_dts(struct delta_ctx *ctx, u64 val) in delta_push_dts() 177 static void delta_pop_dts(struct delta_ctx *ctx, u64 *val) in delta_pop_dts() 201 static void delta_flush_dts(struct delta_ctx *ctx) in delta_flush_dts() 242 static void set_default_params(struct delta_ctx *ctx) in set_default_params() [all …]
|