Home
last modified time | relevance | path

Searched refs:pc_buf (Results 1 – 3 of 3) sorted by relevance

/drivers/ide/
Dide-floppy_ioctl.c43 u8 pc_buf[256], header_len, desc_cnt; in ide_floppy_get_format_capacities() local
53 if (ide_queue_pc_tail(drive, floppy->disk, pc, pc_buf, pc->req_xfer)) { in ide_floppy_get_format_capacities()
58 header_len = pc_buf[3]; in ide_floppy_get_format_capacities()
75 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()
Dide-floppy.c378 u8 pc_buf[256], header_len, desc_cnt; in ide_floppy_get_capacity() local
390 if (ide_queue_pc_tail(drive, disk, &pc, pc_buf, pc.req_xfer)) { in ide_floppy_get_capacity()
394 header_len = pc_buf[3]; in ide_floppy_get_capacity()
395 cap_desc = &pc_buf[4]; in ide_floppy_get_capacity()
401 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()
Dide-tape.c1605 u8 pc_buf[256]; in idetape_get_inquiry_results() local
1609 if (ide_queue_pc_tail(drive, tape->disk, &pc, pc_buf, pc.req_xfer)) { in idetape_get_inquiry_results()
1614 memcpy(vendor_id, &pc_buf[8], 8); in idetape_get_inquiry_results()
1615 memcpy(product_id, &pc_buf[16], 16); in idetape_get_inquiry_results()
1616 memcpy(fw_rev, &pc_buf[32], 4); in idetape_get_inquiry_results()