Home
last modified time | relevance | path

Searched refs:hi2c (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/drivers/
A Dstm32_i2c.c296 return io_pa_or_va_secure(&hi2c->base, hi2c->reg_size); in get_base()
320 clk_enable(hi2c->clock); in save_cfg()
328 clk_disable(hi2c->clock); in save_cfg()
335 clk_enable(hi2c->clock); in restore_cfg()
361 clk_enable(hi2c->clock); in dump_i2c()
778 base = get_base(hi2c); in stm32_i2c_init()
917 i2c_flush_txdr(hi2c); in i2c_ack_failed()
1530 stm32_pinctrl_load_active_cfg(hi2c->pinctrl, hi2c->pinctrl_count); in stm32_i2c_resume()
1537 restore_cfg(hi2c, &hi2c->sec_cfg); in stm32_i2c_resume()
1554 save_cfg(hi2c, &hi2c->sec_cfg); in stm32_i2c_suspend()
[all …]
/optee_os-3.20.0/core/include/drivers/
A Dstm32_i2c.h160 int stm32_i2c_init(struct i2c_handle_s *hi2c,
175 int stm32_i2c_mem_write(struct i2c_handle_s *hi2c, uint32_t dev_addr,
191 int stm32_i2c_mem_read(struct i2c_handle_s *hi2c, uint32_t dev_addr,
205 int stm32_i2c_master_transmit(struct i2c_handle_s *hi2c, uint32_t dev_addr,
219 int stm32_i2c_master_receive(struct i2c_handle_s *hi2c, uint32_t dev_addr,
228 int stm32_i2c_read_write_membyte(struct i2c_handle_s *hi2c, uint16_t dev_addr,
241 bool stm32_i2c_is_device_ready(struct i2c_handle_s *hi2c, uint32_t dev_addr,
250 void stm32_i2c_suspend(struct i2c_handle_s *hi2c);
258 void stm32_i2c_resume(struct i2c_handle_s *hi2c);
263 static inline bool i2c_is_secure(struct i2c_handle_s *hi2c) in i2c_is_secure() argument
[all …]

Completed in 7 milliseconds