Home
last modified time | relevance | path

Searched refs:HPM_CHECK_RET (Results 1 – 5 of 5) sorted by relevance

/device/soc/hpmicro/sdk/hpm_sdk/components/camera/ov5640/
Dhpm_ov5640.c492 HPM_CHECK_RET(ov5640_write_register(context, regval[i].regaddr, regval[i].regval)); in ov5640_write_multi_registers()
502 HPM_CHECK_RET(ov5640_write_register(context, 0x3103, 0x11)); in ov5640_software_reset()
503 HPM_CHECK_RET(ov5640_write_register(context, 0x3008, 0x82)); in ov5640_software_reset()
514 HPM_CHECK_RET(ov5640_write_register(context, 0x4300, 0x3F)); in ov5640_set_pixel_format()
515 HPM_CHECK_RET(ov5640_write_register(context, 0x501f, 0x00)); in ov5640_set_pixel_format()
518 HPM_CHECK_RET(ov5640_write_register(context, 0x4300, 0x6F)); in ov5640_set_pixel_format()
519 HPM_CHECK_RET(ov5640_write_register(context, 0x501f, 0x01)); in ov5640_set_pixel_format()
535 HPM_CHECK_RET(ov5640_read_register(context, OV5640_CHIP_ID_HIGH_BYTE_ADDR, &val_h)); in ov5640_check_chip_id()
536 HPM_CHECK_RET(ov5640_read_register(context, OV5640_CHIP_ID_LOW_BYTE_ADDR, &val_l)); in ov5640_check_chip_id()
589 HPM_CHECK_RET(ov5640_write_register(context, 0x3035, clock_config->pllctrl1)); in ov5640_set_clock_config()
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/components/codec/sgtl5000/
Dhpm_sgtl5000.c127 HPM_CHECK_RET(sgtl_disable_module(context, sgtl_module_adc)); in sgtl_deinit()
128 HPM_CHECK_RET(sgtl_disable_module(context, sgtl_module_dac)); in sgtl_deinit()
129 HPM_CHECK_RET(sgtl_disable_module(context, sgtl_module_dap)); in sgtl_deinit()
130 HPM_CHECK_RET(sgtl_disable_module(context, sgtl_module_i2sin)); in sgtl_deinit()
131 HPM_CHECK_RET(sgtl_disable_module(context, sgtl_module_i2sout)); in sgtl_deinit()
132 HPM_CHECK_RET(sgtl_disable_module(context, sgtl_module_lineout)); in sgtl_deinit()
151 HPM_CHECK_RET(sgtl_modify_reg(context, CHIP_DIG_POWER, SGTL5000_ADC_ENABLE_CLR_MASK, in sgtl_enable_module()
153 HPM_CHECK_RET(sgtl_modify_reg(context, CHIP_ANA_POWER, SGTL5000_ADC_POWERUP_CLR_MASK, in sgtl_enable_module()
157 HPM_CHECK_RET(sgtl_modify_reg(context, CHIP_DIG_POWER, SGTL5000_DAC_ENABLE_CLR_MASK, in sgtl_enable_module()
159 HPM_CHECK_RET(sgtl_modify_reg(context, CHIP_ANA_POWER, SGTL5000_DAC_POWERUP_CLR_MASK, in sgtl_enable_module()
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/components/camera/ov7725/
Dhpm_ov7725.c151 HPM_CHECK_RET(ov7725_read_register(context, OV7725_CHIP_ID_HIGH_BYTE_ADDR, &val_h)); in ov7725_check_chip_id()
152 HPM_CHECK_RET(ov7725_read_register(context, OV7725_CHIP_ID_LOW_BYTE_ADDR, &val_l)); in ov7725_check_chip_id()
/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/
Dhpm_common.h61 #define HPM_CHECK_RET(x) \ macro
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/
Dhpm_spi_drv.c277 HPM_CHECK_RET(spi_wait_for_busy_status(ptr)); in spi_no_data()
278 HPM_CHECK_RET(spi_wait_for_idle_status(ptr)); in spi_no_data()