Searched refs:nslots (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/unisys/visorutil/ |
D | charqueue.c | 32 int nslots; member 40 CHARQUEUE *visor_charqueue_create(ulong nslots) in visor_charqueue_create() argument 42 int alloc_size = sizeof(CHARQUEUE) + nslots + 1; in visor_charqueue_create() 51 cq->nslots = nslots; in visor_charqueue_create() 62 int alloc_slots = charqueue->nslots+1; /* 1 slot is always empty */ in visor_charqueue_enqueue() 91 int alloc_slots = charqueue->nslots + 1; /* 1 slot is always empty */ in charqueue_dequeue_1()
|
D | charqueue.h | 29 CHARQUEUE *visor_charqueue_create(ulong nslots);
|
/drivers/dma/ |
D | edma.c | 154 int i, j, left, nslots; in edma_execute() local 173 nslots = min(MAX_NR_SG, left); in edma_execute() 177 for (i = 0; i < nslots; i++) { in edma_execute() 203 if (i != (nslots - 1)) in edma_execute() 207 edesc->processed += nslots; in edma_execute() 216 edma_link(echan->slot[nslots-1], echan->slot[1]); in edma_execute() 218 edma_link(echan->slot[nslots-1], in edma_execute() 482 int i, nslots, ret; in edma_prep_slave_sg() local 518 nslots = min_t(unsigned, MAX_NR_SG, sg_len); in edma_prep_slave_sg() 520 for (i = 0; i < nslots; i++) { in edma_prep_slave_sg() [all …]
|
/drivers/ide/ |
D | ide-cd.c | 1185 static int ide_cdrom_register(ide_drive_t *drive, int nslots) in ide_cdrom_register() argument 1190 ide_debug_log(IDE_DBG_PROBE, "nslots: %d", nslots); in ide_cdrom_register() 1194 devinfo->capacity = nslots; in ide_cdrom_register() 1211 int nslots = 1; in ide_cdrom_probe_capabilities() local 1224 return nslots; in ide_cdrom_probe_capabilities() 1230 return nslots; in ide_cdrom_probe_capabilities() 1270 nslots = 3; in ide_cdrom_probe_capabilities() 1273 nslots = cdrom_number_of_slots(cdi); in ide_cdrom_probe_capabilities() 1274 if (nslots > 1) in ide_cdrom_probe_capabilities() 1299 printk(KERN_CONT " changer w/%d slots", nslots); in ide_cdrom_probe_capabilities() [all …]
|
/drivers/cdrom/ |
D | cdrom.c | 1305 buf->hdr.nslots = 3; in cdrom_read_mech_status() 1356 int nslots = 1; in cdrom_number_of_slots() local 1368 nslots = info->hdr.nslots; in cdrom_number_of_slots() 1371 return nslots; in cdrom_number_of_slots()
|