/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/spi/ |
H A D | hi_spi.c | 58 static hi_u32 spi_write_data(hi_spi_idx id, hi_u32 timeout_ms) in spi_write_data() argument 62 spi_isr_enable(g_spi_ctrl[id]->reg_base, SPI_INT_BIT_TX_FIFO_WATER_LINE); in spi_write_data() 64 ret = hi_event_wait(g_spi_ctrl[id]->event_id, HI_EVENT_BIT_TX_DATA, &event_bit, timeout_ms, in spi_write_data() 74 static hi_u32 spi_read_data(hi_spi_idx id, hi_u32 timeout_ms) in spi_read_data() argument 80 if (g_spi_ctrl[id]->rx_buf.cur_cnt >= g_spi_ctrl[id]->trans_len) { in spi_read_data() 81 g_spi_ctrl[id]->rx_buf.cur_cnt = 0; in spi_read_data() 84 spi_isr_enable(g_spi_ctrl[id]->reg_base, in spi_read_data() 87 ret = hi_event_wait(g_spi_ctrl[id]->event_id, in spi_read_data() 99 static hi_u32 spi_host_transfer(hi_spi_idx id, cons in spi_read_data() argument 133 spi_slave_transfer(hi_spi_idx id, const spi_trans_attr *trans_attr, hi_u32 read_write) spi_slave_transfer() argument 164 spi_slave_dma_transfer(hi_spi_idx id, const spi_trans_attr *trans_attr, hi_u32 read_write) spi_slave_dma_transfer() argument 192 spi_host_writeread(hi_spi_idx id, hi_pvoid write_data, hi_pvoid read_data, hi_u32 byte_len, hi_u32 options) spi_host_writeread() argument 244 hi_spi_set_loop_back_mode(hi_spi_idx id, hi_bool lb_en) hi_spi_set_loop_back_mode() argument 268 hi_spi_slave_write(hi_spi_idx id, hi_pvoid write_data, hi_u32 byte_len, hi_u32 time_out_ms) hi_spi_slave_write() argument 310 hi_spi_slave_read(hi_spi_idx id, hi_pvoid read_data, hi_u32 byte_len, hi_u32 time_out_ms) hi_spi_slave_read() argument 353 hi_spi_host_writeread(hi_spi_idx id, hi_pvoid write_data, hi_pvoid read_data, hi_u32 byte_len) hi_spi_host_writeread() argument 362 hi_spi_host_read(hi_spi_idx id, hi_pvoid read_data, hi_u32 byte_len) hi_spi_host_read() argument 370 hi_spi_host_write(hi_spi_idx id, hi_pvoid write_data, hi_u32 byte_len) hi_spi_host_write() argument 378 hi_spi_set_irq_mode(hi_spi_idx id, hi_bool irq_en) hi_spi_set_irq_mode() argument 398 hi_spi_set_dma_mode(hi_spi_idx id, hi_bool dma_en) hi_spi_set_dma_mode() argument 418 hi_spi_register_usr_func(hi_spi_idx id, hi_spi_usr_func prepare_func, hi_spi_usr_func restore_func) hi_spi_register_usr_func() argument 435 hi_spi_set_basic_info(hi_spi_idx id, const hi_spi_cfg_basic_info *param) hi_spi_set_basic_info() argument 483 spi_ctrl_init(hi_spi_idx id, hi_spi_cfg_init_param init_param) spi_ctrl_init() argument 523 hi_spi_init(hi_spi_idx id, hi_spi_cfg_init_param init_param, const hi_spi_cfg_basic_info *param) hi_spi_init() argument 579 hi_spi_deinit(hi_spi_idx id) hi_spi_deinit() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/i2c/ |
H A D | i2c.c | 50 hi_void i2c_read(hi_i2c_idx id); 51 hi_void i2c_write(hi_i2c_idx id); 53 hi_u32 i2c_reset(hi_i2c_idx id) in i2c_reset() argument 64 ret = hi_i2c_deinit(id); in i2c_reset() 69 if (!g_i2c_ctrl[id].baudrate) { in i2c_reset() 70 hi_i2c_init(id, g_i2c_ctrl[id].baudrate); in i2c_reset() 72 hi_i2c_init(id, I2C_RATE_DEFAULT); in i2c_reset() 77 static hi_u32 i2c_base(hi_i2c_idx id) in i2c_base() argument 79 if (id in i2c_base() 85 i2c_wait(hi_i2c_idx id) i2c_wait() argument 113 i2c_cfg_clk(hi_i2c_idx id, hi_u32 i2c_rate) i2c_cfg_clk() argument 134 i2c_start(hi_i2c_idx id) i2c_start() argument 170 i2c_stop(hi_i2c_idx id) i2c_stop() argument 195 i2c_read(hi_i2c_idx id) i2c_read() argument 201 i2c_write(hi_i2c_idx id) i2c_write() argument 217 i2c_send_byte(hi_i2c_idx id, hi_u8 send_val) i2c_send_byte() argument 231 i2c_receive_byte(hi_i2c_idx id, hi_u8 *p_data) i2c_receive_byte() argument 274 i2c_set_addr(hi_i2c_idx id, hi_u16 addr) i2c_set_addr() argument 287 i2c_10bit_send_addressing(hi_i2c_idx id, hi_u16 device_addr) i2c_10bit_send_addressing() argument 317 i2c_10bit_receive_addressing(hi_i2c_idx id, hi_u16 device_addr) i2c_10bit_receive_addressing() argument 362 i2c_receive_last_byte(hi_i2c_idx id, hi_u8 *p_data) i2c_receive_last_byte() argument 396 i2c_receive_byte_proc(hi_i2c_idx id, const hi_i2c_data *i2c_data) i2c_receive_byte_proc() argument 428 i2c_restart_receive_data(hi_i2c_idx id, hi_u8 device_addr, const hi_i2c_data *i2c_data) i2c_restart_receive_data() argument 491 i2c_send_data(hi_i2c_idx id, hi_u16 device_addr, const hi_i2c_data *i2c_data) i2c_send_data() argument 537 i2c_receive_data(hi_i2c_idx id, hi_u16 device_addr, const hi_i2c_data *i2c_data) i2c_receive_data() argument 570 i2c_read_param_check(hi_i2c_idx id, const hi_i2c_data *i2c_data) i2c_read_param_check() argument 597 i2c_writeread_param_check(hi_i2c_idx id, const hi_i2c_data *i2c_data) i2c_writeread_param_check() argument 624 i2c_read_data(hi_i2c_idx id, hi_u16 device_addr, const hi_i2c_data *i2c_data) i2c_read_data() argument 646 i2c_writeread_data(hi_i2c_idx id, hi_u16 device_addr, const hi_i2c_data *i2c_data) i2c_writeread_data() argument 665 hi_i2c_writeread(hi_i2c_idx id, hi_u16 device_addr, const hi_i2c_data *i2c_data) hi_i2c_writeread() argument 689 hi_i2c_write(hi_i2c_idx id, hi_u16 device_addr, const hi_i2c_data *i2c_data) hi_i2c_write() argument 744 hi_i2c_read(hi_i2c_idx id, hi_u16 device_addr, const hi_i2c_data *i2c_data) hi_i2c_read() argument 772 hi_i2c_init(hi_i2c_idx id, hi_u32 baudrate) hi_i2c_init() argument 807 hi_i2c_deinit(hi_i2c_idx id) hi_i2c_deinit() argument 834 hi_i2c_set_baudrate(hi_i2c_idx id, hi_u32 baudrate) hi_i2c_set_baudrate() argument 856 hi_i2c_register_reset_bus_func(hi_i2c_idx id, hi_i2c_func pfn) hi_i2c_register_reset_bus_func() argument [all...] |
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | isp_params_v3x.h | 29 void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_dpcc_cfg *arg, u32 id); 30 void (*dpcc_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); 31 void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_bls_cfg *arg, u32 id); 32 void (*bls_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); 33 void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_sdg_cfg *arg, u32 id); 34 void (*sdg_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); 35 void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_lsc_cfg *arg, u32 id); 36 void (*lsc_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); 37 void (*awbgain_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_awb_gain_cfg *arg, u32 id); 38 void (*awbgain_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); [all...] |
H A D | isp_params_v3x.c | 27 static inline void isp3_param_write_direct(struct rkisp_isp_params_vdev *params_vdev, u32 value, u32 addr, u32 id) in isp3_param_write_direct() argument 29 if (id == ISP3_LEFT) { in isp3_param_write_direct() 36 static inline void isp3_param_write(struct rkisp_isp_params_vdev *params_vdev, u32 value, u32 addr, u32 id) in isp3_param_write() argument 38 if (id == ISP3_LEFT) { in isp3_param_write() 45 static inline u32 isp3_param_read_direct(struct rkisp_isp_params_vdev *params_vdev, u32 addr, u32 id) in isp3_param_read_direct() argument 49 if (id == ISP3_LEFT) { in isp3_param_read_direct() 57 static inline u32 isp3_param_read(struct rkisp_isp_params_vdev *params_vdev, u32 addr, u32 id) in isp3_param_read() argument 61 if (id == ISP3_LEFT) { in isp3_param_read() 69 static inline u32 isp3_param_read_cache(struct rkisp_isp_params_vdev *params_vdev, u32 addr, u32 id) in isp3_param_read_cache() argument 73 if (id in isp3_param_read_cache() 81 isp3_param_set_bits(struct rkisp_isp_params_vdev *params_vdev, u32 reg, u32 bit_mask, u32 id) isp3_param_set_bits() argument 90 isp3_param_clear_bits(struct rkisp_isp_params_vdev *params_vdev, u32 reg, u32 bit_mask, u32 id) isp3_param_clear_bits() argument 99 isp_dpcc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_dpcc_cfg *arg, u32 id) isp_dpcc_config() argument 312 isp_dpcc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_dpcc_enable() argument 327 isp_bls_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_bls_cfg *arg, u32 id) isp_bls_config() argument 426 isp_bls_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_bls_enable() argument 439 isp_sdg_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_sdg_cfg *arg, u32 id) isp_sdg_config() argument 453 isp_sdg_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_sdg_enable() argument 462 isp_lsc_matrix_cfg_sram(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_lsc_cfg *pconfig, bool is_check, u32 id) isp_lsc_matrix_cfg_sram() argument 534 isp_lsc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_lsc_cfg *arg, u32 id) isp_lsc_config() argument 590 isp_lsc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_lsc_enable() argument 602 isp_debayer_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_debayer_cfg *arg, u32 id) isp_debayer_config() argument 635 isp_debayer_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_debayer_enable() argument 644 isp_awbgain_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_awb_gain_cfg *arg, u32 id) isp_awbgain_config() argument 665 isp_awbgain_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_awbgain_enable() argument 674 isp_ccm_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_ccm_cfg *arg, u32 id) isp_ccm_config() argument 720 isp_ccm_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_ccm_enable() argument 729 isp_goc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_gammaout_cfg *arg, u32 id) isp_goc_config() argument 747 isp_goc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_goc_enable() argument 756 isp_cproc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_cproc_cfg *arg, u32 id) isp_cproc_config() argument 778 isp_cproc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_cproc_enable() argument 787 isp_ie_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_ie_cfg *arg, u32 id) isp_ie_config() argument 839 isp_ie_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_ie_enable() argument 848 isp_rawaebig_config_foraf(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_rawaf_meas_cfg *arg, u32 id) isp_rawaebig_config_foraf() argument 871 isp_rawaf_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_rawaf_meas_cfg *arg, u32 id) isp_rawaf_config() argument 1007 isp_rawaebig_enable_foraf(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawaebig_enable_foraf() argument 1023 isp_rawaf_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawaf_enable() argument 1043 isp_rawaelite_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaelite_meas_cfg *arg, u32 id) isp_rawaelite_config() argument 1088 isp_rawaelite_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawaelite_enable() argument 1103 isp_rawaebig_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaebig_meas_cfg *arg, u32 blk_no, u32 id) isp_rawaebig_config() argument 1191 isp_rawaebig_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 blk_no, u32 id) isp_rawaebig_enable() argument 1220 isp_rawae1_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaebig_meas_cfg *arg, u32 id) isp_rawae1_config() argument 1226 isp_rawae1_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawae1_enable() argument 1231 isp_rawae2_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaebig_meas_cfg *arg, u32 id) isp_rawae2_config() argument 1237 isp_rawae2_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawae2_enable() argument 1242 isp_rawae3_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaebig_meas_cfg *arg, u32 id) isp_rawae3_config() argument 1248 isp_rawae3_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawae3_enable() argument 1253 isp_rawawb_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_rawawb_meas_cfg *arg, u32 id) isp_rawawb_config() argument 1807 isp_rawawb_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawawb_enable() argument 1822 isp_rawhstlite_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistlite_cfg *arg, u32 id) isp_rawhstlite_config() argument 1858 isp_rawhstlite_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawhstlite_enable() argument 1872 isp_rawhstbig_cfg_sram(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 blk_no, bool is_check, u32 id) isp_rawhstbig_cfg_sram() argument 1914 isp_rawhstbig_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 blk_no, u32 id) isp_rawhstbig_config() argument 1967 isp_rawhstbig_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 blk_no, u32 id) isp_rawhstbig_enable() argument 1994 isp_rawhst1_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 id) isp_rawhst1_config() argument 2000 isp_rawhst1_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawhst1_enable() argument 2005 isp_rawhst2_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 id) isp_rawhst2_config() argument 2011 isp_rawhst2_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawhst2_enable() argument 2016 isp_rawhst3_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 id) isp_rawhst3_config() argument 2022 isp_rawhst3_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawhst3_enable() argument 2027 isp_hdrmge_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_hdrmge_cfg *arg, enum rkisp_params_type type, u32 id) isp_hdrmge_config() argument 2072 isp_hdrmge_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_hdrmge_enable() argument 2076 isp_hdrdrc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_drc_cfg *arg, enum rkisp_params_type type, u32 id) isp_hdrdrc_config() argument 2134 isp_hdrdrc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_hdrdrc_enable() argument 2155 isp_gic_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_gic_cfg *arg, u32 id) isp_gic_config() argument 2189 isp_gic_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_gic_enable() argument 2199 isp_dhaz_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_dhaz_cfg *arg, u32 id) isp_dhaz_config() argument 2293 isp_dhaz_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_dhaz_enable() argument 2314 isp_3dlut_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_3dlut_cfg *arg, u32 id) isp_3dlut_config() argument 2342 isp_3dlut_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_3dlut_enable() argument 2364 isp_ldch_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_ldch_cfg *arg, u32 id) isp_ldch_config() argument 2403 isp_ldch_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_ldch_enable() argument 2422 isp_ynr_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_ynr_cfg *arg, u32 id) isp_ynr_config() argument 2515 isp_ynr_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_ynr_enable() argument 2536 isp_cnr_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_cnr_cfg *arg, u32 id) isp_cnr_config() argument 2589 isp_cnr_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_cnr_enable() argument 2610 isp_sharp_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_sharp_cfg *arg, u32 id) isp_sharp_config() argument 2684 isp_sharp_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_sharp_enable() argument 2698 isp_baynr_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_baynr_cfg *arg, u32 id) isp_baynr_config() argument 2740 isp_baynr_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_baynr_enable() argument 2754 isp_bay3d_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_bay3d_cfg *arg, u32 id) isp_bay3d_config() argument 2801 isp_bay3d_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_bay3d_enable() argument 2852 isp_gain_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_gain_cfg *arg, u32 id) isp_gain_config() argument 2862 isp_gain_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_gain_enable() argument 2885 isp_cac_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_cac_cfg *arg, u32 id) isp_cac_config() argument 2926 isp_cac_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_cac_enable() argument 2938 isp_csm_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_csm_cfg *arg, u32 id) isp_csm_config() argument 3052 __isp_isr_other_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_isp_params_cfg *new_params, enum rkisp_params_type type, enum isp3x_unite_id id) __isp_isr_other_config() argument 3170 __isp_isr_other_en(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_isp_params_cfg *new_params, enum rkisp_params_type type, enum isp3x_unite_id id) __isp_isr_other_en() argument 3297 __isp_isr_meas_config(struct rkisp_isp_params_vdev *params_vdev, struct isp3x_isp_params_cfg *new_params, enum rkisp_params_type type, enum isp3x_unite_id id) __isp_isr_meas_config() argument 3352 __isp_isr_meas_en(struct rkisp_isp_params_vdev *params_vdev, struct isp3x_isp_params_cfg *new_params, enum rkisp_params_type type, enum isp3x_unite_id id) __isp_isr_meas_en() argument 3442 int ret, w, h, size, id, i; rkisp_alloc_internal_buf() local 3627 rkisp_deinit_mesh_buf(struct rkisp_isp_params_vdev *params_vdev, u64 module_id, u32 id) rkisp_deinit_mesh_buf() argument 3663 int i, ret, id = meshsize->unite_isp_id; rkisp_init_mesh_buf() local 3725 int i, id = meshbuf->unite_isp_id; rkisp_params_get_meshbuf_inf_v3x() local 3767 u32 id, i; rkisp_params_stream_stop_v3x() local 3789 int id; rkisp_params_fop_release_v3x() local 3811 module_data_abandon(struct rkisp_isp_params_vdev *params_vdev, struct isp3x_isp_params_cfg *params, u32 id) module_data_abandon() argument [all...] |
H A D | isp_stats_v3x.c | 31 static u32 isp3_stats_read(struct rkisp_isp_stats_vdev *stats_vdev, u32 addr, u32 id) in isp3_stats_read() argument 35 if (id == ISP3_LEFT) { in isp3_stats_read() 43 static void isp3_stats_write(struct rkisp_isp_stats_vdev *stats_vdev, u32 addr, u32 value, u32 id) in isp3_stats_write() argument 45 if (id == ISP3_LEFT) { in isp3_stats_write() 53 struct rkisp3x_isp_stat_buffer *pbuf, u32 id) in rkisp_stats_get_rawawb_meas_reg() 59 ctrl = isp3_stats_read(stats_vdev, ISP3X_RAWAWB_CTRL, id); in rkisp_stats_get_rawawb_meas_reg() 61 v4l2_dbg(1, rkisp_debug, &stats_vdev->dev->v4l2_dev, "%s fail, id:%d ctrl:0x%x\n", __func__, id, ctrl); in rkisp_stats_get_rawawb_meas_reg() 71 value = isp3_stats_read(stats_vdev, ISP3X_RAWAWB_Y_HIST01 + 0x04 * i, id); in rkisp_stats_get_rawawb_meas_reg() 78 isp3_stats_read(stats_vdev, ISP3X_RAWAWB_SUM_RGAIN_NOR_0 + 0x30 * i, id); in rkisp_stats_get_rawawb_meas_reg() 52 rkisp_stats_get_rawawb_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawawb_meas_reg() argument 128 rkisp_stats_get_rawaf_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawaf_meas_reg() argument 163 rkisp_stats_get_rawaebig_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct isp2x_rawaebig_stat *ae, u32 blk_no, u32 id) rkisp_stats_get_rawaebig_meas_reg() argument 217 rkisp_stats_get_rawhstbig_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct isp2x_rawhistbig_stat *hst, u32 blk_no, u32 id) rkisp_stats_get_rawhstbig_meas_reg() argument 256 rkisp_stats_get_rawae1_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae1_meas_reg() argument 273 rkisp_stats_get_rawhst1_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst1_meas_reg() argument 290 rkisp_stats_get_rawae2_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae2_meas_reg() argument 307 rkisp_stats_get_rawhst2_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst2_meas_reg() argument 324 rkisp_stats_get_rawae3_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae3_meas_reg() argument 341 rkisp_stats_get_rawhst3_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst3_meas_reg() argument 358 rkisp_stats_get_rawaelite_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawaelite_meas_reg() argument 389 rkisp_stats_get_rawhstlite_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhstlite_meas_reg() argument 417 rkisp_stats_get_bls_stats(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_bls_stats() argument 466 rkisp_stats_get_dhaz_stats(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_dhaz_stats() argument 516 rkisp_stats_get_rawawb_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawawb_meas_ddr() argument 586 rkisp_stats_get_rawaf_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawaf_meas_ddr() argument 626 rkisp_stats_get_rawaebig_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct isp2x_rawaebig_stat *ae, u32 blk_no, u32 id) rkisp_stats_get_rawaebig_meas_ddr() argument 685 rkisp_stats_get_rawhstbig_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct isp2x_rawhistbig_stat *hst, u32 blk_no, u32 id) rkisp_stats_get_rawhstbig_meas_ddr() argument 729 rkisp_stats_get_rawae1_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae1_meas_ddr() argument 746 rkisp_stats_get_rawhst1_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst1_meas_ddr() argument 763 rkisp_stats_get_rawae2_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae2_meas_ddr() argument 780 rkisp_stats_get_rawhst2_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst2_meas_ddr() argument 797 rkisp_stats_get_rawae3_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae3_meas_ddr() argument 814 rkisp_stats_get_rawhst3_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst3_meas_ddr() argument 831 rkisp_stats_get_rawaelite_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawaelite_meas_ddr() argument 864 rkisp_stats_get_rawhstlite_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhstlite_meas_ddr() argument [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | isp_params_v3x.h | 32 const struct isp2x_dpcc_cfg *arg, u32 id); 34 bool en, u32 id); 36 const struct isp21_bls_cfg *arg, u32 id); 38 bool en, u32 id); 40 const struct isp2x_sdg_cfg *arg, u32 id); 42 bool en, u32 id); 44 const struct isp3x_lsc_cfg *arg, u32 id); 46 bool en, u32 id); 48 const struct isp21_awb_gain_cfg *arg, u32 id); 50 bool en, u32 id); [all...] |
H A D | isp_params_v3x.c | 29 u32 value, u32 addr, u32 id) in isp3_param_write_direct() 31 if (id == ISP3_LEFT) in isp3_param_write_direct() 39 u32 value, u32 addr, u32 id) in isp3_param_write() 41 if (id == ISP3_LEFT) in isp3_param_write() 49 u32 addr, u32 id) in isp3_param_read_direct() 53 if (id == ISP3_LEFT) in isp3_param_read_direct() 62 u32 addr, u32 id) in isp3_param_read() 66 if (id == ISP3_LEFT) in isp3_param_read() 75 u32 addr, u32 id) in isp3_param_read_cache() 79 if (id in isp3_param_read_cache() 28 isp3_param_write_direct(struct rkisp_isp_params_vdev *params_vdev, u32 value, u32 addr, u32 id) isp3_param_write_direct() argument 38 isp3_param_write(struct rkisp_isp_params_vdev *params_vdev, u32 value, u32 addr, u32 id) isp3_param_write() argument 48 isp3_param_read_direct(struct rkisp_isp_params_vdev *params_vdev, u32 addr, u32 id) isp3_param_read_direct() argument 61 isp3_param_read(struct rkisp_isp_params_vdev *params_vdev, u32 addr, u32 id) isp3_param_read() argument 74 isp3_param_read_cache(struct rkisp_isp_params_vdev *params_vdev, u32 addr, u32 id) isp3_param_read_cache() argument 87 isp3_param_set_bits(struct rkisp_isp_params_vdev *params_vdev, u32 reg, u32 bit_mask, u32 id) isp3_param_set_bits() argument 97 isp3_param_clear_bits(struct rkisp_isp_params_vdev *params_vdev, u32 reg, u32 bit_mask, u32 id) isp3_param_clear_bits() argument 107 isp_dpcc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_dpcc_cfg *arg, u32 id) isp_dpcc_config() argument 359 isp_dpcc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_dpcc_enable() argument 374 isp_bls_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_bls_cfg *arg, u32 id) isp_bls_config() argument 475 isp_bls_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_bls_enable() argument 488 isp_sdg_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_sdg_cfg *arg, u32 id) isp_sdg_config() argument 507 isp_sdg_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_sdg_enable() argument 521 isp_lsc_matrix_cfg_sram(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_lsc_cfg *pconfig, bool is_check, u32 id) isp_lsc_matrix_cfg_sram() argument 601 isp_lsc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_lsc_cfg *arg, u32 id) isp_lsc_config() argument 666 isp_lsc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_lsc_enable() argument 679 isp_debayer_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_debayer_cfg *arg, u32 id) isp_debayer_config() argument 724 isp_debayer_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_debayer_enable() argument 737 isp_awbgain_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_awb_gain_cfg *arg, u32 id) isp_awbgain_config() argument 775 isp_awbgain_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_awbgain_enable() argument 786 isp_ccm_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_ccm_cfg *arg, u32 id) isp_ccm_config() argument 834 isp_ccm_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_ccm_enable() argument 843 isp_goc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_gammaout_cfg *arg, u32 id) isp_goc_config() argument 865 isp_goc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_goc_enable() argument 876 isp_cproc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_cproc_cfg *arg, u32 id) isp_cproc_config() argument 905 isp_cproc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_cproc_enable() argument 916 isp_ie_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_ie_cfg *arg, u32 id) isp_ie_config() argument 976 isp_ie_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_ie_enable() argument 989 isp_rawaebig_config_foraf(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_rawaf_meas_cfg *arg, u32 id) isp_rawaebig_config_foraf() argument 1018 isp_rawaf_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_rawaf_meas_cfg *arg, u32 id) isp_rawaf_config() argument 1167 isp_rawaebig_enable_foraf(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawaebig_enable_foraf() argument 1183 isp_rawaf_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawaf_enable() argument 1202 isp_rawaelite_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaelite_meas_cfg *arg, u32 id) isp_rawaelite_config() argument 1248 isp_rawaelite_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawaelite_enable() argument 1263 isp_rawaebig_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaebig_meas_cfg *arg, u32 blk_no, u32 id) isp_rawaebig_config() argument 1354 isp_rawaebig_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 blk_no, u32 id) isp_rawaebig_enable() argument 1384 isp_rawae1_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaebig_meas_cfg *arg, u32 id) isp_rawae1_config() argument 1391 isp_rawae1_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawae1_enable() argument 1397 isp_rawae2_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaebig_meas_cfg *arg, u32 id) isp_rawae2_config() argument 1404 isp_rawae2_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawae2_enable() argument 1410 isp_rawae3_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawaebig_meas_cfg *arg, u32 id) isp_rawae3_config() argument 1417 isp_rawae3_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawae3_enable() argument 1423 isp_rawawb_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_rawawb_meas_cfg *arg, u32 id) isp_rawawb_config() argument 2303 isp_rawawb_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawawb_enable() argument 2318 isp_rawhstlite_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistlite_cfg *arg, u32 id) isp_rawhstlite_config() argument 2367 isp_rawhstlite_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawhstlite_enable() argument 2381 isp_rawhstbig_cfg_sram(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 blk_no, bool is_check, u32 id) isp_rawhstbig_cfg_sram() argument 2429 isp_rawhstbig_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 blk_no, u32 id) isp_rawhstbig_config() argument 2490 isp_rawhstbig_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 blk_no, u32 id) isp_rawhstbig_enable() argument 2518 isp_rawhst1_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 id) isp_rawhst1_config() argument 2525 isp_rawhst1_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawhst1_enable() argument 2531 isp_rawhst2_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 id) isp_rawhst2_config() argument 2538 isp_rawhst2_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawhst2_enable() argument 2544 isp_rawhst3_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_rawhistbig_cfg *arg, u32 id) isp_rawhst3_config() argument 2551 isp_rawhst3_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_rawhst3_enable() argument 2557 isp_hdrmge_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_hdrmge_cfg *arg, enum rkisp_params_type type, u32 id) isp_hdrmge_config() argument 2608 isp_hdrmge_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_hdrmge_enable() argument 2613 isp_hdrdrc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_drc_cfg *arg, enum rkisp_params_type type, u32 id) isp_hdrdrc_config() argument 2681 isp_hdrdrc_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_hdrdrc_enable() argument 2703 isp_gic_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_gic_cfg *arg, u32 id) isp_gic_config() argument 2749 isp_gic_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_gic_enable() argument 2759 isp_dhaz_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_dhaz_cfg *arg, u32 id) isp_dhaz_config() argument 2875 isp_dhaz_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_dhaz_enable() argument 2897 isp_3dlut_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_3dlut_cfg *arg, u32 id) isp_3dlut_config() argument 2927 isp_3dlut_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_3dlut_enable() argument 2949 isp_ldch_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_ldch_cfg *arg, u32 id) isp_ldch_config() argument 2989 isp_ldch_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_ldch_enable() argument 3009 isp_ynr_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_ynr_cfg *arg, u32 id) isp_ynr_config() argument 3125 isp_ynr_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_ynr_enable() argument 3148 isp_cnr_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_cnr_cfg *arg, u32 id) isp_cnr_config() argument 3210 isp_cnr_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_cnr_enable() argument 3233 isp_sharp_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_sharp_cfg *arg, u32 id) isp_sharp_config() argument 3333 isp_sharp_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_sharp_enable() argument 3347 isp_baynr_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_baynr_cfg *arg, u32 id) isp_baynr_config() argument 3395 isp_baynr_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_baynr_enable() argument 3409 isp_bay3d_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_bay3d_cfg *arg, u32 id) isp_bay3d_config() argument 3469 isp_bay3d_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_bay3d_enable() argument 3523 isp_gain_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_gain_cfg *arg, u32 id) isp_gain_config() argument 3535 isp_gain_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_gain_enable() argument 3561 isp_cac_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_cac_cfg *arg, u32 id) isp_cac_config() argument 3603 isp_cac_enable(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id) isp_cac_enable() argument 3615 isp_csm_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_csm_cfg *arg, u32 id) isp_csm_config() argument 3730 __isp_isr_other_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_isp_params_cfg *new_params, enum rkisp_params_type type, enum isp3x_unite_id id) __isp_isr_other_config() argument 3825 __isp_isr_other_en(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_isp_params_cfg *new_params, enum rkisp_params_type type, enum isp3x_unite_id id) __isp_isr_other_en() argument 3937 __isp_isr_meas_config(struct rkisp_isp_params_vdev *params_vdev, struct isp3x_isp_params_cfg *new_params, enum rkisp_params_type type, enum isp3x_unite_id id) __isp_isr_meas_config() argument 3984 __isp_isr_meas_en(struct rkisp_isp_params_vdev *params_vdev, struct isp3x_isp_params_cfg *new_params, enum rkisp_params_type type, enum isp3x_unite_id id) __isp_isr_meas_en() argument 4069 int ret, w, h, size, id, i; rkisp_alloc_internal_buf() local 4236 rkisp_deinit_mesh_buf(struct rkisp_isp_params_vdev *params_vdev, u64 module_id, u32 id) rkisp_deinit_mesh_buf() argument 4272 int i, ret, id = meshsize->unite_isp_id; rkisp_init_mesh_buf() local 4338 int i, id = meshbuf->unite_isp_id; rkisp_params_get_meshbuf_inf_v3x() local 4382 u32 id, i; rkisp_params_stream_stop_v3x() local 4400 int id; rkisp_params_fop_release_v3x() local 4424 module_data_abandon(struct rkisp_isp_params_vdev *params_vdev, struct isp3x_isp_params_cfg *params, u32 id) module_data_abandon() argument [all...] |
H A D | isp_stats_v3x.c | 32 u32 addr, u32 id) in isp3_stats_read() 36 if (id == ISP3_LEFT) in isp3_stats_read() 44 u32 addr, u32 value, u32 id) in isp3_stats_write() 46 if (id == ISP3_LEFT) in isp3_stats_write() 54 struct rkisp3x_isp_stat_buffer *pbuf, u32 id) in rkisp_stats_get_rawawb_meas_reg() 60 ctrl = isp3_stats_read(stats_vdev, ISP3X_RAWAWB_CTRL, id); in rkisp_stats_get_rawawb_meas_reg() 63 "%s fail, id:%d ctrl:0x%x\n", __func__, id, ctrl); in rkisp_stats_get_rawawb_meas_reg() 72 value = isp3_stats_read(stats_vdev, ISP3X_RAWAWB_Y_HIST01 + 4 * i, id); in rkisp_stats_get_rawawb_meas_reg() 79 isp3_stats_read(stats_vdev, ISP3X_RAWAWB_SUM_RGAIN_NOR_0 + 0x30 * i, id); in rkisp_stats_get_rawawb_meas_reg() 31 isp3_stats_read(struct rkisp_isp_stats_vdev *stats_vdev, u32 addr, u32 id) isp3_stats_read() argument 43 isp3_stats_write(struct rkisp_isp_stats_vdev *stats_vdev, u32 addr, u32 value, u32 id) isp3_stats_write() argument 53 rkisp_stats_get_rawawb_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawawb_meas_reg() argument 140 rkisp_stats_get_rawaf_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawaf_meas_reg() argument 176 rkisp_stats_get_rawaebig_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct isp2x_rawaebig_stat *ae, u32 blk_no, u32 id) rkisp_stats_get_rawaebig_meas_reg() argument 233 rkisp_stats_get_rawhstbig_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct isp2x_rawhistbig_stat *hst, u32 blk_no, u32 id) rkisp_stats_get_rawhstbig_meas_reg() argument 274 rkisp_stats_get_rawae1_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae1_meas_reg() argument 292 rkisp_stats_get_rawhst1_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst1_meas_reg() argument 310 rkisp_stats_get_rawae2_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae2_meas_reg() argument 328 rkisp_stats_get_rawhst2_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst2_meas_reg() argument 346 rkisp_stats_get_rawae3_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae3_meas_reg() argument 364 rkisp_stats_get_rawhst3_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst3_meas_reg() argument 382 rkisp_stats_get_rawaelite_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawaelite_meas_reg() argument 414 rkisp_stats_get_rawhstlite_meas_reg(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhstlite_meas_reg() argument 443 rkisp_stats_get_bls_stats(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_bls_stats() argument 492 rkisp_stats_get_dhaz_stats(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_dhaz_stats() argument 542 rkisp_stats_get_rawawb_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawawb_meas_ddr() argument 626 rkisp_stats_get_rawaf_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawaf_meas_ddr() argument 667 rkisp_stats_get_rawaebig_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct isp2x_rawaebig_stat *ae, u32 blk_no, u32 id) rkisp_stats_get_rawaebig_meas_ddr() argument 728 rkisp_stats_get_rawhstbig_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct isp2x_rawhistbig_stat *hst, u32 blk_no, u32 id) rkisp_stats_get_rawhstbig_meas_ddr() argument 773 rkisp_stats_get_rawae1_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae1_meas_ddr() argument 791 rkisp_stats_get_rawhst1_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst1_meas_ddr() argument 809 rkisp_stats_get_rawae2_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae2_meas_ddr() argument 827 rkisp_stats_get_rawhst2_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst2_meas_ddr() argument 845 rkisp_stats_get_rawae3_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawae3_meas_ddr() argument 863 rkisp_stats_get_rawhst3_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhst3_meas_ddr() argument 881 rkisp_stats_get_rawaelite_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawaelite_meas_ddr() argument 915 rkisp_stats_get_rawhstlite_meas_ddr(struct rkisp_isp_stats_vdev *stats_vdev, struct rkisp3x_isp_stat_buffer *pbuf, u32 id) rkisp_stats_get_rawhstlite_meas_ddr() argument [all...] |
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/iot_hardware/wifiiot_lite/ |
H A D | hal_iot_gpio.c | 27 unsigned int IoTGpioInit(unsigned int id)
in IoTGpioInit() argument 29 if (id >= HI_GPIO_IDX_MAX) {
in IoTGpioInit() 37 if (g_gpioMap[id] == GPIO_PIN_INIT) {
in IoTGpioInit() 40 g_gpioMap[id] = GPIO_PIN_INIT;
in IoTGpioInit() 47 unsigned int IoTGpioSetDir(unsigned int id, IotGpioDir dir)
in IoTGpioSetDir() argument 49 return hi_gpio_set_dir((hi_gpio_idx)id, (hi_gpio_dir)dir);
in IoTGpioSetDir() 52 unsigned int IoTGpioGetDir(unsigned int id, IotGpioDir *dir)
in IoTGpioGetDir() argument 54 return hi_gpio_get_dir((hi_gpio_idx)id, (hi_gpio_dir *)dir);
in IoTGpioGetDir() 57 unsigned int IoTGpioSetOutputVal(unsigned int id, IotGpioValue val)
in IoTGpioSetOutputVal() argument 59 return hi_gpio_set_ouput_val((hi_gpio_idx)id, (hi_gpio_valu in IoTGpioSetOutputVal() 62 IoTGpioGetOutputVal(unsigned int id, IotGpioValue *val) IoTGpioGetOutputVal() argument 67 IoTGpioGetInputVal(unsigned int id, IotGpioValue *val) IoTGpioGetInputVal() argument 72 IoTGpioRegisterIsrFunc(unsigned int id, IotGpioIntType intType, IotGpioIntPolarity intPolarity, GpioIsrCallbackFunc func, char *arg) IoTGpioRegisterIsrFunc() argument 79 IoTGpioUnregisterIsrFunc(unsigned int id) IoTGpioUnregisterIsrFunc() argument 84 IoTGpioSetIsrMask(unsigned int id, unsigned char mask) IoTGpioSetIsrMask() argument 89 IoTGpioSetIsrMode(unsigned int id, IotGpioIntType intType, IotGpioIntPolarity intPolarity) IoTGpioSetIsrMode() argument 94 IoTGpioDeinit(unsigned int id) IoTGpioDeinit() argument [all...] |
H A D | hal_iot_i2c.c | 20 unsigned int IoTI2cWrite(unsigned int id, unsigned short deviceAddr, const unsigned char *data, unsigned int dataLen)
in IoTI2cWrite() argument 28 return hi_i2c_write((hi_i2c_idx)id, deviceAddr, &i2cData);
in IoTI2cWrite() 31 unsigned int IoTI2cRead(unsigned int id, unsigned short deviceAddr, unsigned char *data, unsigned int dataLen)
in IoTI2cRead() argument 39 return hi_i2c_read((hi_i2c_idx)id, deviceAddr, &i2cData);
in IoTI2cRead() 42 unsigned int IoTI2cInit(unsigned int id, unsigned int baudrate)
in IoTI2cInit() argument 44 return hi_i2c_init((hi_i2c_idx)id, baudrate);
in IoTI2cInit() 47 unsigned int IoTI2cDeinit(unsigned int id)
in IoTI2cDeinit() argument 49 return hi_i2c_deinit((hi_i2c_idx)id);
in IoTI2cDeinit() 52 unsigned int IoTI2cSetBaudrate(unsigned int id, unsigned int baudrate)
in IoTI2cSetBaudrate() argument 54 return hi_i2c_set_baudrate((hi_i2c_idx)id, baudrat in IoTI2cSetBaudrate() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/ |
H A D | drv_symc_v100.h | 47 #define reg_chan_cipher_ivout(id) (0x0010 + (id) * 16) 48 #define reg_cipher_key(id) (0x0090 + (id) * 32) 53 #define reg_chann_ibuf_num(id) (0x1000 + (id) * 128) 54 #define reg_chann_ibuf_cnt(id) (0x1000 + (id) * 128 + 0x4) 55 #define reg_chann_iempty_cnt(id) (0x1000 + (id) * 12 [all...] |
H A D | drv_symc_v200.h | 31 #define chann_cipher_ivout(id) (0x0000 + (id) * 0x10) 33 #define cipher_key(id) (0x0100 + (id) * 0x20) 34 #define sm1_sk(id) (0x0200 + (id) * 0x10) 48 #define chann_cipher_ctrl(id) (0x0400 + (id) * 0x80) 49 #define chann_cipher_in_node_cfg(id) (0x0404 + (id) * [all...] |
H A D | drv_lib.c | 271 static hi_void module_clock(module_id id, hi_u32 open) in module_clock() argument 278 if (id >= CRYPTO_MODULE_ID_CNT) { in module_clock() 279 hi_log_error("invalid module id %d\n", id); in module_clock() 283 table = &g_hard_info_table[id]; in module_clock() 320 static hi_void module_reset(module_id id, hi_u32 enable) in module_reset() argument 327 if (id >= CRYPTO_MODULE_ID_CNT) { in module_reset() 328 hi_log_error("invalid module id %d\n", id); in module_reset() 332 table = &g_hard_info_table[id]; in module_reset() 386 module_enable(module_id id) module_enable() argument 396 module_disable(module_id id) module_disable() argument 406 module_get_attr(module_id id, hi_u32 *int_valid, hi_u32 *int_num, const hi_char **name) module_get_attr() argument 425 module_set_irq(module_id id, hi_u32 irq) module_set_irq() argument 439 module_reg_read(module_id id, hi_u32 offset) module_reg_read() argument 564 crypto_channel_alloc(channel_context *ctx, hi_u32 num, hi_u32 mask, hi_u32 *id) crypto_channel_alloc() argument 596 crypto_channel_free(channel_context *ctx, hi_u32 num, hi_u32 id) crypto_channel_free() argument 612 crypto_channel_get_context(const channel_context *ctx, hi_u32 num, hi_u32 id) crypto_channel_get_context() argument [all...] |
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/ |
H A D | base.h | 25 #define ID2BANK(id, num) ((id) / (num)) 26 #define ID2INDEX(id, num) ((id) % (num)) 28 #define CNTLR_INIT(NAME, id, CNTLR_S) \ 33 if ( (id) >= nr_id ) { \ 34 LZ_HARDWARE_LOGE(NAME ## _TAG, "%s: id %d is invalid", __func__, (id)); \ 37 cntlr = &g_cntlrs[id]; \ 39 LZ_HARDWARE_LOGE(NAME ## _TAG, "%s: id [all...] |
/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
H A D | Rockchip_OSAL_ETC.c | 178 void Rockchip_OSAL_PerfInit(PERF_ID_TYPE id) in Rockchip_OSAL_PerfInit() argument 180 memset_s(&perfStart[id], sizeof(perfStart[id]), 0, sizeof(perfStart[id])); in Rockchip_OSAL_PerfInit() 181 memset_s(&perfStop[id], sizeof(perfStart[id]), 0, sizeof(perfStop[id])); in Rockchip_OSAL_PerfInit() 182 perfTime[id] = 0; in Rockchip_OSAL_PerfInit() 183 totalPerfTime[id] = 0; in Rockchip_OSAL_PerfInit() 184 perfFrameCount[id] in Rockchip_OSAL_PerfInit() 188 Rockchip_OSAL_PerfStart(PERF_ID_TYPE id) Rockchip_OSAL_PerfStart() argument 193 Rockchip_OSAL_PerfStop(PERF_ID_TYPE id) Rockchip_OSAL_PerfStop() argument 206 Rockchip_OSAL_PerfFrame(PERF_ID_TYPE id) Rockchip_OSAL_PerfFrame() argument 211 Rockchip_OSAL_PerfTotal(PERF_ID_TYPE id) Rockchip_OSAL_PerfTotal() argument 216 Rockchip_OSAL_PerfFrameCount(PERF_ID_TYPE id) Rockchip_OSAL_PerfFrameCount() argument 221 Rockchip_OSAL_PerfOver30ms(PERF_ID_TYPE id) Rockchip_OSAL_PerfOver30ms() argument 226 Rockchip_OSAL_PerfPrint(OMX_STRING prefix, PERF_ID_TYPE id) Rockchip_OSAL_PerfPrint() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/io/ |
H A D | hi_flashboot_io.c | 34 hi_u32 hi_io_get_func(hi_io_name id, hi_u8* val) in hi_io_get_func() argument 36 if ((id >= HI_IO_NAME_MAX) || (val == HI_NULL)) { in hi_io_get_func() 41 reg_addr = HI_IOCFG_REG_BASE + IO_MUX_REG_BASE_ADDR + ((hi_u32)id << 2); /* lift shift 2 bits */ in hi_io_get_func() 47 hi_u32 hi_io_get_pull(hi_io_name id, hi_io_pull* val) in hi_io_get_pull() argument 49 if ((id >= HI_IO_NAME_MAX) || (val == HI_NULL)) { in hi_io_get_pull() 53 hi_reg_read((HI_IOCFG_REG_BASE + IO_CTRL_REG_BASE_ADDR + ((hi_u32)id << 2)), reg_val); /* lift shift 2 bits */ in hi_io_get_pull() 59 hi_u32 hi_io_set_driver_strength(hi_io_name id, hi_io_driver_strength val) in hi_io_set_driver_strength() argument 61 if ((id >= HI_IO_NAME_MAX) || (val >= HI_IO_DRIVER_STRENGTH_MAX)) { in hi_io_set_driver_strength() 66 if (((id <= HI_IO_NAME_GPIO_11) || (id in hi_io_set_driver_strength() 78 hi_io_get_driver_strength(hi_io_name id, hi_io_driver_strength* val) hi_io_get_driver_strength() argument 91 hi_io_set_input_enable(hi_io_name id, hi_bool state) hi_io_set_input_enable() argument 104 hi_io_get_input_enable(hi_io_name id, hi_bool *state) hi_io_get_input_enable() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/ |
H A D | hi_flashboot_gpio.h | 19 #define hi_io_val_set(cond, id, reg_val) \ 22 (reg_val) |= (hi_u16)(1 << (id)); \ 26 (reg_val) &= ~(hi_u16)(1 << (id)); \ 29 #define hi_io_dir_get(cond, id, val_addr) \ 30 if ((cond) & (hi_u16)(1 << (id))) \ 39 #define hi_io_val_get(cond, id, val_addr) \ 40 if ((cond) & (hi_u16)(1 << (id))) \ 77 * @param id [IN] type #hi_gpio_idx,I/O index.CNcomment:GPIO索引。CNend 86 hi_u32 hi_gpio_get_dir(hi_gpio_idx id, hi_gpio_dir *dir); 96 * @param id [I [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/gpio/ |
H A D | hi_flashboot_gpio.c | 32 hi_u32 hi_gpio_get_dir(hi_gpio_idx id, hi_gpio_dir *dir) in hi_gpio_get_dir() argument 34 if (id >= HI_GPIO_IDX_MAX || dir == HI_NULL) { in hi_gpio_get_dir() 41 hi_io_dir_get(reg_val, (hi_u16) id, dir); in hi_gpio_get_dir() 46 hi_u32 hi_gpio_get_output_val(hi_gpio_idx id, hi_gpio_value* val) in hi_gpio_get_output_val() argument 48 if ((id >= HI_GPIO_IDX_MAX) || (val == HI_NULL)) { in hi_gpio_get_output_val() 55 hi_io_val_get(reg_val, (hi_u16) id, val); in hi_gpio_get_output_val() 60 hi_u32 hi_gpio_set_output_val(hi_gpio_idx id, hi_gpio_value val) in hi_gpio_set_output_val() argument 62 if (id >= HI_GPIO_IDX_MAX || val > HI_GPIO_VALUE1) { in hi_gpio_set_output_val() 69 hi_io_val_set(val, (hi_u16) id, reg_val); in hi_gpio_set_output_val() 75 hi_u32 hi_gpio_get_input_val(hi_gpio_idx id, hi_gpio_valu argument 88 hi_gpio_set_dir(hi_gpio_idx id, hi_gpio_dir dir) hi_gpio_set_dir() argument [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | thermal_netlink.h | 14 int thermal_notify_tz_trip_down(int tz_id, int id); 15 int thermal_notify_tz_trip_up(int tz_id, int id); 16 int thermal_notify_tz_trip_delete(int tz_id, int id); 17 int thermal_notify_tz_trip_add(int tz_id, int id, int type, 19 int thermal_notify_tz_trip_change(int tz_id, int id, int type, 25 int thermal_genl_sampling_temp(int id, int temp); 52 static inline int thermal_notify_tz_trip_down(int tz_id, int id) in thermal_notify_tz_trip_down() argument 57 static inline int thermal_notify_tz_trip_up(int tz_id, int id) in thermal_notify_tz_trip_up() argument 62 static inline int thermal_notify_tz_trip_delete(int tz_id, int id) in thermal_notify_tz_trip_delete() argument 67 static inline int thermal_notify_tz_trip_add(int tz_id, int id, in argument 73 thermal_notify_tz_trip_change(int tz_id, int id, int type, int temp, int hyst) thermal_notify_tz_trip_change() argument 100 thermal_genl_sampling_temp(int id, int temp) thermal_genl_sampling_temp() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/ |
H A D | hi_uart.c | 106 BSP_RAM_TEXT_SECTION hi_u32 hi_uart_is_busy(hi_uart_idx id, hi_bool *busy) in hi_uart_is_busy() argument 108 hi_u32 port_num = (hi_u32) id; in hi_uart_is_busy() 124 BSP_RAM_TEXT_SECTION hi_u32 hi_uart_is_buf_empty(hi_uart_idx id, hi_bool *empty) in hi_uart_is_buf_empty() argument 126 hi_u32 port_num = (hi_u32) id; in hi_uart_is_buf_empty() 231 hi_u32 hi_uart_init(hi_uart_idx id, const hi_uart_attribute *param, const hi_uart_extra_attr *extra_attr) in hi_uart_init() argument 233 hi_u32 port_num = (hi_u32) id; in hi_uart_init() 246 if (id == HI_UART_IDX_2) { in hi_uart_init() 268 if (g_uart_timer_handle[id] == 0xFFFFFFFF) { in hi_uart_init() 269 hi_u32 ret = hi_timer_create(&(g_uart_timer_handle[id])); in hi_uart_init() 278 hi_u32 hi_uart_set_flow_ctrl(hi_uart_idx id, hi_flow_ctr argument 297 hi_uart_read(hi_uart_idx id, hi_u8 *data, hi_u32 data_len) hi_uart_read() argument 319 hi_uart_read_timeout(hi_uart_idx id, hi_u8 *data, hi_u32 len, hi_u32 timeout_ms) hi_uart_read_timeout() argument 347 hi_uart_write(hi_uart_idx id, const hi_u8 *data, hi_u32 data_len) hi_uart_write() argument 364 hi_uart_write_immediately(hi_uart_idx id, const hi_u8 *data, hi_u32 data_len) hi_uart_write_immediately() argument 381 hi_uart_deinit(hi_uart_idx id) hi_uart_deinit() argument 412 hi_uart_get_attribute(hi_uart_idx id, hi_uart_attribute *attr, hi_uart_extra_attr *extra_attr) hi_uart_get_attribute() argument 423 hi_uart_quit_read(hi_uart_idx id) hi_uart_quit_read() argument 442 hi_uart_lp_save(hi_uart_idx id) hi_uart_lp_save() argument 458 hi_uart_lp_restore(hi_uart_idx id) hi_uart_lp_restore() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_uart.h | 175 * @param id [IN] type #hi_uart_idx,UART port id. CNcomment:UART端口号。CNend 185 hi_u32 hi_uart_init(hi_uart_idx id, const hi_uart_attribute *param, const hi_uart_extra_attr *extra_attr); 196 * @param id [IN] type #hi_uart_idx,UART port id. CNcomment:UART端口号。CNend 206 hi_s32 hi_uart_read(hi_uart_idx id, hi_u8 *data, hi_u32 data_len); 219 * @param id [IN] type #hi_uart_idx,UART port id. CNcomment:UART端口号。CNend 230 hi_s32 hi_uart_read_timeout(hi_uart_idx id, hi_u8 *data, hi_u32 len, hi_u32 timeout_ms); 242 * @param id [I [all...] |
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
H A D | mpp_thread.h | 252 MppThreadStatus get_status(MppThreadSignal id = THREAD_WORK); 253 void set_status(MppThreadStatus status, MppThreadSignal id = THREAD_WORK); 259 void lock(MppThreadSignal id = THREAD_WORK) in lock() 261 mpp_assert(id < THREAD_SIGNAL_BUTT); in lock() 262 mMutexCond[id].lock(); in lock() 265 void unlock(MppThreadSignal id = THREAD_WORK) 267 mpp_assert(id < THREAD_SIGNAL_BUTT); 268 mMutexCond[id].unlock(); 271 void wait(MppThreadSignal id = THREAD_WORK) 273 mpp_assert(id < THREAD_SIGNAL_BUT [all...] |
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
H A D | mpp_thread.h | 254 MppThreadStatus get_status(MppThreadSignal id = THREAD_WORK); 255 void set_status(MppThreadStatus status, MppThreadSignal id = THREAD_WORK); 261 void lock(MppThreadSignal id = THREAD_WORK) in lock() 263 mpp_assert(id < THREAD_SIGNAL_BUTT); in lock() 264 mMutexCond[id].lock(); in lock() 267 void unlock(MppThreadSignal id = THREAD_WORK) 269 mpp_assert(id < THREAD_SIGNAL_BUTT); 270 mMutexCond[id].unlock(); 273 void wait(MppThreadSignal id = THREAD_WORK) 275 mpp_assert(id < THREAD_SIGNAL_BUT [all...] |
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | mpp_thread.h | 242 MppThreadStatus get_status(MppThreadSignal id = THREAD_WORK); 243 void set_status(MppThreadStatus status, MppThreadSignal id = THREAD_WORK); 249 void lock(MppThreadSignal id = THREAD_WORK) { in lock() 250 mpp_assert(id < THREAD_SIGNAL_BUTT); in lock() 251 mMutexCond[id].lock(); in lock() 254 void unlock(MppThreadSignal id = THREAD_WORK) { 255 mpp_assert(id < THREAD_SIGNAL_BUTT); 256 mMutexCond[id].unlock(); 259 void wait(MppThreadSignal id = THREAD_WORK) { 260 mpp_assert(id < THREAD_SIGNAL_BUT [all...] |
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | mpp_thread.h | 252 MppThreadStatus get_status(MppThreadSignal id = THREAD_WORK); 253 void set_status(MppThreadStatus status, MppThreadSignal id = THREAD_WORK); 259 void lock(MppThreadSignal id = THREAD_WORK) in lock() 261 mpp_assert(id < THREAD_SIGNAL_BUTT); in lock() 262 mMutexCond[id].lock(); in lock() 265 void unlock(MppThreadSignal id = THREAD_WORK) 267 mpp_assert(id < THREAD_SIGNAL_BUTT); 268 mMutexCond[id].unlock(); 271 void wait(MppThreadSignal id = THREAD_WORK) 273 mpp_assert(id < THREAD_SIGNAL_BUT [all...] |