Lines Matching refs:t7xx_dev
398 static void init_md_status_notifier(struct t7xx_pci_dev *t7xx_dev) in init_md_status_notifier() argument
400 struct t7xx_ccmni_ctrl *ctlb = t7xx_dev->ccmni_ctlb; in init_md_status_notifier()
408 t7xx_fsm_notifier_register(t7xx_dev->md, md_status_notifier); in init_md_status_notifier()
466 static void t7xx_ccmni_queue_state_notify(struct t7xx_pci_dev *t7xx_dev, in t7xx_ccmni_queue_state_notify() argument
469 struct t7xx_ccmni_ctrl *ctlb = t7xx_dev->ccmni_ctlb; in t7xx_ccmni_queue_state_notify()
475 dev_warn(&t7xx_dev->pdev->dev, "No netdev registered yet\n"); in t7xx_ccmni_queue_state_notify()
485 int t7xx_ccmni_init(struct t7xx_pci_dev *t7xx_dev) in t7xx_ccmni_init() argument
487 struct device *dev = &t7xx_dev->pdev->dev; in t7xx_ccmni_init()
495 t7xx_dev->ccmni_ctlb = ctlb; in t7xx_ccmni_init()
496 ctlb->t7xx_dev = t7xx_dev; in t7xx_ccmni_init()
501 ctlb->hif_ctrl = t7xx_dpmaif_hif_init(t7xx_dev, &ctlb->callbacks); in t7xx_ccmni_init()
511 init_md_status_notifier(t7xx_dev); in t7xx_ccmni_init()
515 void t7xx_ccmni_exit(struct t7xx_pci_dev *t7xx_dev) in t7xx_ccmni_exit() argument
517 struct t7xx_ccmni_ctrl *ctlb = t7xx_dev->ccmni_ctlb; in t7xx_ccmni_exit()
519 t7xx_fsm_notifier_unregister(t7xx_dev->md, &ctlb->md_status_notify); in t7xx_ccmni_exit()
522 wwan_unregister_ops(&t7xx_dev->pdev->dev); in t7xx_ccmni_exit()