Searched refs:drive_pci (Results 1 – 6 of 6) sorted by relevance
/linux-2.4.37.9/drivers/ide/pci/ |
D | pdc202xx_old.h | 29 static inline u8 *pdc202xx_pio_verbose (u32 drive_pci) in pdc202xx_pio_verbose() argument 31 if ((drive_pci & 0x000ff000) == 0x000ff000) return("NOTSET"); in pdc202xx_pio_verbose() 32 if ((drive_pci & 0x00000401) == 0x00000401) return("PIO 4"); in pdc202xx_pio_verbose() 33 if ((drive_pci & 0x00000602) == 0x00000602) return("PIO 3"); in pdc202xx_pio_verbose() 34 if ((drive_pci & 0x00000803) == 0x00000803) return("PIO 2"); in pdc202xx_pio_verbose() 35 if ((drive_pci & 0x00000C05) == 0x00000C05) return("PIO 1"); in pdc202xx_pio_verbose() 36 if ((drive_pci & 0x00001309) == 0x00001309) return("PIO 0"); in pdc202xx_pio_verbose() 40 static inline u8 *pdc202xx_dma_verbose (u32 drive_pci) in pdc202xx_dma_verbose() argument 42 if ((drive_pci & 0x00036000) == 0x00036000) return("MWDMA 2"); in pdc202xx_dma_verbose() 43 if ((drive_pci & 0x00046000) == 0x00046000) return("MWDMA 1"); in pdc202xx_dma_verbose() [all …]
|
D | pdc202xx_old.c | 239 u8 drive_pci = 0x60 + (drive->dn << 2); in pdc202xx_tune_chipset() local 249 pci_read_config_dword(dev, drive_pci, &drive_conf); in pdc202xx_tune_chipset() 250 pci_read_config_byte(dev, (drive_pci), &AP); in pdc202xx_tune_chipset() 251 pci_read_config_byte(dev, (drive_pci)|0x01, &BP); in pdc202xx_tune_chipset() 252 pci_read_config_byte(dev, (drive_pci)|0x02, &CP); in pdc202xx_tune_chipset() 253 pci_read_config_byte(dev, (drive_pci)|0x03, &DP); in pdc202xx_tune_chipset() 258 pci_write_config_byte(dev, (drive_pci), AP &~0x0F); in pdc202xx_tune_chipset() 259 pci_read_config_byte(dev, (drive_pci), &AP); in pdc202xx_tune_chipset() 262 pci_write_config_byte(dev, (drive_pci)|0x01, BP &~0x07); in pdc202xx_tune_chipset() 263 pci_read_config_byte(dev, (drive_pci)|0x01, &BP); in pdc202xx_tune_chipset() [all …]
|
D | pdc202xx_new.c | 143 u8 drive_pci = 0x60 + (drive->dn << 2); in pdcnew_tune_chipset() local 153 pci_read_config_dword(dev, drive_pci, &drive_conf); in pdcnew_tune_chipset() 154 pci_read_config_byte(dev, (drive_pci), &AP); in pdcnew_tune_chipset() 155 pci_read_config_byte(dev, (drive_pci)|0x01, &BP); in pdcnew_tune_chipset() 156 pci_read_config_byte(dev, (drive_pci)|0x02, &CP); in pdcnew_tune_chipset() 157 pci_read_config_byte(dev, (drive_pci)|0x03, &DP); in pdcnew_tune_chipset() 162 pci_write_config_byte(dev, (drive_pci), AP &~0x0F); in pdcnew_tune_chipset() 163 pci_read_config_byte(dev, (drive_pci), &AP); in pdcnew_tune_chipset() 166 pci_write_config_byte(dev, (drive_pci)|0x01, BP &~0x07); in pdcnew_tune_chipset() 167 pci_read_config_byte(dev, (drive_pci)|0x01, &BP); in pdcnew_tune_chipset() [all …]
|
D | sis5513.c | 255 u8 drive_pci = 0x40; in get_drives_info() local 259 drive_pci = 0x70; in get_drives_info() 261 pci_read_config_dword(bmide_dev, (unsigned long)drive_pci+4*pos, ®dw0); in get_drives_info() 262 pci_read_config_dword(bmide_dev, (unsigned long)drive_pci+4*pos+8, ®dw1); in get_drives_info() 465 u8 timing, drive_pci, test1, test2; in config_art_rwp_pio() local 490 drive_pci = 0x40; in config_art_rwp_pio() 495 if (reg54h & 0x40000000) drive_pci = 0x70; in config_art_rwp_pio() 496 drive_pci += ((drive->dn)*0x4); in config_art_rwp_pio() 498 drive_pci += ((drive->dn)*0x2); in config_art_rwp_pio() 503 pci_read_config_byte(dev, drive_pci, &test1); in config_art_rwp_pio() [all …]
|
D | hpt366.c | 372 u8 drive_pci = 0x40 + (drive->dn * 4); in hpt370_tune_chipset() local 400 pci_read_config_dword(dev, drive_pci, &drive_conf); in hpt370_tune_chipset() 407 pci_write_config_dword(dev, drive_pci, list_conf); in hpt370_tune_chipset() 416 u8 drive_fast = 0, drive_pci = 0x40 + (drive->dn * 4); in hpt372_tune_chipset() local 430 pci_read_config_dword(dev, drive_pci, &drive_conf); in hpt372_tune_chipset() 434 pci_write_config_dword(dev, drive_pci, list_conf); in hpt372_tune_chipset()
|
D | serverworks.c | 271 u8 drive_pci[] = { 0x41, 0x40, 0x43, 0x42 }; in svwks_tune_chipset() local 296 pci_read_config_byte(dev, drive_pci[drive->dn], &pio_timing); in svwks_tune_chipset() 391 pci_write_config_byte(dev, drive_pci[drive->dn], pio_timing); in svwks_tune_chipset()
|