Lines Matching refs:hosts
73 struct memstick_host *hosts[]; member
812 if (!jm->hosts[cnt]) in jmb38x_ms_suspend()
814 memstick_suspend_host(jm->hosts[cnt]); in jmb38x_ms_suspend()
839 if (!jm->hosts[rc]) in jmb38x_ms_resume()
841 memstick_resume_host(jm->hosts[rc]); in jmb38x_ms_resume()
842 memstick_detect_change(jm->hosts[rc]); in jmb38x_ms_resume()
967 jm->hosts[cnt] = jmb38x_ms_alloc_host(jm, cnt); in jmb38x_ms_probe()
968 if (!jm->hosts[cnt]) in jmb38x_ms_probe()
971 rc = memstick_add_host(jm->hosts[cnt]); in jmb38x_ms_probe()
974 jmb38x_ms_free_host(jm->hosts[cnt]); in jmb38x_ms_probe()
975 jm->hosts[cnt] = NULL; in jmb38x_ms_probe()
1003 if (!jm->hosts[cnt]) in jmb38x_ms_remove()
1006 host = memstick_priv(jm->hosts[cnt]); in jmb38x_ms_remove()
1008 jm->hosts[cnt]->request = jmb38x_ms_dummy_submit; in jmb38x_ms_remove()
1017 jmb38x_ms_complete_cmd(jm->hosts[cnt], 1); in jmb38x_ms_remove()
1021 memstick_remove_host(jm->hosts[cnt]); in jmb38x_ms_remove()
1024 jmb38x_ms_free_host(jm->hosts[cnt]); in jmb38x_ms_remove()