Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.15/arch/mips/pci/
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()
/Linux-v5.15/arch/mips/txx9/generic/
Dpci.c276 pci_read_config_byte(dev, 0x64, &reg_64); in quirk_slc90e66_bridge()
278 pci_read_config_byte(dev, 0xe1, &reg_e1); in quirk_slc90e66_bridge()
309 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &dat); in quirk_slc90e66_ide()
313 pci_read_config_byte(dev, regs[i], &dat); in quirk_slc90e66_ide()
315 pci_read_config_byte(dev, regs[i], &dat); in quirk_slc90e66_ide()
318 pci_read_config_byte(dev, 0x5c, &dat); in quirk_slc90e66_ide()
330 pci_read_config_byte(dev, 0x5c, &dat); in quirk_slc90e66_ide()
349 if (pci_read_config_byte(dev, PCI_BIST, &bist) == PCIBIOS_SUCCESSFUL && in final_fixup()
357 pci_read_config_byte(dev, PCI_BIST, &bist); in final_fixup()
/Linux-v5.15/drivers/ata/
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()
328 pci_read_config_byte(pdev, 0x49, &reg); in atp8xx_fixup()
334 pci_read_config_byte(pdev, PCI_LATENCY_TIMER, &reg); in atp8xx_fixup()
339 pci_read_config_byte(pdev, 0x4a, &reg); in atp8xx_fixup()
Dpata_hpt3x2n.c145 pci_read_config_byte(pdev, 0x5B, &scr2); in hpt3x2n_cable_detect()
151 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt3x2n_cable_detect()
194 pci_read_config_byte(pdev, addr2, &fast); in hpt3x2n_set_mode()
253 pci_read_config_byte(pdev, 0x6A, &bwsr_stat); in hpt3x2n_bmdma_stop()
254 pci_read_config_byte(pdev, mscreg, &msc_stat); in hpt3x2n_bmdma_stop()
392 pci_read_config_byte(dev, 0x5b, &reg5b); in hpt3xn_calibrate_dpll()
396 pci_read_config_byte(dev, 0x5b, &reg5b); in hpt3xn_calibrate_dpll()
544 pci_read_config_byte(dev, 0x5A, &irqmask); in hpt3x2n_init_one()
556 pci_read_config_byte(dev, 0x50, &mcr1); in hpt3x2n_init_one()
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 …]
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()
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()
457 pci_read_config_byte(pdev, drive_pci + 1, &timing); in sis_133_early_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()
[all …]
Dpata_hpt37x.c339 pci_read_config_byte(pdev, 0x5B, &scr2); in hpt37x_cable_detect()
345 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt37x_cable_detect()
373 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt374_fn1_cable_detect()
422 pci_read_config_byte(pdev, addr2, &fast); in hpt370_set_mode()
516 pci_read_config_byte(pdev, addr2, &fast); in hpt372_set_mode()
575 pci_read_config_byte(pdev, 0x6A, &bwsr_stat); in hpt37x_bmdma_stop()
576 pci_read_config_byte(pdev, mscreg, &msc_stat); in hpt37x_bmdma_stop()
685 pci_read_config_byte(dev, 0x5b, &reg5b); in hpt37x_calibrate_dpll()
689 pci_read_config_byte(dev, 0x5b, &reg5b); in hpt37x_calibrate_dpll()
896 pci_read_config_byte(dev, 0x50, &mcr1); in hpt37x_init_one()
[all …]
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()
Dpata_sil680.c90 pci_read_config_byte(pdev, addr, &ata66); in sil680_cable_detect()
135 pci_read_config_byte(pdev, addr_mask, &mode); in sil680_set_piomode()
175 pci_read_config_byte(pdev, 0x8A, &scsc); in sil680_set_dmamode()
176 pci_read_config_byte(pdev, addr_mask, &mode); in sil680_set_dmamode()
226 pci_read_config_byte(pdev, addr, &val); in sil680_sff_irq_check()
266 pci_read_config_byte(pdev, 0x8A, &tmpbyte); in sil680_init_chip()
295 pci_read_config_byte(pdev, 0x8A, &tmpbyte); in sil680_init_chip()
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()
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()
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()
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()
Dpata_serverworks.c236 pci_read_config_byte(pdev, 0x54, &ultra_cfg); in serverworks_set_dmamode()
237 pci_read_config_byte(pdev, 0x56 + ap->port_no, &ultra); in serverworks_set_dmamode()
324 pci_read_config_byte(findev, 0x41, &reg41); in serverworks_fixup_csb()
339 pci_read_config_byte(pdev, 0x5A, &btr); in serverworks_fixup_csb()
354 pci_read_config_byte(pdev, 0x5A, &btr); in serverworks_fixup_ht1000()
/Linux-v5.15/drivers/usb/host/
Dxhci-pci-renesas.c77 err = pci_read_config_byte(dev, status_reg, &fw_status); in renesas_fw_download_image()
233 err = pci_read_config_byte(pdev, RENESAS_FW_STATUS, &fw_state); in renesas_fw_check_running()
329 err = pci_read_config_byte(pdev, RENESAS_FW_STATUS_MSB, in renesas_fw_download()
351 err = pci_read_config_byte(pdev, RENESAS_FW_STATUS, &fw_status); in renesas_fw_download()
396 retval = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, &status); in renesas_rom_erase()
413 retval = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, in renesas_rom_erase()
447 err = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, &status); in renesas_setup_rom()
472 err = pci_read_config_byte(pdev, RENESAS_ROM_STATUS_MSB, in renesas_setup_rom()
495 err = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, &status); in renesas_setup_rom()
529 err = pci_read_config_byte(pdev, RENESAS_ROM_STATUS, &status); in renesas_setup_rom()
/Linux-v5.15/arch/powerpc/platforms/
Dfsl_uli1575.c69 pci_read_config_byte(dev, 0x7c, &temp); in early_uli5249()
183 pci_read_config_byte(dev, 0x83, &c); in quirk_uli5288()
194 pci_read_config_byte(dev, 0x84, &c); in quirk_uli5288()
275 pci_read_config_byte(dev, 0x83, &c); in hpcd_quirk_uli5288()
282 pci_read_config_byte(dev, 0x83, &c); in hpcd_quirk_uli5288()
301 pci_read_config_byte(dev, 0x4b, &c); in hpcd_quirk_uli5229()
/Linux-v5.15/drivers/watchdog/
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()
/Linux-v5.15/drivers/mmc/host/
Dsdhci-pci-o2micro.c241 pci_read_config_byte(chip->pdev, in sdhci_o2_dll_recovery()
294 pci_read_config_byte(chip->pdev, in sdhci_o2_dll_recovery()
537 pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch); in sdhci_pci_o2_set_clock()
547 pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch); in sdhci_pci_o2_set_clock()
644 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
655 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
665 ret = pci_read_config_byte(chip->pdev, O2_SD_CAPS, &scratch); in sdhci_pci_o2_probe()
677 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
685 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
696 ret = pci_read_config_byte(chip->pdev, in sdhci_pci_o2_probe()
[all …]
/Linux-v5.15/arch/x86/pci/
Dfixup.c24 pci_read_config_byte(d, reg++, &busno); in pci_fixup_i450nx()
25 pci_read_config_byte(d, reg++, &suba); in pci_fixup_i450nx()
26 pci_read_config_byte(d, reg++, &subb); in pci_fixup_i450nx()
45 pci_read_config_byte(d, 0x4a, &busno); in pci_fixup_i450gx()
128 pci_read_config_byte(d, where, &v); in pci_fixup_via_northbridge_bug()
387 pci_read_config_byte(dev, 0x50, &val); in pci_fixup_msi_k8t_onboard_sound()
392 pci_read_config_byte(dev, 0x50, &val); in pci_fixup_msi_k8t_onboard_sound()
460 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, (u8 *)&dev->irq); in pci_post_fixup_toshiba_ohci1394()
478 pci_read_config_byte(dev, 0x42, &r); in pci_early_fixup_cyrix_5530()
513 pci_read_config_byte(dev, 0x08, &val); in sb600_disable_hpet_bar()
/Linux-v5.15/drivers/cpufreq/
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()
/Linux-v5.15/drivers/hwmon/
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()
Di5500_temp.c46 pci_read_config_byte(pdev, REG_TSFSC, &tsfsc); in temp1_input_show()
73 pci_read_config_byte(pdev, REG_CTSTS, &ctsts); in alarm_show()
117 pci_read_config_byte(pdev, REG_TSFSC, &tsfsc); in i5500_temp_probe()
/Linux-v5.15/drivers/mtd/maps/
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()
/Linux-v5.15/drivers/char/hw_random/
Damd-rng.c99 pci_read_config_byte(priv->pcidev, 0x40, &rnen); in amd_rng_init()
103 pci_read_config_byte(priv->pcidev, 0x41, &rnen); in amd_rng_init()
115 pci_read_config_byte(priv->pcidev, 0x40, &rnen); in amd_rng_cleanup()

1234567891011