• Home
  • Raw
  • Download

Lines Matching refs:msh

342 	struct memstick_host *msh = tifm_get_drvdata(sock);  in tifm_ms_complete_cmd()  local
367 rc = memstick_next_req(msh, &host->req); in tifm_ms_complete_cmd()
462 struct memstick_host *msh = (struct memstick_host *)data; in tifm_ms_req_tasklet() local
463 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_req_tasklet()
472 rc = memstick_next_req(msh, &host->req); in tifm_ms_req_tasklet()
481 rc = memstick_next_req(msh, &host->req); in tifm_ms_req_tasklet()
487 static void tifm_ms_dummy_submit(struct memstick_host *msh) in tifm_ms_dummy_submit() argument
492 static void tifm_ms_submit_req(struct memstick_host *msh) in tifm_ms_submit_req() argument
494 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_submit_req()
499 static int tifm_ms_set_param(struct memstick_host *msh, in tifm_ms_set_param() argument
503 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_set_param()
558 struct memstick_host *msh; in tifm_ms_probe() local
569 msh = memstick_alloc_host(sizeof(struct tifm_ms), &sock->dev); in tifm_ms_probe()
570 if (!msh) in tifm_ms_probe()
573 host = memstick_priv(msh); in tifm_ms_probe()
574 tifm_set_drvdata(sock, msh); in tifm_ms_probe()
579 tasklet_init(&host->notify, tifm_ms_req_tasklet, (unsigned long)msh); in tifm_ms_probe()
581 msh->request = tifm_ms_submit_req; in tifm_ms_probe()
582 msh->set_param = tifm_ms_set_param; in tifm_ms_probe()
586 msh->caps |= MEMSTICK_CAP_PAR4; in tifm_ms_probe()
588 rc = memstick_add_host(msh); in tifm_ms_probe()
592 memstick_free_host(msh); in tifm_ms_probe()
598 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_remove() local
599 struct tifm_ms *host = memstick_priv(msh); in tifm_ms_remove()
603 msh->request = tifm_ms_dummy_submit; in tifm_ms_remove()
620 rc = memstick_next_req(msh, &host->req); in tifm_ms_remove()
627 memstick_remove_host(msh); in tifm_ms_remove()
628 memstick_free_host(msh); in tifm_ms_remove()
635 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_suspend() local
637 memstick_suspend_host(msh); in tifm_ms_suspend()
643 struct memstick_host *msh = tifm_get_drvdata(sock); in tifm_ms_resume() local
645 memstick_resume_host(msh); in tifm_ms_resume()