Searched refs:desc_start (Results 1 – 2 of 2) sorted by relevance
67 unsigned int desc_start = 4 + i*8; in ide_floppy_get_format_capacities() local72 blocks = be32_to_cpup((__be32 *)&pc->buf[desc_start]); in ide_floppy_get_format_capacities()73 length = be16_to_cpup((__be16 *)&pc->buf[desc_start + 6]); in ide_floppy_get_format_capacities()
435 unsigned int desc_start = 4 + i*8; in ide_floppy_get_capacity() local437 blocks = be32_to_cpup((__be32 *)&pc.buf[desc_start]); in ide_floppy_get_capacity()438 length = be16_to_cpup((__be16 *)&pc.buf[desc_start + 6]); in ide_floppy_get_capacity()450 switch (pc.buf[desc_start + 4] & 0x03) { in ide_floppy_get_capacity()499 pc.buf[desc_start + 4] & 0x03); in ide_floppy_get_capacity()