Lines Matching refs:gpio
134 * gpio bit2 has to be 0 and gpio bit0 has to be 1
259 uint8_t gpio;
336 DPRINTF(0, (CE_CONT, "!%s: %s: gpio 0x%b",
356 lp->gpio = GPIO_RSE | GPIO_DATA2 | GPIO_EN2;
357 OUT(dp, VCMD_WRITE_GPIO, lp->gpio, 0,
607 uint8_t gpio;
613 IN(dp, VCMD_READ_GPIO, 0, 0, 1, &gpio, &err, usberr);
615 DPRINTF(0, (CE_CONT, "!%s: %s: called, gpio:%b",
616 dp->name, __func__, gpio, GPIO_BITS));
619 gpio_old = gpio;
620 gpio = lp->chip->gpio_reset[0];
641 gpio |= lp->chip->gpio_speed[dp->speed == USBGEM_SPD_100 ? 1 : 0];
675 gpio |= lp->chip->gpio_duplex[dp->full_duplex ? 1 : 0];
682 if (gpio != gpio_old) {
685 gpio, 0, 0, NULL, &err, usberr);
1074 "!%s: %s: ipg 0x%02x 0x%02x 0x%02x, gpio 0x%b",