Searched refs:drive_pci (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/ide/ |
H A D | sis5513.c | 201 u8 drive_pci = 0x40 + drive->dn * 2; sis_ata16_program_timings() local 206 pci_read_config_word(dev, drive_pci, &t1); sis_ata16_program_timings() 217 pci_write_config_word(dev, drive_pci, t1); sis_ata16_program_timings() 223 u8 t1, drive_pci = 0x40 + drive->dn * 2; sis_ata100_program_timings() local 232 pci_read_config_byte(dev, drive_pci, &t2); sis_ata100_program_timings() 234 pci_write_config_byte(dev, drive_pci, t2); sis_ata100_program_timings() 240 pci_write_config_byte(dev, drive_pci + 1, t1); sis_ata100_program_timings() 247 u8 drive_pci = sis_ata133_get_base(drive), clk, idx; sis_ata133_program_timings() local 249 pci_read_config_dword(dev, drive_pci, &t1); sis_ata133_program_timings() 262 pci_write_config_dword(dev, drive_pci, t1); sis_ata133_program_timings() 303 u8 drive_pci = sis_ata133_get_base(drive), clk, idx; sis_ata133_program_udma_timings() local 305 pci_read_config_dword(dev, drive_pci, ®dw); sis_ata133_program_udma_timings() 315 pci_write_config_dword(dev, drive_pci, regdw); sis_ata133_program_udma_timings() 321 u8 drive_pci = 0x40 + drive->dn * 2, reg = 0, i = chipset_family; sis_ata33_program_udma_timings() local 323 pci_read_config_byte(dev, drive_pci + 1, ®); sis_ata33_program_udma_timings() 332 pci_write_config_byte(dev, drive_pci + 1, reg); sis_ata33_program_udma_timings() 357 u8 drive_pci = sis_ata133_get_base(drive); sis_ata133_udma_filter() local 359 pci_read_config_dword(dev, drive_pci, ®dw); sis_ata133_udma_filter()
|
H A D | pdc202xx_old.c | 27 u8 drive_pci = 0x60 + (drive->dn << 2); pdc202xx_set_mode() local 33 pci_read_config_byte(dev, drive_pci, &AP); pdc202xx_set_mode() 34 pci_read_config_byte(dev, drive_pci + 1, &BP); pdc202xx_set_mode() 35 pci_read_config_byte(dev, drive_pci + 2, &CP); pdc202xx_set_mode() 67 pci_write_config_byte(dev, drive_pci, AP | TA); pdc202xx_set_mode() 68 pci_write_config_byte(dev, drive_pci + 1, BP | TB); pdc202xx_set_mode() 74 pci_write_config_byte(dev, drive_pci + 1, BP | TB); pdc202xx_set_mode() 75 pci_write_config_byte(dev, drive_pci + 2, CP | TC); pdc202xx_set_mode()
|
H A D | serverworks.c | 112 static const u8 drive_pci[] = { 0x41, 0x40, 0x43, 0x42 }; svwks_set_pio_mode() local 117 pci_write_config_byte(dev, drive_pci[drive->dn], pio_modes[pio]); svwks_set_pio_mode()
|
/linux-4.4.14/drivers/ata/ |
H A D | pata_sis.c | 340 int drive_pci = sis_old_port_base(adev); sis_old_set_dmamode() local 346 pci_read_config_word(pdev, drive_pci, &timing); sis_old_set_dmamode() 359 pci_write_config_word(pdev, drive_pci, timing); sis_old_set_dmamode() 379 int drive_pci = sis_old_port_base(adev); sis_66_set_dmamode() local 386 pci_read_config_word(pdev, drive_pci, &timing); sis_66_set_dmamode() 399 pci_write_config_word(pdev, drive_pci, timing); sis_66_set_dmamode() 418 int drive_pci = sis_old_port_base(adev); sis_100_set_dmamode() local 423 pci_read_config_byte(pdev, drive_pci + 1, &timing); sis_100_set_dmamode() 433 pci_write_config_byte(pdev, drive_pci + 1, timing); sis_100_set_dmamode() 452 int drive_pci = sis_old_port_base(adev); sis_133_early_set_dmamode() local 457 pci_read_config_byte(pdev, drive_pci + 1, &timing); sis_133_early_set_dmamode() 467 pci_write_config_byte(pdev, drive_pci + 1, timing); sis_133_early_set_dmamode()
|
Completed in 173 milliseconds