Searched refs:drive_pci (Results 1 – 4 of 4) sorted by relevance
/drivers/ide/ |
D | sis5513.c | 201 u8 drive_pci = 0x40 + drive->dn * 2; in sis_ata16_program_timings() local 206 pci_read_config_word(dev, drive_pci, &t1); in sis_ata16_program_timings() 217 pci_write_config_word(dev, drive_pci, t1); in sis_ata16_program_timings() 223 u8 t1, drive_pci = 0x40 + drive->dn * 2; in sis_ata100_program_timings() local 232 pci_read_config_byte(dev, drive_pci, &t2); in sis_ata100_program_timings() 234 pci_write_config_byte(dev, drive_pci, t2); in sis_ata100_program_timings() 240 pci_write_config_byte(dev, drive_pci + 1, t1); in sis_ata100_program_timings() 247 u8 drive_pci = sis_ata133_get_base(drive), clk, idx; in sis_ata133_program_timings() local 249 pci_read_config_dword(dev, drive_pci, &t1); in sis_ata133_program_timings() 262 pci_write_config_dword(dev, drive_pci, t1); in sis_ata133_program_timings() [all …]
|
D | pdc202xx_old.c | 27 u8 drive_pci = 0x60 + (drive->dn << 2); in pdc202xx_set_mode() local 33 pci_read_config_byte(dev, drive_pci, &AP); in pdc202xx_set_mode() 34 pci_read_config_byte(dev, drive_pci + 1, &BP); in pdc202xx_set_mode() 35 pci_read_config_byte(dev, drive_pci + 2, &CP); in pdc202xx_set_mode() 67 pci_write_config_byte(dev, drive_pci, AP | TA); in pdc202xx_set_mode() 68 pci_write_config_byte(dev, drive_pci + 1, BP | TB); in pdc202xx_set_mode() 74 pci_write_config_byte(dev, drive_pci + 1, BP | TB); in pdc202xx_set_mode() 75 pci_write_config_byte(dev, drive_pci + 2, CP | TC); in pdc202xx_set_mode()
|
D | serverworks.c | 112 static const u8 drive_pci[] = { 0x41, 0x40, 0x43, 0x42 }; in svwks_set_pio_mode() local 117 pci_write_config_byte(dev, drive_pci[drive->dn], pio_modes[pio]); in svwks_set_pio_mode()
|
/drivers/ata/ |
D | pata_sis.c | 341 int drive_pci = sis_old_port_base(adev); in sis_old_set_dmamode() local 347 pci_read_config_word(pdev, drive_pci, &timing); in sis_old_set_dmamode() 360 pci_write_config_word(pdev, drive_pci, timing); in sis_old_set_dmamode() 380 int drive_pci = sis_old_port_base(adev); in sis_66_set_dmamode() local 387 pci_read_config_word(pdev, drive_pci, &timing); in sis_66_set_dmamode() 400 pci_write_config_word(pdev, drive_pci, timing); in sis_66_set_dmamode() 419 int drive_pci = sis_old_port_base(adev); in sis_100_set_dmamode() local 424 pci_read_config_byte(pdev, drive_pci + 1, &timing); in sis_100_set_dmamode() 434 pci_write_config_byte(pdev, drive_pci + 1, timing); in sis_100_set_dmamode() 453 int drive_pci = sis_old_port_base(adev); in sis_133_early_set_dmamode() local [all …]
|