Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_mcux_lpi2c_rtio.c71 uint32_t dev_config_raw) in mcux_lpi2c_configure() argument
76 return i2c_rtio_configure(ctx, dev_config_raw); in mcux_lpi2c_configure()
80 static int mcux_lpi2c_do_configure(const struct device *dev, uint32_t dev_config_raw) in mcux_lpi2c_do_configure() argument
87 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in mcux_lpi2c_do_configure()
91 if (I2C_ADDR_10_BITS & dev_config_raw) { in mcux_lpi2c_do_configure()
95 switch (I2C_SPEED_GET(dev_config_raw)) { in mcux_lpi2c_do_configure()
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_gecko.c46 static int i2c_gecko_configure(const struct device *dev, uint32_t dev_config_raw) in i2c_gecko_configure() argument
53 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_gecko_configure()
57 switch (I2C_SPEED_GET(dev_config_raw)) { in i2c_gecko_configure()
71 data->dev_config = dev_config_raw; in i2c_gecko_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_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_mcux_flexcomm.c63 uint32_t dev_config_raw) in mcux_flexcomm_configure() argument
71 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in mcux_flexcomm_configure()
75 if (I2C_ADDR_10_BITS & dev_config_raw) { in mcux_flexcomm_configure()
79 switch (I2C_SPEED_GET(dev_config_raw)) { in mcux_flexcomm_configure()
Di2c_mcux_lpi2c.c77 uint32_t dev_config_raw) in mcux_lpi2c_configure() argument
86 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in mcux_lpi2c_configure()
90 if (I2C_ADDR_10_BITS & dev_config_raw) { in mcux_lpi2c_configure()
94 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.c255 uint32_t dev_config_raw) in i2c_it8xxx2_configure() argument
261 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_it8xxx2_configure()
265 if (I2C_ADDR_10_BITS & dev_config_raw) { in i2c_it8xxx2_configure()
269 data->bus_freq = I2C_SPEED_GET(dev_config_raw); in i2c_it8xxx2_configure()
Di2c_ite_enhance.c350 uint32_t dev_config_raw) in i2c_enhance_configure() argument
355 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_enhance_configure()
359 if (I2C_ADDR_10_BITS & dev_config_raw) { in i2c_enhance_configure()
363 data->bus_freq = I2C_SPEED_GET(dev_config_raw); in i2c_enhance_configure()