Lines Matching defs:bits
253 gpioiic_bb_set_bits(void *cookie, uint32_t bits)
258 bits & GPIOIIC_SDA ? GPIO_PIN_HIGH : GPIO_PIN_LOW);
260 bits & GPIOIIC_SCL ? GPIO_PIN_HIGH : GPIO_PIN_LOW);
264 gpioiic_bb_set_dir(void *cookie, uint32_t bits)
270 sda |= (bits & GPIOIIC_SDA ? GPIO_PIN_OUTPUT : GPIO_PIN_INPUT);
271 if ((sda & GPIO_PIN_PUSHPULL) && !(bits & GPIOIIC_SDA))
284 uint32_t bits = 0;
288 bits |= GPIOIIC_SDA;
291 bits |= GPIOIIC_SCL;
293 return bits;