Searched refs:jm (Results 1 – 3 of 3) sorted by relevance
798 struct jmb38x_ms *jm = dev_get_drvdata(dev); in jmb38x_ms_suspend() local802 for (cnt = 0; cnt < jm->host_cnt; ++cnt) { in jmb38x_ms_suspend()803 if (!jm->hosts[cnt]) in jmb38x_ms_suspend()805 memstick_suspend_host(jm->hosts[cnt]); in jmb38x_ms_suspend()815 struct jmb38x_ms *jm = dev_get_drvdata(dev); in jmb38x_ms_resume() local820 for (rc = 0; rc < jm->host_cnt; ++rc) { in jmb38x_ms_resume()821 if (!jm->hosts[rc]) in jmb38x_ms_resume()823 memstick_resume_host(jm->hosts[rc]); in jmb38x_ms_resume()824 memstick_detect_change(jm->hosts[rc]); in jmb38x_ms_resume()846 static struct memstick_host *jmb38x_ms_alloc_host(struct jmb38x_ms *jm, int cnt) in jmb38x_ms_alloc_host() argument[all …]
2 * Copyright (C) 2016 Jamie Lentin <jm@lentin.co.uk>