/drivers/ide/ |
D | it8213.c | 72 pci_write_config_byte(dev, slave_port, slave_data); in it8213_set_pio_mode() 109 pci_write_config_byte(dev, 0x48, reg48 | u_flag); in it8213_set_dma_mode() 111 pci_write_config_byte(dev, 0x55, (u8) reg55|w_flag); in it8213_set_dma_mode() 113 pci_write_config_byte(dev, 0x55, (u8) reg55 & ~w_flag); in it8213_set_dma_mode() 119 pci_write_config_byte(dev, 0x54, reg54 | v_flag); in it8213_set_dma_mode() 121 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in it8213_set_dma_mode() 126 pci_write_config_byte(dev, 0x48, reg48 & ~u_flag); in it8213_set_dma_mode() 130 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in it8213_set_dma_mode() 132 pci_write_config_byte(dev, 0x55, (u8) reg55 & ~w_flag); in it8213_set_dma_mode()
|
D | alim15x3.c | 61 pci_write_config_byte(pdev, pio_fifo, fifo); in ali_fifo_control() 77 pci_write_config_byte(dev, udmat, udma); in ali_program_timings() 88 pci_write_config_byte(dev, port, t->setup); in ali_program_timings() 89 pci_write_config_byte(dev, port + 1, (t->act8b << 4) | t->rec8b); in ali_program_timings() 90 pci_write_config_byte(dev, port + unit + 2, in ali_program_timings() 197 pci_write_config_byte(dev, 0x4b, tmpbyte); in ali_set_dma_mode() 249 pci_write_config_byte(dev, 0x4b, tmpbyte & 0x7F); in init_chipset_ali15x3() 272 pci_write_config_byte(dev, 0x4b, tmpbyte | 0x08); in init_chipset_ali15x3() 294 pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x04); in init_chipset_ali15x3() 299 pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x02); in init_chipset_ali15x3() [all …]
|
D | sis5513.c | 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() 290 pci_write_config_byte(dev, 0x4b, rw_prefetch); in config_drive_art_rwp() 332 pci_write_config_byte(dev, drive_pci + 1, reg); in sis_ata33_program_udma_timings() 429 pci_write_config_byte(dev, 0x4a, idecfg | 0x10); in sis_find_family() 431 pci_write_config_byte(dev, 0x4a, idecfg); in sis_find_family() 476 pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0x80); in init_chipset_sis5513() 480 pci_write_config_byte(dev, 0x49, reg|0x01); in init_chipset_sis5513() 485 pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0x10); in init_chipset_sis5513() 490 pci_write_config_byte(dev, 0x52, reg|0x04); in init_chipset_sis5513() [all …]
|
D | piix.c | 124 pci_write_config_byte(dev, slave_port, slave_data); in piix_set_pio_mode() 164 pci_write_config_byte(dev, 0x48, reg48 | u_flag); in piix_set_dma_mode() 166 pci_write_config_byte(dev, 0x55, (u8) reg55|w_flag); in piix_set_dma_mode() 168 pci_write_config_byte(dev, 0x55, (u8) reg55 & ~w_flag); in piix_set_dma_mode() 174 pci_write_config_byte(dev, 0x54, reg54 | v_flag); in piix_set_dma_mode() 176 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in piix_set_dma_mode() 181 pci_write_config_byte(dev, 0x48, reg48 & ~u_flag); in piix_set_dma_mode() 185 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in piix_set_dma_mode() 187 pci_write_config_byte(dev, 0x55, (u8) reg55 & ~w_flag); in piix_set_dma_mode()
|
D | cy82c693.c | 125 pci_write_config_byte(dev, CY82_IDE_MASTER_IOR, time_16); in cy82c693_set_pio_mode() 126 pci_write_config_byte(dev, CY82_IDE_MASTER_IOW, time_16); in cy82c693_set_pio_mode() 127 pci_write_config_byte(dev, CY82_IDE_MASTER_8BIT, time_8); in cy82c693_set_pio_mode() 141 pci_write_config_byte(dev, CY82_IDE_SLAVE_IOR, time_16); in cy82c693_set_pio_mode() 142 pci_write_config_byte(dev, CY82_IDE_SLAVE_IOW, time_16); in cy82c693_set_pio_mode() 143 pci_write_config_byte(dev, CY82_IDE_SLAVE_8BIT, time_8); in cy82c693_set_pio_mode()
|
D | hpt366.c | 676 pci_write_config_byte(dev, 0x5a, scr1); in hpt3xx_maskproc() 699 pci_write_config_byte(dev, 0x5a, scr1 & ~0x10); in hpt366_dma_lost_irq() 708 pci_write_config_byte(dev, hwif->select_data, 0x37); in hpt370_clear_engine() 784 pci_write_config_byte(dev, mcr_addr, mcr | 0x30); in hpt374_dma_end() 903 pci_write_config_byte(dev, mcr_addr + 1, new_mcr); in hpt3xx_disable_fast_irq() 917 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, (L1_CACHE_BYTES / 4)); in init_chipset_hpt366() 918 pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0x78); in init_chipset_hpt366() 919 pci_write_config_byte(dev, PCI_MIN_GNT, 0x08); in init_chipset_hpt366() 920 pci_write_config_byte(dev, PCI_MAX_LAT, 0x08); in init_chipset_hpt366() 933 pci_write_config_byte(dev, 0x5a, scr1 & ~0x10); in init_chipset_hpt366() [all …]
|
D | serverworks.c | 121 pci_write_config_byte(dev, drive_pci[drive->dn], pio_modes[pio]); in svwks_set_pio_mode() 163 pci_write_config_byte(dev, drive_pci2[drive->dn], dma_timing); in svwks_set_dma_mode() 164 pci_write_config_byte(dev, (0x56|hwif->channel), ultra_timing); in svwks_set_dma_mode() 165 pci_write_config_byte(dev, 0x54, ultra_enable); in svwks_set_dma_mode() 174 pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0x40); in init_chipset_svwks() 223 pci_write_config_byte(findev, 0x41, reg41); in init_chipset_svwks() 255 pci_write_config_byte(dev, 0x5A, btr); in init_chipset_svwks() 262 pci_write_config_byte(dev, 0x5A, btr); in init_chipset_svwks()
|
D | it821x.c | 126 pci_write_config_byte(dev, 0x54 + 4 * channel, conf); in it821x_program() 153 pci_write_config_byte(dev, 0x56 + 4 * channel + unit, conf); in it821x_program_udma() 155 pci_write_config_byte(dev, 0x56 + 4 * channel, conf); in it821x_program_udma() 156 pci_write_config_byte(dev, 0x56 + 4 * channel + 1, conf); in it821x_program_udma() 210 pci_write_config_byte(dev, 0x50, v); in it821x_clock_strategy() 302 pci_write_config_byte(dev, 0x50, conf); in it821x_tune_mwdma() 341 pci_write_config_byte(dev, 0x50, conf); in it821x_tune_udma() 594 pci_write_config_byte(dev, 0x5E, 0x01); in it8212_disable_raid() 597 pci_write_config_byte(dev, 0x50, 0x00); in it8212_disable_raid() 604 pci_write_config_byte(dev, 0x42, 0x36); in it8212_disable_raid() [all …]
|
D | cs5530.c | 178 pci_write_config_byte(cs5530_0, PCI_CACHE_LINE_SIZE, 0x04); in init_chipset_cs5530() 193 pci_write_config_byte(master_0, 0x40, 0x1e); in init_chipset_cs5530() 205 pci_write_config_byte(master_0, 0x41, 0x14); in init_chipset_cs5530() 212 pci_write_config_byte(master_0, 0x42, 0x00); in init_chipset_cs5530() 213 pci_write_config_byte(master_0, 0x43, 0xc1); in init_chipset_cs5530()
|
D | it8172.c | 96 pci_write_config_byte(dev, 0x48, reg48 | u_flag); in it8172_set_dma_mode() 98 pci_write_config_byte(dev, 0x4a, reg4a | u_speed); in it8172_set_dma_mode() 102 pci_write_config_byte(dev, 0x48, reg48 & ~u_flag); in it8172_set_dma_mode() 103 pci_write_config_byte(dev, 0x4a, reg4a & ~a_speed); in it8172_set_dma_mode()
|
/drivers/ata/ |
D | pata_cmd640.c | 104 pci_write_config_byte(pdev, arttim, reg); in cmd640_set_piomode() 107 pci_write_config_byte(pdev, arttim + 1, (t.active << 4) | t.recover); in cmd640_set_piomode() 115 pci_write_config_byte(pdev, ARTIM23, reg); in cmd640_set_piomode() 137 pci_write_config_byte(pdev, DRWTIM23, timing->reg58[adev->devno]); in cmd640_qc_issue() 195 pci_write_config_byte(pdev, 0x5B, 0x00); in cmd640_hardware_init() 197 pci_write_config_byte(pdev, CMDTIM, 0); in cmd640_hardware_init() 199 pci_write_config_byte(pdev, BRST, 0x40); in cmd640_hardware_init() 209 pci_write_config_byte(pdev, CNTRL, ctrl | 0xC0); in cmd640_hardware_init() 213 pci_write_config_byte(pdev, ARTIM23, ctrl); in cmd640_hardware_init()
|
D | pata_hpt3x2n.c | 146 pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01); in hpt3x2n_cable_detect() 153 pci_write_config_byte(pdev, 0x5B, scr2); in hpt3x2n_cable_detect() 176 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt3x2n_pre_reset() 196 pci_write_config_byte(pdev, addr2, fast); in hpt3x2n_set_mode() 256 pci_write_config_byte(pdev, mscreg, msc_stat | 0x30); in hpt3x2n_bmdma_stop() 539 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, (L1_CACHE_BYTES / 4)); in hpt3x2n_init_one() 540 pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0x78); in hpt3x2n_init_one() 541 pci_write_config_byte(dev, PCI_MIN_GNT, 0x08); in hpt3x2n_init_one() 542 pci_write_config_byte(dev, PCI_MAX_LAT, 0x08); in hpt3x2n_init_one() 546 pci_write_config_byte(dev, 0x5a, irqmask); in hpt3x2n_init_one() [all …]
|
D | pata_ali.c | 155 pci_write_config_byte(pdev, pio_fifo, fifo); in ali_fifo_control() 187 pci_write_config_byte(pdev, cas, t->setup); in ali_program_modes() 188 pci_write_config_byte(pdev, cbt, (t->act8b << 4) | t->rec8b); in ali_program_modes() 189 pci_write_config_byte(pdev, drwt, (t->active << 4) | t->recover); in ali_program_modes() 196 pci_write_config_byte(pdev, udmat, udma); in ali_program_modes() 259 pci_write_config_byte(pdev, 0x4B, reg4b); in ali_set_dmamode() 351 pci_write_config_byte(ali_isa_bridge, 0x58, r); in ali_c2_c3_postreset() 353 pci_write_config_byte(ali_isa_bridge, 0x58, r); in ali_c2_c3_postreset() 444 pci_write_config_byte(pdev, 0x53, tmp); in ali_init_chipset() 447 pci_write_config_byte(pdev, 0x4a, tmp | 0x20); in ali_init_chipset() [all …]
|
D | pata_hpt37x.c | 338 pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01); in hpt37x_cable_detect() 345 pci_write_config_byte(pdev, 0x5B, scr2); in hpt37x_cable_detect() 402 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt37x_pre_reset() 423 pci_write_config_byte(pdev, addr2, fast); in hpt370_set_mode() 486 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop() 496 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop() 516 pci_write_config_byte(pdev, addr2, fast); in hpt372_set_mode() 576 pci_write_config_byte(pdev, mscreg, msc_stat | 0x30); in hpt37x_bmdma_stop() 896 pci_write_config_byte(dev, 0x50, mcr1); in hpt37x_init_one() 911 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, (L1_CACHE_BYTES / 4)); in hpt37x_init_one() [all …]
|
D | pata_cypress.c | 77 pci_write_config_byte(pdev, CY82_IDE_MASTER_IOR, time_16); in cy82c693_set_piomode() 78 pci_write_config_byte(pdev, CY82_IDE_MASTER_IOW, time_16); in cy82c693_set_piomode() 79 pci_write_config_byte(pdev, CY82_IDE_MASTER_8BIT, time_8); in cy82c693_set_piomode() 87 pci_write_config_byte(pdev, CY82_IDE_SLAVE_IOR, time_16); in cy82c693_set_piomode() 88 pci_write_config_byte(pdev, CY82_IDE_SLAVE_IOW, time_16); in cy82c693_set_piomode() 89 pci_write_config_byte(pdev, CY82_IDE_SLAVE_8BIT, time_8); in cy82c693_set_piomode()
|
D | pata_sis.c | 180 pci_write_config_byte(pdev, 0x4B, 0); in sis_pre_reset() 211 pci_write_config_byte(pdev, 0x4B, fifoctrl); in sis_set_fifo() 248 pci_write_config_byte(pdev, port, t1); in sis_old_set_piomode() 249 pci_write_config_byte(pdev, port + 1, t2); in sis_old_set_piomode() 274 pci_write_config_byte(pdev, port, actrec[speed]); in sis_100_set_piomode() 321 pci_write_config_byte(pdev, port, t1); in sis_133_set_piomode() 434 pci_write_config_byte(pdev, drive_pci + 1, timing); in sis_100_set_dmamode() 468 pci_write_config_byte(pdev, drive_pci + 1, timing); in sis_133_early_set_dmamode() 671 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0x80); in sis_fixup() 675 pci_write_config_byte(pdev, 0x49, reg | 0x01); in sis_fixup() [all …]
|
D | pata_artop.c | 137 pci_write_config_byte(pdev, 0x54, ultra); in artop6210_set_piomode() 163 pci_write_config_byte(pdev, 0x40 + dn, timing[clock][pio]); in artop6260_load_piomode() 190 pci_write_config_byte(pdev, 0x44 + ap->port_no, ultra); in artop6260_set_piomode() 229 pci_write_config_byte(pdev, 0x54, ultra); in artop6210_set_dmamode() 267 pci_write_config_byte(pdev, 0x44 + ap->port_no, ultra); in artop6260_set_dmamode() 320 pci_write_config_byte(pdev, 0x54, 0); in atp8xx_fixup() 329 pci_write_config_byte(pdev, 0x49, reg & ~0x30); in atp8xx_fixup() 336 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0x90); in atp8xx_fixup() 340 pci_write_config_byte(pdev, 0x4a, (reg & ~0x01) | 0x80); in atp8xx_fixup()
|
D | pata_serverworks.c | 206 pci_write_config_byte(pdev, 0x40 + offset, pio_mode[pio]); in serverworks_set_piomode() 241 pci_write_config_byte(pdev, 0x44 + offset, 0x20); in serverworks_set_dmamode() 247 pci_write_config_byte(pdev, 0x44 + offset, in serverworks_set_dmamode() 251 pci_write_config_byte(pdev, 0x56 + ap->port_no, ultra); in serverworks_set_dmamode() 252 pci_write_config_byte(pdev, 0x54, ultra_cfg); in serverworks_set_dmamode() 325 pci_write_config_byte(findev, 0x41, reg41); in serverworks_fixup_csb() 344 pci_write_config_byte(pdev, 0x5A, btr); in serverworks_fixup_csb() 356 pci_write_config_byte(pdev, 0x5A, btr); in serverworks_fixup_ht1000() 364 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0x40); in serverworks_fixup()
|
D | pata_sil680.c | 144 pci_write_config_byte(pdev, addr_mask, mode); in sil680_set_piomode() 194 pci_write_config_byte(pdev, addr_mask, mode); in sil680_set_dmamode() 258 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, in sil680_init_chip() 261 pci_write_config_byte(pdev, 0x80, 0x00); in sil680_init_chip() 262 pci_write_config_byte(pdev, 0x84, 0x00); in sil680_init_chip() 278 pci_write_config_byte(pdev, 0x8A, tmpbyte|0x10); in sil680_init_chip() 283 pci_write_config_byte(pdev, 0x8A, tmpbyte & ~0x20); in sil680_init_chip() 297 pci_write_config_byte(pdev, 0xA1, 0x72); in sil680_init_chip() 302 pci_write_config_byte(pdev, 0xB1, 0x72); in sil680_init_chip()
|
D | pata_cs5530.c | 226 pci_write_config_byte(cs5530_0, PCI_CACHE_LINE_SIZE, 0x04); in cs5530_init_chip() 241 pci_write_config_byte(master_0, 0x40, 0x1e); in cs5530_init_chip() 253 pci_write_config_byte(master_0, 0x41, 0x14); in cs5530_init_chip() 260 pci_write_config_byte(master_0, 0x42, 0x00); in cs5530_init_chip() 261 pci_write_config_byte(master_0, 0x43, 0xc1); in cs5530_init_chip()
|
/drivers/mmc/host/ |
D | sdhci-pci-o2micro.c | 247 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch_8); in sdhci_o2_dll_recovery() 300 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch_8); in sdhci_o2_dll_recovery() 543 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch); in sdhci_pci_o2_set_clock() 553 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch); in sdhci_pci_o2_set_clock() 652 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch); in sdhci_pci_o2_probe() 655 pci_write_config_byte(chip->pdev, O2_SD_MULTI_VCC3V, 0x08); in sdhci_pci_o2_probe() 663 pci_write_config_byte(chip->pdev, O2_SD_CLKREQ, scratch); in sdhci_pci_o2_probe() 672 pci_write_config_byte(chip->pdev, O2_SD_CAPS, scratch); in sdhci_pci_o2_probe() 673 pci_write_config_byte(chip->pdev, O2_SD_CAPS, 0x73); in sdhci_pci_o2_probe() 676 pci_write_config_byte(chip->pdev, O2_SD_ADMA1, 0x39); in sdhci_pci_o2_probe() [all …]
|
/drivers/watchdog/ |
D | alim7101_wdt.c | 101 pci_write_config_byte(alim7101_pmu, in wdt_timer_ping() 103 pci_write_config_byte(alim7101_pmu, in wdt_timer_ping() 108 pci_write_config_byte(alim7101_pmu, in wdt_timer_ping() 110 pci_write_config_byte(alim7101_pmu, in wdt_timer_ping() 130 pci_write_config_byte(alim7101_pmu, in wdt_change() 135 pci_write_config_byte(alim7101_pmu, in wdt_change() 140 pci_write_config_byte(alim7101_pmu, in wdt_change() 145 pci_write_config_byte(alim7101_pmu, in wdt_change() 375 pci_write_config_byte(alim7101_pmu, ALI_7101_WDT, 0x02); in alim7101_wdt_init()
|
/drivers/char/agp/ |
D | intel-agp.c | 112 pci_write_config_byte(agp_bridge->dev, INTEL_APSIZE, previous_size->size_value); in intel_8xx_cleanup() 141 pci_write_config_byte(agp_bridge->dev, INTEL_ERRSTS + 1, 7); in intel_configure() 162 pci_write_config_byte(agp_bridge->dev, INTEL_APSIZE, in intel_815_configure() 179 pci_write_config_byte(agp_bridge->dev, INTEL_815_APCONT, temp2 | (1 << 1)); in intel_815_configure() 198 pci_write_config_byte(agp_bridge->dev, INTEL_I820_RDCR, in intel_820_cleanup() 200 pci_write_config_byte(agp_bridge->dev, INTEL_APSIZE, in intel_820_cleanup() 213 pci_write_config_byte(agp_bridge->dev, INTEL_APSIZE, current_size->size_value); in intel_820_configure() 229 pci_write_config_byte(agp_bridge->dev, INTEL_I820_RDCR, temp2 | (1 << 1)); in intel_820_configure() 243 pci_write_config_byte(agp_bridge->dev, INTEL_APSIZE, current_size->size_value); in intel_840_configure() 271 pci_write_config_byte(agp_bridge->dev, INTEL_APSIZE, current_size->size_value); in intel_845_configure() [all …]
|
/drivers/hwmon/ |
D | k8temp.c | 107 pci_write_config_byte(pdev, REG_TEMP, tmp); in k8temp_read() 173 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe() 182 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe() 189 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe() 198 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
|
/drivers/usb/host/ |
D | xhci-pci-renesas.c | 109 err = pci_write_config_byte(dev, status_reg, BIT(data0_or_data1)); in renesas_fw_download_image() 307 err = pci_write_config_byte(pdev, RENESAS_FW_STATUS, in renesas_fw_download() 345 err = pci_write_config_byte(pdev, RENESAS_FW_STATUS, 0); in renesas_fw_download() 403 retval = pci_write_config_byte(pdev, RENESAS_ROM_STATUS, status); in renesas_rom_erase() 441 err = pci_write_config_byte(pdev, RENESAS_ROM_STATUS, in renesas_setup_rom() 487 err = pci_write_config_byte(pdev, RENESAS_ROM_STATUS, 0); in renesas_setup_rom() 517 err = pci_write_config_byte(pdev, RENESAS_ROM_STATUS, in renesas_setup_rom() 545 pci_write_config_byte(pdev, RENESAS_ROM_STATUS, 0); in renesas_setup_rom()
|