Lines Matching refs:mbus
675 struct mon_bus *mbus; in mon_bin_open() local
681 mbus = mon_bus_lookup(iminor(inode)); in mon_bin_open()
682 if (mbus == NULL) { in mon_bin_open()
686 if (mbus != &mon_bus0 && mbus->u_bus == NULL) { in mon_bin_open()
711 rp->r.m_bus = mbus; in mon_bin_open()
717 mon_reader_add(mbus, &rp->r); in mon_bin_open()
781 struct mon_bus* mbus = rp->r.m_bus; in mon_bin_release() local
785 if (mbus->nreaders <= 0) { in mon_bin_release()
790 mon_reader_del(mbus, &rp->r); in mon_bin_release()
1355 int mon_bin_add(struct mon_bus *mbus, const struct usb_bus *ubus) in mon_bin_add() argument
1369 mbus->classdev = dev; in mon_bin_add()
1373 void mon_bin_del(struct mon_bus *mbus) in mon_bin_del() argument
1375 device_destroy(mon_bin_class, mbus->classdev->devt); in mon_bin_del()