Lines Matching refs:ccb_alloc
428 if (!hw->ccb_alloc[slot])
430 set_channel_reset(&hw->ccb_alloc[slot]->driver_ccb);
543 if (hw->ccb_alloc[slot]->ccb_cnt == 1) {
548 hw->ccb_alloc[slot] = NULL;
555 hw->ccb_alloc[slot]->ccb_cnt--;
580 if (hw->ccb_alloc[slot] == NULL) {
596 hw->ccb_alloc[slot] = data;
604 hw->ccb_alloc[slot] = NULL;
615 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) {
623 hw->ccb_alloc[slot]->ccb_cnt++;
631 fp->private_data = hw->ccb_alloc[slot];
666 if (!hw->ccb_alloc[i])
669 wake_up_interruptible(&hw->ccb_alloc[i]->ccb_waitq);