Lines Matching refs:pdrv
37 BYTE pdrv, /* Physical drive number to be checked (all data on the drive will be lost) */ in test_diskio() argument
51 printf("test_diskio(%u, %u, 0x%08X, 0x%08X)\n", pdrv, ncyc, (UINT)buff, sz_buff); in test_diskio()
61 printf(" disk_initalize(%u)", pdrv); in test_diskio()
62 ds = disk_initialize(pdrv); in test_diskio()
71 printf(" disk_ioctl(%u, GET_SECTOR_COUNT, 0x%08X)", pdrv, (UINT)&sz_drv); in test_diskio()
73 dr = disk_ioctl(pdrv, GET_SECTOR_COUNT, &sz_drv); in test_diskio()
84 printf(" Number of sectors on the drive %u is %lu.\n", pdrv, sz_drv); in test_diskio()
88 printf(" disk_ioctl(%u, GET_SECTOR_SIZE, 0x%X)", pdrv, (UINT)&sz_sect); in test_diskio()
90 dr = disk_ioctl(pdrv, GET_SECTOR_SIZE, &sz_sect); in test_diskio()
103 printf(" disk_ioctl(%u, GET_BLOCK_SIZE, 0x%X)", pdrv, (UINT)&sz_eblk); in test_diskio()
105 dr = disk_ioctl(pdrv, GET_BLOCK_SIZE, &sz_eblk); in test_diskio()
121 printf(" disk_write(%u, 0x%X, %lu, 1)", pdrv, (UINT)pbuff, lba); in test_diskio()
122 dr = disk_write(pdrv, pbuff, lba, 1); in test_diskio()
129 printf(" disk_ioctl(%u, CTRL_SYNC, NULL)", pdrv); in test_diskio()
130 dr = disk_ioctl(pdrv, CTRL_SYNC, 0); in test_diskio()
138 printf(" disk_read(%u, 0x%X, %lu, 1)", pdrv, (UINT)pbuff, lba); in test_diskio()
139 dr = disk_read(pdrv, pbuff, lba, 1); in test_diskio()
159 printf(" disk_write(%u, 0x%X, %lu, %u)", pdrv, (UINT)pbuff, lba, ns); in test_diskio()
160 dr = disk_write(pdrv, pbuff, lba, ns); in test_diskio()
167 printf(" disk_ioctl(%u, CTRL_SYNC, NULL)", pdrv); in test_diskio()
168 dr = disk_ioctl(pdrv, CTRL_SYNC, 0); in test_diskio()
176 printf(" disk_read(%u, 0x%X, %lu, %u)", pdrv, (UINT)pbuff, lba, ns); in test_diskio()
177 dr = disk_read(pdrv, pbuff, lba, ns); in test_diskio()
196 printf(" disk_write(%u, 0x%X, %lu, 1)", pdrv, (UINT)(pbuff+3), lba); in test_diskio()
197 dr = disk_write(pdrv, pbuff+3, lba, 1); in test_diskio()
204 printf(" disk_ioctl(%u, CTRL_SYNC, NULL)", pdrv); in test_diskio()
205 dr = disk_ioctl(pdrv, CTRL_SYNC, 0); in test_diskio()
213 printf(" disk_read(%u, 0x%X, %lu, 1)", pdrv, (UINT)(pbuff+5), lba); in test_diskio()
214 dr = disk_read(pdrv, pbuff+5, lba, 1); in test_diskio()
234 printf(" disk_write(%u, 0x%X, %lu, 1)", pdrv, (UINT)pbuff, lba); in test_diskio()
235 dr = disk_write(pdrv, pbuff, lba, 1); in test_diskio()
242 printf(" disk_write(%u, 0x%X, %lu, 1)", pdrv, (UINT)(pbuff+sz_sect), lba2); in test_diskio()
243 dr = disk_write(pdrv, pbuff+sz_sect, lba2, 1); in test_diskio()
250 printf(" disk_ioctl(%u, CTRL_SYNC, NULL)", pdrv); in test_diskio()
251 dr = disk_ioctl(pdrv, CTRL_SYNC, 0); in test_diskio()
259 printf(" disk_read(%u, 0x%X, %lu, 1)", pdrv, (UINT)pbuff, lba); in test_diskio()
260 dr = disk_read(pdrv, pbuff, lba, 1); in test_diskio()
267 printf(" disk_read(%u, 0x%X, %lu, 1)", pdrv, (UINT)(pbuff+sz_sect), lba2); in test_diskio()
268 dr = disk_read(pdrv, pbuff+sz_sect, lba2, 1); in test_diskio()