Lines Matching refs:bufctl
57 newbp = auerbuf_getbuf(&ccp->bufctl); in auerchar_ctrlread_dispatch()
71 spin_lock_irqsave(&ccp->bufctl.lock, flags); in auerchar_ctrlread_dispatch()
72 list_add_tail(&newbp->buff_list, &ccp->bufctl.rec_buff_list); in auerchar_ctrlread_dispatch()
73 spin_unlock_irqrestore(&ccp->bufctl.lock, flags); in auerchar_ctrlread_dispatch()
99 auerbuf_free_buffers(&ccp->bufctl); in auerchar_delete()
148 auerbuf_init(&ccp->bufctl); in auerchar_open()
155 auerbuf_setup(&ccp->bufctl, AU_RBUFFERS, in auerchar_open()
216 && !list_empty(&cp->bufctl.free_buff_list); in auerchar_ioctl()
241 if (!list_empty(&ccp->bufctl.rec_buff_list)) { in auerchar_ioctl()
400 spin_lock_irqsave(&ccp->bufctl.lock, flags); in auerchar_read()
401 if (!list_empty(&ccp->bufctl.rec_buff_list)) { in auerchar_read()
403 struct list_head *tmp = ccp->bufctl.rec_buff_list.next; in auerchar_read()
407 spin_unlock_irqrestore(&ccp->bufctl.lock, flags); in auerchar_read()
507 bp = auerbuf_getbuf(&cp->bufctl); in auerchar_write()