Searched refs:drive_dn (Results 1 – 1 of 1) sorted by relevance
550 unsigned int drive_dn = (ap->hard_port_no ? 2 : 0) + adev->devno; in piix_set_dmamode() local551 int a_speed = 3 << (drive_dn * 4); in piix_set_dmamode()552 int u_flag = 1 << drive_dn; in piix_set_dmamode()553 int v_flag = 0x01 << drive_dn; in piix_set_dmamode()554 int w_flag = 0x10 << drive_dn; in piix_set_dmamode()570 case XFER_UDMA_2: u_speed = 2 << (drive_dn * 4); break; in piix_set_dmamode()574 case XFER_UDMA_1: u_speed = 1 << (drive_dn * 4); break; in piix_set_dmamode()575 case XFER_UDMA_0: u_speed = 0 << (drive_dn * 4); break; in piix_set_dmamode()