Searched refs:I2C_FPGA_IDX (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/include/configs/ |
H A D | strider.h | 410 #define I2C_FPGA_IDX ((I2C_ADAP_HWNR > 3) ? \ macro 415 #define I2C_FPGA_IDX (I2C_ADAP_HWNR % 4) macro 419 #define I2C_FPGA_IDX I2C_ADAP_HWNR macro 426 fpga_control_set(I2C_FPGA_IDX, 0x0004); \ 428 fpga_control_clear(I2C_FPGA_IDX, 0x0004); \ 436 (fpga_gpio_get(I2C_FPGA_IDX, I2C_SDA_GPIO) ? 1 : 0) 440 fpga_gpio_set(I2C_FPGA_IDX, I2C_SDA_GPIO); \ 442 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SDA_GPIO); \ 447 fpga_gpio_set(I2C_FPGA_IDX, I2C_SCL_GPIO); \ 449 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SCL_GPIO); \
|
H A D | hrcon.h | 389 #define I2C_FPGA_IDX (I2C_ADAP_HWNR % 4) macro 395 fpga_control_set(I2C_FPGA_IDX, 0x0004); \ 397 fpga_control_clear(I2C_FPGA_IDX, 0x0004); \ 404 (fpga_gpio_get(I2C_FPGA_IDX, I2C_SDA_GPIO) ? 1 : 0) 408 fpga_gpio_set(I2C_FPGA_IDX, I2C_SDA_GPIO); \ 410 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SDA_GPIO); \ 415 fpga_gpio_set(I2C_FPGA_IDX, I2C_SCL_GPIO); \ 417 fpga_gpio_clear(I2C_FPGA_IDX, I2C_SCL_GPIO); \
|