Searched refs:msh (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/memstick/host/
H A Drtsx_pci_ms.c33 struct memstick_host *msh; member in struct:realtek_pci_ms
148 struct memstick_dev *card = host->msh->card; ms_transfer_data()
406 struct memstick_host *msh = host->msh; rtsx_pci_ms_handle_req() local
421 rc = memstick_next_req(msh, &host->req); rtsx_pci_ms_handle_req()
432 static void rtsx_pci_ms_request(struct memstick_host *msh) rtsx_pci_ms_request() argument
434 struct realtek_pci_ms *host = memstick_priv(msh); rtsx_pci_ms_request()
444 static int rtsx_pci_ms_set_param(struct memstick_host *msh, rtsx_pci_ms_set_param() argument
447 struct realtek_pci_ms *host = memstick_priv(msh); rtsx_pci_ms_set_param()
510 struct memstick_host *msh = host->msh; rtsx_pci_ms_suspend() local
514 memstick_suspend_host(msh); rtsx_pci_ms_suspend()
521 struct memstick_host *msh = host->msh; rtsx_pci_ms_resume() local
525 memstick_resume_host(msh); rtsx_pci_ms_resume()
540 memstick_detect_change(host->msh); rtsx_pci_ms_card_event()
545 struct memstick_host *msh; rtsx_pci_ms_drv_probe() local
561 msh = memstick_alloc_host(sizeof(*host), &pdev->dev); rtsx_pci_ms_drv_probe()
562 if (!msh) rtsx_pci_ms_drv_probe()
565 host = memstick_priv(msh); rtsx_pci_ms_drv_probe()
567 host->msh = msh; rtsx_pci_ms_drv_probe()
576 msh->request = rtsx_pci_ms_request; rtsx_pci_ms_drv_probe()
577 msh->set_param = rtsx_pci_ms_set_param; rtsx_pci_ms_drv_probe()
578 msh->caps = MEMSTICK_CAP_PAR4; rtsx_pci_ms_drv_probe()
580 rc = memstick_add_host(msh); rtsx_pci_ms_drv_probe()
582 memstick_free_host(msh); rtsx_pci_ms_drv_probe()
593 struct memstick_host *msh; rtsx_pci_ms_drv_remove() local
602 msh = host->msh; rtsx_pci_ms_drv_remove()
610 dev_name(&msh->dev)); rtsx_pci_ms_drv_remove()
616 rc = memstick_next_req(msh, &host->req); rtsx_pci_ms_drv_remove()
623 memstick_remove_host(msh); rtsx_pci_ms_drv_remove()
624 memstick_free_host(msh); rtsx_pci_ms_drv_remove()
H A Djmb38x_ms.c367 static int jmb38x_ms_issue_cmd(struct memstick_host *msh) jmb38x_ms_issue_cmd() argument
369 struct jmb38x_ms_host *host = memstick_priv(msh); jmb38x_ms_issue_cmd()
374 dev_dbg(&msh->dev, "no media status\n"); jmb38x_ms_issue_cmd()
379 dev_dbg(&msh->dev, "control %08x\n", readl(host->addr + HOST_CONTROL)); jmb38x_ms_issue_cmd()
380 dev_dbg(&msh->dev, "status %08x\n", readl(host->addr + INT_STATUS)); jmb38x_ms_issue_cmd()
381 dev_dbg(&msh->dev, "hstatus %08x\n", readl(host->addr + STATUS)); jmb38x_ms_issue_cmd()
465 dev_dbg(&msh->dev, "executing TPC %08x, len %x\n", cmd, data_len); jmb38x_ms_issue_cmd()
470 static void jmb38x_ms_complete_cmd(struct memstick_host *msh, int last) jmb38x_ms_complete_cmd() argument
472 struct jmb38x_ms_host *host = memstick_priv(msh); jmb38x_ms_complete_cmd()
478 dev_dbg(&msh->dev, "c control %08x\n", jmb38x_ms_complete_cmd()
480 dev_dbg(&msh->dev, "c status %08x\n", jmb38x_ms_complete_cmd()
482 dev_dbg(&msh->dev, "c hstatus %08x\n", readl(host->addr + STATUS)); jmb38x_ms_complete_cmd()
509 rc = memstick_next_req(msh, &host->req); jmb38x_ms_complete_cmd()
510 } while (!rc && jmb38x_ms_issue_cmd(msh)); jmb38x_ms_complete_cmd()
513 rc = memstick_next_req(msh, &host->req); jmb38x_ms_complete_cmd()
522 struct memstick_host *msh = dev_id; jmb38x_ms_isr() local
523 struct jmb38x_ms_host *host = memstick_priv(msh); jmb38x_ms_isr()
540 jmb38x_ms_complete_cmd(msh, 0); jmb38x_ms_isr()
580 memstick_detect_change(msh); jmb38x_ms_isr()
589 jmb38x_ms_complete_cmd(msh, 0); jmb38x_ms_isr()
597 struct memstick_host *msh = (struct memstick_host *)data; jmb38x_ms_abort() local
598 struct jmb38x_ms_host *host = memstick_priv(msh); jmb38x_ms_abort()
605 jmb38x_ms_complete_cmd(msh, 0); jmb38x_ms_abort()
612 struct memstick_host *msh = (struct memstick_host *)data; jmb38x_ms_req_tasklet() local
613 struct jmb38x_ms_host *host = memstick_priv(msh); jmb38x_ms_req_tasklet()
620 rc = memstick_next_req(msh, &host->req); jmb38x_ms_req_tasklet()
622 } while (!rc && jmb38x_ms_issue_cmd(msh)); jmb38x_ms_req_tasklet()
627 static void jmb38x_ms_dummy_submit(struct memstick_host *msh) jmb38x_ms_dummy_submit() argument
632 static void jmb38x_ms_submit_req(struct memstick_host *msh) jmb38x_ms_submit_req() argument
634 struct jmb38x_ms_host *host = memstick_priv(msh); jmb38x_ms_submit_req()
680 static int jmb38x_ms_set_param(struct memstick_host *msh, jmb38x_ms_set_param() argument
684 struct jmb38x_ms_host *host = memstick_priv(msh); jmb38x_ms_set_param()
872 struct memstick_host *msh; jmb38x_ms_alloc_host() local
875 msh = memstick_alloc_host(sizeof(struct jmb38x_ms_host), jmb38x_ms_alloc_host()
877 if (!msh) jmb38x_ms_alloc_host()
880 host = memstick_priv(msh); jmb38x_ms_alloc_host()
894 tasklet_init(&host->notify, jmb38x_ms_req_tasklet, (unsigned long)msh); jmb38x_ms_alloc_host()
895 msh->request = jmb38x_ms_submit_req; jmb38x_ms_alloc_host()
896 msh->set_param = jmb38x_ms_set_param; jmb38x_ms_alloc_host()
898 msh->caps = MEMSTICK_CAP_PAR4 | MEMSTICK_CAP_PAR8; jmb38x_ms_alloc_host()
900 setup_timer(&host->timer, jmb38x_ms_abort, (unsigned long)msh); jmb38x_ms_alloc_host()
903 msh)) jmb38x_ms_alloc_host()
904 return msh; jmb38x_ms_alloc_host()
908 kfree(msh); jmb38x_ms_alloc_host()
912 static void jmb38x_ms_free_host(struct memstick_host *msh) jmb38x_ms_free_host() argument
914 struct jmb38x_ms_host *host = memstick_priv(msh); jmb38x_ms_free_host()
916 free_irq(host->irq, msh); jmb38x_ms_free_host()
918 memstick_free_host(msh); jmb38x_ms_free_host()
H A Dtifm_ms.c342 struct memstick_host *msh = tifm_get_drvdata(sock); tifm_ms_complete_cmd() local
367 rc = memstick_next_req(msh, &host->req); tifm_ms_complete_cmd()
462 struct memstick_host *msh = (struct memstick_host *)data; tifm_ms_req_tasklet() local
463 struct tifm_ms *host = memstick_priv(msh); tifm_ms_req_tasklet()
472 rc = memstick_next_req(msh, &host->req); tifm_ms_req_tasklet()
481 rc = memstick_next_req(msh, &host->req); tifm_ms_req_tasklet()
487 static void tifm_ms_dummy_submit(struct memstick_host *msh) tifm_ms_dummy_submit() argument
492 static void tifm_ms_submit_req(struct memstick_host *msh) tifm_ms_submit_req() argument
494 struct tifm_ms *host = memstick_priv(msh); tifm_ms_submit_req()
499 static int tifm_ms_set_param(struct memstick_host *msh, tifm_ms_set_param() argument
503 struct tifm_ms *host = memstick_priv(msh); tifm_ms_set_param()
558 struct memstick_host *msh; tifm_ms_probe() local
569 msh = memstick_alloc_host(sizeof(struct tifm_ms), &sock->dev); tifm_ms_probe()
570 if (!msh) tifm_ms_probe()
573 host = memstick_priv(msh); tifm_ms_probe()
574 tifm_set_drvdata(sock, msh); tifm_ms_probe()
579 tasklet_init(&host->notify, tifm_ms_req_tasklet, (unsigned long)msh); tifm_ms_probe()
581 msh->request = tifm_ms_submit_req; tifm_ms_probe()
582 msh->set_param = tifm_ms_set_param; tifm_ms_probe()
586 msh->caps |= MEMSTICK_CAP_PAR4; tifm_ms_probe()
588 rc = memstick_add_host(msh); tifm_ms_probe()
592 memstick_free_host(msh); tifm_ms_probe()
598 struct memstick_host *msh = tifm_get_drvdata(sock); tifm_ms_remove() local
599 struct tifm_ms *host = memstick_priv(msh); tifm_ms_remove()
603 msh->request = tifm_ms_dummy_submit; tifm_ms_remove()
620 rc = memstick_next_req(msh, &host->req); tifm_ms_remove()
627 memstick_remove_host(msh); tifm_ms_remove()
628 memstick_free_host(msh); tifm_ms_remove()
635 struct memstick_host *msh = tifm_get_drvdata(sock); tifm_ms_suspend() local
637 memstick_suspend_host(msh); tifm_ms_suspend()
643 struct memstick_host *msh = tifm_get_drvdata(sock); tifm_ms_resume() local
645 memstick_resume_host(msh); tifm_ms_resume()
H A Drtsx_usb_ms.c38 struct memstick_host *msh; member in struct:rtsx_usb_ms
251 struct memstick_dev *card = host->msh->card; ms_transfer_data()
523 struct memstick_host *msh = host->msh; rtsx_usb_ms_handle_req() local
528 rc = memstick_next_req(msh, &host->req); rtsx_usb_ms_handle_req()
551 static void rtsx_usb_ms_request(struct memstick_host *msh) rtsx_usb_ms_request() argument
553 struct rtsx_usb_ms *host = memstick_priv(msh); rtsx_usb_ms_request()
561 static int rtsx_usb_ms_set_param(struct memstick_host *msh, rtsx_usb_ms_set_param() argument
564 struct rtsx_usb_ms *host = memstick_priv(msh); rtsx_usb_ms_set_param()
589 if (host->msh->card) rtsx_usb_ms_set_param()
651 struct memstick_host *msh = host->msh; rtsx_usb_ms_suspend() local
655 memstick_suspend_host(msh); rtsx_usb_ms_suspend()
662 struct memstick_host *msh = host->msh; rtsx_usb_ms_resume() local
666 memstick_resume_host(msh); rtsx_usb_ms_resume()
702 memstick_detect_change(host->msh); rtsx_usb_detect_ms_card()
718 struct memstick_host *msh; rtsx_usb_ms_drv_probe() local
730 msh = memstick_alloc_host(sizeof(*host), &pdev->dev); rtsx_usb_ms_drv_probe()
731 if (!msh) rtsx_usb_ms_drv_probe()
734 host = memstick_priv(msh); rtsx_usb_ms_drv_probe()
736 host->msh = msh; rtsx_usb_ms_drv_probe()
754 msh->request = rtsx_usb_ms_request; rtsx_usb_ms_drv_probe()
755 msh->set_param = rtsx_usb_ms_set_param; rtsx_usb_ms_drv_probe()
756 msh->caps = MEMSTICK_CAP_PAR4; rtsx_usb_ms_drv_probe()
759 err = memstick_add_host(msh); rtsx_usb_ms_drv_probe()
766 memstick_free_host(msh); rtsx_usb_ms_drv_probe()
773 struct memstick_host *msh; rtsx_usb_ms_drv_remove() local
776 msh = host->msh; rtsx_usb_ms_drv_remove()
784 dev_name(&msh->dev)); rtsx_usb_ms_drv_remove()
787 err = memstick_next_req(msh, &host->req); rtsx_usb_ms_drv_remove()
795 memstick_remove_host(msh); rtsx_usb_ms_drv_remove()
796 memstick_free_host(msh); rtsx_usb_ms_drv_remove()
/linux-4.4.14/net/mac80211/
H A Dieee80211_i.h706 #define IEEE80211_IFSTA_MESH_CTR_INC(msh, name) \
707 do { (msh)->mshstats.name++; } while (0)
709 #define IEEE80211_IFSTA_MESH_CTR_INC(msh, name) \
/linux-4.4.14/drivers/net/wireless/libertas/
H A Dmesh.c1002 mesh_dev = alloc_netdev(0, "msh%d", NET_NAME_UNKNOWN, ether_setup); lbs_add_mesh()

Completed in 214 milliseconds