Lines Matching refs:gcw
1863 struct idefloppy_id_gcw gcw; in idefloppy_identify_device() local
1869 *((u16 *) &gcw) = id->config; in idefloppy_identify_device()
1873 if ((gcw.device_type == 5) && in idefloppy_identify_device()
1876 gcw.device_type = 0; in idefloppy_identify_device()
1881 switch (gcw.protocol) { in idefloppy_identify_device()
1887 switch (gcw.device_type) { in idefloppy_identify_device()
1897 printk(KERN_INFO "Device Type: %x - %s\n", gcw.device_type, buffer); in idefloppy_identify_device()
1898 printk(KERN_INFO "Removable: %s\n",gcw.removable ? "Yes":"No"); in idefloppy_identify_device()
1899 switch (gcw.drq_type) { in idefloppy_identify_device()
1906 switch (gcw.packet_size) { in idefloppy_identify_device()
1963 if (gcw.protocol != 2) in idefloppy_identify_device()
1965 else if (gcw.device_type != 0) in idefloppy_identify_device()
1967 else if (!gcw.removable) in idefloppy_identify_device()
1969 else if (gcw.drq_type == 3) { in idefloppy_identify_device()
1970 printk(KERN_ERR "ide-floppy: Sorry, DRQ type %d not supported\n", gcw.drq_type); in idefloppy_identify_device()
1971 } else if (gcw.packet_size != 0) { in idefloppy_identify_device()
2001 struct idefloppy_id_gcw gcw; in idefloppy_setup() local
2005 *((u16 *) &gcw) = drive->id->config; in idefloppy_setup()
2011 if (gcw.drq_type == 1) in idefloppy_setup()