Lines Matching refs:ccb_alloc
432 if (!hw->ccb_alloc[slot])
434 set_channel_reset(&hw->ccb_alloc[slot]->driver_ccb);
547 if (hw->ccb_alloc[slot]->ccb_cnt == 1) {
552 hw->ccb_alloc[slot] = NULL;
559 hw->ccb_alloc[slot]->ccb_cnt--;
584 if (hw->ccb_alloc[slot] == NULL) {
600 hw->ccb_alloc[slot] = data;
608 hw->ccb_alloc[slot] = NULL;
619 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) {
627 hw->ccb_alloc[slot]->ccb_cnt++;
635 fp->private_data = hw->ccb_alloc[slot];
671 if (!hw->ccb_alloc[i])
674 wake_up_interruptible(&hw->ccb_alloc[i]->ccb_waitq);