Home
last modified time | relevance | path

Searched refs:ccb_alloc (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/
H A Dhpilo.c432 if (!hw->ccb_alloc[slot]) in ilo_set_reset()
434 set_channel_reset(&hw->ccb_alloc[slot]->driver_ccb); in ilo_set_reset()
547 if (hw->ccb_alloc[slot]->ccb_cnt == 1) { in ilo_close()
552 hw->ccb_alloc[slot] = NULL; in ilo_close()
559 hw->ccb_alloc[slot]->ccb_cnt--; in ilo_close()
584 if (hw->ccb_alloc[slot] == NULL) { in ilo_open()
600 hw->ccb_alloc[slot] = data; in ilo_open()
608 hw->ccb_alloc[slot] = NULL; in ilo_open()
619 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { in ilo_open()
627 hw->ccb_alloc[slo in ilo_open()
[all...]
H A Dhpilo.h42 struct ccb_data *ccb_alloc[MAX_CCB]; member
49 * -> alloc_lock used when adding/removing/searching ccb_alloc,
/kernel/linux/linux-6.6/drivers/misc/
H A Dhpilo.c428 if (!hw->ccb_alloc[slot]) in ilo_set_reset()
430 set_channel_reset(&hw->ccb_alloc[slot]->driver_ccb); in ilo_set_reset()
543 if (hw->ccb_alloc[slot]->ccb_cnt == 1) { in ilo_close()
548 hw->ccb_alloc[slot] = NULL; in ilo_close()
555 hw->ccb_alloc[slot]->ccb_cnt--; in ilo_close()
580 if (hw->ccb_alloc[slot] == NULL) { in ilo_open()
596 hw->ccb_alloc[slot] = data; in ilo_open()
604 hw->ccb_alloc[slot] = NULL; in ilo_open()
615 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { in ilo_open()
623 hw->ccb_alloc[slo in ilo_open()
[all...]
H A Dhpilo.h45 struct ccb_data *ccb_alloc[MAX_CCB]; member
52 * -> alloc_lock used when adding/removing/searching ccb_alloc,

Completed in 4 milliseconds