Searched refs:INT_READ (Results 1 – 1 of 1) sorted by relevance
| /netbsd/src/sys/dev/i2c/ |
| D | twl4030.c | 150 #define INT_READ(sc, reg) twl_read((sc), ADDR_INT, (reg), I2C_F_POLL) macro 225 dir = INT_READ(sc, GPIODATADIR(pin)); in twl_gpio_config() 300 gpio = INT_READ(sc, GPIODATAIN(gpin->pin_num)); in twl_gpio_read() 408 idcode = INT_READ(sc, IDCODE_7_0); in twl_attach() 409 idcode |= (uint32_t)INT_READ(sc, IDCODE_15_8) << 8; in twl_attach() 410 idcode |= (uint32_t)INT_READ(sc, IDCODE_23_16) << 16; in twl_attach() 411 idcode |= (uint32_t)INT_READ(sc, IDCODE_31_24) << 24; in twl_attach()
|