Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/drivers/i2c/
Di2c_mchp_xec_v2.c101 uint8_t speed_id; member
265 regs->BUSCLK = xec_cfg_params[data->speed_id].bus_clk; in i2c_xec_reset_config()
266 regs->RSHTM = xec_cfg_params[data->speed_id].start_hold_time; in i2c_xec_reset_config()
267 regs->DATATM = xec_cfg_params[data->speed_id].data_timing; in i2c_xec_reset_config()
268 regs->TMOUTSC = xec_cfg_params[data->speed_id].timeout_scale; in i2c_xec_reset_config()
269 regs->IDLSC = xec_cfg_params[data->speed_id].idle_scale; in i2c_xec_reset_config()
584 data->speed_id = SPEED_100KHZ_BUS; in i2c_xec_configure()
587 data->speed_id = SPEED_400KHZ_BUS; in i2c_xec_configure()
590 data->speed_id = SPEED_1MHZ_BUS; in i2c_xec_configure()
Di2c_mchp_xec.c66 uint32_t speed_id; member
128 MCHP_I2C_SMB_BUS_CLK(ba) = xec_cfg_params[data->speed_id].bus_clk; in i2c_xec_reset_config()
129 MCHP_I2C_SMB_DATA_TM(ba) = xec_cfg_params[data->speed_id].data_timing; in i2c_xec_reset_config()
131 xec_cfg_params[data->speed_id].start_hold_time; in i2c_xec_reset_config()
132 MCHP_I2C_SMB_TMTSC(ba) = xec_cfg_params[data->speed_id].timeout_scale; in i2c_xec_reset_config()
335 data->speed_id = SPEED_100KHZ_BUS; in i2c_xec_configure()
338 data->speed_id = SPEED_400KHZ_BUS; in i2c_xec_configure()
341 data->speed_id = SPEED_1MHZ_BUS; in i2c_xec_configure()