Home
last modified time | relevance | path

Searched refs:desc_start (Results 1 – 2 of 2) sorted by relevance

/drivers/ide/
Dide-floppy_ioctl.c67 unsigned int desc_start = 4 + i*8; in ide_floppy_get_format_capacities() local
72 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()
Dide-floppy.c435 unsigned int desc_start = 4 + i*8; in ide_floppy_get_capacity() local
437 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()