Home
last modified time | relevance | path

Searched refs:emm_switch (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/mmc/host/
Dcavium.c167 u64 emm_switch; in check_switch_errors() local
169 emm_switch = readq(host->base + MIO_EMM_SWITCH(host)); in check_switch_errors()
170 if (emm_switch & MIO_EMM_SWITCH_ERR0) in check_switch_errors()
172 if (emm_switch & MIO_EMM_SWITCH_ERR1) in check_switch_errors()
174 if (emm_switch & MIO_EMM_SWITCH_ERR2) in check_switch_errors()
200 static void do_switch(struct cvm_mmc_host *host, u64 emm_switch) in do_switch() argument
210 bus_id = get_bus_id(emm_switch); in do_switch()
211 clear_bus_id(&emm_switch); in do_switch()
212 writeq(emm_switch, host->base + MIO_EMM_SWITCH(host)); in do_switch()
214 set_bus_id(&emm_switch, bus_id); in do_switch()
[all …]