Lines Matching refs:regdata
2257 uint32 regdata; in sdstd_client_init() local
2380 if (sdstd_card_regread (sd, 0, SDIOD_CCCR_BICTRL, 1, ®data) != SUCCESS) { in sdstd_client_init()
2384 regdata |= BUS_CARD_DETECT_DIS; in sdstd_client_init()
2386 if (sdstd_card_regwrite (sd, 0, SDIOD_CCCR_BICTRL, 1, regdata) != SUCCESS) { in sdstd_client_init()
2695 uint32 regdata; in sdstd_3_set_highspeed_uhsi_mode() local
2724 1, ®data)) != SUCCESS) { in sdstd_3_set_highspeed_uhsi_mode()
2728 sd_info(("Attempting to change BSS.current val:0x%x\n", regdata)); in sdstd_3_set_highspeed_uhsi_mode()
2730 if (regdata & SDIO_SPEED_SHS) { in sdstd_3_set_highspeed_uhsi_mode()
2733 regdata &= ~0xE; in sdstd_3_set_highspeed_uhsi_mode()
2735 regdata |= (sd3ClkMode << 1); in sdstd_3_set_highspeed_uhsi_mode()
2738 regdata, SDIOD_CCCR_SPEED_CONTROL)); in sdstd_3_set_highspeed_uhsi_mode()
2740 1, regdata)) != BCME_OK) { in sdstd_3_set_highspeed_uhsi_mode()
2746 1, ®data)) != BCME_OK) { in sdstd_3_set_highspeed_uhsi_mode()
2751 sd_info(("Read %08x from Card at %08x\n", regdata, SDIOD_CCCR_SPEED_CONTROL)); in sdstd_3_set_highspeed_uhsi_mode()
3138 uint32 regdata; in sdstd_set_highspeed_mode() local
3165 1, ®data)) != SUCCESS) { in sdstd_set_highspeed_mode()
3168 if (regdata & SDIO_SPEED_SHS) { in sdstd_set_highspeed_mode()
3171 regdata |= SDIO_SPEED_EHS; in sdstd_set_highspeed_mode()
3174 regdata, SDIOD_CCCR_SPEED_CONTROL)); in sdstd_set_highspeed_mode()
3176 1, regdata)) != BCME_OK) { in sdstd_set_highspeed_mode()
3181 1, ®data)) != BCME_OK) { in sdstd_set_highspeed_mode()
3185 sd_info(("Read %08x to Card at %08x\n", regdata, SDIOD_CCCR_SPEED_CONTROL)); in sdstd_set_highspeed_mode()
3198 1, ®data)) != BCME_OK) { in sdstd_set_highspeed_mode()
3201 if (regdata & SDIO_SPEED_EHS) { in sdstd_set_highspeed_mode()
3202 regdata &= ~SDIO_SPEED_EHS; in sdstd_set_highspeed_mode()
3204 1, regdata)) != BCME_OK) { in sdstd_set_highspeed_mode()
3476 uint16 regdata; in sdstd_start_clock() local
3607 regdata = sdstd_rreg16(sd, SD_ErrorIntrStatusEnable); in sdstd_start_clock()
3608 sdstd_wreg16(sd, SD_ErrorIntrStatusEnable, (regdata & ~ERRINT_DATA_TIMEOUT_BIT)); in sdstd_start_clock()
3610 sdstd_wreg16(sd, SD_ErrorIntrStatusEnable, regdata); in sdstd_start_clock()
3616 regdata = sdstd_rreg16(sd, SD_ErrorIntrStatusEnable); in sdstd_start_clock()
3617 sdstd_wreg16(sd, SD_ErrorIntrStatusEnable, (regdata & ~ERRINT_DATA_TIMEOUT_BIT)); in sdstd_start_clock()
3864 uint32 regdata; in sdstd_bus_width() local
3875 if ((status = sdstd_card_regread (sd, 0, SDIOD_CCCR_BICTRL, 1, ®data)) != SUCCESS) in sdstd_bus_width()
3877 regdata &= ~BUS_SD_DATA_WIDTH_MASK; in sdstd_bus_width()
3880 regdata |= SD4_MODE; in sdstd_bus_width()
3887 if ((status = sdstd_card_regwrite (sd, 0, SDIOD_CCCR_BICTRL, 1, regdata)) != SUCCESS) in sdstd_bus_width()
3901 if ((regdata & SD4_MODE) && in sdstd_bus_width()
3985 uint32 scratch, regdata; in sdstd_get_cisaddr() local
3988 if ((sdstd_card_regread (sd, 0, regaddr, 1, ®data)) != SUCCESS) in sdstd_get_cisaddr()
3991 *ptr++ = (uint8) regdata; in sdstd_get_cisaddr()
4004 uint32 regdata; in sdstd_card_enablefuncs() local
4024 regdata = SDIO_FUNC_ENABLE_1; in sdstd_card_enablefuncs()
4025 if ((status = sdstd_card_regwrite(sd, 0, SDIOD_CCCR_IOEN, 1, regdata)) != SUCCESS) in sdstd_card_enablefuncs()