Home
last modified time | relevance | path

Searched refs:udma_timing (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dpata_it8213.c160 u16 udma_timing; in it8213_set_dmamode() local
176 pci_read_config_word(dev, 0x4A, &udma_timing); in it8213_set_dmamode()
177 udma_timing &= ~(3 << (4 * devid)); in it8213_set_dmamode()
178 udma_timing |= u_speed << (4 * devid); in it8213_set_dmamode()
179 pci_write_config_word(dev, 0x4A, udma_timing); in it8213_set_dmamode()
H A Dpata_efar.c182 u16 udma_timing; in efar_set_dmamode() local
187 pci_read_config_word(dev, 0x4A, &udma_timing); in efar_set_dmamode()
188 udma_timing &= ~(7 << (4 * devid)); in efar_set_dmamode()
189 udma_timing |= udma << (4 * devid); in efar_set_dmamode()
190 pci_write_config_word(dev, 0x4A, udma_timing); in efar_set_dmamode()
H A Dpata_rdc.c194 u16 udma_timing; in rdc_set_dmamode() local
216 pci_read_config_word(dev, 0x4A, &udma_timing); in rdc_set_dmamode()
217 udma_timing &= ~(3 << (4 * devid)); in rdc_set_dmamode()
218 udma_timing |= u_speed << (4 * devid); in rdc_set_dmamode()
219 pci_write_config_word(dev, 0x4A, udma_timing); in rdc_set_dmamode()
H A Dpata_sc1200.c108 static const u32 udma_timing[3][3] = { in sc1200_set_dmamode() local
127 format = udma_timing[clock][mode - XFER_UDMA_0]; in sc1200_set_dmamode()
H A Dpata_pdc202xx_old.c128 static u8 udma_timing[6][2] = { in pdc202xx_set_dmamode() local
151 r_bp |= udma_timing[speed][0]; in pdc202xx_set_dmamode()
152 r_cp |= udma_timing[speed][1]; in pdc202xx_set_dmamode()
H A Data_piix.c674 u16 udma_timing; in do_pata_set_dmamode() local
700 pci_read_config_word(dev, 0x4A, &udma_timing); in do_pata_set_dmamode()
701 udma_timing &= ~(3 << (4 * devid)); in do_pata_set_dmamode()
702 udma_timing |= u_speed << (4 * devid); in do_pata_set_dmamode()
703 pci_write_config_word(dev, 0x4A, udma_timing); in do_pata_set_dmamode()
H A Dpata_ali.c243 static u8 udma_timing[7] = { 0xC, 0xB, 0xA, 0x9, 0x8, 0xF, 0xD }; in ali_set_dmamode() local
254 ali_program_modes(ap, adev, NULL, udma_timing[adev->dma_mode - XFER_UDMA_0]); in ali_set_dmamode()