Lines Matching refs:diskparam
3246 struct bios_diskparam *diskparam = (struct bios_diskparam *) params; in blogic_diskparam() local
3251 diskparam->heads = 255; in blogic_diskparam()
3252 diskparam->sectors = 63; in blogic_diskparam()
3254 diskparam->heads = 128; in blogic_diskparam()
3255 diskparam->sectors = 32; in blogic_diskparam()
3258 diskparam->heads = 64; in blogic_diskparam()
3259 diskparam->sectors = 32; in blogic_diskparam()
3261 diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors); in blogic_diskparam()
3274 int saved_cyl = diskparam->cylinders, part_no; in blogic_diskparam()
3281 diskparam->heads = 64; in blogic_diskparam()
3282 diskparam->sectors = 32; in blogic_diskparam()
3285 diskparam->heads = 128; in blogic_diskparam()
3286 diskparam->sectors = 32; in blogic_diskparam()
3289 diskparam->heads = 255; in blogic_diskparam()
3290 diskparam->sectors = 63; in blogic_diskparam()
3299 diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors); in blogic_diskparam()
3300 if (part_no < 4 && part_end_sector == diskparam->sectors) { in blogic_diskparam()
3301 if (diskparam->cylinders != saved_cyl) in blogic_diskparam()
3302 …arn("Adopting Geometry %d/%d from Partition Table\n", adapter, diskparam->heads, diskparam->sector… in blogic_diskparam()
3305 …with current BusLogic Host Adapter Geometry %d/%d\n", adapter, diskparam->heads, diskparam->sector… in blogic_diskparam()