• Home
  • Raw
  • Download

Lines Matching refs:mbus

132     struct urb *urb, char ev_type, struct mon_bus *mbus)  in mon_text_get_setup()  argument
146 int len, char ev_type, struct mon_bus *mbus) in mon_text_get_data() argument
305 struct mon_bus *mbus) in mon_text_fetch() argument
310 spin_lock_irqsave(&mbus->lock, flags); in mon_text_fetch()
312 spin_unlock_irqrestore(&mbus->lock, flags); in mon_text_fetch()
318 spin_unlock_irqrestore(&mbus->lock, flags); in mon_text_fetch()
326 struct mon_bus *mbus; in mon_text_open() local
331 mbus = inode->i_private; in mon_text_open()
349 rp->r.m_bus = mbus; in mon_text_open()
364 mon_reader_add(mbus, &rp->r); in mon_text_open()
483 struct mon_bus *mbus = rp->r.m_bus; in mon_text_read_wait() local
489 while ((ep = mon_text_fetch(rp, mbus)) == NULL) { in mon_text_read_wait()
645 struct mon_bus *mbus; in mon_text_release() local
651 mbus = inode->i_private; in mon_text_release()
653 if (mbus->nreaders <= 0) { in mon_text_release()
658 mon_reader_del(mbus, &rp->r); in mon_text_release()
701 int mon_text_add(struct mon_bus *mbus, const struct usb_bus *ubus) in mon_text_add() argument
715 mbus->dent_t = debugfs_create_file(name, 0600, mon_dir, mbus, in mon_text_add()
722 mbus->dent_u = debugfs_create_file(name, 0600, mon_dir, mbus, in mon_text_add()
728 mbus->dent_s = debugfs_create_file(name, 0600, mon_dir, mbus, in mon_text_add()
734 debugfs_remove(mbus->dent_u); in mon_text_add()
735 mbus->dent_u = NULL; in mon_text_add()
738 debugfs_remove(mbus->dent_t); in mon_text_add()
739 mbus->dent_t = NULL; in mon_text_add()
745 void mon_text_del(struct mon_bus *mbus) in mon_text_del() argument
747 debugfs_remove(mbus->dent_u); in mon_text_del()
748 debugfs_remove(mbus->dent_t); in mon_text_del()
749 debugfs_remove(mbus->dent_s); in mon_text_del()