Searched defs:ssize (Results 1 - 8 of 8) sorted by relevance

/drivers/usb/storage/
H A Ddatafab.c69 unsigned long ssize; /* sector size in bytes */ member in struct:datafab_info
170 totallen = sectors * info->ssize;
183 // (min(128k, 255*info->ssize) is the real limit)
186 thistime = (len / info->ssize) & 0xff;
254 totallen = sectors * info->ssize;
267 // (min(128k, 255*info->ssize) is the real limit)
270 thistime = (len / info->ssize) & 0xff;
588 info->ssize = 0x200; // hard coded 512 byte sectors as per ATA spec
594 info->sectors, info->ssize);
599 ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize);
[all...]
H A Djumpshot.c106 unsigned long ssize; /* sector size in bytes */ member in struct:jumpshot_info
184 totallen = sectors * info->ssize;
197 // (min(128k, 255*info->ssize) is the real limit)
199 thistime = (len / info->ssize) & 0xff;
261 totallen = sectors * info->ssize;
274 // (min(128k, 255*info->ssize) is the real limit)
277 thistime = (len / info->ssize) & 0xff;
514 info->ssize = 0x200; // hard coded 512 byte sectors as per ATA spec
525 info->sectors, info->ssize);
530 ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize);
[all...]
H A Dshuttle_usbat.c144 unsigned long ssize; /* sector size in bytes */ member in struct:usbat_info
1147 totallen = sectors * info->ssize;
1163 * (min(128k, 255*info->ssize) is the real limit)
1166 thistime = (len / info->ssize) & 0xff;
1238 totallen = sectors * info->ssize;
1254 * (min(128k, 255*info->ssize) is the real limit)
1257 thistime = (len / info->ssize) & 0xff;
1712 info->ssize = 0x200;
1714 info->sectors, info->ssize);
1722 ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize);
[all...]
/drivers/isdn/hardware/avm/
H A Db1.c722 avmcard_dma_alloc(char *name, struct pci_dev *pdev, long rsize, long ssize) argument
741 p->sendbuf.size = ssize;
742 buf = pci_alloc_consistent(pdev, ssize, &p->sendbuf.dmaaddr);
/drivers/block/aoe/
H A Daoecmd.c613 u64 ssize; local
615 ssize = get_capacity(d->gd);
620 i_size_write(bd->bd_inode, (loff_t)ssize<<9);
634 u64 ssize; local
647 ssize = get_unaligned_le64(&id[100 << 1]);
650 d->geo.cylinders = ssize;
658 ssize = get_unaligned_le32(&id[60 << 1]);
666 if (d->ssize != ssize)
671 d->fw_ver, (long long)ssize);
[all...]
H A Daoe.h160 sector_t ssize; member in struct:aoedev
/drivers/dma/
H A Dmpc512x_dma.c129 u32 ssize:3; /* Source data transfer size */ member in struct:mpc_dma_tcd
603 tcd->ssize = MPC_DMA_TSIZE_32;
609 tcd->ssize = MPC_DMA_TSIZE_16;
614 tcd->ssize = MPC_DMA_TSIZE_4;
619 tcd->ssize = MPC_DMA_TSIZE_2;
624 tcd->ssize = MPC_DMA_TSIZE_1;
/drivers/block/
H A Dfloppy.c2266 int ssize; local
2281 ssize = DIV_ROUND_UP(1 << SIZECODE, 4);
2297 if (nr_sectors / ssize >
2298 DIV_ROUND_UP(in_sector_offset + current_count_sectors, ssize)) {
2306 SECT_PER_TRACK, fsector_t, ssize);
2378 static int transfer_size(int ssize, int max_sector, int max_size) argument
2383 max_sector -= (max_sector % _floppy->sect) % ssize;
2394 static void copy_buffer(int ssize, int max_sector, int max_sector_2) argument
2403 max_sector = transfer_size(ssize,
2422 pr_info("ssize
2516 int ssize; local
[all...]

Completed in 851 milliseconds