Searched refs:desc_start (Results 1 – 3 of 3) sorted by relevance
399 unsigned int desc_start = 4 + i*8; in ide_floppy_get_capacity() local401 blocks = be32_to_cpup((__be32 *)&pc_buf[desc_start]); in ide_floppy_get_capacity()402 length = be16_to_cpup((__be16 *)&pc_buf[desc_start + 6]); in ide_floppy_get_capacity()415 switch (pc_buf[desc_start + 4] & 0x03) { in ide_floppy_get_capacity()464 pc_buf[desc_start + 4] & 0x03); in ide_floppy_get_capacity()
70 unsigned int desc_start = 4 + i*8; in ide_floppy_get_format_capacities() local75 blocks = be32_to_cpup((__be32 *)&pc_buf[desc_start]); in ide_floppy_get_format_capacities()76 length = be16_to_cpup((__be16 *)&pc_buf[desc_start + 6]); in ide_floppy_get_format_capacities()
236 int desc_start; in cpdma_desc_alloc() local243 desc_start = 0; in cpdma_desc_alloc()246 desc_start = pool->num_desc/2; in cpdma_desc_alloc()251 desc_end, desc_start, num_desc, 0); in cpdma_desc_alloc()