/drivers/media/platform/qcom/venus/ |
D | hfi_parser.h | 15 static inline u32 get_cap(struct venus_inst *inst, u32 type, u32 which) in get_cap() 50 static inline u32 cap_min(struct venus_inst *inst, u32 type) in cap_min() 55 static inline u32 cap_max(struct venus_inst *inst, u32 type) in cap_max() 60 static inline u32 cap_step(struct venus_inst *inst, u32 type) in cap_step() 65 static inline u32 frame_width_min(struct venus_inst *inst) in frame_width_min() 70 static inline u32 frame_width_max(struct venus_inst *inst) in frame_width_max() 75 static inline u32 frame_width_step(struct venus_inst *inst) in frame_width_step() 80 static inline u32 frame_height_min(struct venus_inst *inst) in frame_height_min() 85 static inline u32 frame_height_max(struct venus_inst *inst) in frame_height_max() 90 static inline u32 frame_height_step(struct venus_inst *inst) in frame_height_step() [all …]
|
D | vdec.c | 91 find_format(struct venus_inst *inst, u32 pixfmt, u32 type) in find_format() 113 find_format_by_index(struct venus_inst *inst, unsigned int index, u32 type) in find_format_by_index() 142 vdec_try_fmt_common(struct venus_inst *inst, struct v4l2_format *f) in vdec_try_fmt_common() 195 struct venus_inst *inst = to_inst(file); in vdec_try_fmt() local 202 static int vdec_check_src_change(struct venus_inst *inst) in vdec_check_src_change() 238 struct venus_inst *inst = to_inst(file); in vdec_g_fmt() local 275 struct venus_inst *inst = to_inst(file); in vdec_s_fmt() local 342 struct venus_inst *inst = to_inst(file); in vdec_g_selection() local 393 struct venus_inst *inst = to_inst(file); in vdec_enum_fmt() local 410 struct venus_inst *inst = to_inst(file); in vdec_s_parm() local [all …]
|
D | hfi_msgs.c | 17 static void event_seq_changed(struct venus_core *core, struct venus_inst *inst, in event_seq_changed() 119 struct venus_inst *inst, in event_release_buffer_ref() 150 event_session_error(struct venus_core *core, struct venus_inst *inst, in event_session_error() 180 static void hfi_event_notify(struct venus_core *core, struct venus_inst *inst, in hfi_event_notify() 208 static void hfi_sys_init_done(struct venus_core *core, struct venus_inst *inst, in hfi_sys_init_done() 254 struct venus_inst *inst, void *packet) in hfi_sys_property_info() 275 struct venus_inst *inst, in hfi_sys_rel_resource_done() 284 static void hfi_sys_ping_done(struct venus_core *core, struct venus_inst *inst, in hfi_sys_ping_done() 297 static void hfi_sys_idle_done(struct venus_core *core, struct venus_inst *inst, in hfi_sys_idle_done() 304 struct venus_inst *inst, void *packet) in hfi_sys_pc_prepare_done() [all …]
|
D | hfi.c | 164 static int wait_session_msg(struct venus_inst *inst) in wait_session_msg() 178 int hfi_session_create(struct venus_inst *inst, const struct hfi_inst_ops *ops) in hfi_session_create() 198 int hfi_session_init(struct venus_inst *inst, u32 pixfmt) in hfi_session_init() 224 void hfi_session_destroy(struct venus_inst *inst) in hfi_session_destroy() 236 int hfi_session_deinit(struct venus_inst *inst) in hfi_session_deinit() 263 int hfi_session_start(struct venus_inst *inst) in hfi_session_start() 287 int hfi_session_stop(struct venus_inst *inst) in hfi_session_stop() 311 int hfi_session_continue(struct venus_inst *inst) in hfi_session_continue() 322 int hfi_session_abort(struct venus_inst *inst) in hfi_session_abort() 341 int hfi_session_load_res(struct venus_inst *inst) in hfi_session_load_res() [all …]
|
D | helpers.c | 28 bool venus_helper_check_codec(struct venus_inst *inst, u32 v4l2_pixfmt) in venus_helper_check_codec() 80 int venus_helper_queue_dpb_bufs(struct venus_inst *inst) in venus_helper_queue_dpb_bufs() 103 int venus_helper_free_dpb_bufs(struct venus_inst *inst) in venus_helper_free_dpb_bufs() 120 int venus_helper_alloc_dpb_bufs(struct venus_inst *inst) in venus_helper_alloc_dpb_bufs() 181 static int intbufs_set_buffer(struct venus_inst *inst, u32 type) in intbufs_set_buffer() 240 static int intbufs_unset_buffers(struct venus_inst *inst) in intbufs_unset_buffers() 280 int venus_helper_intbufs_alloc(struct venus_inst *inst) in venus_helper_intbufs_alloc() 308 int venus_helper_intbufs_free(struct venus_inst *inst) in venus_helper_intbufs_free() 314 int venus_helper_intbufs_realloc(struct venus_inst *inst) in venus_helper_intbufs_realloc() 371 static void return_buf_error(struct venus_inst *inst, in return_buf_error() [all …]
|
D | venc.c | 63 find_format(struct venus_inst *inst, u32 pixfmt, u32 type) in find_format() 85 find_format_by_index(struct venus_inst *inst, unsigned int index, u32 type) in find_format_by_index() 151 struct venus_inst *inst = to_inst(file); in venc_enum_fmt() local 167 venc_try_fmt_common(struct venus_inst *inst, struct v4l2_format *f) in venc_try_fmt_common() 221 struct venus_inst *inst = to_inst(file); in venc_try_fmt() local 230 struct venus_inst *inst = to_inst(file); in venc_s_fmt() local 300 struct venus_inst *inst = to_inst(file); in venc_g_fmt() local 332 struct venus_inst *inst = to_inst(file); in venc_g_selection() local 360 struct venus_inst *inst = to_inst(file); in venc_s_selection() local 381 struct venus_inst *inst = to_inst(file); in venc_s_parm() local [all …]
|
D | vdec_ctrls.c | 15 struct venus_inst *inst = ctrl_to_inst(ctrl); in vdec_op_s_ctrl() local 42 struct venus_inst *inst = ctrl_to_inst(ctrl); in vdec_op_g_volatile_ctrl() local 87 int vdec_ctrl_init(struct venus_inst *inst) in vdec_ctrl_init() 170 void vdec_ctrl_deinit(struct venus_inst *inst) in vdec_ctrl_deinit()
|
D | pm_helpers.c | 133 static u32 load_per_instance(struct venus_inst *inst) in load_per_instance() 147 struct venus_inst *inst = NULL; in load_per_type() local 160 static void mbs_to_bw(struct venus_inst *inst, u32 mbs, u32 *avg, u32 *peak) in mbs_to_bw() 201 struct venus_inst *inst = NULL; in load_scale_bw() local 227 static int load_scale_v1(struct venus_inst *inst) in load_scale_v1() 491 min_loaded_core(struct venus_inst *inst, u32 *min_coreid, u32 *min_load) in min_loaded_core() 537 static int decide_core(struct venus_inst *inst) in decide_core() 576 static int acquire_core(struct venus_inst *inst) in acquire_core() 603 static int release_core(struct venus_inst *inst) in release_core() 636 static int coreid_power_v4(struct venus_inst *inst, int on) in coreid_power_v4() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv04.c | 445 nv04_gr_set_ctx1(struct nvkm_device *device, u32 inst, u32 mask, u32 value) in nv04_gr_set_ctx1() 460 nv04_gr_set_ctx_val(struct nvkm_device *device, u32 inst, u32 mask, u32 value) in nv04_gr_set_ctx_val() 508 nv04_gr_mthd_set_operation(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_set_operation() 523 nv04_gr_mthd_surf3d_clip_h(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_surf3d_clip_h() 541 nv04_gr_mthd_surf3d_clip_v(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_surf3d_clip_v() 559 nv04_gr_mthd_bind_class(struct nvkm_device *device, u32 inst) in nv04_gr_mthd_bind_class() 565 nv04_gr_mthd_bind_surf2d(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_bind_surf2d() 581 nv04_gr_mthd_bind_surf2d_swzsurf(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_bind_surf2d_swzsurf() 601 nv01_gr_mthd_bind_patt(struct nvkm_device *device, u32 inst, u32 data) in nv01_gr_mthd_bind_patt() 615 nv04_gr_mthd_bind_patt(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_bind_patt() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | soc15_common.h | 28 #define SOC15_REG_OFFSET(ip, inst, reg) (adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) argument 35 #define RREG32_SOC15(ip, inst, reg) \ argument 38 #define RREG32_SOC15_NO_KIQ(ip, inst, reg) \ argument 41 #define RREG32_SOC15_OFFSET(ip, inst, reg, offset) \ argument 44 #define WREG32_SOC15(ip, inst, reg, value) \ argument 47 #define WREG32_SOC15_NO_KIQ(ip, inst, reg, value) \ argument 50 #define WREG32_SOC15_OFFSET(ip, inst, reg, offset, value) \ argument 53 #define SOC15_WAIT_ON_RREG(ip, inst, reg, expected_value, mask) \ argument 103 #define WREG32_SOC15_RLC_SHADOW(ip, inst, reg, value) \ argument 121 #define WREG32_SOC15_RLC(ip, inst, reg, value) \ argument [all …]
|
D | soc15.h | 54 uint32_t inst; member 64 uint32_t inst; member 73 uint32_t inst; member 82 #define SOC15_REG_ENTRY(ip, inst, reg) ip##_HWIP, inst, reg##_BASE_IDX, reg argument 86 #define SOC15_REG_GOLDEN_VALUE(ip, inst, reg, and_mask, or_mask) \ argument
|
/drivers/media/platform/mtk-vcodec/vdec/ |
D | vdec_vp9_if.c | 206 static bool vp9_is_sf_ref_fb(struct vdec_vp9_inst *inst, struct vdec_fb *fb) in vp9_is_sf_ref_fb() 218 static struct vdec_fb *vp9_rm_from_fb_use_list(struct vdec_vp9_inst in vp9_rm_from_fb_use_list() 236 static void vp9_add_to_fb_free_list(struct vdec_vp9_inst *inst, in vp9_add_to_fb_free_list() 262 static void vp9_ref_cnt_fb(struct vdec_vp9_inst *inst, int *idx, in vp9_ref_cnt_fb() 289 static void vp9_free_all_sf_ref_fb(struct vdec_vp9_inst *inst) in vp9_free_all_sf_ref_fb() 310 static int vp9_get_sf_ref_fb(struct vdec_vp9_inst *inst) in vp9_get_sf_ref_fb() 360 static bool vp9_alloc_work_buf(struct vdec_vp9_inst *inst) in vp9_alloc_work_buf() 434 static bool vp9_add_to_fb_disp_list(struct vdec_vp9_inst *inst, in vp9_add_to_fb_disp_list() 458 static void vp9_swap_frm_bufs(struct vdec_vp9_inst *inst) in vp9_swap_frm_bufs() 537 static bool vp9_wait_dec_end(struct vdec_vp9_inst *inst) in vp9_wait_dec_end() [all …]
|
D | vdec_vp8_if.c | 168 static void get_hw_reg_base(struct vdec_vp8_inst *inst) in get_hw_reg_base() 179 static void write_hw_segmentation_data(struct vdec_vp8_inst *inst) in write_hw_segmentation_data() 200 static void read_hw_segmentation_data(struct vdec_vp8_inst *inst) in read_hw_segmentation_data() 222 static void enable_hw_rw_function(struct vdec_vp8_inst *inst) in enable_hw_rw_function() 249 static void store_dec_table(struct vdec_vp8_inst *inst) in store_dec_table() 266 static void load_dec_table(struct vdec_vp8_inst *inst) in load_dec_table() 283 static void get_pic_info(struct vdec_vp8_inst *inst, struct vdec_pic_info *pic) in get_pic_info() 293 static void vp8_dec_finish(struct vdec_vp8_inst *inst) in vp8_dec_finish() 328 static void move_fb_list_use_to_free(struct vdec_vp8_inst *inst) in move_fb_list_use_to_free() 336 static void init_list(struct vdec_vp8_inst *inst) in init_list() [all …]
|
D | vdec_h264_if.c | 140 static int allocate_predication_buf(struct vdec_h264_inst *inst) in allocate_predication_buf() 155 static void free_predication_buf(struct vdec_h264_inst *inst) in free_predication_buf() 167 static int alloc_mv_buf(struct vdec_h264_inst *inst, struct vdec_pic_info *pic) in alloc_mv_buf() 190 static void free_mv_buf(struct vdec_h264_inst *inst) in free_mv_buf() 203 static int check_list_validity(struct vdec_h264_inst *inst, bool disp_list) in check_list_validity() 221 static void put_fb_to_free(struct vdec_h264_inst *inst, struct vdec_fb *fb) in put_fb_to_free() 245 static void get_pic_info(struct vdec_h264_inst *inst, in get_pic_info() 255 static void get_crop_info(struct vdec_h264_inst *inst, struct v4l2_rect *cr) in get_crop_info() 266 static void get_dpb_size(struct vdec_h264_inst *inst, unsigned int *dpb_sz) in get_dpb_size() 274 struct vdec_h264_inst *inst = NULL; in vdec_h264_init() local [all …]
|
/drivers/media/platform/mtk-vcodec/venc/ |
D | venc_h264_if.c | 158 static inline u32 h264_read_reg(struct venc_h264_inst *inst, u32 addr) in h264_read_reg() 163 static unsigned int h264_get_profile(struct venc_h264_inst *inst, in h264_get_profile() 185 static unsigned int h264_get_level(struct venc_h264_inst *inst, in h264_get_level() 224 static void h264_enc_free_work_buf(struct venc_h264_inst *inst) in h264_enc_free_work_buf() 243 static int h264_enc_alloc_work_buf(struct venc_h264_inst *inst) in h264_enc_alloc_work_buf() 328 static unsigned int h264_enc_wait_venc_done(struct venc_h264_inst *inst) in h264_enc_wait_venc_done() 341 static int h264_frame_type(struct venc_h264_inst *inst) in h264_frame_type() 357 static int h264_encode_sps(struct venc_h264_inst *inst, in h264_encode_sps() 384 static int h264_encode_pps(struct venc_h264_inst *inst, in h264_encode_pps() 411 static int h264_encode_header(struct venc_h264_inst *inst, in h264_encode_header() [all …]
|
D | venc_vp8_if.c | 135 static inline u32 vp8_enc_read_reg(struct venc_vp8_inst *inst, u32 addr) in vp8_enc_read_reg() 140 static void vp8_enc_free_work_buf(struct venc_vp8_inst *inst) in vp8_enc_free_work_buf() 156 static int vp8_enc_alloc_work_buf(struct venc_vp8_inst *inst) in vp8_enc_alloc_work_buf() 219 static unsigned int vp8_enc_wait_venc_done(struct venc_vp8_inst *inst) in vp8_enc_wait_venc_done() 236 static int vp8_enc_compose_one_frame(struct venc_vp8_inst *inst, in vp8_enc_compose_one_frame() 295 static int vp8_enc_encode_frame(struct venc_vp8_inst *inst, in vp8_enc_encode_frame() 331 struct venc_vp8_inst *inst; in vp8_enc_init() local 365 struct venc_vp8_inst *inst = (struct venc_vp8_inst *)handle; in vp8_enc_encode() local 400 struct venc_vp8_inst *inst = (struct venc_vp8_inst *)handle; in vp8_enc_set_param() local 449 struct venc_vp8_inst *inst = (struct venc_vp8_inst *)handle; in vp8_enc_deinit() local
|
/drivers/soc/mediatek/ |
D | mtk-cmdq-helper.c | 170 struct cmdq_instruction inst) in cmdq_pkt_append_command() 198 struct cmdq_instruction inst; in cmdq_pkt_write() local 212 struct cmdq_instruction inst = { {0} }; in cmdq_pkt_write_mask() local 234 struct cmdq_instruction inst = {}; in cmdq_pkt_read_s() local 249 struct cmdq_instruction inst = {}; in cmdq_pkt_write_s() local 264 struct cmdq_instruction inst = {}; in cmdq_pkt_write_s_mask() local 287 struct cmdq_instruction inst = {}; in cmdq_pkt_write_s_value() local 301 struct cmdq_instruction inst = {}; in cmdq_pkt_write_s_mask_value() local 321 struct cmdq_instruction inst = { {0} }; in cmdq_pkt_wfe() local 337 struct cmdq_instruction inst = { {0} }; in cmdq_pkt_clear_event() local [all …]
|
/drivers/soc/ti/ |
D | knav_qmss_queue.c | 57 #define for_each_handle_rcu(qh, inst) \ argument 61 #define for_each_instance(idx, inst, kdev) \ argument 84 void knav_queue_notify(struct knav_queue_inst *inst) in knav_queue_notify() 106 struct knav_queue_inst *inst = _instdata; in knav_queue_int_handler() local 113 struct knav_queue_inst *inst) in knav_queue_setup_irq() 137 static void knav_queue_free_irq(struct knav_queue_inst *inst) in knav_queue_free_irq() 150 static inline bool knav_queue_is_busy(struct knav_queue_inst *inst) in knav_queue_is_busy() 155 static inline bool knav_queue_is_reserved(struct knav_queue_inst *inst) in knav_queue_is_reserved() 160 static inline bool knav_queue_is_shared(struct knav_queue_inst *inst) in knav_queue_is_shared() 175 static inline bool knav_queue_match_type(struct knav_queue_inst *inst, in knav_queue_match_type() [all …]
|
/drivers/phy/mediatek/ |
D | phy-mtk-xsphy.c | 117 struct xsphy_instance *inst) in u2_phy_slew_rate_calibrate() 192 struct xsphy_instance *inst) in u2_phy_instance_init() 208 struct xsphy_instance *inst) in u2_phy_instance_power_on() 227 struct xsphy_instance *inst) in u2_phy_instance_power_off() 246 struct xsphy_instance *inst, in u2_phy_instance_set_mode() 270 struct xsphy_instance *inst) in phy_parse_property() 306 struct xsphy_instance *inst) in u2_phy_props_set() 341 struct xsphy_instance *inst) in u3_phy_props_set() 370 struct xsphy_instance *inst = phy_get_drvdata(phy); in mtk_phy_init() local 399 struct xsphy_instance *inst = phy_get_drvdata(phy); in mtk_phy_power_on() local [all …]
|
/drivers/gpu/drm/vc4/ |
D | vc4_validate_shaders.c | 116 raddr_add_a_to_live_reg_index(uint64_t inst) in raddr_add_a_to_live_reg_index() 187 uint64_t inst = validation_state->shader[validation_state->ip]; in check_tmu_write() local 311 uint64_t inst = validation_state->shader[validation_state->ip]; in validate_uniform_address_write() local 390 uint64_t inst = validation_state->shader[validation_state->ip]; in check_reg_write() local 481 uint64_t inst = validation_state->shader[validation_state->ip]; in track_live_clamps() local 556 uint64_t inst = validation_state->shader[validation_state->ip]; in check_instruction_writes() local 575 check_branch(uint64_t inst, in check_branch() 603 uint64_t inst = validation_state->shader[validation_state->ip]; in check_instruction_reads() local 642 uint64_t inst = validation_state->shader[ip]; in vc4_validate_branches() local 808 uint64_t inst = validation_state.shader[ip]; in vc4_validate_shader() local
|
/drivers/phy/samsung/ |
D | phy-exynos4x12-usb2.c | 165 static void exynos4x12_isol(struct samsung_usb2_phy_instance *inst, bool on) in exynos4x12_isol() 192 static void exynos4x12_setup_clk(struct samsung_usb2_phy_instance *inst) in exynos4x12_setup_clk() 208 static void exynos4x12_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) in exynos4x12_phy_pwr() 260 static void exynos4x12_power_on_int(struct samsung_usb2_phy_instance *inst) in exynos4x12_power_on_int() 270 static int exynos4x12_power_on(struct samsung_usb2_phy_instance *inst) in exynos4x12_power_on() 300 static void exynos4x12_power_off_int(struct samsung_usb2_phy_instance *inst) in exynos4x12_power_off_int() 309 static int exynos4x12_power_off(struct samsung_usb2_phy_instance *inst) in exynos4x12_power_off()
|
D | phy-s5pv210-usb2.c | 89 static void s5pv210_isol(struct samsung_usb2_phy_instance *inst, bool on) in s5pv210_isol() 109 static void s5pv210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) in s5pv210_phy_pwr() 153 static int s5pv210_power_on(struct samsung_usb2_phy_instance *inst) in s5pv210_power_on() 161 static int s5pv210_power_off(struct samsung_usb2_phy_instance *inst) in s5pv210_power_off()
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_mpc.h | 45 #define MPC_REG_LIST_DCN3_0(inst)\ argument 107 #define MPC_OUT_MUX_REG_LIST_DCN3_0(inst) \ argument 123 #define MPC_RMU_REG_LIST_DCN3AG(inst) \ argument 190 #define MPC_DWB_MUX_REG_LIST_DCN3_0(inst) \ argument
|
/drivers/crypto/qat/qat_common/ |
D | qat_crypto.c | 18 void qat_crypto_put_instance(struct qat_crypto_instance *inst) in qat_crypto_put_instance() 26 struct qat_crypto_instance *inst, *tmp; in qat_crypto_free_instances() local 54 struct qat_crypto_instance *inst = NULL, *tmp_inst; in qat_crypto_get_instance_node() local 212 struct qat_crypto_instance *inst; in qat_crypto_create_instances() local
|
/drivers/iommu/arm/arm-smmu/ |
D | arm-smmu-nvidia.c | 31 unsigned int inst, int page) in nvidia_smmu_page() 132 int inst) in nvidia_smmu_global_fault_inst() 157 unsigned int inst; in nvidia_smmu_global_fault() local 174 int idx, int inst) in nvidia_smmu_context_fault_bank() 200 unsigned int inst; in nvidia_smmu_context_fault() local
|