Home
last modified time | relevance | path

Searched refs:pci_write_config_byte (Results 1 – 25 of 237) sorted by relevance

12345678910

/Linux-v4.19/arch/mips/pci/
Dfixup-fuloong2e.c72 pci_write_config_byte(pdev, 0x40, 0x08); in loongson2e_686b_func0_fixup()
75 pci_write_config_byte(pdev, 0x41, 0x01); in loongson2e_686b_func0_fixup()
78 pci_write_config_byte(pdev, 0x45, 0x00); in loongson2e_686b_func0_fixup()
81 pci_write_config_byte(pdev, 0x46, 0xe0); in loongson2e_686b_func0_fixup()
90 pci_write_config_byte(pdev, 0x47, 0xe6); in loongson2e_686b_func0_fixup()
99 pci_write_config_byte(pdev, 0x48, 0x01); in loongson2e_686b_func0_fixup()
102 pci_write_config_byte(pdev, 0x4a, 0x84); in loongson2e_686b_func0_fixup()
109 pci_write_config_byte(pdev, 0x50, 0x0e); in loongson2e_686b_func0_fixup()
116 pci_write_config_byte(pdev, 0x51, 0x76); in loongson2e_686b_func0_fixup()
119 pci_write_config_byte(pdev, 0x52, 0x34); in loongson2e_686b_func0_fixup()
[all …]
Dfixup-malta.c61 pci_write_config_byte(dev, PIIX4_FUNC3_PMREGMISC, in malta_piix_func3_base_fixup()
99 pci_write_config_byte(pdev, PIIX4_FUNC0_TOM, reg_val | in malta_piix_func0_fixup()
111 pci_write_config_byte(pdev, PIIX4_FUNC0_SERIRQC, reg_val); in malta_piix_func0_fixup()
133 pci_write_config_byte(pdev, PIIX4_FUNC1_IDETIM_PRIMARY_HI, in malta_piix_func1_fixup()
137 pci_write_config_byte(pdev, PIIX4_FUNC1_IDETIM_SECONDARY_HI, in malta_piix_func1_fixup()
155 (void) pci_write_config_byte(dev, PIIX4_FUNC0_DLC, ndlc); in quirk_dlcsetup()
Dfixup-cobalt.c64 pci_write_config_byte(dev, 0x40, 0xb); in qube_raq_via_bmIDE_fixup()
69 pci_write_config_byte(dev, PCI_LATENCY_TIMER, 64); in qube_raq_via_bmIDE_fixup()
70 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 8); in qube_raq_via_bmIDE_fixup()
84 pci_write_config_byte(dev, PCI_LATENCY_TIMER, 64); in qube_raq_galileo_fixup()
85 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 8); in qube_raq_galileo_fixup()
Dfixup-lemote2f.c70 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, in pcibios_map_irq()
74 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, in pcibios_map_irq()
81 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, in pcibios_map_irq()
118 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0xc0); in loongson_cs5536_acc_fixup()
/Linux-v4.19/arch/powerpc/platforms/
Dfsl_uli1575.c74 pci_write_config_byte(dev, 0x7c, 0x80); in early_uli5249()
77 pci_write_config_byte(dev, PCI_CLASS_PROG, 0x01); in early_uli5249()
81 pci_write_config_byte(dev, 0x7c, temp); in early_uli5249()
99 pci_write_config_byte(dev, 0x48 + i, val); in quirk_uli1575()
103 pci_write_config_byte(dev, 0x86, ULI_PIRQD); in quirk_uli1575()
106 pci_write_config_byte(dev, 0x87, ULI_PIRQA); in quirk_uli1575()
109 pci_write_config_byte(dev, 0x88, ULI_PIRQB); in quirk_uli1575()
112 pci_write_config_byte(dev, 0x89, ULI_PIRQF); in quirk_uli1575()
115 pci_write_config_byte(dev, 0x8a, ULI_PIRQF); in quirk_uli1575()
118 pci_write_config_byte(dev, 0x8b, ULI_PIRQF); in quirk_uli1575()
[all …]
/Linux-v4.19/arch/powerpc/platforms/44x/
Dvirtex_ml510.c12 pci_write_config_byte(dev, 0x58, 0x4c); in ml510_ali_quirk()
14 pci_write_config_byte(dev, 0x44, 0x0d); in ml510_ali_quirk()
16 pci_write_config_byte(dev, 0x75, 0x0f); in ml510_ali_quirk()
18 pci_write_config_byte(dev, 0x09, 0xff); in ml510_ali_quirk()
21 pci_write_config_byte(dev, 0x48, 0x00); in ml510_ali_quirk()
23 pci_write_config_byte(dev, 0x4a, 0x00); in ml510_ali_quirk()
25 pci_write_config_byte(dev, 0x4b, 0x60); in ml510_ali_quirk()
27 pci_write_config_byte(dev, 0x74, 0x06); in ml510_ali_quirk()
/Linux-v4.19/drivers/ide/
Dit8213.c71 pci_write_config_byte(dev, slave_port, slave_data); in it8213_set_pio_mode()
108 pci_write_config_byte(dev, 0x48, reg48 | u_flag); in it8213_set_dma_mode()
110 pci_write_config_byte(dev, 0x55, (u8) reg55|w_flag); in it8213_set_dma_mode()
112 pci_write_config_byte(dev, 0x55, (u8) reg55 & ~w_flag); in it8213_set_dma_mode()
118 pci_write_config_byte(dev, 0x54, reg54 | v_flag); in it8213_set_dma_mode()
120 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in it8213_set_dma_mode()
125 pci_write_config_byte(dev, 0x48, reg48 & ~u_flag); in it8213_set_dma_mode()
129 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in it8213_set_dma_mode()
131 pci_write_config_byte(dev, 0x55, (u8) reg55 & ~w_flag); in it8213_set_dma_mode()
Dalim15x3.c61 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 …]
Dcy82c693.c124 pci_write_config_byte(dev, CY82_IDE_MASTER_IOR, time_16); in cy82c693_set_pio_mode()
125 pci_write_config_byte(dev, CY82_IDE_MASTER_IOW, time_16); in cy82c693_set_pio_mode()
126 pci_write_config_byte(dev, CY82_IDE_MASTER_8BIT, time_8); in cy82c693_set_pio_mode()
140 pci_write_config_byte(dev, CY82_IDE_SLAVE_IOR, time_16); in cy82c693_set_pio_mode()
141 pci_write_config_byte(dev, CY82_IDE_SLAVE_IOW, time_16); in cy82c693_set_pio_mode()
142 pci_write_config_byte(dev, CY82_IDE_SLAVE_8BIT, time_8); in cy82c693_set_pio_mode()
Dpiix.c124 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()
Dsis5513.c234 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 …]
/Linux-v4.19/drivers/ata/
Dpata_cmd640.c103 pci_write_config_byte(pdev, arttim, reg); in cmd640_set_piomode()
106 pci_write_config_byte(pdev, arttim + 1, (t.active << 4) | t.recover); in cmd640_set_piomode()
114 pci_write_config_byte(pdev, ARTIM23, reg); in cmd640_set_piomode()
136 pci_write_config_byte(pdev, DRWTIM23, timing->reg58[adev->devno]); in cmd640_qc_issue()
194 pci_write_config_byte(pdev, 0x5B, 0x00); in cmd640_hardware_init()
196 pci_write_config_byte(pdev, CMDTIM, 0); in cmd640_hardware_init()
198 pci_write_config_byte(pdev, BRST, 0x40); in cmd640_hardware_init()
208 pci_write_config_byte(pdev, CNTRL, ctrl | 0xC0); in cmd640_hardware_init()
212 pci_write_config_byte(pdev, ARTIM23, ctrl); in cmd640_hardware_init()
Dpata_cypress.c76 pci_write_config_byte(pdev, CY82_IDE_MASTER_IOR, time_16); in cy82c693_set_piomode()
77 pci_write_config_byte(pdev, CY82_IDE_MASTER_IOW, time_16); in cy82c693_set_piomode()
78 pci_write_config_byte(pdev, CY82_IDE_MASTER_8BIT, time_8); in cy82c693_set_piomode()
86 pci_write_config_byte(pdev, CY82_IDE_SLAVE_IOR, time_16); in cy82c693_set_piomode()
87 pci_write_config_byte(pdev, CY82_IDE_SLAVE_IOW, time_16); in cy82c693_set_piomode()
88 pci_write_config_byte(pdev, CY82_IDE_SLAVE_8BIT, time_8); in cy82c693_set_piomode()
Dpata_hpt3x2n.c145 pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01); in hpt3x2n_cable_detect()
152 pci_write_config_byte(pdev, 0x5B, scr2); in hpt3x2n_cable_detect()
175 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt3x2n_pre_reset()
195 pci_write_config_byte(pdev, addr2, fast); in hpt3x2n_set_mode()
255 pci_write_config_byte(pdev, mscreg, msc_stat | 0x30); in hpt3x2n_bmdma_stop()
538 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, (L1_CACHE_BYTES / 4)); in hpt3x2n_init_one()
539 pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0x78); in hpt3x2n_init_one()
540 pci_write_config_byte(dev, PCI_MIN_GNT, 0x08); in hpt3x2n_init_one()
541 pci_write_config_byte(dev, PCI_MAX_LAT, 0x08); in hpt3x2n_init_one()
545 pci_write_config_byte(dev, 0x5a, irqmask); in hpt3x2n_init_one()
[all …]
Dpata_ali.c155 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 …]
Dpata_sis.c179 pci_write_config_byte(pdev, 0x4B, 0); in sis_pre_reset()
210 pci_write_config_byte(pdev, 0x4B, fifoctrl); in sis_set_fifo()
247 pci_write_config_byte(pdev, port, t1); in sis_old_set_piomode()
248 pci_write_config_byte(pdev, port + 1, t2); in sis_old_set_piomode()
273 pci_write_config_byte(pdev, port, actrec[speed]); in sis_100_set_piomode()
320 pci_write_config_byte(pdev, port, t1); in sis_133_set_piomode()
433 pci_write_config_byte(pdev, drive_pci + 1, timing); in sis_100_set_dmamode()
467 pci_write_config_byte(pdev, drive_pci + 1, timing); in sis_133_early_set_dmamode()
670 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0x80); in sis_fixup()
674 pci_write_config_byte(pdev, 0x49, reg | 0x01); in sis_fixup()
[all …]
Dpata_artop.c136 pci_write_config_byte(pdev, 0x54, ultra); in artop6210_set_piomode()
162 pci_write_config_byte(pdev, 0x40 + dn, timing[clock][pio]); in artop6260_load_piomode()
189 pci_write_config_byte(pdev, 0x44 + ap->port_no, ultra); in artop6260_set_piomode()
228 pci_write_config_byte(pdev, 0x54, ultra); in artop6210_set_dmamode()
266 pci_write_config_byte(pdev, 0x44 + ap->port_no, ultra); in artop6260_set_dmamode()
319 pci_write_config_byte(pdev, 0x54, 0); in atp8xx_fixup()
328 pci_write_config_byte(pdev, 0x49, reg & ~0x30); in atp8xx_fixup()
335 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0x90); in atp8xx_fixup()
339 pci_write_config_byte(pdev, 0x4a, (reg & ~0x01) | 0x80); in atp8xx_fixup()
Dpata_hpt37x.c337 pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01); in hpt37x_cable_detect()
344 pci_write_config_byte(pdev, 0x5B, scr2); in hpt37x_cable_detect()
401 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt37x_pre_reset()
422 pci_write_config_byte(pdev, addr2, fast); in hpt370_set_mode()
485 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop()
495 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop()
515 pci_write_config_byte(pdev, addr2, fast); in hpt372_set_mode()
575 pci_write_config_byte(pdev, mscreg, msc_stat | 0x30); in hpt37x_bmdma_stop()
895 pci_write_config_byte(dev, 0x50, mcr1); in hpt37x_init_one()
910 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, (L1_CACHE_BYTES / 4)); in hpt37x_init_one()
[all …]
Dpata_serverworks.c205 pci_write_config_byte(pdev, 0x40 + offset, pio_mode[pio]); in serverworks_set_piomode()
240 pci_write_config_byte(pdev, 0x44 + offset, 0x20); in serverworks_set_dmamode()
246 pci_write_config_byte(pdev, 0x44 + offset, in serverworks_set_dmamode()
250 pci_write_config_byte(pdev, 0x56 + ap->port_no, ultra); in serverworks_set_dmamode()
251 pci_write_config_byte(pdev, 0x54, ultra_cfg); in serverworks_set_dmamode()
324 pci_write_config_byte(findev, 0x41, reg41); in serverworks_fixup_csb()
343 pci_write_config_byte(pdev, 0x5A, btr); in serverworks_fixup_csb()
355 pci_write_config_byte(pdev, 0x5A, btr); in serverworks_fixup_ht1000()
363 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0x40); in serverworks_fixup()
Dpata_sil680.c144 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()
/Linux-v4.19/drivers/mmc/host/
Dsdhci-pci-o2micro.c356 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch); in sdhci_pci_o2_probe()
359 pci_write_config_byte(chip->pdev, O2_SD_MULTI_VCC3V, 0x08); in sdhci_pci_o2_probe()
367 pci_write_config_byte(chip->pdev, O2_SD_CLKREQ, scratch); in sdhci_pci_o2_probe()
376 pci_write_config_byte(chip->pdev, O2_SD_CAPS, scratch); in sdhci_pci_o2_probe()
377 pci_write_config_byte(chip->pdev, O2_SD_CAPS, 0x73); in sdhci_pci_o2_probe()
380 pci_write_config_byte(chip->pdev, O2_SD_ADMA1, 0x39); in sdhci_pci_o2_probe()
381 pci_write_config_byte(chip->pdev, O2_SD_ADMA2, 0x08); in sdhci_pci_o2_probe()
389 pci_write_config_byte(chip->pdev, O2_SD_INF_MOD, scratch); in sdhci_pci_o2_probe()
397 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch); in sdhci_pci_o2_probe()
409 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch); in sdhci_pci_o2_probe()
[all …]
/Linux-v4.19/arch/xtensa/lib/
Dpci-auto.c145 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); in pciauto_setup_irq()
154 pci_write_config_byte(dev, PCI_PRIMARY_BUS, current_bus); in pciauto_prescan_setup_bridge()
155 pci_write_config_byte(dev, PCI_SECONDARY_BUS, sub_bus + 1); in pciauto_prescan_setup_bridge()
156 pci_write_config_byte(dev, PCI_SUBORDINATE_BUS, 0xff); in pciauto_prescan_setup_bridge()
169 pci_write_config_byte(dev, PCI_IO_LIMIT, in pciauto_prescan_setup_bridge()
182 pci_write_config_byte(dev, PCI_SUBORDINATE_BUS, sub_bus); in pciauto_postscan_setup_bridge()
208 pci_write_config_byte(dev, PCI_IO_BASE, in pciauto_postscan_setup_bridge()
310 pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0x80); in pciauto_bus_scan()
/Linux-v4.19/drivers/watchdog/
Dalim7101_wdt.c100 pci_write_config_byte(alim7101_pmu, in wdt_timer_ping()
102 pci_write_config_byte(alim7101_pmu, in wdt_timer_ping()
107 pci_write_config_byte(alim7101_pmu, in wdt_timer_ping()
109 pci_write_config_byte(alim7101_pmu, in wdt_timer_ping()
129 pci_write_config_byte(alim7101_pmu, in wdt_change()
134 pci_write_config_byte(alim7101_pmu, in wdt_change()
139 pci_write_config_byte(alim7101_pmu, in wdt_change()
144 pci_write_config_byte(alim7101_pmu, in wdt_change()
373 pci_write_config_byte(alim7101_pmu, ALI_7101_WDT, 0x02); in alim7101_wdt_init()
/Linux-v4.19/arch/arm/kernel/
Dbios32.c93 pci_write_config_byte(dev, 0x48, 0xff); in pci_fixup_83c553()
100 pci_write_config_byte(dev, 0x42, 0x01); in pci_fixup_83c553()
105 pci_write_config_byte(dev, 0x40, 0x22); in pci_fixup_83c553()
113 pci_write_config_byte(dev, 0x83, 0x02); in pci_fixup_83c553()
119 pci_write_config_byte(dev, 0x80, 0x11); in pci_fixup_83c553()
120 pci_write_config_byte(dev, 0x81, 0x00); in pci_fixup_83c553()
234 pci_write_config_byte(dev, 0x4b, 14); in pci_fixup_cy82c693()
235 pci_write_config_byte(dev, 0x4c, 15); in pci_fixup_cy82c693()
240 pci_write_config_byte(dev, 0x4d, 0x41); in pci_fixup_cy82c693()
245 pci_write_config_byte(dev, 0x44, 0x17); in pci_fixup_cy82c693()
[all …]
/Linux-v4.19/drivers/hwmon/
Dk8temp.c66 pci_write_config_byte(pdev, REG_TEMP, tmp); in k8temp_update_device()
71 pci_write_config_byte(pdev, REG_TEMP, tmp); in k8temp_update_device()
79 pci_write_config_byte(pdev, REG_TEMP, tmp); in k8temp_update_device()
85 pci_write_config_byte(pdev, REG_TEMP, tmp); in k8temp_update_device()
217 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
226 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
233 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
242 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()

12345678910