func_to_switch 976 drivers/staging/rts5208/sd.c u8 func_to_switch, u8 *buf, int buf_len) func_to_switch 986 drivers/staging/rts5208/sd.c switch (func_to_switch) { func_to_switch 1019 drivers/staging/rts5208/sd.c switch (func_to_switch) { func_to_switch 1046 drivers/staging/rts5208/sd.c switch (func_to_switch) { func_to_switch 1089 drivers/staging/rts5208/sd.c u8 func_to_switch, u8 bus_width) func_to_switch 1096 drivers/staging/rts5208/sd.c __func__, mode, func_group, func_to_switch); func_to_switch 1104 drivers/staging/rts5208/sd.c cmd[4] = 0xF0 + func_to_switch; func_to_switch 1107 drivers/staging/rts5208/sd.c cmd[3] = 0xF0 + func_to_switch; func_to_switch 1111 drivers/staging/rts5208/sd.c cmd[3] = 0x0F + (func_to_switch << 4); func_to_switch 1155 drivers/staging/rts5208/sd.c func_to_switch, buf, 64); func_to_switch 1159 drivers/staging/rts5208/sd.c if ((cc > 400) || (func_to_switch > CURRENT_LIMIT_400)) { func_to_switch 1176 drivers/staging/rts5208/sd.c static u8 downgrade_switch_mode(u8 func_group, u8 func_to_switch) func_to_switch 1179 drivers/staging/rts5208/sd.c if (func_to_switch > HS_SUPPORT) func_to_switch 1180 drivers/staging/rts5208/sd.c func_to_switch--; func_to_switch 1183 drivers/staging/rts5208/sd.c if (func_to_switch > CURRENT_LIMIT_200) func_to_switch 1184 drivers/staging/rts5208/sd.c func_to_switch--; func_to_switch 1187 drivers/staging/rts5208/sd.c return func_to_switch; func_to_switch 1191 drivers/staging/rts5208/sd.c u8 func_group, u8 func_to_switch, u8 bus_width) func_to_switch 1204 drivers/staging/rts5208/sd.c func_to_switch, bus_width); func_to_switch 1210 drivers/staging/rts5208/sd.c func_to_switch, func_to_switch 1226 drivers/staging/rts5208/sd.c func_to_switch = downgrade_switch_mode(func_group, func_to_switch 1227 drivers/staging/rts5208/sd.c func_to_switch); func_to_switch 1243 drivers/staging/rts5208/sd.c u8 func_to_switch = 0; func_to_switch 1259 drivers/staging/rts5208/sd.c func_to_switch = SDR104_SUPPORT; func_to_switch 1266 drivers/staging/rts5208/sd.c func_to_switch = DDR50_SUPPORT; func_to_switch 1273 drivers/staging/rts5208/sd.c func_to_switch = SDR50_SUPPORT; func_to_switch 1279 drivers/staging/rts5208/sd.c func_to_switch = HS_SUPPORT; func_to_switch 1287 drivers/staging/rts5208/sd.c if (func_to_switch) func_to_switch 1291 drivers/staging/rts5208/sd.c func_to_switch); func_to_switch 1295 drivers/staging/rts5208/sd.c (func_to_switch == DDR50_SUPPORT) && func_to_switch 1297 drivers/staging/rts5208/sd.c func_to_switch = SDR50_SUPPORT; func_to_switch 1302 drivers/staging/rts5208/sd.c if (func_to_switch) { func_to_switch 1303 drivers/staging/rts5208/sd.c retval = sd_check_switch(chip, SD_FUNC_GROUP_1, func_to_switch, func_to_switch 1306 drivers/staging/rts5208/sd.c if (func_to_switch == SDR104_SUPPORT) { func_to_switch 1308 drivers/staging/rts5208/sd.c } else if (func_to_switch == DDR50_SUPPORT) { func_to_switch 1311 drivers/staging/rts5208/sd.c } else if (func_to_switch == SDR50_SUPPORT) { func_to_switch 1318 drivers/staging/rts5208/sd.c if (func_to_switch == SDR104_SUPPORT) func_to_switch 1320 drivers/staging/rts5208/sd.c else if (func_to_switch == DDR50_SUPPORT) func_to_switch 1322 drivers/staging/rts5208/sd.c else if (func_to_switch == SDR50_SUPPORT) func_to_switch 1338 drivers/staging/rts5208/sd.c if (!func_to_switch || (func_to_switch == HS_SUPPORT)) { func_to_switch 1346 drivers/staging/rts5208/sd.c func_to_switch = 0xFF; func_to_switch 1352 drivers/staging/rts5208/sd.c func_to_switch = CURRENT_LIMIT_800; func_to_switch 1358 drivers/staging/rts5208/sd.c func_to_switch = CURRENT_LIMIT_600; func_to_switch 1364 drivers/staging/rts5208/sd.c func_to_switch = CURRENT_LIMIT_400; func_to_switch 1370 drivers/staging/rts5208/sd.c func_to_switch = CURRENT_LIMIT_200; func_to_switch 1378 drivers/staging/rts5208/sd.c if (func_to_switch != 0xFF) func_to_switch 1383 drivers/staging/rts5208/sd.c func_to_switch); func_to_switch 1385 drivers/staging/rts5208/sd.c if (func_to_switch <= CURRENT_LIMIT_800) { func_to_switch 1386 drivers/staging/rts5208/sd.c retval = sd_check_switch(chip, SD_FUNC_GROUP_4, func_to_switch,