emm_switch 167 drivers/mmc/host/cavium.c u64 emm_switch; emm_switch 169 drivers/mmc/host/cavium.c emm_switch = readq(host->base + MIO_EMM_SWITCH(host)); emm_switch 170 drivers/mmc/host/cavium.c if (emm_switch & MIO_EMM_SWITCH_ERR0) emm_switch 172 drivers/mmc/host/cavium.c if (emm_switch & MIO_EMM_SWITCH_ERR1) emm_switch 174 drivers/mmc/host/cavium.c if (emm_switch & MIO_EMM_SWITCH_ERR2) emm_switch 200 drivers/mmc/host/cavium.c static void do_switch(struct cvm_mmc_host *host, u64 emm_switch) emm_switch 210 drivers/mmc/host/cavium.c bus_id = get_bus_id(emm_switch); emm_switch 211 drivers/mmc/host/cavium.c clear_bus_id(&emm_switch); emm_switch 212 drivers/mmc/host/cavium.c writeq(emm_switch, host->base + MIO_EMM_SWITCH(host)); emm_switch 214 drivers/mmc/host/cavium.c set_bus_id(&emm_switch, bus_id); emm_switch 215 drivers/mmc/host/cavium.c writeq(emm_switch, host->base + MIO_EMM_SWITCH(host)); emm_switch 253 drivers/mmc/host/cavium.c u64 emm_switch, wdog; emm_switch 255 drivers/mmc/host/cavium.c emm_switch = readq(slot->host->base + MIO_EMM_SWITCH(host)); emm_switch 256 drivers/mmc/host/cavium.c emm_switch &= ~(MIO_EMM_SWITCH_EXE | MIO_EMM_SWITCH_ERR0 | emm_switch 258 drivers/mmc/host/cavium.c set_bus_id(&emm_switch, slot->bus_id); emm_switch 261 drivers/mmc/host/cavium.c do_switch(slot->host, emm_switch); emm_switch 263 drivers/mmc/host/cavium.c slot->cached_switch = emm_switch; emm_switch 275 drivers/mmc/host/cavium.c u64 emm_sample, emm_switch; emm_switch 287 drivers/mmc/host/cavium.c emm_switch = slot->cached_switch; emm_switch 288 drivers/mmc/host/cavium.c set_bus_id(&emm_switch, slot->bus_id); emm_switch 289 drivers/mmc/host/cavium.c do_switch(host, emm_switch); emm_switch 829 drivers/mmc/host/cavium.c u64 clock, emm_switch; emm_switch 881 drivers/mmc/host/cavium.c emm_switch = FIELD_PREP(MIO_EMM_SWITCH_HS_TIMING, emm_switch 887 drivers/mmc/host/cavium.c set_bus_id(&emm_switch, slot->bus_id); emm_switch 889 drivers/mmc/host/cavium.c if (!switch_val_changed(slot, emm_switch)) emm_switch 893 drivers/mmc/host/cavium.c do_switch(host, emm_switch); emm_switch 894 drivers/mmc/host/cavium.c slot->cached_switch = emm_switch; emm_switch 918 drivers/mmc/host/cavium.c u64 emm_switch; emm_switch 927 drivers/mmc/host/cavium.c emm_switch = FIELD_PREP(MIO_EMM_SWITCH_POWER_CLASS, 10); emm_switch 928 drivers/mmc/host/cavium.c emm_switch |= FIELD_PREP(MIO_EMM_SWITCH_CLK_HI, emm_switch 930 drivers/mmc/host/cavium.c emm_switch |= FIELD_PREP(MIO_EMM_SWITCH_CLK_LO, emm_switch 934 drivers/mmc/host/cavium.c set_bus_id(&emm_switch, slot->bus_id); emm_switch 935 drivers/mmc/host/cavium.c do_switch(host, emm_switch); emm_switch 937 drivers/mmc/host/cavium.c slot->cached_switch = emm_switch;