Lines Matching refs:msh
341 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_complete_cmd() local
366 rc = memstick_next_req(msh, &host->req); in tifm_ms_complete_cmd()
461 struct memstick_host *msh = (struct memstick_host *)data; in tifm_ms_req_tasklet() local
462 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_req_tasklet()
471 rc = memstick_next_req(msh, &host->req); in tifm_ms_req_tasklet()
480 rc = memstick_next_req(msh, &host->req); in tifm_ms_req_tasklet()
486 static void tifm_ms_dummy_submit(struct memstick_host *msh) in tifm_ms_dummy_submit() argument
491 static void tifm_ms_submit_req(struct memstick_host *msh) in tifm_ms_submit_req() argument
493 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_submit_req()
498 static int tifm_ms_set_param(struct memstick_host *msh, in tifm_ms_set_param() argument
502 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_set_param()
557 struct memstick_host *msh; in tifm_ms_probe() local
568 msh = memstick_alloc_host(sizeof(struct tifm_ms), &sock->dev); in tifm_ms_probe()
569 if (!msh) in tifm_ms_probe()
572 host = memstick_priv(msh); in tifm_ms_probe()
573 tifm_set_drvdata(sock, msh); in tifm_ms_probe()
578 tasklet_init(&host->notify, tifm_ms_req_tasklet, (unsigned long)msh); in tifm_ms_probe()
580 msh->request = tifm_ms_submit_req; in tifm_ms_probe()
581 msh->set_param = tifm_ms_set_param; in tifm_ms_probe()
585 msh->caps |= MEMSTICK_CAP_PAR4; in tifm_ms_probe()
587 rc = memstick_add_host(msh); in tifm_ms_probe()
591 memstick_free_host(msh); in tifm_ms_probe()
597 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_remove() local
598 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_remove()
602 msh->request = tifm_ms_dummy_submit; in tifm_ms_remove()
619 rc = memstick_next_req(msh, &host->req); in tifm_ms_remove()
626 memstick_remove_host(msh); in tifm_ms_remove()
627 memstick_free_host(msh); in tifm_ms_remove()
634 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_suspend() local
636 memstick_suspend_host(msh); in tifm_ms_suspend()
642 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_resume() local
644 memstick_resume_host(msh); in tifm_ms_resume()