Lines Matching refs:msh
337 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_complete_cmd() local
362 rc = memstick_next_req(msh, &host->req); in tifm_ms_complete_cmd()
457 struct memstick_host *msh = (struct memstick_host *)data; in tifm_ms_req_tasklet() local
458 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_req_tasklet()
467 rc = memstick_next_req(msh, &host->req); in tifm_ms_req_tasklet()
476 rc = memstick_next_req(msh, &host->req); in tifm_ms_req_tasklet()
482 static void tifm_ms_dummy_submit(struct memstick_host *msh) in tifm_ms_dummy_submit() argument
487 static void tifm_ms_submit_req(struct memstick_host *msh) in tifm_ms_submit_req() argument
489 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_submit_req()
494 static int tifm_ms_set_param(struct memstick_host *msh, in tifm_ms_set_param() argument
498 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_set_param()
553 struct memstick_host *msh; in tifm_ms_probe() local
564 msh = memstick_alloc_host(sizeof(struct tifm_ms), &sock->dev); in tifm_ms_probe()
565 if (!msh) in tifm_ms_probe()
568 host = memstick_priv(msh); in tifm_ms_probe()
569 tifm_set_drvdata(sock, msh); in tifm_ms_probe()
574 tasklet_init(&host->notify, tifm_ms_req_tasklet, (unsigned long)msh); in tifm_ms_probe()
576 msh->request = tifm_ms_submit_req; in tifm_ms_probe()
577 msh->set_param = tifm_ms_set_param; in tifm_ms_probe()
581 msh->caps |= MEMSTICK_CAP_PAR4; in tifm_ms_probe()
583 rc = memstick_add_host(msh); in tifm_ms_probe()
587 memstick_free_host(msh); in tifm_ms_probe()
593 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_remove() local
594 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_remove()
598 msh->request = tifm_ms_dummy_submit; in tifm_ms_remove()
615 rc = memstick_next_req(msh, &host->req); in tifm_ms_remove()
622 memstick_remove_host(msh); in tifm_ms_remove()
623 memstick_free_host(msh); in tifm_ms_remove()
630 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_suspend() local
632 memstick_suspend_host(msh); in tifm_ms_suspend()
638 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_resume() local
640 memstick_resume_host(msh); in tifm_ms_resume()