Home
last modified time | relevance | path

Searched defs:base (Results 1 – 17 of 17) sorted by relevance

/hal_microchip-latest/mec5/drivers/
Dmec_qspi.c61 static struct mec_qspi_info const *qspi_get_info(struct mec_qspi_regs *base) in qspi_get_info()
81 static uint32_t qspi_get_freq(struct mec_qspi_regs *base) in qspi_get_freq()
93 uint32_t mec_hal_qspi_get_freq(struct mec_qspi_regs *base) in mec_hal_qspi_get_freq()
102 uint32_t mec_hal_qspi_freq_div(struct mec_qspi_regs *base) in mec_hal_qspi_freq_div()
121 uint16_t mec_hal_qspi_freq_div_raw(struct mec_qspi_regs *base) in mec_hal_qspi_freq_div_raw()
158 static uint32_t qspi_byte_time_ns(struct mec_qspi_regs *base) in qspi_byte_time_ns()
186 int mec_hal_qspi_byte_time_ns(struct mec_qspi_regs *base, uint32_t *btime_ns) in mec_hal_qspi_byte_time_ns()
220 static void qspi_set_freq(struct mec_qspi_regs *base, uint32_t freqhz) in qspi_set_freq()
228 int mec_hal_qspi_set_freq(struct mec_qspi_regs *base, uint32_t freqhz) in mec_hal_qspi_set_freq()
239 static void qspi_intr_clr_dis(struct mec_qspi_regs *base) in qspi_intr_clr_dis()
[all …]
Dmec_kbc.c69 int mec_hal_kbc_init(struct mec_kbc_regs *base, uint32_t flags) in mec_hal_kbc_init()
161 int mec_hal_kbc_activate(struct mec_kbc_regs *base, uint8_t enable, uint8_t flags) in mec_hal_kbc_activate()
199 int mec_hal_kbc_girq_en(struct mec_kbc_regs *base, uint32_t flags) in mec_hal_kbc_girq_en()
216 int mec_hal_kbc_girq_dis(struct mec_kbc_regs *base, uint32_t flags) in mec_hal_kbc_girq_dis()
233 int mec_hal_kbc_girq_clr(struct mec_kbc_regs *base, uint32_t flags) in mec_hal_kbc_girq_clr()
250 uint32_t mec_kbc_girq_result(struct mec_kbc_regs *base) in mec_kbc_girq_result()
273 int mec_hal_kbc_is_enabled(struct mec_kbc_regs *base) in mec_hal_kbc_is_enabled()
288 int mec_hal_kbc_is_irq_gen_enabled(struct mec_kbc_regs *base) in mec_hal_kbc_is_irq_gen_enabled()
303 uint8_t mec_hal_kbc_status(struct mec_kbc_regs *base) in mec_hal_kbc_status()
314 void mec_hal_kbc_status_wr(struct mec_kbc_regs *base, uint8_t val, uint8_t msk) in mec_hal_kbc_status_wr()
[all …]
Dmec_mailbox.c49 int mec_hal_mbox_init(struct mec_mbox_regs *base, uint32_t swi_ien_msk, uint32_t flags) in mec_hal_mbox_init()
79 int mec_hal_mbox_girq_ctrl(struct mec_mbox_regs *base, uint8_t enable) in mec_hal_mbox_girq_ctrl()
92 int mec_hal_mbox_girq_clr(struct mec_mbox_regs *base) in mec_hal_mbox_girq_clr()
105 uint32_t mec_hal_mbox_girq_result(struct mec_mbox_regs *base) in mec_hal_mbox_girq_result()
116 int mec_hal_mbox_sirq_set(struct mec_mbox_regs *base, uint8_t bitmap) in mec_hal_mbox_sirq_set()
129 int mec_hal_mbox_sirq_en_mask(struct mec_mbox_regs *base, uint8_t val, uint8_t mask) in mec_hal_mbox_sirq_en_mask()
142 int mec_hal_mbox_get_host_to_ec(struct mec_mbox_regs *base, uint8_t *data) in mec_hal_mbox_get_host_to_ec()
157 int mec_hal_mbox_set_host_to_ec(struct mec_mbox_regs *base, uint8_t data) in mec_hal_mbox_set_host_to_ec()
168 int mec_hal_mbox_get_ec_to_host(struct mec_mbox_regs *base, uint8_t *data) in mec_hal_mbox_get_ec_to_host()
183 int mec_hal_mbox_set_ec_to_host(struct mec_mbox_regs *base, uint8_t data) in mec_hal_mbox_set_ec_to_host()
[all …]
Dmec_uart.c82 static uint32_t uart_baud_divider_get(struct mec_uart_regs *base) in uart_baud_divider_get()
95 static void uart_prog_fifos(struct mec_uart_regs *base, uint8_t fifo_mode) in uart_prog_fifos()
110 int mec_hal_uart_tx_fifo_size(struct mec_uart_regs *base) in mec_hal_uart_tx_fifo_size()
125 int mec_hal_uart_rx_fifo_size(struct mec_uart_regs *base) in mec_hal_uart_rx_fifo_size()
136 int mec_hal_uart_clock_freq_get(struct mec_uart_regs *base, uint32_t *clock_freq) in mec_hal_uart_clock_freq_get()
160 int mec_hal_uart_parity_set(struct mec_uart_regs *base, uint8_t parity) in mec_hal_uart_parity_set()
177 int mec_hal_uart_parity_get(struct mec_uart_regs *base, uint8_t *parity) in mec_hal_uart_parity_get()
198 int mec_hal_uart_word_len_set(struct mec_uart_regs *base, uint8_t word_len) in mec_hal_uart_word_len_set()
214 int mec_hal_uart_word_len_get(struct mec_uart_regs *base, uint8_t *word_len) in mec_hal_uart_word_len_get()
238 int mec_hal_uart_stop_bits_set(struct mec_uart_regs *base, uint8_t stop_bits) in mec_hal_uart_stop_bits_set()
[all …]
Dmec_dmac.c135 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dmac_reset() local
144 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dmac_enable() local
157 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dmac_is_enabled() local
254 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dma_chan_init() local
276 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dma_chan_intr_status() local
307 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dma_chan_intr_status_clr() local
321 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dma_chan_intr_en() local
340 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dma_chan_start() local
378 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dma_chan_is_busy() local
393 struct mec_dmac_regs *base = MEC_DMAC; in mec_hal_dma_chan_halt() local
[all …]
Dmec_espi_host_dev.c113 int mec_hal_espi_iobar_cfg(struct mec_espi_io_regs *base, uint8_t ldn, in mec_hal_espi_iobar_cfg()
140 int mec_hal_espi_iobar_enable(struct mec_espi_io_regs *base, uint8_t ldn, uint8_t enable) in mec_hal_espi_iobar_enable()
164 int mec_hal_espi_iobar_is_enabled(struct mec_espi_io_regs *base, uint8_t ldn) in mec_hal_espi_iobar_is_enabled()
185 uint32_t mec_hal_espi_iobar_mask(struct mec_espi_io_regs *base, uint8_t ldn) in mec_hal_espi_iobar_mask()
208 int mec_hal_espi_iobar_mask_set(struct mec_espi_io_regs *base, uint8_t ldn, uint8_t mask) in mec_hal_espi_iobar_mask_set()
239 int mec_hal_espi_mbar_cfg(struct mec_espi_mem_regs *base, uint8_t ldn, in mec_hal_espi_mbar_cfg()
268 int mec_hal_espi_sram_bar_cfg(struct mec_espi_mem_regs *base, in mec_hal_espi_sram_bar_cfg()
306 int mec_hal_espi_mbar_extended_addr_set(struct mec_espi_mem_regs *base, uint32_t extended_addr) in mec_hal_espi_mbar_extended_addr_set()
317 int mec_hal_espi_sram_bar_extended_addr_set(struct mec_espi_mem_regs *base, in mec_hal_espi_sram_bar_extended_addr_set()
329 int mec_hal_espi_mbar_enable(struct mec_espi_mem_regs *base, uint8_t ldn, uint8_t enable) in mec_hal_espi_mbar_enable()
[all …]
Dmec_i2c.c126 static struct mec_i2c_info const *get_i2c_smb_info(struct mec_i2c_smb_regs *base) in get_i2c_smb_info()
156 static void i2c_timing(struct mec_i2c_smb_regs *base, const struct mec_i2c_freq_cfg *freq_cfg) in i2c_timing()
168 struct mec_i2c_smb_regs *base = ctx->base; in i2c_config() local
416 struct mec_i2c_smb_regs *base = ctx->base; in mec_hal_i2c_smb_is_bus_owned() local
432 struct mec_i2c_smb_regs *base = ctx->base; in mec_hal_i2c_smb_ctrl_set() local
456 struct mec_i2c_smb_regs *base = ctx->base; in mec_hal_i2c_cmd_ack_ctrl() local
487 struct mec_i2c_smb_regs *base = ctx->base; in mec_hal_i2c_smb_auto_ack_enable() local
506 struct mec_i2c_smb_regs *base = ctx->base; in mec_hal_i2c_smb_auto_ack_disable() local
526 struct mec_i2c_smb_regs *base = ctx->base; in mec_hal_i2c_smb_idle_intr_enable() local
595 struct mec_i2c_smb_regs *base = ctx->base; in mec_hal_i2c_smb_status() local
[all …]
Dmec_ps2.c167 int mec_hal_ps2_girq_ctrl(struct mec_ps2_regs *base, uint8_t enable) in mec_hal_ps2_girq_ctrl()
180 int mec_hal_ps2_girq_clr(struct mec_ps2_regs *base) in mec_hal_ps2_girq_clr()
193 uint32_t mec_hal_ps2_girq_result(struct mec_ps2_regs *base) in mec_hal_ps2_girq_result()
204 int mec_hal_ps2_girq_wake_enable(struct mec_ps2_regs *base, uint8_t port, uint8_t enable) in mec_hal_ps2_girq_wake_enable()
227 uint32_t mec_hal_ps2_girq_wake_result(struct mec_ps2_regs *base, uint8_t port) in mec_hal_ps2_girq_wake_result()
242 void mec_hal_ps2_girq_wake_clr(struct mec_ps2_regs *base, uint8_t port) in mec_hal_ps2_girq_wake_clr()
Dmec_emi.c65 int mec_hal_emi_girq_ctrl(struct mec_emi_regs *base, uint8_t enable) in mec_hal_emi_girq_ctrl()
78 int mec_hal_emi_girq_clr(struct mec_emi_regs *base) in mec_hal_emi_girq_clr()
91 uint32_t mec_hal_emi_girq_result(struct mec_emi_regs *base) in mec_hal_emi_girq_result()
Dmec_pwm.c39 uintptr_t base; member
60 static struct mec5_pwm_info const *get_pwm_info(uintptr_t base) in get_pwm_info()
Dmec_bclink.c53 int mec_hal_bcl_init(struct mec_bcl_regs *base, uint32_t flags) in mec_hal_bcl_init()
Dmec_bbled.c50 static inline uint32_t bbled_fast_idx(uintptr_t base) in bbled_fast_idx()
Dmec_i2c_api.h127 struct mec_i2c_smb_regs *base; member
Dmec_i3c_api.h14 uintptr_t base; member
Dmec_i3c.c37 static struct mec_i3c_info const *get_i3c_info(uintptr_t base) in get_i3c_info()
/hal_microchip-latest/mpfs/mpfs_hal/common/
Dmss_mpu.c238 uint64_t base, in MSS_MPU_configure()
276 uint64_t* base, in MSS_MPU_get_config()
307 uint64_t base = reg; in pmp_get_napot_base_and_range() local
/hal_microchip-latest/mpfs/mpfs_hal/common/nwc/
Dmss_ddr_debug.c751 void load_ddr_pattern(uint64_t base, uint32_t size, uint8_t pattern_offset) in load_ddr_pattern()