Home
last modified time | relevance | path

Searched refs:pci_read_config_byte (Results 1 – 25 of 270) sorted by relevance

1234567891011

/openbmc/linux/arch/mips/pci/
H A Dfixup-malta.c84 pci_read_config_byte(pdev, PIIX4_FUNC0_PIRQRC+i, &reg_val); in malta_piix_func0_fixup()
98 pci_read_config_byte(pdev, PIIX4_FUNC0_TOM, &reg_val); in malta_piix_func0_fixup()
109 pci_read_config_byte(pdev, PIIX4_FUNC0_SERIRQC, &reg_val); in malta_piix_func0_fixup()
131 pci_read_config_byte(pdev, PIIX4_FUNC1_IDETIM_PRIMARY_HI, in malta_piix_func1_fixup()
135 pci_read_config_byte(pdev, PIIX4_FUNC1_IDETIM_SECONDARY_HI, in malta_piix_func1_fixup()
150 (void) pci_read_config_byte(dev, PIIX4_FUNC0_DLC, &odlc); in quirk_dlcsetup()
/openbmc/linux/drivers/ata/
H A Dpata_artop.c79 pci_read_config_byte(pdev, 0x49, &tmp); in artop6260_cable_detect()
135 pci_read_config_byte(pdev, 0x54, &ultra); in artop6210_set_piomode()
188 pci_read_config_byte(pdev, 0x44 + ap->port_no, &ultra); in artop6260_set_piomode()
219 pci_read_config_byte(pdev, 0x54, &ultra); in artop6210_set_dmamode()
259 pci_read_config_byte(pdev, 0x44 + ap->port_no, &ultra); in artop6260_set_dmamode()
331 pci_read_config_byte(pdev, 0x49, &reg); in atp8xx_fixup()
337 pci_read_config_byte(pdev, PCI_LATENCY_TIMER, &reg); in atp8xx_fixup()
342 pci_read_config_byte(pdev, 0x4a, &reg); in atp8xx_fixup()
H A Dpata_hpt3x2n.c136 pci_read_config_byte(pdev, 0x5B, &scr2); in hpt3x2n_cable_detect()
142 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt3x2n_cable_detect()
179 pci_read_config_byte(pdev, 0x51 + 4 * ap->port_no, &mcr2); in hpt3x2n_pre_reset()
248 pci_read_config_byte(pdev, 0x6A, &bwsr_stat); in hpt3x2n_bmdma_stop()
249 pci_read_config_byte(pdev, mscreg, &msc_stat); in hpt3x2n_bmdma_stop()
387 pci_read_config_byte(dev, 0x5b, &reg5b); in hpt3xn_calibrate_dpll()
391 pci_read_config_byte(dev, 0x5b, &reg5b); in hpt3xn_calibrate_dpll()
543 pci_read_config_byte(dev, 0x5A, &irqmask); in hpt3x2n_init_one()
555 pci_read_config_byte(dev, 0x50, &mcr1); in hpt3x2n_init_one()
H A Dpata_ali.c102 pci_read_config_byte(pdev, 0x4A, &ata66); in ali_c2_cable_detect()
152 pci_read_config_byte(pdev, pio_fifo, &fifo); in ali_fifo_control()
193 pci_read_config_byte(pdev, udmat, &udma); in ali_program_modes()
257 pci_read_config_byte(pdev, 0x4B, &reg4b); in ali_set_dmamode()
349 pci_read_config_byte(ali_isa_bridge, 0x58, &r); in ali_c2_c3_postreset()
442 pci_read_config_byte(pdev, 0x53, &tmp); in ali_init_chipset()
446 pci_read_config_byte(pdev, 0x4a, &tmp); in ali_init_chipset()
448 pci_read_config_byte(pdev, 0x4B, &tmp); in ali_init_chipset()
462 pci_read_config_byte(pdev, 0x53, &tmp); in ali_init_chipset()
474 pci_read_config_byte(ali_isa_bridge, 0x79, &tmp); in ali_init_chipset()
[all …]
H A Dpata_optidma.c210 pci_read_config_byte(pdev, 0x44, &udcfg); in optiplus_mode_setup()
217 pci_read_config_byte(pdev, 0x45, &udslave); in optiplus_mode_setup()
327 pci_read_config_byte(pdev, 0x43, &r); in optidma_set_mode()
374 pci_read_config_byte(dev1, 0x08, &r); in optiplus_with_udma()
378 pci_read_config_byte(dev1, 0x5F, &r); in optiplus_with_udma()
386 pci_read_config_byte(pdev, 0x42, &r); in optiplus_with_udma()
389 pci_read_config_byte(dev1, 0x52, &r); in optiplus_with_udma()
H A Dpata_sis.c148 pci_read_config_byte(pdev, 0x48, &tmp); in sis_66_cable_detect()
204 pci_read_config_byte(pdev, 0x4B, &fifoctrl); in sis_set_fifo()
238 pci_read_config_byte(pdev, port, &t1); in sis_old_set_piomode()
239 pci_read_config_byte(pdev, port + 1, &t2); in sis_old_set_piomode()
423 pci_read_config_byte(pdev, drive_pci + 1, &timing); in sis_100_set_dmamode()
673 pci_read_config_byte(pdev, 0x49, &reg); in sis_fixup()
683 pci_read_config_byte(pdev, 0x52, &reg); in sis_fixup()
690 pci_read_config_byte(pdev, PCI_CLASS_PROG, &reg); in sis_fixup()
699 pci_read_config_byte(pdev, 0x52, &reg); in sis_fixup()
839 pci_read_config_byte(pdev, 0x4a, &idecfg); in sis_init_one()
[all …]
H A Dpata_efar.c65 pci_read_config_byte(pdev, 0x47, &tmp); in efar_cable_detect()
132 pci_read_config_byte(dev, 0x44, &slave_data); in efar_set_piomode()
141 pci_read_config_byte(dev, 0x48, &udma_enable); in efar_set_piomode()
178 pci_read_config_byte(dev, 0x48, &udma_enable); in efar_set_dmamode()
217 pci_read_config_byte(dev, 0x44, &slave_data); in efar_set_dmamode()
H A Dpata_sil680.c86 pci_read_config_byte(pdev, addr, &ata66); in sil680_cable_detect()
131 pci_read_config_byte(pdev, addr_mask, &mode); in sil680_set_piomode()
171 pci_read_config_byte(pdev, 0x8A, &scsc); in sil680_set_dmamode()
172 pci_read_config_byte(pdev, addr_mask, &mode); in sil680_set_dmamode()
221 pci_read_config_byte(pdev, addr, &val); in sil680_sff_irq_check()
261 pci_read_config_byte(pdev, 0x8A, &tmpbyte); in sil680_init_chip()
290 pci_read_config_byte(pdev, 0x8A, &tmpbyte); in sil680_init_chip()
H A Dpata_hpt37x.c337 pci_read_config_byte(pdev, 0x5B, &scr2); in hpt37x_cable_detect()
343 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt37x_cable_detect()
371 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt374_fn1_cable_detect()
410 pci_read_config_byte(pdev, 0x51 + 4 * ap->port_no, &mcr2); in hpt37x_pre_reset()
521 pci_read_config_byte(pdev, 0x6A, &bwsr_stat); in hpt37x_bmdma_stop()
522 pci_read_config_byte(pdev, mscreg, &msc_stat); in hpt37x_bmdma_stop()
628 pci_read_config_byte(dev, 0x5b, &reg5b); in hpt37x_calibrate_dpll()
632 pci_read_config_byte(dev, 0x5b, &reg5b); in hpt37x_calibrate_dpll()
873 pci_read_config_byte(dev, 0x50, &mcr1); in hpt37x_init_one()
896 pci_read_config_byte(dev, 0x5A, &irqmask); in hpt37x_init_one()
[all …]
H A Dpata_cmd64x.c79 pci_read_config_byte(pdev, BMIDECSR, &r); in cmd648_cable_detect()
160 pci_read_config_byte(pdev, arttim, &reg); in cmd64x_set_timing()
204 pci_read_config_byte(pdev, pciD, &regD); in cmd64x_set_dmamode()
205 pci_read_config_byte(pdev, pciU, &regU); in cmd64x_set_dmamode()
247 pci_read_config_byte(pdev, irq_reg, &irq_stat); in cmd64x_sff_irq_check()
268 pci_read_config_byte(pdev, irq_reg, &irq_stat); in cmd64x_sff_irq_clear()
366 pci_read_config_byte(pdev, MRDMODE, &mrdmode); in cmd64x_fixup()
475 pci_read_config_byte(pdev, CNTRL, &reg); in cmd64x_init_one()
H A Dpata_cmd640.c101 pci_read_config_byte(pdev, arttim, &reg); in cmd640_set_piomode()
112 pci_read_config_byte(pdev, ARTIM23, &reg); in cmd640_set_piomode()
170 pci_read_config_byte(pdev, irq_reg, &irq_stat); in cmd640_sff_irq_check()
208 pci_read_config_byte(pdev, CNTRL, &ctrl); in cmd640_hardware_init()
211 pci_read_config_byte(pdev, ARTIM23, &ctrl); in cmd640_hardware_init()
H A Dpata_it8213.c58 pci_read_config_byte(pdev, 0x42, &tmp); in it8213_cable_detect()
118 pci_read_config_byte(dev, 0x44, &slave_data); in it8213_set_piomode()
156 pci_read_config_byte(dev, 0x48, &udma_enable); in it8213_set_dmamode()
212 pci_read_config_byte(dev, 0x44, &slave_data); in it8213_set_dmamode()
H A Dsata_via.c211 pci_read_config_byte(pdev, 0xA0 + slot, &raw); in vt8251_scr_read()
233 pci_read_config_byte(pdev, 0xA4 + slot, &raw); in vt8251_scr_read()
396 pci_read_config_byte(pdev, PATA_UDMA_TIMING, &tmp); in vt6421_pata_cable_detect()
539 pci_read_config_byte(pdev, 0x52, &tmp8); in svia_wd_fix()
599 pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, &tmp8); in svia_configure()
604 pci_read_config_byte(pdev, SATA_CHAN_ENAB, &tmp8); in svia_configure()
613 pci_read_config_byte(pdev, SATA_INT_GATE, &tmp8); in svia_configure()
622 pci_read_config_byte(pdev, SATA_NATIVE_MODE, &tmp8); in svia_configure()
633 pci_read_config_byte(pdev, SVIA_MISC_3, &tmp8); in svia_configure()
H A Dpata_serverworks.c238 pci_read_config_byte(pdev, 0x54, &ultra_cfg); in serverworks_set_dmamode()
239 pci_read_config_byte(pdev, 0x56 + ap->port_no, &ultra); in serverworks_set_dmamode()
326 pci_read_config_byte(findev, 0x41, &reg41); in serverworks_fixup_csb()
341 pci_read_config_byte(pdev, 0x5A, &btr); in serverworks_fixup_csb()
356 pci_read_config_byte(pdev, 0x5A, &btr); in serverworks_fixup_ht1000()
/openbmc/linux/drivers/usb/host/
H A Dxhci-pci-renesas.c77 err = pci_read_config_byte(dev, status_reg, &fw_status); in renesas_fw_download_image()
229 err = pci_read_config_byte(pdev, RENESAS_FW_STATUS, &fw_state); in renesas_fw_check_running()
325 err = pci_read_config_byte(pdev, RENESAS_FW_STATUS_MSB, in renesas_fw_download()
347 err = pci_read_config_byte(pdev, RENESAS_FW_STATUS, &fw_status); in renesas_fw_download()
392 retval = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, &status); in renesas_rom_erase()
409 retval = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, in renesas_rom_erase()
443 err = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, &status); in renesas_setup_rom()
468 err = pci_read_config_byte(pdev, RENESAS_ROM_STATUS_MSB, in renesas_setup_rom()
491 err = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, &status); in renesas_setup_rom()
525 err = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, &status); in renesas_setup_rom()
/openbmc/linux/arch/mips/txx9/generic/
H A Dpci.c277 pci_read_config_byte(dev, 0x64, &reg_64); in quirk_slc90e66_bridge()
279 pci_read_config_byte(dev, 0xe1, &reg_e1); in quirk_slc90e66_bridge()
310 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &dat); in quirk_slc90e66_ide()
314 pci_read_config_byte(dev, regs[i], &dat); in quirk_slc90e66_ide()
316 pci_read_config_byte(dev, regs[i], &dat); in quirk_slc90e66_ide()
319 pci_read_config_byte(dev, 0x5c, &dat); in quirk_slc90e66_ide()
331 pci_read_config_byte(dev, 0x5c, &dat); in quirk_slc90e66_ide()
352 ret = pci_read_config_byte(dev, PCI_BIST, &bist); in final_fixup()
361 pci_read_config_byte(dev, PCI_BIST, &bist); in final_fixup()
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-pci-o2micro.c254 pci_read_config_byte(chip->pdev, in sdhci_o2_dll_recovery()
307 pci_read_config_byte(chip->pdev, in sdhci_o2_dll_recovery()
595 pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch); in sdhci_pci_o2_set_clock()
823 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
834 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
856 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
864 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
875 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
961 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
971 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
[all …]
/openbmc/linux/drivers/hwmon/
H A Di5500_temp.c52 pci_read_config_byte(pdev, REG_TSFSC, &tsfsc); in i5500_read()
68 pci_read_config_byte(pdev, REG_CTSTS, &ctsts); in i5500_read()
72 pci_read_config_byte(pdev, REG_CTSTS, &ctsts); in i5500_read()
126 pci_read_config_byte(pdev, REG_TSFSC, &tsfsc); in i5500_temp_probe()
H A Dk8temp.c101 pci_read_config_byte(pdev, REG_TEMP, &tmp); in k8temp_read()
171 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
174 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
185 pci_read_config_byte(pdev, REG_TEMP, &data->sensorsp); in k8temp_probe()
/openbmc/linux/drivers/watchdog/
H A Dalim7101_wdt.c100 pci_read_config_byte(alim7101_pmu, 0x92, &tmp); in wdt_timer_ping()
106 pci_read_config_byte(alim7101_pmu, in wdt_timer_ping()
128 pci_read_config_byte(alim7101_pmu, ALI_7101_WDT, &tmp); in wdt_change()
133 pci_read_config_byte(alim7101_pmu, in wdt_change()
143 pci_read_config_byte(alim7101_pmu, in wdt_change()
383 pci_read_config_byte(ali1543_south, 0x5e, &tmp); in alim7101_wdt_init()
/openbmc/linux/arch/powerpc/platforms/
H A Dfsl_uli1575.c73 pci_read_config_byte(dev, 0x7c, &temp); in early_uli5249()
187 pci_read_config_byte(dev, 0x83, &c); in quirk_uli5288()
198 pci_read_config_byte(dev, 0x84, &c); in quirk_uli5288()
279 pci_read_config_byte(dev, 0x83, &c); in hpcd_quirk_uli5288()
286 pci_read_config_byte(dev, 0x83, &c); in hpcd_quirk_uli5288()
305 pci_read_config_byte(dev, 0x4b, &c); in hpcd_quirk_uli5229()
/openbmc/linux/drivers/cpufreq/
H A Dgx-suspmod.c307 pci_read_config_byte(gx_params->cs55x0, PCI_SUSCFG, &suscfg); in gx_set_cpuspeed()
469 pci_read_config_byte(params->cs55x0, PCI_SUSCFG, &(params->pci_suscfg)); in cpufreq_gx_init()
470 pci_read_config_byte(params->cs55x0, PCI_PMER1, &(params->pci_pmer1)); in cpufreq_gx_init()
471 pci_read_config_byte(params->cs55x0, PCI_PMER2, &(params->pci_pmer2)); in cpufreq_gx_init()
472 pci_read_config_byte(params->cs55x0, PCI_MODON, &(params->on_duration)); in cpufreq_gx_init()
473 pci_read_config_byte(params->cs55x0, PCI_MODOFF, in cpufreq_gx_init()
/openbmc/linux/drivers/mtd/maps/
H A Dck804xrom.c89 pci_read_config_byte(window->pdev, 0x6d, &byte); in ck804xrom_cleanup()
138 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
142 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
153 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
156 pci_read_config_byte(pdev, 0x8c, &byte); in ck804xrom_init_one()
188 pci_read_config_byte(pdev, 0x6d, &byte); in ck804xrom_init_one()
/openbmc/linux/arch/x86/pci/
H A Dfixup.c27 pci_read_config_byte(d, reg++, &busno); in pci_fixup_i450nx()
28 pci_read_config_byte(d, reg++, &suba); in pci_fixup_i450nx()
29 pci_read_config_byte(d, reg++, &subb); in pci_fixup_i450nx()
48 pci_read_config_byte(d, 0x4a, &busno); in pci_fixup_i450gx()
131 pci_read_config_byte(d, where, &v); in pci_fixup_via_northbridge_bug()
390 pci_read_config_byte(dev, 0x50, &val); in pci_fixup_msi_k8t_onboard_sound()
395 pci_read_config_byte(dev, 0x50, &val); in pci_fixup_msi_k8t_onboard_sound()
463 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, (u8 *)&dev->irq); in pci_post_fixup_toshiba_ohci1394()
481 pci_read_config_byte(dev, 0x42, &r); in pci_early_fixup_cyrix_5530()
516 pci_read_config_byte(dev, 0x08, &val); in sb600_disable_hpet_bar()
/openbmc/linux/drivers/char/hw_random/
H A Damd-rng.c100 pci_read_config_byte(priv->pcidev, 0x40, &rnen); in amd_rng_init()
104 pci_read_config_byte(priv->pcidev, 0x41, &rnen); in amd_rng_init()
116 pci_read_config_byte(priv->pcidev, 0x40, &rnen); in amd_rng_cleanup()

1234567891011