Home
last modified time | relevance | path

Searched defs:i2c (Results 1 – 25 of 192) sorted by relevance

12345678

/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_ll_stm32_v1.c34 static void stm32_i2c_generate_start_condition(I2C_TypeDef *i2c) in stm32_i2c_generate_start_condition()
52 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_disable_transfer_interrupts() local
67 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_enable_transfer_interrupts() local
79 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_reset() local
126 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_master_finish() local
153 I2C_TypeDef *i2c = cfg->i2c; in msg_init() local
235 I2C_TypeDef *i2c = cfg->i2c; in handle_sb() local
269 I2C_TypeDef *i2c = cfg->i2c; in handle_addr() local
313 I2C_TypeDef *i2c = cfg->i2c; in handle_txe() local
343 I2C_TypeDef *i2c = cfg->i2c; in handle_rxne() local
[all …]
Di2c_max32.c59 mxc_i2c_regs_t *i2c = cfg->regs; in api_configure() local
95 mxc_i2c_regs_t *i2c = config->regs; in api_target_register() local
114 mxc_i2c_regs_t *i2c = config->regs; in api_target_unregister() local
126 static int i2c_max32_target_callback(const struct device *dev, mxc_i2c_regs_t *i2c, in i2c_max32_target_callback()
180 mxc_i2c_regs_t *i2c = cfg->regs; in api_recover_bus() local
188 static int i2c_max32_transfer_sync(mxc_i2c_regs_t *i2c, struct max32_i2c_data *data) in i2c_max32_transfer_sync()
276 mxc_i2c_regs_t *i2c = cfg->regs; in i2c_max32_transfer() local
369 mxc_i2c_regs_t *i2c = cfg->regs; in i2c_max32_transfer() local
441 static void i2c_max32_isr_target(const struct device *dev, mxc_i2c_regs_t *i2c) in i2c_max32_isr_target()
530 static void i2c_max32_isr_controller(const struct device *dev, mxc_i2c_regs_t *i2c) in i2c_max32_isr_controller()
[all …]
Di2c_ll_stm32_v2.c126 I2C_TypeDef *i2c = cfg->i2c; in msg_init() local
166 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_disable_transfer_interrupts() local
182 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_enable_transfer_interrupts() local
194 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_master_mode_end() local
220 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_slave_event() local
316 I2C_TypeDef *i2c = cfg->i2c; in i2c_stm32_target_register() local
389 I2C_TypeDef *i2c = cfg->i2c; in i2c_stm32_target_unregister() local
452 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_event() local
515 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_error() local
584 I2C_TypeDef *i2c = cfg->i2c; in stm32_i2c_msg_write() local
[all …]
Di2c_sam0.c82 SercomI2cm *i2c = cfg->regs; in i2c_sam0_terminate_on_error() local
132 SercomI2cm *i2c = cfg->regs; in i2c_sam0_isr() local
223 SercomI2cm *i2c = cfg->regs; in i2c_sam0_dma_write_done() local
260 SercomI2cm *i2c = cfg->regs; in i2c_sam0_dma_write_start() local
314 SercomI2cm *i2c = cfg->regs; in i2c_sam0_dma_read_done() local
352 SercomI2cm *i2c = cfg->regs; in i2c_sam0_dma_read_start() local
408 SercomI2cm *i2c = cfg->regs; in i2c_sam0_transfer() local
538 SercomI2cm *i2c = cfg->regs; in i2c_sam0_set_apply_bitrate() local
672 SercomI2cm *i2c = cfg->regs; in i2c_sam0_configure() local
700 SercomI2cm *i2c = cfg->regs; in i2c_sam0_initialize() local
/Zephyr-Core-3.7.0/drivers/sensor/th02/
Dth02.c22 static uint8_t read8(const struct i2c_dt_spec *i2c, uint8_t d) in read8()
32 static int is_ready(const struct i2c_dt_spec *i2c) in is_ready()
48 static uint16_t get_humi(const struct i2c_dt_spec *i2c) in get_humi()
66 uint16_t get_temp(const struct i2c_dt_spec *i2c) in get_temp()
Dth02.h28 struct i2c_dt_spec i2c; member
/Zephyr-Core-3.7.0/tests/boards/mec15xxevb_assy6853/i2c_api/src/
Dmain.c25 ZTEST(i2c, test_i2c_pca95xx) in ZTEST() argument
32 const struct i2c_dt_spec i2c = I2C_DT_SPEC_GET(DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_pca95xx)); in ZTEST() local
/Zephyr-Core-3.7.0/tests/boards/frdm_k64f/i2c/
DCMakeLists.txt5 project(i2c) project
/Zephyr-Core-3.7.0/drivers/led/
Dis31fl3216a.c33 struct i2c_dt_spec i2c; member
36 static int is31fl3216a_write_buffer(const struct i2c_dt_spec *i2c, in is31fl3216a_write_buffer()
50 static int is31fl3216a_write_reg(const struct i2c_dt_spec *i2c, uint8_t reg, in is31fl3216a_write_reg()
58 static int is31fl3216a_update_pwm(const struct i2c_dt_spec *i2c) in is31fl3216a_update_pwm()
137 static int is31fl3216a_init_registers(const struct i2c_dt_spec *i2c) in is31fl3216a_init_registers()
/Zephyr-Core-3.7.0/drivers/sensor/ti/tmp007/
Dtmp007.c23 int tmp007_reg_read(const struct i2c_dt_spec *i2c, uint8_t reg, uint16_t *val) in tmp007_reg_read()
35 int tmp007_reg_write(const struct i2c_dt_spec *i2c, uint8_t reg, uint16_t val) in tmp007_reg_write()
42 int tmp007_reg_update(const struct i2c_dt_spec *i2c, uint8_t reg, in tmp007_reg_update()
/Zephyr-Core-3.7.0/drivers/sensor/maxim/max31790/
Dmax31790_fan_fault.h13 struct i2c_dt_spec i2c; member
Dmax31790_fan_speed.h13 struct i2c_dt_spec i2c; member
/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_pcal64xxa.c117 struct i2c_dt_spec i2c; member
413 static int pcal64xxa_i2c_write(const struct i2c_dt_spec *i2c, uint8_t register_address, in pcal64xxa_i2c_write()
428 static int pcal64xxa_i2c_read(const struct i2c_dt_spec *i2c, uint8_t register_address, in pcal64xxa_i2c_read()
444 static int pcal6408a_pins_cfg_apply(const struct i2c_dt_spec *i2c, in pcal6408a_pins_cfg_apply()
475 static int pcal6408a_inputs_read(const struct i2c_dt_spec *i2c, pcal64xxa_data_t *int_sources, in pcal6408a_inputs_read()
499 static int pcal6408a_outputs_write(const struct i2c_dt_spec *i2c, pcal64xxa_data_t outputs) in pcal6408a_outputs_write()
517 static int pcal6408a_triggers_apply(const struct i2c_dt_spec *i2c, in pcal6408a_triggers_apply()
539 static int pcal6408a_reset_state_apply(const struct i2c_dt_spec *i2c) in pcal6408a_reset_state_apply()
570 static int pcal6416a_pins_cfg_apply(const struct i2c_dt_spec *i2c, in pcal6416a_pins_cfg_apply()
625 static int pcal6416a_inputs_read(const struct i2c_dt_spec *i2c, pcal64xxa_data_t *int_sources, in pcal6416a_inputs_read()
[all …]
/Zephyr-Core-3.7.0/tests/drivers/i2c/i2c_target_api/src/
Dmain.c46 static int run_full_read(const struct device *i2c, uint8_t addr, in run_full_read()
75 static int run_partial_read(const struct device *i2c, uint8_t addr, in run_partial_read()
114 static int run_program_read(const struct device *i2c, uint8_t addr, in run_program_read()
/Zephyr-Core-3.7.0/tests/boards/mec172xevb_assy6906/i2c_api/src/
Dmain.c32 const struct i2c_dt_spec i2c = I2C_DT_SPEC_GET(DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_pca95xx)); in ZTEST() local
/Zephyr-Core-3.7.0/drivers/input/
Dinput_cap1203.c28 struct i2c_dt_spec i2c; member
45 static int cap1203_clear_interrupt(const struct i2c_dt_spec *i2c) in cap1203_clear_interrupt()
59 static int cap1203_enable_interrupt(const struct i2c_dt_spec *i2c, bool enable) in cap1203_enable_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/honeywell/mpr/
Dmpr.h36 struct i2c_dt_spec i2c; member
/Zephyr-Core-3.7.0/drivers/sensor/maxim/max44009/
Dmax44009.h28 struct i2c_dt_spec i2c; member
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_pdus/
Dwsen_pdus.h35 const struct i2c_dt_spec i2c; member
/Zephyr-Core-3.7.0/drivers/mfd/
Dmfd_max31790.c20 struct i2c_dt_spec i2c; member
/Zephyr-Core-3.7.0/drivers/sensor/ti/opt3001/
Dopt3001.h32 struct i2c_dt_spec i2c; member
/Zephyr-Core-3.7.0/drivers/sensor/f75303/
Df75303.h27 struct i2c_dt_spec i2c; member
/Zephyr-Core-3.7.0/drivers/fuel_gauge/max17048/
Dmax17048.h31 struct i2c_dt_spec i2c; member
/Zephyr-Core-3.7.0/drivers/sensor/st/vl53l0x/
Dvl53l0x_platform.h33 const struct device *i2c; member
/Zephyr-Core-3.7.0/drivers/sensor/st/vl53l1x/
Dvl53l1_platform_user_data.h30 const struct i2c_dt_spec *i2c; member

12345678