Home
last modified time | relevance | path

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

/u-boot/include/configs/
A Dstrider.h283 #define I2C_FPGA_IDX ((I2C_ADAP_HWNR > 3) ? \ macro
288 #define I2C_FPGA_IDX (I2C_ADAP_HWNR % 4) macro
292 #define I2C_FPGA_IDX I2C_ADAP_HWNR macro
299 fpga_control_set(I2C_FPGA_IDX, 0x0004); \
301 fpga_control_clear(I2C_FPGA_IDX, 0x0004); \
309 (fpga_gpio_get(I2C_FPGA_IDX, I2C_SDA_GPIO) ? 1 : 0)
313 fpga_gpio_set(I2C_FPGA_IDX, I2C_SDA_GPIO); \
315 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SDA_GPIO); \
320 fpga_gpio_set(I2C_FPGA_IDX, I2C_SCL_GPIO); \
322 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SCL_GPIO); \
A Dhrcon.h261 #define I2C_FPGA_IDX (I2C_ADAP_HWNR % 4) macro
267 fpga_control_set(I2C_FPGA_IDX, 0x0004); \
269 fpga_control_clear(I2C_FPGA_IDX, 0x0004); \
276 (fpga_gpio_get(I2C_FPGA_IDX, I2C_SDA_GPIO) ? 1 : 0)
280 fpga_gpio_set(I2C_FPGA_IDX, I2C_SDA_GPIO); \
282 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SDA_GPIO); \
287 fpga_gpio_set(I2C_FPGA_IDX, I2C_SCL_GPIO); \
289 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SCL_GPIO); \

Completed in 5 milliseconds