Home
last modified time | relevance | path

Searched refs:dev_config_raw (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.6.0/drivers/i2c/
Di2c_cc32xx.c85 uint32_t dev_config_raw) in i2c_cc32xx_configure() argument
90 if (!(dev_config_raw & I2C_MODE_CONTROLLER)) { in i2c_cc32xx_configure()
94 if (dev_config_raw & I2C_ADDR_10_BITS) { in i2c_cc32xx_configure()
98 switch (I2C_SPEED_GET(dev_config_raw)) { in i2c_cc32xx_configure()
Di2c_mcux.c52 uint32_t dev_config_raw) in i2c_mcux_configure() argument
60 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_mcux_configure()
64 if (I2C_ADDR_10_BITS & dev_config_raw) { in i2c_mcux_configure()
68 switch (I2C_SPEED_GET(dev_config_raw)) { in i2c_mcux_configure()
Di2c_imx.c125 uint32_t dev_config_raw) in i2c_imx_configure() argument
132 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_imx_configure()
136 if (I2C_ADDR_10_BITS & dev_config_raw) { in i2c_imx_configure()
150 switch (I2C_SPEED_GET(dev_config_raw)) { in i2c_imx_configure()
Di2c_gecko.c77 static int i2c_gecko_configure(const struct device *dev, uint32_t dev_config_raw) in i2c_gecko_configure() argument
84 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_gecko_configure()
88 switch (I2C_SPEED_GET(dev_config_raw)) { in i2c_gecko_configure()
102 data->dev_config = dev_config_raw; in i2c_gecko_configure()
Di2c_mcux_flexcomm.c51 uint32_t dev_config_raw) in mcux_flexcomm_configure() argument
59 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in mcux_flexcomm_configure()
63 if (I2C_ADDR_10_BITS & dev_config_raw) { in mcux_flexcomm_configure()
67 switch (I2C_SPEED_GET(dev_config_raw)) { in mcux_flexcomm_configure()
Di2c_mcux_lpi2c.c71 uint32_t dev_config_raw) in mcux_lpi2c_configure() argument
80 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in mcux_lpi2c_configure()
84 if (I2C_ADDR_10_BITS & dev_config_raw) { in mcux_lpi2c_configure()
88 switch (I2C_SPEED_GET(dev_config_raw)) { in mcux_lpi2c_configure()
Di2c_mchp_xec.c320 uint32_t dev_config_raw) in i2c_xec_configure() argument
325 if (!(dev_config_raw & I2C_MODE_CONTROLLER)) { in i2c_xec_configure()
329 if (dev_config_raw & I2C_ADDR_10_BITS) { in i2c_xec_configure()
333 switch (I2C_SPEED_GET(dev_config_raw)) { in i2c_xec_configure()
Di2c_mchp_xec_v2.c569 uint32_t dev_config_raw) in i2c_xec_configure() argument
574 if (!(dev_config_raw & I2C_MODE_CONTROLLER)) { in i2c_xec_configure()
578 if (dev_config_raw & I2C_ADDR_10_BITS) { in i2c_xec_configure()
582 switch (I2C_SPEED_GET(dev_config_raw)) { in i2c_xec_configure()
Di2c_mchp_mss.c130 static int mss_i2c_configure(const struct device *dev, uint32_t dev_config_raw) in mss_i2c_configure() argument
136 switch (I2C_SPEED_GET(dev_config_raw)) { in mss_i2c_configure()
Di2c_ite_it8xxx2.c254 uint32_t dev_config_raw) in i2c_it8xxx2_configure() argument
260 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_it8xxx2_configure()
264 if (I2C_ADDR_10_BITS & dev_config_raw) { in i2c_it8xxx2_configure()
268 data->bus_freq = I2C_SPEED_GET(dev_config_raw); in i2c_it8xxx2_configure()
Di2c_ite_enhance.c349 uint32_t dev_config_raw) in i2c_enhance_configure() argument
354 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_enhance_configure()
358 if (I2C_ADDR_10_BITS & dev_config_raw) { in i2c_enhance_configure()
362 data->bus_freq = I2C_SPEED_GET(dev_config_raw); in i2c_enhance_configure()