| /OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/ |
| H A D | s5p_mfc_dec.c | 227 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready() 318 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() local 410 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() local 459 static int reqbufs_output(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_output() 507 static int reqbufs_capture(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_capture() 566 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() local 587 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() local 615 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf() local 634 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf() local 663 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf() local [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/sample/ |
| H A D | sample_aynr_module.cpp | 50 XCamReturn sample_ynr_getAttr_v3(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mode) in sample_ynr_getAttr_v3() 60 XCamReturn sample_ynr_getAttr_v22(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mode) in sample_ynr_getAttr_v22() 71 XCamReturn sample_ynr_getStrength_v3(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mode) in sample_ynr_getStrength_v3() 84 XCamReturn sample_ynr_getStrength_v22(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mod… in sample_ynr_getStrength_v22() 97 XCamReturn sample_ynr_setAuto_v3(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mode) in sample_ynr_setAuto_v3() 224 XCamReturn sample_ynr_setAuto_v22(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mode) in sample_ynr_setAuto_v22() 349 XCamReturn sample_ynr_setManual_v3(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mode) in sample_ynr_setManual_v3() 477 XCamReturn sample_ynr_setManual_v22(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mode) in sample_ynr_setManual_v22() 598 XCamReturn sample_ynr_setReg_v3(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mode) in sample_ynr_setReg_v3() 763 XCamReturn sample_ynr_setReg_v22(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync_mode) in sample_ynr_setReg_v22() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/legacy/ |
| H A D | vpu_api.cpp | 34 vpu_api_init(VpuCodecContext *ctx, RK_U8 *extraData, RK_U32 extra_size) in vpu_api_init() 52 vpu_api_decode(VpuCodecContext *ctx, VideoPacket_t *pkt, DecoderOut_t *aDecOut) in vpu_api_decode() 67 static RK_S32 vpu_api_sendstream(VpuCodecContext *ctx, VideoPacket_t *pkt) in vpu_api_sendstream() 83 static RK_S32 vpu_api_getframe(VpuCodecContext *ctx, DecoderOut_t *aDecOut) in vpu_api_getframe() 100 vpu_api_sendframe(VpuCodecContext *ctx, EncInputStream_t *aEncInStrm) in vpu_api_sendframe() 116 static RK_S32 vpu_api_getstream(VpuCodecContext *ctx, EncoderOut_t *aEncOut) in vpu_api_getstream() 133 vpu_api_encode(VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, in vpu_api_encode() 150 static RK_S32 vpu_api_flush(VpuCodecContext *ctx) in vpu_api_flush() 168 vpu_api_control(VpuCodecContext *ctx, VPU_API_CMD cmdType, void *param) in vpu_api_control() 248 static RK_S32 open_orign_vpu(VpuCodecContext **ctx) in open_orign_vpu() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/cxl/ |
| H A D | fault.c | 32 static struct cxl_sste *find_free_sste(struct cxl_context *ctx, in find_free_sste() 63 static void cxl_load_segment(struct cxl_context *ctx, struct copro_slb *slb) in cxl_load_segment() 84 static int cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, in cxl_fault_segment() 97 static void cxl_ack_ae(struct cxl_context *ctx) in cxl_ack_ae() 112 static int cxl_handle_segment_miss(struct cxl_context *ctx, in cxl_handle_segment_miss() 180 static void cxl_handle_page_fault(struct cxl_context *ctx, in cxl_handle_page_fault() 198 static struct mm_struct *get_mem_context(struct cxl_context *ctx) in get_mem_context() 209 static bool cxl_is_segment_miss(struct cxl_context *ctx, u64 dsisr) in cxl_is_segment_miss() 217 static bool cxl_is_page_fault(struct cxl_context *ctx, u64 dsisr) in cxl_is_page_fault() 230 struct cxl_context *ctx = in cxl_handle_fault() local [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/accm/ |
| H A D | rk_aiq_uapi_accm_int.cpp | 6 rk_aiq_uapi_accm_SetAttrib(RkAiqAlgoContext *ctx, in rk_aiq_uapi_accm_SetAttrib() 19 rk_aiq_uapi_accm_GetAttrib(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_accm_GetAttrib() 35 rk_aiq_uapi_accm_SetAttrib(RkAiqAlgoContext *ctx, in rk_aiq_uapi_accm_SetAttrib() 43 rk_aiq_uapi_accm_GetAttrib(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_accm_GetAttrib() 52 rk_aiq_uapi_accm_v2_SetAttrib(RkAiqAlgoContext *ctx, in rk_aiq_uapi_accm_v2_SetAttrib() 65 rk_aiq_uapi_accm_v2_GetAttrib(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_accm_v2_GetAttrib() 92 rk_aiq_uapi_accm_v2_SetAttrib(RkAiqAlgoContext *ctx, in rk_aiq_uapi_accm_v2_SetAttrib() 100 rk_aiq_uapi_accm_v2_GetAttrib(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_accm_v2_GetAttrib() 108 rk_aiq_uapi_accm_QueryCcmInfo(const RkAiqAlgoContext *ctx, in rk_aiq_uapi_accm_QueryCcmInfo()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/uAPI2/ |
| H A D | rk_aiq_user_api2_sysctl.cpp | 92 void rk_aiq_uapi2_sysctl_deinit(rk_aiq_sys_ctx_t* ctx) in rk_aiq_uapi2_sysctl_deinit() 98 rk_aiq_uapi2_sysctl_prepare(const rk_aiq_sys_ctx_t* ctx, in rk_aiq_uapi2_sysctl_prepare() 106 rk_aiq_uapi2_sysctl_start(const rk_aiq_sys_ctx_t* ctx) in rk_aiq_uapi2_sysctl_start() 112 rk_aiq_uapi2_sysctl_stop(const rk_aiq_sys_ctx_t* ctx, bool keep_ext_hw_st) in rk_aiq_uapi2_sysctl_stop() 129 rk_aiq_uapi2_sysctl_getModuleCtl(const rk_aiq_sys_ctx_t* ctx, in rk_aiq_uapi2_sysctl_getModuleCtl() 136 rk_aiq_uapi2_sysctl_setModuleCtl(const rk_aiq_sys_ctx_t* ctx, rk_aiq_module_id_t mId, bool mod_en) in rk_aiq_uapi2_sysctl_setModuleCtl() 142 rk_aiq_uapi2_sysctl_enableAxlib(const rk_aiq_sys_ctx_t* ctx, in rk_aiq_uapi2_sysctl_enableAxlib() 151 rk_aiq_uapi2_sysctl_getAxlibStatus(const rk_aiq_sys_ctx_t* ctx, in rk_aiq_uapi2_sysctl_getAxlibStatus() 159 rk_aiq_uapi2_sysctl_getEnabledAxlibCtx(const rk_aiq_sys_ctx_t* ctx, const int algo_type) in rk_aiq_uapi2_sysctl_getEnabledAxlibCtx() 204 rk_aiq_uapi2_sysctl_setCpsLtCfg(const rk_aiq_sys_ctx_t* ctx, rk_aiq_cpsl_cfg_t* cfg) in rk_aiq_uapi2_sysctl_setCpsLtCfg() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/ |
| H A D | kirin_drm_dpe.c | 199 static void dpe_mctl_lock(struct dpe_hw_ctx *ctx) in dpe_mctl_lock() 206 static void dpe_mctl_unlock(struct dpe_hw_ctx *ctx) in dpe_mctl_unlock() 213 static void dpe_mctl_init(struct dpe_hw_ctx *ctx) in dpe_mctl_init() 223 static void dpe_qos_init(struct dpe_hw_ctx *ctx) in dpe_qos_init() 234 static void dpe_enable_ldi(struct dpe_hw_ctx *ctx) in dpe_enable_ldi() 242 static void dpe_interrupt_mask(struct dpe_hw_ctx *ctx) in dpe_interrupt_mask() 264 static void dpe_interrupt_unmask(struct dpe_hw_ctx *ctx) in dpe_interrupt_unmask() 278 static void dpe_interrupt_clear(struct dpe_hw_ctx *ctx) in dpe_interrupt_clear() 300 static void dpe_irq_enable(struct dpe_hw_ctx *ctx) in dpe_irq_enable() 305 static void dpe_clk_enable(struct dpe_hw_ctx *ctx) in dpe_clk_enable() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/m2v/ |
| H A D | m2vd_parser.c | 139 static MPP_RET m2vd_parser_init_ctx(M2VDParserContext *ctx, ParserCfg *cfg) in m2vd_parser_init_ctx() 237 MPP_RET m2vd_parser_init(void *ctx, ParserCfg *parser_cfg) in m2vd_parser_init() 257 MPP_RET m2vd_parser_deinit(void *ctx) in m2vd_parser_deinit() 311 MPP_RET m2vd_parser_reset(void *ctx) in m2vd_parser_reset() 359 MPP_RET m2vd_parser_flush(void *ctx) in m2vd_parser_flush() 384 MPP_RET m2vd_parser_control(void *ctx, MpiCmd cmd_type, void *param) in m2vd_parser_control() 401 MPP_RET mpp_m2vd_parser_split(M2VDParserContext *ctx, MppPacket dst, MppPacket src) in mpp_m2vd_parser_split() 465 MPP_RET m2vd_parser_prepare(void *ctx, MppPacket pkt, HalDecTask *task) in m2vd_parser_prepare() 578 static int m2vd_decode_seq_ext_header(M2VDParserContext *ctx) in m2vd_decode_seq_ext_header() 604 static int m2vd_decode_seqdisp_ext_header(M2VDParserContext *ctx) in m2vd_decode_seqdisp_ext_header() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/ |
| H A D | panel-samsung-ld9040.c | 118 static int ld9040_clear_error(struct ld9040 *ctx) in ld9040_clear_error() 126 static int ld9040_spi_write_word(struct ld9040 *ctx, u16 data) in ld9040_spi_write_word() 141 static void ld9040_dcs_write(struct ld9040 *ctx, const u8 *data, size_t len) in ld9040_dcs_write() 165 #define ld9040_dcs_write_seq_static(ctx, seq...) \ argument 171 static void ld9040_brightness_set(struct ld9040 *ctx) in ld9040_brightness_set() 179 static void ld9040_init(struct ld9040 *ctx) in ld9040_init() 198 static int ld9040_power_on(struct ld9040 *ctx) in ld9040_power_on() 215 static int ld9040_power_off(struct ld9040 *ctx) in ld9040_power_off() 227 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_unprepare() local 241 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_prepare() local [all …]
|
| H A D | panel-samsung-s6e63m0.c | 141 static int s6e63m0_clear_error(struct s6e63m0 *ctx) in s6e63m0_clear_error() 149 static void s6e63m0_dcs_read(struct s6e63m0 *ctx, const u8 cmd, u8 *data) in s6e63m0_dcs_read() 157 static void s6e63m0_dcs_write(struct s6e63m0 *ctx, const u8 *data, size_t len) in s6e63m0_dcs_write() 165 #define s6e63m0_dcs_write_seq_static(ctx, seq ...) \ argument 171 static int s6e63m0_check_lcd_type(struct s6e63m0 *ctx) in s6e63m0_check_lcd_type() 208 static void s6e63m0_init(struct s6e63m0 *ctx) in s6e63m0_init() 281 static int s6e63m0_power_on(struct s6e63m0 *ctx) in s6e63m0_power_on() 300 static int s6e63m0_power_off(struct s6e63m0 *ctx) in s6e63m0_power_off() 316 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); in s6e63m0_disable() local 335 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); in s6e63m0_unprepare() local [all …]
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | userfaultfd.c | 82 struct userfaultfd_ctx *ctx; member 91 struct userfaultfd_ctx *ctx; member 103 static bool userfaultfd_is_initialized(struct userfaultfd_ctx *ctx) in userfaultfd_is_initialized() 153 static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_get() 166 static void userfaultfd_ctx_put(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_put() 226 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait() 258 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait() 275 static inline bool userfaultfd_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_must_wait() 370 struct userfaultfd_ctx *ctx; in handle_userfault() local 554 static void userfaultfd_event_wait_completion(struct userfaultfd_ctx *ctx, in userfaultfd_event_wait_completion() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_crypto.c | 30 #define HPRE_DEV(ctx) (&((ctx)->qp->qm->pdev->dev)) argument 90 struct hpre_ctx *ctx; member 101 static int hpre_alloc_req_id(struct hpre_ctx *ctx) in hpre_alloc_req_id() 113 static void hpre_free_req_id(struct hpre_ctx *ctx, int req_id) in hpre_free_req_id() 124 struct hpre_ctx *ctx; in hpre_add_req_to_ctx() local 145 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_rm_req_from_ctx() local 180 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_get_data_dma_addr() local 204 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_prepare_dma_buf() local 232 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_hw_data_init() local 254 static void hpre_hw_data_clr_all(struct hpre_ctx *ctx, in hpre_hw_data_clr_all() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/sti/hva/ |
| H A D | hva-v4l2.c | 91 static void set_default_params(struct hva_ctx *ctx) in set_default_params() 120 static const struct hva_enc *hva_find_encoder(struct hva_ctx *ctx, in hva_find_encoder() 189 static int hva_open_encoder(struct hva_ctx *ctx, u32 streamformat, in hva_open_encoder() 228 static void hva_dbg_summary(struct hva_ctx *ctx) in hva_dbg_summary() 257 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_querycap() local 271 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_enum_fmt_stream() local 285 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_enum_fmt_frame() local 298 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_g_fmt_stream() local 317 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_g_fmt_frame() local 338 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_try_fmt_stream() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/coda/ |
| H A D | coda-common.c | 92 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base() 424 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap() local 444 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt() local 494 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() local 515 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat() 547 static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f, in coda_try_fmt_vdoa() 574 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage() 586 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt() 650 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap() local 749 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/dvbm/ |
| H A D | rockchip_dvbm.c | 123 static void rk_dvbm_set_reg(struct dvbm_ctx *ctx, u32 offset, u32 val) in rk_dvbm_set_reg() 131 static u32 rk_dvbm_read_reg(struct dvbm_ctx *ctx, u32 offset) in rk_dvbm_read_reg() 144 struct dvbm_ctx *ctx = NULL; in port_to_ctx() local 156 static void dvbm2enc_callback(struct dvbm_ctx *ctx, enum dvbm_cb_event event, void *arg) in dvbm2enc_callback() 167 static void rk_dvbm_dump_regs(struct dvbm_ctx *ctx) in rk_dvbm_dump_regs() 178 static int rk_dvbm_clk_on(struct dvbm_ctx *ctx) in rk_dvbm_clk_on() 189 static int rk_dvbm_clk_off(struct dvbm_ctx *ctx) in rk_dvbm_clk_off() 196 static void init_isp_infos(struct dvbm_ctx *ctx) in init_isp_infos() 203 static void rk_dvbm_show_time(struct dvbm_ctx *ctx) in rk_dvbm_show_time() 214 static void rk_dvbm_update_isp_frm_info(struct dvbm_ctx *ctx, u32 line_cnt) in rk_dvbm_update_isp_frm_info() [all …]
|
| /OK3568_Linux_fs/kernel/arch/riscv/net/ |
| H A D | bpf_jit_comp32.c | 111 static void emit_imm(const s8 rd, s32 imm, struct rv_jit_context *ctx) in emit_imm() 124 static void emit_imm32(const s8 *rd, s32 imm, struct rv_jit_context *ctx) in emit_imm32() 137 struct rv_jit_context *ctx) in emit_imm64() 143 static void __build_epilogue(bool is_tail_call, struct rv_jit_context *ctx) in __build_epilogue() 186 struct rv_jit_context *ctx) in bpf_get_reg64() 197 struct rv_jit_context *ctx) in bpf_put_reg64() 206 struct rv_jit_context *ctx) in bpf_get_reg32() 216 struct rv_jit_context *ctx) in bpf_put_reg32() 228 struct rv_jit_context *ctx) in emit_jump_and_link() 244 struct rv_jit_context *ctx, const u8 op) in emit_alu_i64() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/skylake/ |
| H A D | skl-sst.c | 33 static bool skl_check_fw_status(struct sst_dsp *ctx, u32 status) in skl_check_fw_status() 42 static int skl_transfer_firmware(struct sst_dsp *ctx, in skl_transfer_firmware() 66 static int skl_load_base_firmware(struct sst_dsp *ctx) in skl_load_base_firmware() 160 static int skl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D0() 214 static int skl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D3() 244 static unsigned int skl_get_errorcode(struct sst_dsp *ctx) in skl_get_errorcode() 253 static int skl_get_module(struct sst_dsp *ctx, u16 mod_id) in skl_get_module() 265 static int skl_put_module(struct sst_dsp *ctx, u16 mod_id) in skl_put_module() 277 static struct skl_module_table *skl_fill_module_table(struct sst_dsp *ctx, in skl_fill_module_table() 314 struct sst_dsp *ctx, u16 mod_id) in skl_module_get_from_id() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/ |
| H A D | fimc-m2m.c | 39 void fimc_m2m_job_finish(struct fimc_ctx *ctx, int vb_state) in fimc_m2m_job_finish() 59 static void fimc_m2m_shutdown(struct fimc_ctx *ctx) in fimc_m2m_shutdown() 75 struct fimc_ctx *ctx = q->drv_priv; in start_streaming() local 82 struct fimc_ctx *ctx = q->drv_priv; in stop_streaming() local 92 struct fimc_ctx *ctx = priv; in fimc_device_run() local 172 struct fimc_ctx *ctx = vb2_get_drv_priv(vq); in fimc_queue_setup() local 194 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_prepare() local 211 struct fimc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in fimc_buf_queue() local 254 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_fmt_mplane() local 264 static int fimc_try_fmt_mplane(struct fimc_ctx *ctx, struct v4l2_format *f) in fimc_try_fmt_mplane() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/ |
| H A D | rkisp_demo.cpp | 281 char* get_dev_name(demo_context_t* ctx) in get_dev_name() 297 char* get_sensor_name(demo_context_t* ctx) in get_sensor_name() 1027 static void errno_exit(demo_context_t *ctx, const char *s) in errno_exit() 1069 int size, int sequence, demo_context_t *ctx) in write_yuv_to_file() 1100 static int creat_yuv_dir(const char* path, demo_context_t *ctx) in creat_yuv_dir() 1132 static void process_image(const void *p, int sequence, int size, demo_context_t *ctx) in process_image() 1181 static int read_frame(demo_context_t *ctx) 1272 static int read_frame_pp_oneframe(demo_context_t *ctx) 1349 static void mainloop(demo_context_t *ctx) 1359 static void stop_capturing(demo_context_t *ctx) [all …]
|
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | cryptd.c | 229 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(parent); in cryptd_skcipher_setkey() local 242 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in cryptd_skcipher_complete() local 260 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in cryptd_skcipher_encrypt() local 288 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in cryptd_skcipher_decrypt() local 339 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in cryptd_skcipher_init_tfm() local 354 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); in cryptd_skcipher_exit_tfm() local 361 struct skcipherd_instance_ctx *ctx = skcipher_instance_ctx(inst); in cryptd_skcipher_free() local 372 struct skcipherd_instance_ctx *ctx; in cryptd_create_skcipher() local 429 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_hash_init_tfm() local 445 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_hash_exit_tfm() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/habanalabs/common/ |
| H A D | context.c | 12 static void hl_ctx_fini(struct hl_ctx *ctx) in hl_ctx_fini() 61 struct hl_ctx *ctx; in hl_ctx_do_release() local 76 struct hl_ctx *ctx; in hl_ctx_create() local 121 void hl_ctx_free(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_free() 130 int hl_ctx_init(struct hl_device *hdev, struct hl_ctx *ctx, bool is_kernel_ctx) in hl_ctx_init() 200 void hl_ctx_get(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_get() 205 int hl_ctx_put(struct hl_ctx *ctx) in hl_ctx_put() 210 struct hl_fence *hl_ctx_get_fence(struct hl_ctx *ctx, u64 seq) in hl_ctx_get_fence() 260 struct hl_ctx *ctx; in hl_ctx_mgr_fini() local
|
| /OK3568_Linux_fs/external/mpp/utils/ |
| H A D | mpi_enc_utils.c | 102 RK_S32 mpi_enc_opt_i(void *ctx, const char *next) in mpi_enc_opt_i() 124 RK_S32 mpi_enc_opt_o(void *ctx, const char *next) in mpi_enc_opt_o() 143 RK_S32 mpi_enc_opt_w(void *ctx, const char *next) in mpi_enc_opt_w() 156 RK_S32 mpi_enc_opt_h(void *ctx, const char *next) in mpi_enc_opt_h() 169 RK_S32 mpi_enc_opt_hstride(void *ctx, const char *next) in mpi_enc_opt_hstride() 182 RK_S32 mpi_enc_opt_vstride(void *ctx, const char *next) in mpi_enc_opt_vstride() 195 RK_S32 mpi_enc_opt_f(void *ctx, const char *next) in mpi_enc_opt_f() 228 RK_S32 mpi_enc_opt_t(void *ctx, const char *next) in mpi_enc_opt_t() 244 RK_S32 mpi_enc_opt_tsrc(void *ctx, const char *next) in mpi_enc_opt_tsrc() 261 RK_S32 mpi_enc_opt_n(void *ctx, const char *next) in mpi_enc_opt_n() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/ |
| H A D | mpp_hal.cpp | 86 void *ctx; member 93 MPP_RET mpp_hal_init(MppHal *ctx, MppHalCfg *cfg) in mpp_hal_init() 132 MPP_RET mpp_hal_deinit(MppHal ctx) in mpp_hal_deinit() 146 MPP_RET mpp_hal_reg_gen(MppHal ctx, HalTaskInfo *task) in mpp_hal_reg_gen() 157 MPP_RET mpp_hal_hw_start(MppHal ctx, HalTaskInfo *task) in mpp_hal_hw_start() 168 MPP_RET mpp_hal_hw_wait(MppHal ctx, HalTaskInfo *task) in mpp_hal_hw_wait() 179 MPP_RET mpp_hal_reset(MppHal ctx) in mpp_hal_reset() 194 MPP_RET mpp_hal_flush(MppHal ctx) in mpp_hal_flush() 209 MPP_RET mpp_hal_control(MppHal ctx, MpiCmd cmd, void *param) in mpp_hal_control()
|
| /OK3568_Linux_fs/kernel/arch/arm/net/ |
| H A D | bpf_jit_32.c | 231 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) in _emit() 245 static inline void emit(u32 inst, struct jit_ctx *ctx) in emit() 366 static u16 imm_offset(u32 k, struct jit_ctx *ctx) in imm_offset() 412 const struct jit_ctx *ctx) { in bpf2a32_offset() 426 static inline void emit_mov_i_no8m(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m() 437 static inline void emit_mov_i(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i() 447 static void emit_bx_r(u8 tgt_reg, struct jit_ctx *ctx) in emit_bx_r() 455 static inline void emit_blx_r(u8 tgt_reg, struct jit_ctx *ctx) in emit_blx_r() 465 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset() 477 static inline void emit_udivmod(u8 rd, u8 rm, u8 rn, struct jit_ctx *ctx, u8 op) in emit_udivmod() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec2/ |
| H A D | sec_crypto.c | 69 static inline int sec_alloc_queue_id(struct sec_ctx *ctx, struct sec_req *req) in sec_alloc_queue_id() 79 static inline void sec_free_queue_id(struct sec_ctx *ctx, struct sec_req *req) in sec_free_queue_id() 150 struct sec_ctx *ctx; in sec_req_cb() local 194 static int sec_bd_send(struct sec_ctx *ctx, struct sec_req *req) in sec_bd_send() 322 static int sec_alg_resource_alloc(struct sec_ctx *ctx, in sec_alg_resource_alloc() 356 static void sec_alg_resource_free(struct sec_ctx *ctx, in sec_alg_resource_free() 369 static int sec_create_qp_ctx(struct hisi_qm *qm, struct sec_ctx *ctx, in sec_create_qp_ctx() 425 static void sec_release_qp_ctx(struct sec_ctx *ctx, in sec_release_qp_ctx() 439 static int sec_ctx_base_init(struct sec_ctx *ctx) in sec_ctx_base_init() 483 static void sec_ctx_base_uninit(struct sec_ctx *ctx) in sec_ctx_base_uninit() [all …]
|