Lines Matching full:head
120 uint8_t head = 0; in send_read_command() local
134 floppy_send(head << 2 | drive); in send_read_command()
137 floppy_send(head); in send_read_command()
176 uint8_t head = 0; in send_read_no_dma_command() local
190 floppy_send(head << 2 | drive); in send_read_no_dma_command()
193 floppy_send(head); in send_read_no_dma_command()
250 int head = 0; in send_seek() local
253 floppy_send(head << 2 | drive); in send_seek()
361 int head = 0; in test_sense_interrupt() local
370 floppy_send(head << 2 | drive); in test_sense_interrupt()
383 uint8_t head = 0; in test_relative_seek() local
392 floppy_send(head << 2 | drive); in test_relative_seek()
401 floppy_send(head << 2 | drive); in test_relative_seek()
412 uint8_t head = 0; in test_read_id() local
422 floppy_send(head << 2 | drive); in test_read_id()
442 head = floppy_recv(); in test_read_id()
449 g_assert_cmpint(head, ==, 0); in test_read_id()
450 g_assert_cmpint(st0, ==, head << 2); in test_read_id()
452 /* Seek to track 8 on head 1 and check with READ ID */ in test_read_id()
453 head = 1; in test_read_id()
457 floppy_send(head << 2 | drive); in test_read_id()
465 floppy_send(head << 2 | drive); in test_read_id()
485 head = floppy_recv(); in test_read_id()
492 g_assert_cmpint(head, ==, 1); in test_read_id()
493 g_assert_cmpint(st0, ==, head << 2); in test_read_id()