| /device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/ |
| D | hpm_pcfg_drv.h | 81 static inline void pcfg_bandgap_disable_power_save_mode(PCFG_Type *ptr) in pcfg_bandgap_disable_power_save_mode() 91 static inline void pcfg_bandgap_enable_power_save_mode(PCFG_Type *ptr) in pcfg_bandgap_enable_power_save_mode() 96 static inline void pcfg_bandgap_disable_lowpower_mode(PCFG_Type *ptr) in pcfg_bandgap_disable_lowpower_mode() 106 static inline void pcfg_bandgap_enable_lowpower_mode(PCFG_Type *ptr) in pcfg_bandgap_enable_lowpower_mode() 118 static inline bool pcfg_bandgap_is_trimmed(PCFG_Type *ptr) in pcfg_bandgap_is_trimmed() 128 static inline void pcfg_bandgap_reload_trim(PCFG_Type *ptr) in pcfg_bandgap_reload_trim() 138 static inline void pcfg_ldo1p1_turn_off(PCFG_Type *ptr) in pcfg_ldo1p1_turn_off() 148 static inline void pcfg_ldo1p1_turn_on(PCFG_Type *ptr) in pcfg_ldo1p1_turn_on() 166 static inline void pcfg_ldo2p5_turn_off(PCFG_Type *ptr) in pcfg_ldo2p5_turn_off() 176 static inline void pcfg_ldo2p5_turn_on(PCFG_Type *ptr) in pcfg_ldo2p5_turn_on() [all …]
|
| D | hpm_tsns_drv.h | 53 static inline void tsns_enable(TSNS_Type *ptr) in tsns_enable() 63 static inline void tsns_disable(TSNS_Type *ptr) in tsns_disable() 75 static inline bool tsns_temperature_is_valid(TSNS_Type *ptr) in tsns_temperature_is_valid() 87 static inline int32_t tsns_get_max_temp_raw(TSNS_Type *ptr) in tsns_get_max_temp_raw() 99 static inline int32_t tsns_get_min_temp_raw(TSNS_Type *ptr) in tsns_get_min_temp_raw() 111 static inline int32_t tsns_get_current_temp_in_raw(TSNS_Type *ptr) in tsns_get_current_temp_in_raw() 126 static inline float tsns_get_current_temp(TSNS_Type *ptr) in tsns_get_current_temp() 138 static inline uint32_t tsns_get_temp_age(TSNS_Type *ptr) in tsns_get_temp_age() 149 static inline void tsns_set_reset_threshold_high(TSNS_Type *ptr, uint32_t high) in tsns_set_reset_threshold_high() 160 static inline void tsns_set_reset_threshold_low(TSNS_Type *ptr, uint32_t low) in tsns_set_reset_threshold_low() [all …]
|
| D | hpm_i2s_drv.h | 87 static inline void i2s_enable_tdm(I2S_Type *ptr) in i2s_enable_tdm() 97 static inline void i2s_disable_tdm(I2S_Type *ptr) in i2s_disable_tdm() 108 static inline void i2s_update_rx_fifo_threshold(I2S_Type *ptr, uint8_t threshold) in i2s_update_rx_fifo_threshold() 120 static inline void i2s_update_tx_fifo_threshold(I2S_Type *ptr, uint8_t threshold) in i2s_update_tx_fifo_threshold() 131 static inline void i2s_ungate_bclk(I2S_Type *ptr) in i2s_ungate_bclk() 141 static inline void i2s_gate_bclk(I2S_Type *ptr) in i2s_gate_bclk() 151 static inline void i2s_ungate_mclk(I2S_Type *ptr) in i2s_ungate_mclk() 161 static inline void i2s_gate_mclk(I2S_Type *ptr) in i2s_gate_mclk() 171 static inline void i2s_enable_tx_dma_request(I2S_Type *ptr) in i2s_enable_tx_dma_request() 181 static inline void i2s_disable_tx_dma_request(I2S_Type *ptr) in i2s_disable_tx_dma_request() [all …]
|
| D | hpm_vad_drv.h | 57 static inline void vad_set_capture_delay(VAD_Type *ptr, uint8_t delay) in vad_set_capture_delay() 69 static inline void vad_set_pdm_clock_half_div(VAD_Type *ptr, uint8_t div) in vad_set_pdm_clock_half_div() 81 static inline void vad_enable_irq(VAD_Type *ptr, uint32_t irq_mask) in vad_enable_irq() 92 static inline void vad_disable_irq(VAD_Type *ptr, uint32_t irq_mask) in vad_disable_irq() 102 static inline void vad_disable_buffer(VAD_Type *ptr) in vad_disable_buffer() 112 static inline void vad_enable_buffer(VAD_Type *ptr) in vad_enable_buffer() 123 static inline void vad_set_fifo_threshold(VAD_Type *ptr, uint8_t threshold) in vad_set_fifo_threshold() 134 static inline void vad_enable_pdm_clock_out(VAD_Type *ptr) in vad_enable_pdm_clock_out() 144 static inline void vad_disable_pdm_clock_out(VAD_Type *ptr) in vad_disable_pdm_clock_out() 155 static inline void vad_set_pdm_clock_capture_level(VAD_Type *ptr, uint8_t level) in vad_set_pdm_clock_capture_level() [all …]
|
| D | hpm_dao_drv.h | 62 static inline void dao_config_hpf(DAO_Type *ptr, in dao_config_hpf() 78 static inline void dao_enable_hpf(DAO_Type *ptr) in dao_enable_hpf() 88 static inline void dao_disable_hpf(DAO_Type *ptr) in dao_disable_hpf() 98 static inline void dao_enable_error_irq(DAO_Type *ptr) in dao_enable_error_irq() 108 static inline void dao_disable_error_irq(DAO_Type *ptr) in dao_disable_error_irq() 119 static inline void dao_enable_channel(DAO_Type *ptr, uint32_t ch) in dao_enable_channel() 130 static inline void dao_disable_channel(DAO_Type *ptr, uint32_t ch) in dao_disable_channel() 140 static inline void dao_enable_mono_output(DAO_Type *ptr) in dao_enable_mono_output() 150 static inline void dao_disable_mono_output(DAO_Type *ptr) in dao_disable_mono_output() 160 static inline void dao_enable_remap(DAO_Type *ptr) in dao_enable_remap() [all …]
|
| D | hpm_psec_drv.h | 51 static inline psec_lifecycle_t psec_get_pmic_lifecycle(PSEC_Type *ptr) in psec_get_pmic_lifecycle() 56 static inline hpm_stat_t psec_switch_pmic_state(PSEC_Type *ptr, psec_state_t state) in psec_switch_pmic_state() 72 static inline void psec_allow_psecure_state_restart(PSEC_Type *ptr, bool allow) in psec_allow_psecure_state_restart() 79 static inline void psec_lock_psecure_state_restart(PSEC_Type *ptr, bool lock) in psec_lock_psecure_state_restart() 86 static inline void psec_pmic_rom_secrets_present(PSEC_Type *ptr, bool presented) in psec_pmic_rom_secrets_present() 93 static inline void psec_psec_secure_state_config(PSEC_Type *ptr, in psec_psec_secure_state_config() 103 static inline void psec_pmic_non_secure_violation_config(PSEC_Type *ptr, in psec_pmic_non_secure_violation_config() 114 static inline void psec_psecure_violation_config(PSEC_Type *ptr, in psec_psecure_violation_config() 125 static inline void psec_pmic_non_secure_escalate_config(PSEC_Type *ptr, in psec_pmic_non_secure_escalate_config() 136 static inline void psec_psecure_escalate_config(PSEC_Type *ptr, in psec_psecure_escalate_config() [all …]
|
| D | hpm_gpio_drv.h | 51 static inline uint8_t gpio_read_pin(GPIO_Type *ptr, uint32_t port, uint8_t pin) in gpio_read_pin() 63 static inline void gpio_toggle_pin(GPIO_Type *ptr, uint32_t port, uint8_t pin) in gpio_toggle_pin() 76 static inline void gpio_write_pin(GPIO_Type *ptr, uint32_t port, uint8_t pin, uint8_t high) in gpio_write_pin() 92 static inline void gpio_set_pin_input(GPIO_Type *ptr, uint32_t port, uint8_t pin) in gpio_set_pin_input() 104 static inline void gpio_set_pin_output(GPIO_Type *ptr, uint32_t port, uint8_t pin) in gpio_set_pin_output() 128 static inline bool gpio_check_pin_interrupt_flag(GPIO_Type *ptr, uint32_t port, uint8_t pin) in gpio_check_pin_interrupt_flag() 140 static inline void gpio_clear_pin_interrupt_flag(GPIO_Type *ptr, uint32_t port, uint8_t pin) in gpio_clear_pin_interrupt_flag() 154 static inline bool gpio_check_pin_interrupt_enabled(GPIO_Type *ptr, uint32_t port, uint8_t pin) in gpio_check_pin_interrupt_enabled() 166 static inline void gpio_enable_pin_interrupt(GPIO_Type *ptr, uint32_t port, uint8_t pin) in gpio_enable_pin_interrupt() 178 static inline void gpio_disable_pin_interrupt(GPIO_Type *ptr, uint32_t port, uint8_t pin) in gpio_disable_pin_interrupt() [all …]
|
| D | hpm_pllctl_drv.h | 58 static inline void pllctl_pll_unlock(PLLCTL_Type *ptr, uint8_t pll, uint32_t lock_mask) in pllctl_pll_unlock() 71 static inline void pllctl_pll_lock(PLLCTL_Type *ptr, uint8_t pll, uint32_t lock_mask) in pllctl_pll_lock() 84 static inline hpm_stat_t pllctl_pll_ss_disable(PLLCTL_Type *ptr, uint8_t pll) in pllctl_pll_ss_disable() 104 static inline hpm_stat_t pllctl_pll_powerdown(PLLCTL_Type *ptr, uint8_t pll) in pllctl_pll_powerdown() 124 static inline hpm_stat_t pllctl_pll_poweron(PLLCTL_Type *ptr, uint8_t pll) in pllctl_pll_poweron() 160 static inline hpm_stat_t pllctl_pll_ss_enable(PLLCTL_Type *ptr, uint8_t pll, in pllctl_pll_ss_enable() 195 static inline hpm_stat_t pllctl_set_postdiv1(PLLCTL_Type *ptr, uint8_t pll, uint8_t div) in pllctl_set_postdiv1() 219 static inline hpm_stat_t pllctl_set_fbdiv_int(PLLCTL_Type *ptr, uint8_t pll, uint16_t fbdiv) in pllctl_set_fbdiv_int() 242 static inline hpm_stat_t pllctl_set_fbdiv_frac(PLLCTL_Type *ptr, uint8_t pll, uint16_t fbdiv) in pllctl_set_fbdiv_frac() 263 static inline hpm_stat_t pllctl_set_frac(PLLCTL_Type *ptr, uint8_t pll, uint32_t frac) in pllctl_set_frac() [all …]
|
| D | hpm_ptpc_drv.h | 79 static inline void ptpc_set_ns_counter_rollover(PTPC_Type *ptr, uint8_t index, in ptpc_set_ns_counter_rollover() 92 static inline void ptpc_enable_capture_keep(PTPC_Type *ptr, uint8_t index) in ptpc_enable_capture_keep() 103 static inline void ptpc_disable_capture_keep(PTPC_Type *ptr, uint8_t index) in ptpc_disable_capture_keep() 115 static inline void ptpc_set_ns_counter_update_type(PTPC_Type *ptr, uint8_t index, bool coarse_updat… in ptpc_set_ns_counter_update_type() 128 static inline void ptpc_set_ns_counter_step(PTPC_Type *ptr, uint8_t index, uint32_t ns_step) in ptpc_set_ns_counter_step() 140 static inline void ptpc_set_second_update(PTPC_Type *ptr, uint8_t index, uint32_t sec) in ptpc_set_second_update() 165 static inline uint32_t ptpc_get_timestamp_second(PTPC_Type *ptr, uint8_t index) in ptpc_get_timestamp_second() 178 static inline uint32_t ptpc_get_timestamp_ns(PTPC_Type *ptr, uint8_t index) in ptpc_get_timestamp_ns() 191 static inline void ptpc_config_compare(PTPC_Type *ptr, uint8_t index, uint32_t sec, uint32_t ns) in ptpc_config_compare() 205 static inline void ptpc_update_timestamp_second(PTPC_Type *ptr, uint8_t index, uint32_t sec) in ptpc_update_timestamp_second() [all …]
|
| D | hpm_usb_drv.h | 128 static inline uint32_t usb_get_interrupts(USB_Type *ptr) in usb_get_interrupts() 139 static inline void usb_enable_interrupts(USB_Type *ptr, uint32_t mask) in usb_enable_interrupts() 150 static inline uint32_t usb_get_status_flags(USB_Type *ptr) in usb_get_status_flags() 164 static inline void usb_clear_status_flags(USB_Type *ptr, uint32_t mask) in usb_clear_status_flags() 175 static inline uint8_t usb_get_suspend_status(USB_Type *ptr) in usb_get_suspend_status() 186 static inline bool usb_get_port_reset_status(USB_Type *ptr) in usb_get_port_reset_status() 197 static inline bool usb_get_port_ccs(USB_Type *ptr) in usb_get_port_ccs() 208 static inline uint8_t usb_get_port_speed(USB_Type *ptr) in usb_get_port_speed() 315 static inline uint32_t usb_dcd_get_edpt_setup_status(USB_Type *ptr) in usb_dcd_get_edpt_setup_status() 326 static inline void usb_dcd_clear_edpt_setup_status(USB_Type *ptr, uint32_t mask) in usb_dcd_clear_edpt_setup_status() [all …]
|
| D | hpm_i2c_drv.h | 109 static inline void i2c_respond_Nack(I2C_Type *ptr) in i2c_respond_Nack() 119 static inline void i2c_respond_ack(I2C_Type *ptr) in i2c_respond_ack() 129 static inline void i2c_clear_fifo(I2C_Type *ptr) in i2c_clear_fifo() 142 static inline uint8_t i2c_get_data_count(I2C_Type *ptr) in i2c_get_data_count() 153 static inline bool i2c_fifo_is_full(I2C_Type *ptr) in i2c_fifo_is_full() 167 static inline bool i2c_fifo_is_half(I2C_Type *ptr) in i2c_fifo_is_half() 178 static inline bool i2c_fifo_is_empty(I2C_Type *ptr) in i2c_fifo_is_empty() 192 static inline bool i2c_is_writing(I2C_Type *ptr) in i2c_is_writing() 206 static inline bool i2c_is_reading(I2C_Type *ptr) in i2c_is_reading() 219 static inline void i2c_clear_status(I2C_Type *ptr, uint32_t mask) in i2c_clear_status() [all …]
|
| D | hpm_pdm_drv.h | 63 static inline void pdm_config_hpf(PDM_Type *ptr, in pdm_config_hpf() 76 static inline void pdm_enable_hpf(PDM_Type *ptr) in pdm_enable_hpf() 86 static inline void pdm_disable_hpf(PDM_Type *ptr) in pdm_disable_hpf() 97 static inline bool pdm_is_running(PDM_Type *ptr) in pdm_is_running() 107 static inline void pdm_stop(PDM_Type *ptr) in pdm_stop() 117 static inline void pdm_start(PDM_Type *ptr) in pdm_start() 128 static inline void pdm_disable_channel(PDM_Type *ptr, in pdm_disable_channel() 141 static inline void pdm_enable_channel(PDM_Type *ptr, in pdm_enable_channel() 154 static inline void pdm_disable_pdm_clock_out(PDM_Type *ptr) in pdm_disable_pdm_clock_out() 164 static inline void pdm_enable_pdm_clock_out(PDM_Type *ptr) in pdm_enable_pdm_clock_out() [all …]
|
| D | hpm_ppor_drv.h | 38 static inline void ppor_sw_reset(PPOR_Type *ptr, uint32_t counter) in ppor_sw_reset() 45 static inline void ppor_reset_mask_clear_source_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_mask_clear_source_enable() 53 static inline void ppor_reset_mask_set_source_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_mask_set_source_enable() 61 static inline void ppor_reset_set_source_enable(PPOR_Type *ptr, uint32_t reset_sources) in ppor_reset_set_source_enable() 69 static inline uint32_t ppor_reset_get_enabled_source(PPOR_Type *ptr) in ppor_reset_get_enabled_source() 77 static inline uint32_t ppor_reset_get_status(PPOR_Type *ptr) in ppor_reset_get_status() 85 static inline uint32_t ppor_reset_get_flags(PPOR_Type *ptr) in ppor_reset_get_flags() 93 static inline void ppor_reset_clear_flags(PPOR_Type *ptr, uint32_t mask) in ppor_reset_clear_flags() 101 static inline void ppor_reset_set_cold_reset_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_set_cold_reset_enable() 109 static inline void ppor_reset_clear_cold_reset_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_clear_cold_reset_enable() [all …]
|
| D | hpm_pllctlv2_drv.h | 30 static inline bool pllctlv2_xtal_is_stable(PLLCTLV2_Type *ptr) in pllctlv2_xtal_is_stable() 40 static inline bool pllctlv2_xtal_is_enabled(PLLCTLV2_Type *ptr) in pllctlv2_xtal_is_enabled() 50 static inline void pllctlv2_xtal_set_rampup_time(PLLCTLV2_Type *ptr, uint32_t rc24m_cycles) in pllctlv2_xtal_set_rampup_time() 61 static inline bool pllctlv2_pll_is_stable(PLLCTLV2_Type *ptr, uint8_t pll) in pllctlv2_pll_is_stable() 72 static inline bool pllctlv2_pll_is_enabled(PLLCTLV2_Type *ptr, uint8_t pll) in pllctlv2_pll_is_enabled() 85 static inline void pllctlv2_select_reference_clock(PLLCTLV2_Type *ptr, uint8_t pll, uint8_t src) in pllctlv2_select_reference_clock() 104 static inline void pllctlv2_disable_spread_spectrum(PLLCTLV2_Type *ptr, uint8_t pll) in pllctlv2_disable_spread_spectrum() 115 static inline void pllctlv2_set_pll_lock_time(PLLCTLV2_Type *ptr, uint8_t pll, uint32_t xtal_cycles) in pllctlv2_set_pll_lock_time() 126 static inline void pllctlv2_set_pll_step_time(PLLCTLV2_Type *ptr, uint8_t pll, uint32_t xtal_cycles) in pllctlv2_set_pll_step_time()
|
| /device/soc/hpmicro/sdk/hpm_sdk/drivers/src/ |
| D | hpm_dac_drv.c | 18 hpm_stat_t dac_init(DAC_Type *ptr, dac_config_t *config) in dac_init() 54 hpm_stat_t dac_set_step_config(DAC_Type *ptr, uint8_t step_cfg_idx, dac_step_config_t *config) in dac_set_step_config() 109 hpm_stat_t dac_set_buffer_config(DAC_Type *ptr, dac_buffer_config_t *config) in dac_set_buffer_config() 165 hpm_stat_t dac_set_direct_config(DAC_Type *ptr, uint16_t data) in dac_set_direct_config() 181 hpm_stat_t dac_set_output_frequency(DAC_Type *ptr, uint32_t dac_input_freq, uint32_t dac_output_fre… in dac_set_output_frequency() 194 hpm_stat_t dac_set_step_sw_trigger(DAC_Type *ptr, uint8_t step_sw_trig_idx) in dac_set_step_sw_trigger() 212 void dac_set_buffer_sw_trigger(DAC_Type *ptr) in dac_set_buffer_sw_trigger() 224 void dac_set_buffer_DMA_reset(DAC_Type *ptr) in dac_set_buffer_DMA_reset() 229 void dac_set_hw_trigger_enable(DAC_Type *ptr, bool enable) in dac_set_hw_trigger_enable() 238 void dac_enable_conversion(DAC_Type *ptr, bool enable) in dac_enable_conversion() [all …]
|
| D | hpm_usb_drv.c | 36 static void usb_phy_init(USB_Type *ptr) in usb_phy_init() 68 static void usb_phy_deinit(USB_Type *ptr) in usb_phy_deinit() 79 static uint8_t usb_phy_get_line_state(USB_Type *ptr) in usb_phy_get_line_state() 87 void usb_dcd_bus_reset(USB_Type *ptr, uint16_t ep0_max_packet_size) in usb_dcd_bus_reset() 114 void usb_dcd_init(USB_Type *ptr) in usb_dcd_init() 150 void usb_dcd_deinit(USB_Type *ptr) in usb_dcd_deinit() 174 void usb_dcd_connect(USB_Type *ptr) in usb_dcd_connect() 180 void usb_dcd_disconnect(USB_Type *ptr) in usb_dcd_disconnect() 203 void usb_dcd_edpt_open(USB_Type *ptr, usb_endpoint_config_t *config) in usb_dcd_edpt_open() 215 uint8_t usb_dcd_edpt_get_type(USB_Type *ptr, uint8_t ep_addr) in usb_dcd_edpt_get_type() [all …]
|
| D | hpm_enet_drv.c | 19 static void enet_mode_init(ENET_Type *ptr, uint32_t intr) in enet_mode_init() 42 static int enet_dma_init(ENET_Type *ptr, enet_desc_t *desc, uint32_t intr) in enet_dma_init() 92 static int enet_mac_init(ENET_Type *ptr, enet_mac_config_t *config, enet_inf_type_t inf_type) in enet_mac_init() 142 void enet_dma_flush(ENET_Type *ptr) in enet_dma_flush() 151 void enet_write_phy(ENET_Type *ptr, uint32_t phy_addr, uint32_t addr, uint32_t data) in enet_write_phy() 168 uint16_t enet_read_phy(ENET_Type *ptr, uint32_t phy_addr, uint32_t addr) in enet_read_phy() 185 int enet_controller_init(ENET_Type *ptr, enet_inf_type_t inf_type, enet_desc_t *desc, enet_mac_conf… in enet_controller_init() 327 uint32_t enet_prepare_transmission_descriptors(ENET_Type *ptr, enet_tx_desc_t **parent_tx_desc_list… in enet_prepare_transmission_descriptors() 401 void enet_dma_tx_desc_chain_init(ENET_Type *ptr, enet_desc_t *desc) in enet_dma_tx_desc_chain_init() 435 void enet_dma_rx_desc_chain_init(ENET_Type *ptr, enet_desc_t *desc) in enet_dma_rx_desc_chain_init() [all …]
|
| D | hpm_adc12_drv.c | 31 static hpm_stat_t adc12_do_calibration(ADC12_Type *ptr, adc12_sample_signal_t diff_sel) in adc12_do_calibration() 83 hpm_stat_t adc12_init(ADC12_Type *ptr, adc12_config_t *config) in adc12_init() 162 hpm_stat_t adc12_init_channel(ADC12_Type *ptr, adc12_channel_config_t *config) in adc12_init_channel() 183 hpm_stat_t adc12_init_seq_dma(ADC12_Type *ptr, adc12_dma_config_t *dma_config) in adc12_init_seq_dma() 216 hpm_stat_t adc12_set_prd_config(ADC12_Type *ptr, adc12_prd_config_t *config) in adc12_set_prd_config() 240 void adc12_trigger_seq_by_sw(ADC12_Type *ptr) in adc12_trigger_seq_by_sw() 246 hpm_stat_t adc12_set_seq_config(ADC12_Type *ptr, adc12_seq_config_t *config) in adc12_set_seq_config() 273 hpm_stat_t adc12_set_pmt_config(ADC12_Type *ptr, adc12_pmt_config_t *config) in adc12_set_pmt_config() 298 hpm_stat_t adc12_get_oneshot_result(ADC12_Type *ptr, uint8_t ch, uint16_t *result) in adc12_get_oneshot_result() 310 hpm_stat_t adc12_get_prd_result(ADC12_Type *ptr, uint8_t ch, uint16_t *result) in adc12_get_prd_result()
|
| /device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6750/ |
| D | hpm_sysctl_drv.c | 24 hpm_stat_t sysctl_get_cpu_gpr(SYSCTL_Type *ptr, uint8_t cpu, in sysctl_get_cpu_gpr() 38 static hpm_stat_t _sysctl_cpu_get_gpr(SYSCTL_Type *ptr, in _sysctl_cpu_get_gpr() 57 hpm_stat_t sysctl_cpu0_get_gpr(SYSCTL_Type *ptr, in sysctl_cpu0_get_gpr() 65 hpm_stat_t sysctl_cpu1_get_gpr(SYSCTL_Type *ptr, in sysctl_cpu1_get_gpr() 73 static hpm_stat_t _sysctl_cpu_set_gpr(SYSCTL_Type *ptr, in _sysctl_cpu_set_gpr() 92 hpm_stat_t sysctl_cpu0_set_gpr(SYSCTL_Type *ptr, in sysctl_cpu0_set_gpr() 111 hpm_stat_t sysctl_cpu1_set_gpr(SYSCTL_Type *ptr, in sysctl_cpu1_set_gpr() 130 void sysctl_monitor_get_default_config(SYSCTL_Type *ptr, monitor_config_t *config) in sysctl_monitor_get_default_config() 143 void sysctl_monitor_init(SYSCTL_Type *ptr, in sysctl_monitor_init() 166 uint32_t sysctl_monitor_measure_frequency(SYSCTL_Type *ptr, in sysctl_monitor_measure_frequency() [all …]
|
| /device/soc/hpmicro/sdk/hpm_sdk/components/enet_phy/dp83867/ |
| D | hpm_dp83867.c | 21 bool dp83867_id_check(ENET_Type *ptr) in dp83867_id_check() 35 static void dp83867_phy_write_ext(ENET_Type *ptr, uint32_t phy_addr, uint32_t addr, uint32_t data) in dp83867_phy_write_ext() 50 static uint16_t dp83867_phy_read_ext(ENET_Type *ptr, uint32_t phy_addr, uint32_t addr) in dp83867_phy_read_ext() 68 uint16_t DP83867_REGister_check(ENET_Type *ptr, uint32_t addr) in DP83867_REGister_check() 73 void dp83867_reset(ENET_Type *ptr) in dp83867_reset() 86 void dp83867_basic_mode_default_config(ENET_Type *ptr, dp83867_config_t *config) in dp83867_basic_mode_default_config() 94 bool dp83867_basic_mode_init(ENET_Type *ptr, dp83867_config_t *config) in dp83867_basic_mode_init() 128 uint16_t dp83867_get_phy_link_status(ENET_Type *ptr) in dp83867_get_phy_link_status() 133 void dp83867_set_rgmii_rx_delay(ENET_Type *ptr, uint32_t phy_addr, uint8_t delay) in dp83867_set_rgmii_rx_delay() 138 uint16_t dp83867_get_rgmii_rx_delay(ENET_Type *ptr, uint32_t phy_addr) in dp83867_get_rgmii_rx_delay() [all …]
|
| /device/soc/hpmicro/sdk/hpm_sdk/boards/hpm6300evk/ |
| D | board.c | 135 void board_init_uart(UART_Type *ptr) in board_init_uart() 234 void board_i2c_bus_clear(I2C_Type *ptr) in board_i2c_bus_clear() 239 void board_init_i2c(I2C_Type *ptr) in board_init_i2c() 243 uint32_t board_init_spi_clock(SPI_Type *ptr) in board_init_spi_clock() 260 void board_init_spi_pins(SPI_Type *ptr) in board_init_spi_pins() 265 void board_init_spi_pins_with_gpio_as_cs(SPI_Type *ptr) in board_init_spi_pins_with_gpio_as_cs() 424 uint32_t board_init_adc12_clock(ADC16_Type *ptr) in board_init_adc12_clock() 469 uint32_t board_init_i2s_clock(I2S_Type *ptr) in board_init_i2s_clock() 474 uint32_t board_init_adc16_clock(ADC16_Type *ptr) in board_init_adc16_clock() 479 uint32_t board_init_dac_clock(DAC_Type *ptr, bool clk_src_ahb) in board_init_dac_clock() [all …]
|
| /device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6360/ |
| D | hpm_sysctl_drv.c | 24 hpm_stat_t sysctl_get_cpu_gpr(SYSCTL_Type *ptr, uint8_t cpu, uint32_t *data, uint32_t size) in sysctl_get_cpu_gpr() 36 static hpm_stat_t _sysctl_cpu_get_gpr(SYSCTL_Type *ptr, uint8_t cpu, uint8_t start, uint8_t count, … in _sysctl_cpu_get_gpr() 49 hpm_stat_t sysctl_cpu0_get_gpr(SYSCTL_Type *ptr, uint8_t start, uint8_t count, uint32_t *data) in sysctl_cpu0_get_gpr() 54 hpm_stat_t sysctl_cpu1_get_gpr(SYSCTL_Type *ptr, uint8_t start, uint8_t count, uint32_t *data) in sysctl_cpu1_get_gpr() 59 static hpm_stat_t _sysctl_cpu_set_gpr(SYSCTL_Type *ptr, uint8_t cpu, uint8_t start, uint8_t count, … in _sysctl_cpu_set_gpr() 72 hpm_stat_t sysctl_cpu0_set_gpr(SYSCTL_Type *ptr, uint8_t start, uint8_t count, uint32_t *data, bool… in sysctl_cpu0_set_gpr() 87 void sysctl_monitor_get_default_config(SYSCTL_Type *ptr, monitor_config_t *config) in sysctl_monitor_get_default_config() 100 void sysctl_monitor_init(SYSCTL_Type *ptr, uint8_t slice, monitor_config_t *config) in sysctl_monitor_init() 121 sysctl_monitor_measure_frequency(SYSCTL_Type *ptr, uint8_t monitor_index, monitor_target_t target, … in sysctl_monitor_measure_frequency() 135 static hpm_stat_t _sysctl_set_cpu_entry(SYSCTL_Type *ptr, uint8_t cpu, uint32_t entry) in _sysctl_set_cpu_entry() [all …]
|
| /device/soc/hpmicro/sdk/hpm_sdk/boards/hpm6750evk2/ |
| D | board.c | 144 void board_init_uart(UART_Type *ptr) in board_init_uart() 279 void board_i2c_bus_clear(I2C_Type *ptr) in board_i2c_bus_clear() 311 void board_init_i2c(I2C_Type *ptr) in board_init_i2c() 338 uint32_t board_init_uart_clock(UART_Type *ptr) in board_init_uart_clock() 359 uint32_t board_init_spi_clock(SPI_Type *ptr) in board_init_spi_clock() 392 void board_init_spi_pins(SPI_Type *ptr) in board_init_spi_pins() 397 void board_init_spi_pins_with_gpio_as_cs(SPI_Type *ptr) in board_init_spi_pins_with_gpio_as_cs() 602 uint32_t board_init_cam_clock(CAM_Type *ptr) in board_init_cam_clock() 629 uint32_t board_init_adc12_clock(ADC12_Type *ptr) in board_init_adc12_clock() 684 uint32_t board_init_i2s_clock(I2S_Type *ptr) in board_init_i2s_clock() [all …]
|
| /device/soc/hpmicro/sdk/hpm_sdk/boards/hpm6750evkmini/ |
| D | pinmux.c | 18 void init_uart_pins(UART_Type *ptr) in init_uart_pins() 47 void init_lcd_pins(LCDC_Type *ptr) in init_lcd_pins() 100 void init_i2c_pins_as_gpio(I2C_Type *ptr) in init_i2c_pins_as_gpio() 112 void init_i2c_pins(I2C_Type *ptr) in init_i2c_pins() 191 void init_spi_pins(SPI_Type *ptr) in init_spi_pins() 211 void init_spi_pins_with_gpio_as_cs(SPI_Type *ptr) in init_spi_pins_with_gpio_as_cs() 237 void init_gptmr_pins(GPTMR_Type *ptr) in init_gptmr_pins() 260 void init_i2s_pins(I2S_Type *ptr) in init_i2s_pins() 292 void init_cam_pins(CAM_Type *ptr) in init_cam_pins() 328 void init_enet_pins(ENET_Type *ptr) in init_enet_pins() [all …]
|
| /device/soc/hpmicro/sdk/hpm_sdk/boards/hpm6750evk/ |
| D | board.c | 144 void board_init_uart(UART_Type *ptr) in board_init_uart() 276 void board_i2c_bus_clear(I2C_Type *ptr) in board_i2c_bus_clear() 308 void board_init_i2c(I2C_Type *ptr) in board_init_i2c() 335 uint32_t board_init_uart_clock(UART_Type *ptr) in board_init_uart_clock() 356 uint32_t board_init_spi_clock(SPI_Type *ptr) in board_init_spi_clock() 388 void board_init_spi_pins(SPI_Type *ptr) in board_init_spi_pins() 393 void board_init_spi_pins_with_gpio_as_cs(SPI_Type *ptr) in board_init_spi_pins_with_gpio_as_cs() 598 uint32_t board_init_cam_clock(CAM_Type *ptr) in board_init_cam_clock() 625 uint32_t board_init_adc12_clock(ADC12_Type *ptr) in board_init_adc12_clock() 680 uint32_t board_init_i2s_clock(I2S_Type *ptr) in board_init_i2s_clock() [all …]
|