Lines Matching refs:regdata
2117 uint32 regdata; in sdstd_client_init() local
2227 if (sdstd_card_regread (sd, 0, SDIOD_CCCR_BICTRL, 1, ®data) != SUCCESS) { in sdstd_client_init()
2231 regdata |= BUS_CARD_DETECT_DIS; in sdstd_client_init()
2233 if (sdstd_card_regwrite (sd, 0, SDIOD_CCCR_BICTRL, 1, regdata) != SUCCESS) { in sdstd_client_init()
2541 uint32 regdata; in sdstd_3_set_highspeed_uhsi_mode() local
2570 1, ®data)) != SUCCESS) { in sdstd_3_set_highspeed_uhsi_mode()
2574 sd_info(("Attempting to change BSS.current val:0x%x\n", regdata)); in sdstd_3_set_highspeed_uhsi_mode()
2576 if (regdata & SDIO_SPEED_SHS) { in sdstd_3_set_highspeed_uhsi_mode()
2579 regdata &= ~0xE; in sdstd_3_set_highspeed_uhsi_mode()
2581 regdata |= (sd3ClkMode << 1); in sdstd_3_set_highspeed_uhsi_mode()
2584 regdata, SDIOD_CCCR_SPEED_CONTROL)); in sdstd_3_set_highspeed_uhsi_mode()
2586 1, regdata)) != BCME_OK) { in sdstd_3_set_highspeed_uhsi_mode()
2592 1, ®data)) != BCME_OK) { in sdstd_3_set_highspeed_uhsi_mode()
2597 sd_info(("Read %08x from Card at %08x\n", regdata, SDIOD_CCCR_SPEED_CONTROL)); in sdstd_3_set_highspeed_uhsi_mode()
2993 uint32 regdata; in sdstd_set_highspeed_mode() local
3010 1, ®data)) != SUCCESS) { in sdstd_set_highspeed_mode()
3013 if (regdata & SDIO_SPEED_SHS) { in sdstd_set_highspeed_mode()
3016 regdata |= SDIO_SPEED_EHS; in sdstd_set_highspeed_mode()
3019 regdata, SDIOD_CCCR_SPEED_CONTROL)); in sdstd_set_highspeed_mode()
3021 1, regdata)) != BCME_OK) { in sdstd_set_highspeed_mode()
3026 1, ®data)) != BCME_OK) { in sdstd_set_highspeed_mode()
3030 sd_info(("Read %08x to Card at %08x\n", regdata, SDIOD_CCCR_SPEED_CONTROL)); in sdstd_set_highspeed_mode()
3043 1, ®data)) != BCME_OK) { in sdstd_set_highspeed_mode()
3046 if (regdata & SDIO_SPEED_EHS) { in sdstd_set_highspeed_mode()
3047 regdata &= ~SDIO_SPEED_EHS; in sdstd_set_highspeed_mode()
3049 1, regdata)) != BCME_OK) { in sdstd_set_highspeed_mode()
3172 uint16 regdata; in sdstd_start_clock() local
3281 regdata = sdstd_rreg16(sd, SD_ErrorIntrStatusEnable); in sdstd_start_clock()
3282 sdstd_wreg16(sd, SD_ErrorIntrStatusEnable, (regdata & ~ERRINT_DATA_TIMEOUT_BIT)); in sdstd_start_clock()
3284 sdstd_wreg16(sd, SD_ErrorIntrStatusEnable, regdata); in sdstd_start_clock()
3289 regdata = sdstd_rreg16(sd, SD_ErrorIntrStatusEnable); in sdstd_start_clock()
3290 sdstd_wreg16(sd, SD_ErrorIntrStatusEnable, (regdata & ~ERRINT_DATA_TIMEOUT_BIT)); in sdstd_start_clock()
3513 uint32 regdata; in sdstd_bus_width() local
3524 if ((status = sdstd_card_regread (sd, 0, SDIOD_CCCR_BICTRL, 1, ®data)) != SUCCESS) in sdstd_bus_width()
3526 regdata &= ~BUS_SD_DATA_WIDTH_MASK; in sdstd_bus_width()
3529 regdata |= SD4_MODE; in sdstd_bus_width()
3536 if ((status = sdstd_card_regwrite (sd, 0, SDIOD_CCCR_BICTRL, 1, regdata)) != SUCCESS) in sdstd_bus_width()
3550 if ((regdata & SD4_MODE) && in sdstd_bus_width()
3634 uint32 scratch, regdata; in sdstd_get_cisaddr() local
3637 if ((sdstd_card_regread (sd, 0, regaddr, 1, ®data)) != SUCCESS) in sdstd_get_cisaddr()
3640 *ptr++ = (uint8) regdata; in sdstd_get_cisaddr()
3653 uint32 regdata; in sdstd_card_enablefuncs() local
3673 regdata = SDIO_FUNC_ENABLE_1; in sdstd_card_enablefuncs()
3674 if ((status = sdstd_card_regwrite(sd, 0, SDIOD_CCCR_IOEN, 1, regdata)) != SUCCESS) in sdstd_card_enablefuncs()