Searched refs:speed_reg (Results 1 – 1 of 1) sorted by relevance
478 uint8_t speed_reg, target_speed; in sdio_set_bus_speed() local513 SDIO_CCCR_SPEED, 0, &speed_reg); in sdio_set_bus_speed()520 speed_reg &= ~SDIO_CCCR_SPEED_MASK; in sdio_set_bus_speed()521 speed_reg |= (target_speed << SDIO_CCCR_SPEED_SHIFT); in sdio_set_bus_speed()523 SDIO_CCCR_SPEED, speed_reg, &speed_reg); in sdio_set_bus_speed()527 } while (((speed_reg & target_speed) != target_speed) && retries-- > 0); in sdio_set_bus_speed()