Searched refs:I2C_FPGA_IDX (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/include/configs/ |
D | strider.h | 413 #define I2C_FPGA_IDX ((I2C_ADAP_HWNR > 3) ? \ macro 418 #define I2C_FPGA_IDX (I2C_ADAP_HWNR % 4) macro 422 #define I2C_FPGA_IDX I2C_ADAP_HWNR macro 429 fpga_control_set(I2C_FPGA_IDX, 0x0004); \ 431 fpga_control_clear(I2C_FPGA_IDX, 0x0004); \ 439 (fpga_gpio_get(I2C_FPGA_IDX, I2C_SDA_GPIO) ? 1 : 0) 443 fpga_gpio_set(I2C_FPGA_IDX, I2C_SDA_GPIO); \ 445 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SDA_GPIO); \ 450 fpga_gpio_set(I2C_FPGA_IDX, I2C_SCL_GPIO); \ 452 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SCL_GPIO); \
|
D | hrcon.h | 392 #define I2C_FPGA_IDX (I2C_ADAP_HWNR % 4) macro 398 fpga_control_set(I2C_FPGA_IDX, 0x0004); \ 400 fpga_control_clear(I2C_FPGA_IDX, 0x0004); \ 407 (fpga_gpio_get(I2C_FPGA_IDX, I2C_SDA_GPIO) ? 1 : 0) 411 fpga_gpio_set(I2C_FPGA_IDX, I2C_SDA_GPIO); \ 413 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SDA_GPIO); \ 418 fpga_gpio_set(I2C_FPGA_IDX, I2C_SCL_GPIO); \ 420 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SCL_GPIO); \
|