/device/soc/hpmicro/sdk/hpm_sdk/components/debug_console/ |
D | hpm_debug_console.c | 24 if (status_success == stat) { in console_init() 35 while (status_success != uart_receive_byte(g_console_uart, &c)) { in console_receive_byte() 42 while (status_success != uart_send_byte(g_console_uart, c)) { in console_send_byte() 67 while (status_success != uart_send_byte(g_console_uart, '\r')) { in __SEGGER_RTL_X_file_write() 70 while (status_success != uart_send_byte(g_console_uart, data[count])) { in __SEGGER_RTL_X_file_write() 73 while (status_success != uart_flush(g_console_uart)) { in __SEGGER_RTL_X_file_write() 82 while (status_success != uart_receive_byte(g_console_uart, (uint8_t *)s)) { in __SEGGER_RTL_X_file_read() 124 while (status_success != uart_send_byte(g_console_uart, '\r')) { in _write() 127 while (status_success != uart_send_byte(g_console_uart, data[count])) { in _write() 130 while (status_success != uart_flush(g_console_uart)) { in _write() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/components/codec/sgtl5000/ |
D | hpm_sgtl5000.c | 34 if (sgtl_write_reg(context, CHIP_ANA_POWER, 0x6AFF) != status_success) { in sgtl_init() 39 if (sgtl_set_data_route(context, config->route) != status_success) { in sgtl_init() 51 if (sgtl_write_reg(context, CHIP_ANA_ADC_CTRL, 0x0000U) != status_success) { in sgtl_init() 60 if (sgtl_write_reg(context, CHIP_ANA_HP_CTRL, 0x1818U) != status_success) { in sgtl_init() 64 if (sgtl_modify_reg(context, CHIP_ANA_CTRL, 0xFFEFU, 0x0000U) != status_success) { in sgtl_init() 69 if (sgtl_modify_reg(context, CHIP_ANA_CTRL, 0xFEFFU, 0x0000U) != status_success) { in sgtl_init() 74 if (sgtl_write_reg(context, CHIP_DAC_VOL, 0x5C5CU) != status_success) { in sgtl_init() 79 if (sgtl_write_reg(context, CHIP_ANA_ADC_CTRL, 0x0100U) != status_success) { in sgtl_init() 84 if (sgtl_modify_reg(context, CHIP_ADCDAC_CTRL, 0xFFFBU, 0x0000U) != status_success) { in sgtl_init() 88 if (sgtl_modify_reg(context, CHIP_ADCDAC_CTRL, 0xFFF7U, 0x0000U) != status_success) { in sgtl_init() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/middleware/hpm_sdmmc/lib/ |
D | hpm_sdmmc_sd.c | 89 if (error_recovery_status != status_success) { in sd_send_cmd() 102 if (error_recovery_status != status_success) { in sd_transfer() 132 if (status != status_success) { in sd_send_card_status() 166 if (status != status_success) { in sd_send_if_cond() 174 return status_success; in sd_send_if_cond() 281 if (status != status_success) { in sd_send_csd() 289 return status_success; in sd_send_csd() 302 if (status != status_success) { in sd_all_send_cid() 320 if (status != status_success) { in sd_send_rca() 342 if (status == status_success) { in sd_app_cmd_send_cond_op() [all …]
|
D | hpm_sdmmc_host.c | 17 hpm_stat_t status = status_success; in sdmmchost_check_host_availablity() 47 status = status_success; in sdmmchost_init() 98 return status_success; in sdmmchost_switch_to_1v8() 148 if (status != status_success) { in sdmmchost_send_command() 153 if (status != status_success) { in sdmmchost_send_command() 170 if (status != status_success) { in sdmmchost_send_command() 180 if (status != status_success) { in sdmmchost_send_command() 198 if (status != status_success) { in sdmmchost_send_command() 218 if (status != status_success) { in sdmmchost_transfer() 258 if (status != status_success) { in sdmmchost_transfer() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/ |
D | hpm_spi_drv.c | 33 return status_success; in spi_wait_for_idle_status() 53 return status_success; in spi_wait_for_busy_status() 69 return status_success; in spi_write_command() 90 return status_success; in spi_write_address() 138 return status_success; in spi_write_data() 186 return status_success; in spi_read_data() 266 return status_success; in spi_write_read_data() 281 return status_success; in spi_no_data() 355 return status_success; in spi_master_timing_init() 391 return status_success; in spi_control_init() [all …]
|
D | hpm_ptpc_drv.c | 47 return status_success; in ptpc_init() 56 return status_success; in ptpc_set_timer_output() 66 return status_success; in ptpc_set_ns_update() 71 if (status_success != ptpc_set_ns_update(ptr, index, ns, mode)) { in ptpc_update_timer() 76 return status_success; in ptpc_update_timer() 88 if (status_success != ptpc_set_ns_update(ptr, index, ns, mode)) { in ptpc_init_timer_with_initial() 93 return status_success; in ptpc_init_timer_with_initial() 115 return status_success; in ptpc_set_pps()
|
D | hpm_sdxc_drv.c | 61 return status_success; in sdxc_set_transfer_config() 96 return status_success; in sdxc_set_transfer_config() 102 hpm_stat_t status = status_success; in sdxc_receive_cmd_response() 159 hpm_stat_t status = status_success; in sdxc_read_by_data_port_blocking() 168 while ((status == status_success) && (transferred_words < total_words)) { in sdxc_read_by_data_port_blocking() 176 return status_success; in sdxc_read_by_data_port_blocking() 189 if (status == status_success) { in sdxc_read_by_data_port_blocking() 227 hpm_stat_t status = status_success; in sdxc_write_by_data_port_blocking() 236 while ((status == status_success) && (transferred_words < total_words)) { in sdxc_write_by_data_port_blocking() 253 if (status == status_success) { in sdxc_write_by_data_port_blocking() [all …]
|
D | hpm_uart_drv.c | 161 return status_success; in uart_init() 183 return status_success; in uart_set_baudrate() 202 return status_success; in uart_send_byte() 219 return status_success; in uart_flush() 238 return status_success; in uart_receive_byte() 253 if (status_success != uart_receive_byte(ptr, source + i)) { in uart_receive_data() 257 return status_success; in uart_receive_data() 263 if (status_success != uart_send_byte(ptr, *(source + i))) { in uart_send_data() 267 return status_success; in uart_send_data()
|
D | hpm_can_drv.c | 235 status = status_success; in can_calculate_bit_timing() 257 if (status == status_success) { in can_set_bit_timing() 266 status = status_success; in can_set_bit_timing() 310 status = status_success; in can_set_filter() 376 status = status_success; in can_send_message_blocking() 390 if (status != status_success) { in can_send_message_blocking() 415 status = status_success; in can_send_high_priority_message_blocking() 457 status = status_success; in can_send_message_nonblocking() 470 status = status_success; in can_send_high_priority_message_nonblocking() 537 status = status_success; in can_receive_message_blocking() [all …]
|
D | hpm_adc16_drv.c | 142 return status_success; in adc16_do_calibration() 170 return status_success; in adc16_init() 189 return status_success; in adc16_init_channel() 238 return status_success; in adc16_set_prd_config() 270 return status_success; in adc16_set_seq_config() 295 return status_success; in adc16_set_pmt_config() 308 return status_success; in adc16_set_pmt_queue_enable() 310 return status_success; in adc16_set_pmt_queue_enable() 323 return status_success; in adc16_get_oneshot_result() 335 return status_success; in adc16_get_prd_result()
|
D | hpm_adc12_drv.c | 80 return status_success; in adc12_do_calibration() 159 return status_success; in adc12_init() 180 return status_success; in adc12_init_channel() 213 return status_success; in adc12_init_seq_dma() 237 return status_success; in adc12_set_prd_config() 270 return status_success; in adc12_set_seq_config() 295 return status_success; in adc12_set_pmt_config() 307 return status_success; in adc12_get_oneshot_result() 319 return status_success; in adc12_get_prd_result()
|
D | hpm_rng_drv.c | 23 return status_success; in rng_run_selftest() 31 hpm_stat_t stat = status_success; in rng_feed_rand_to_sdp() 54 hpm_stat_t stat = status_success; in rng_rand() 94 hpm_stat_t stat = status_success; in rng_init() 107 if (stat != status_success) { in rng_init()
|
D | hpm_dram_drv.c | 49 return status_success; in dram_ip_cmd_done() 78 return status_success; in dram_issue_ip_cmd() 279 if (status_success != err) { in dram_config_sdram() 285 if (status_success != err) { in dram_config_sdram() 289 if (status_success != err) { in dram_config_sdram() 313 if (status_success != err) { in dram_config_sdram() 319 if (status_success != err) { in dram_config_sdram() 323 if (status_success != err) { in dram_config_sdram() 331 if (status_success != err) { in dram_config_sdram() 336 return status_success; in dram_config_sdram()
|
D | hpm_i2c_drv.c | 104 return status_success; in i2c_configure_timing() 116 hpm_stat_t stat = status_success; in i2c_init_master() 123 if (status_success != stat) { in i2c_init_master() 138 return status_success; in i2c_init_master() 145 hpm_stat_t stat = status_success; in i2c_master_address_read() 225 hpm_stat_t stat = status_success; in i2c_master_address_write() 287 hpm_stat_t stat = status_success; in i2c_master_read() 351 hpm_stat_t stat = status_success; in i2c_master_write() 407 hpm_stat_t stat = status_success; in i2c_init_slave() 416 if (status_success != stat) { in i2c_init_slave() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/components/touch/gt911/ |
D | hpm_gt911.c | 59 hpm_stat_t stat = status_success; in gt911_init() 65 if (stat != status_success) { in gt911_init() 71 if (stat != status_success) { in gt911_init() 77 if (stat != status_success) { in gt911_init() 83 if (stat != status_success) { in gt911_init() 116 return status_success; in gt911_init() 122 hpm_stat_t stat = status_success; in gt911_read_touch_data() 126 if (stat != status_success) { in gt911_read_touch_data()
|
D | hpm_touch_gt911.c | 17 hpm_stat_t stat = status_success; in touch_get_data() 22 if (stat != status_success) { in touch_get_data() 53 hpm_stat_t stat = status_success; in touch_init() 58 if (stat != status_success) { in touch_init()
|
/device/soc/hpmicro/sdk/hpm_sdk/components/camera/ov7725/ |
D | hpm_ov7725.c | 135 hpm_stat_t stat = status_success; in ov7725_software_reset() 138 if (stat != status_success) { in ov7725_software_reset() 147 hpm_stat_t stat = status_success; in ov7725_check_chip_id() 167 hpm_stat_t stat = status_success; in ov7725_set_framesize() 184 if (stat != status_success) { in ov7725_set_framesize() 192 hpm_stat_t stat = status_success; in ov7725_set_pixel_format() 208 if (stat != status_success) { in ov7725_set_pixel_format() 213 if (stat != status_success) { in ov7725_set_pixel_format() 221 hpm_stat_t stat = status_success; in ov7725_init() 238 if (stat != status_success) { in ov7725_init()
|
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6750/ |
D | hpm_enet_soc_drv.h | 18 hpm_stat_t stat = status_success; in enet_intf_selection() 35 hpm_stat_t stat = status_success; in enet_enable_lpi_interrupt() 50 hpm_stat_t stat = status_success; in enet_disable_lpi_interrupt() 65 hpm_stat_t stat = status_success; in enet_rgmii_set_clock_delay() 82 hpm_stat_t stat = status_success; in enet_rmii_enable_clock() 110 hpm_stat_t stat = status_success; in enet_rgmii_enable_clock()
|
D | hpm_sysctl_drv.c | 35 return status_success; in sysctl_get_cpu_gpr() 54 return status_success; in _sysctl_cpu_get_gpr() 89 return status_success; in _sysctl_cpu_set_gpr() 98 hpm_stat_t stat = status_success; in sysctl_cpu0_set_gpr() 101 if (stat != status_success) { in sysctl_cpu0_set_gpr() 117 hpm_stat_t stat = status_success; in sysctl_cpu1_set_gpr() 120 if (stat != status_success) { in sysctl_cpu1_set_gpr() 190 return status_success; in _sysctl_set_cpu_entry() 219 return status_success; in sysctl_set_cpu_lp_mode() 247 return status_success; in sysctl_enable_group_resource() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6360/ |
D | hpm_sysctl_drv.c | 33 return status_success; in sysctl_get_cpu_gpr() 46 return status_success; in _sysctl_cpu_get_gpr() 69 return status_success; in _sysctl_cpu_set_gpr() 74 hpm_stat_t stat = status_success; in sysctl_cpu0_set_gpr() 77 if (stat != status_success) { in sysctl_cpu0_set_gpr() 142 return status_success; in _sysctl_set_cpu_entry() 156 return status_success; in sysctl_set_cpu_lp_mode() 177 return status_success; in sysctl_enable_group_resource() 213 return status_success; in sysctl_set_adc_i2s_clock_mux() 225 return status_success; in sysctl_update_divider() [all …]
|
D | hpm_enet_soc_drv.h | 18 hpm_stat_t stat = status_success; in enet_intf_selection() 32 hpm_stat_t stat = status_success; in enet_enable_lpi_interrupt() 45 hpm_stat_t stat = status_success; in enet_disable_lpi_interrupt() 65 hpm_stat_t stat = status_success; in enet_rmii_enable_clock()
|
/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/ |
D | hpm_pllctl_drv.h | 93 return status_success; in pllctl_pll_ss_disable() 113 return status_success; in pllctl_pll_powerdown() 133 return status_success; in pllctl_pll_poweron() 146 return status_success; in pllctl_pll_poweron() 183 return status_success; in pllctl_pll_ss_enable() 204 return status_success; in pllctl_set_postdiv1() 227 return status_success; in pllctl_set_fbdiv_int() 251 return status_success; in pllctl_set_fbdiv_frac() 271 return status_success; in pllctl_set_frac() 321 return status_success; in pllctl_set_div()
|
/device/soc/hpmicro/sdk/hpm_sdk/components/camera/ov5640/ |
D | hpm_ov5640.c | 489 hpm_stat_t stat = status_success; in ov5640_write_multi_registers() 500 hpm_stat_t stat = status_success; in ov5640_software_reset() 510 hpm_stat_t stat = status_success; in ov5640_set_pixel_format() 531 hpm_stat_t stat = status_success; in ov5640_check_chip_id() 551 hpm_stat_t stat = status_success; in ov5640_set_image_size() 582 hpm_stat_t stat = status_success; in ov5640_set_clock_config() 600 hpm_stat_t stat = status_success; in ov5640_set_interface() 628 hpm_stat_t stat = status_success; in ov5640_flip() 636 hpm_stat_t stat = status_success; in ov5640_set_brightness() 660 hpm_stat_t stat = status_success; in ov5640_set_contrast() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/components/touch/ft5406/ |
D | hpm_touch_ft5406.c | 13 hpm_stat_t stat = status_success; in touch_get_data() 18 if (stat != status_success) { in touch_get_data() 39 if (stat != status_success) { in touch_init() 45 if (stat != status_success) { in touch_init()
|
/device/soc/hpmicro/sdk/hpm_sdk/components/dma_manager/ |
D | hpm_dma_manager.c | 158 status = status_success; in dma_manager_request_resource() 208 status = status_success; in dma_manager_release_resource() 225 status = status_success; in dma_manager_enable_channel_interrupt() 241 status = status_success; in dma_manager_disable_channel_interrupt() 258 status = status_success; in dma_manager_enable_dma_interrupt() 274 status = status_success; in dma_manager_disable_dma_interrupt() 292 status = status_success; in dma_manager_install_interrupt_callback()
|