Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 4 of 4) sorted by relevance

/hal_microchip-latest/mec5/drivers/
Dmec_i3c.c56 void MEC_HAL_I3C_Controller_Clk_I2C_Init(struct mec_i3c_ctx *ctx, uint32_t core_clk_rate_mhz) in MEC_HAL_I3C_Controller_Clk_I2C_Init()
87 void MEC_HAL_I3C_Controller_Clk_Init(struct mec_i3c_ctx *ctx, uint32_t core_clk_rate_mhz, in MEC_HAL_I3C_Controller_Clk_Init()
110 void MEC_HAL_I3C_Controller_Clk_Cfg(struct mec_i3c_ctx *ctx, uint32_t core_clk_rate_mhz, in MEC_HAL_I3C_Controller_Clk_Cfg()
135 void MEC_HAL_I3C_Target_Init(struct mec_i3c_ctx *ctx, uint32_t core_clk_rate_mhz, in MEC_HAL_I3C_Target_Init()
184 void MEC_HAL_I3C_Target_MRL_MWL_update(struct mec_i3c_ctx *ctx, uint16_t *max_rd_len, in MEC_HAL_I3C_Target_MRL_MWL_update()
203 void MEC_HAL_I3C_Target_MRL_MWL_set(struct mec_i3c_ctx *ctx, uint16_t max_rd_len, in MEC_HAL_I3C_Target_MRL_MWL_set()
216 void MEC_HAL_I3C_Target_Interrupts_Init(struct mec_i3c_ctx *ctx) in MEC_HAL_I3C_Target_Interrupts_Init()
249 void MEC_HAL_I3C_Controller_Interrupts_Init(struct mec_i3c_ctx *ctx) in MEC_HAL_I3C_Controller_Interrupts_Init()
282 void MEC_HAL_I3C_Thresholds_Init(struct mec_i3c_ctx *ctx) in MEC_HAL_I3C_Thresholds_Init()
326 void MEC_HAL_I3C_Thresholds_Response_buf_set(struct mec_i3c_ctx *ctx, uint8_t threshold) in MEC_HAL_I3C_Thresholds_Response_buf_set()
[all …]
Dmec_i2c.c139 int mec_hal_i2c_smb_reset(struct mec_i2c_smb_ctx *ctx) in mec_hal_i2c_smb_reset()
165 static void i2c_config(struct mec_i2c_smb_ctx *ctx, struct mec_i2c_smb_cfg *config, in i2c_config()
210 int mec_hal_i2c_smb_bus_freq_get(struct mec_i2c_smb_ctx *ctx, uint32_t *bus_freq_hz) in mec_hal_i2c_smb_bus_freq_get()
226 int mec_hal_i2c_smb_init(struct mec_i2c_smb_ctx *ctx, struct mec_i2c_smb_cfg *config, in mec_hal_i2c_smb_init()
275 static int mec_hal_i2c_smb_own_addr(struct mec_i2c_smb_ctx *ctx, uint8_t tid, in mec_hal_i2c_smb_own_addr()
316 int mec_hal_i2c_smb_get_target_addr(struct mec_i2c_smb_ctx *ctx, uint8_t target_id, in mec_hal_i2c_smb_get_target_addr()
326 int mec_hal_i2c_smb_set_target_addr(struct mec_i2c_smb_ctx *ctx, uint8_t target_id, in mec_hal_i2c_smb_set_target_addr()
332 int mec_hal_i2c_smb_clr_target_addr(struct mec_i2c_smb_ctx *ctx, uint16_t target_addr) in mec_hal_i2c_smb_clr_target_addr()
354 int mec_hal_i2c_smb_girq_status_clr(struct mec_i2c_smb_ctx *ctx) in mec_hal_i2c_smb_girq_status_clr()
366 int mec_hal_i2c_smb_girq_ctrl(struct mec_i2c_smb_ctx *ctx, int flags) in mec_hal_i2c_smb_girq_ctrl()
[all …]
Dmec_htimer.c25 int mec_hal_htimer_init(struct mec_htmr_regs *regs, struct mec_htimer_context *ctx, in mec_hal_htimer_init()
77 void mec_hal_htimer_intr_ctrl(struct mec_htimer_context *ctx, uint8_t enable) in mec_hal_htimer_intr_ctrl()
82 uint32_t mec_hal_htimer_status(struct mec_htimer_context *ctx) in mec_hal_htimer_status()
91 void mec_hal_htimer_status_clear(struct mec_htimer_context *ctx) in mec_hal_htimer_status_clear()
107 void mec_hal_htimer_halt(struct mec_htimer_context *ctx) in mec_hal_htimer_halt()
118 void mec_hal_htimer_unhalt(struct mec_htimer_context *ctx) in mec_hal_htimer_unhalt()
126 void mec_hal_htimer_restart(struct mec_htimer_context *ctx, uint16_t new_count) in mec_hal_htimer_restart()
Dmec_qspi.c1042 void mec_hal_qspi_context_init(struct mec_qspi_context *ctx) in mec_hal_qspi_context_init()
1053 uint8_t mec_hal_qspi_ctx_alloc_ldma_chan(struct mec_qspi_context *ctx, uint8_t is_tx) in mec_hal_qspi_ctx_alloc_ldma_chan()
1087 int mec_hal_qspi_cfg_gen_ts_clocks(struct mec_qspi_context *ctx, uint32_t nclocks, in mec_hal_qspi_cfg_gen_ts_clocks()
1192 uint32_t mec_hal_qspi_descrs_cfg1(struct mec_qspi_context *ctx, uint32_t nbytes, uint32_t flags) in mec_hal_qspi_descrs_cfg1()
1252 int mec_hal_qspi_load_descrs(struct mec_qspi_regs *regs, struct mec_qspi_context *ctx, in mec_hal_qspi_load_descrs()