/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_osdep.c | 46 pci_write_config(((struct e1000_osdep *)hw->back)->dev, reg, *value, 2); in e1000_write_pci_cfg() 58 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND, in e1000_pci_set_mwi() 65 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND, in e1000_pci_clear_mwi() 93 pci_write_config(dev, offset + reg, *value, 2); in e1000_write_pcie_cap_reg()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_pci.c | 196 pci_write_config(dev, PCIR_CACHELNSZ, in ath_pci_setup() 201 pci_write_config(dev, PCIR_LATTIMER, 0xa8, 1); in ath_pci_setup() 210 pci_write_config(dev, PCIR_CFG_PMCSR, pmcsr, 2); in ath_pci_setup() 212 pci_write_config(dev, PCIR_CFG_PMCSR, pmcsr, 2); in ath_pci_setup() 220 pci_write_config(dev, PCIR_RETRY_TIMEOUT, 0, 1); in ath_pci_setup()
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | pci.cpp | 73 pci_write_config(device_t dev, int offset, uint32_t value, int size) in pci_write_config() function 185 pci_write_config(dev, PCI_command, command | bit, 2); in pci_set_command_bit() 364 pci_write_config(dev, cap + PCIR_EXPRESS_DEVICE_CTL, val, 2); in pci_set_max_read_req() 456 pci_write_config(dev, capabilityRegister + PCIR_POWER_STATUS, in pci_set_powerstate()
|
/haiku/src/libs/compat/freebsd_network/compat/dev/pci/ |
H A D | pcivar.h | 39 void pci_write_config(device_t dev, int reg, uint32_t val, int width);
|
/haiku/src/add-ons/kernel/bus_managers/pci/ |
H A D | pci_root.cpp | 153 &pci_write_config
|
H A D | pci_module.cpp | 85 .write_pci_config = pci_write_config,
|
H A D | pci.h | 231 void pci_write_config(uint8 virtualBus, uint8 device, uint8 function,
|
/haiku/src/libs/compat/openbsd_network/compat/dev/pci/ |
H A D | pcivar.h | 31 pci_write_config(SC_DEV_FOR_PCI, reg, val, sizeof(pcireg_t))
|
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/dev/bfe/ |
H A D | if_bfereg.h | 427 pci_write_config(dev, reg, (pci_read_config(dev, reg, s) | (x)), s) 429 pci_write_config(dev, reg, (pci_read_config(dev, reg, s) & ~(x)), s)
|
H A D | if_bfe.c | 865 pci_write_config(sc->bfe_dev, BFE_BAR0_WIN, BFE_REG_PCI, 4); in bfe_pci_setup() 875 pci_write_config(sc->bfe_dev, BFE_BAR0_WIN, bar_orig, 4); in bfe_pci_setup()
|
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/ |
H A D | if_bge.c | 565 pci_write_config(dev, BGE_PCI_MEMWIN_BASEADDR, off, 4); in bge_readmem_ind() 567 pci_write_config(dev, BGE_PCI_MEMWIN_BASEADDR, 0, 4); in bge_readmem_ind() 582 pci_write_config(dev, BGE_PCI_MEMWIN_BASEADDR, off, 4); in bge_writemem_ind() 583 pci_write_config(dev, BGE_PCI_MEMWIN_DATA, val, 4); in bge_writemem_ind() 584 pci_write_config(dev, BGE_PCI_MEMWIN_BASEADDR, 0, 4); in bge_writemem_ind() 595 pci_write_config(dev, BGE_PCI_REG_BASEADDR, off, 4); in bge_readreg_ind() 607 pci_write_config(dev, BGE_PCI_REG_BASEADDR, off, 4); in bge_writereg_ind() 608 pci_write_config(dev, BGE_PCI_REG_DATA, val, 4); in bge_writereg_ind() 1748 pci_write_config(sc->bge_dev, BGE_PCI_MISC_CTL, misc_ctl, 4); in bge_chipinit() 1770 pci_write_config(sc->bge_dev, BGE_PCI_MSI_DATA + 2, val, 2); in bge_chipinit() [all …]
|
H A D | if_bgereg.h | 2205 pci_write_config(sc->bge_dev, BGE_PCI_MEMWIN_BASEADDR, \ 2212 pci_write_config(sc->bge_dev, BGE_PCI_MEMWIN_BASEADDR, \ 2827 pci_write_config(dev, reg, (pci_read_config(dev, reg, s) | (x)), s) 2829 pci_write_config(dev, reg, (pci_read_config(dev, reg, s) & ~(x)), s)
|
/haiku/src/add-ons/kernel/drivers/network/ether/via_rhine/dev/vr/ |
H A D | if_vr.c | 745 pci_write_config(dev, VR_PCI_MODE2, in vr_attach() 750 pci_write_config(dev, VR_PCI_MODE2, in vr_attach() 754 pci_write_config(dev, VR_PCI_MODE3, in vr_attach() 759 pci_write_config(dev, VR_PCI_MODE2, in vr_attach() 765 pci_write_config(dev, VR_PCI_MODE2, in vr_attach() 1765 pci_write_config(sc->vr_dev, PCIR_STATUS, pcis, 2); in vr_error() 2586 pci_write_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in vr_setwol()
|
/haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/dev/jme/ |
H A D | if_jme.c | 448 pci_write_config(sc->jme_dev, JME_EFUSE_CTL2, reg, 4); in jme_efuse_macaddr() 451 pci_write_config(sc->jme_dev, JME_EFUSE_CTL2, reg, 4); in jme_efuse_macaddr() 457 pci_write_config(sc->jme_dev, JME_EFUSE_CTL1, reg, 4); in jme_efuse_macaddr() 539 pci_write_config(sc->jme_dev, JME_EFUSE_EEPROM, in jme_set_macaddr() 1626 pci_write_config(sc->jme_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in jme_setwol() 1664 pci_write_config(sc->jme_dev, in jme_resume() 3378 pci_write_config(sc->jme_dev, JME_PCI_PE1, reg, 4); in jme_phy_down() 3398 pci_write_config(sc->jme_dev, JME_PCI_PE1, reg, 4); in jme_phy_up()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | if_bwi.c | 665 pci_write_config(sc->sc_dev, BWI_PCIR_GPIO_OUT, gpio_out, 4); in bwi_power_on() 666 pci_write_config(sc->sc_dev, BWI_PCIR_GPIO_ENABLE, gpio_en, 4); in bwi_power_on() 672 pci_write_config(sc->sc_dev, BWI_PCIR_GPIO_OUT, gpio_out, 4); in bwi_power_on() 680 pci_write_config(sc->sc_dev, PCIR_STATUS, status, 2); in bwi_power_on() 699 pci_write_config(sc->sc_dev, BWI_PCIR_GPIO_OUT, gpio_out, 4); in bwi_power_off() 700 pci_write_config(sc->sc_dev, BWI_PCIR_GPIO_ENABLE, gpio_en, 4); in bwi_power_off() 739 pci_write_config(sc->sc_dev, BWI_PCIR_SEL_REGWIN, win, 4); in bwi_regwin_select() 938 pci_write_config(sc->sc_dev, BWI_PCIR_INTCTL, val, 4); in bwi_bus_init()
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis900/dev/sis/ |
H A D | if_sis.c | 394 pci_write_config(bridge, 0x48, reg|0x40, 1); in sis_read_cmos() 406 pci_write_config(bridge, 0x48, reg & ~0x40, 1); in sis_read_cmos() 2358 pci_write_config(sc->sis_dev, in sis_wol()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/pci/ |
H A D | rtwn_pci_attach.c | 651 pci_write_config(dev, cap_off + PCIER_LINK_CTL, lcsr, 4); in rtwn_pci_attach()
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/dev/rl/ |
H A D | if_rl.c | 1997 pci_write_config(sc->rl_dev, in rl_resume() 2094 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in rl_setwol()
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/ |
H A D | if_sge.c | 308 pci_write_config(dev, 0x48, reg & ~0x02, 1); in sge_get_mac_addr_apc() 320 pci_write_config(dev, 0x48, reg, 1); in sge_get_mac_addr_apc()
|
/haiku/src/add-ons/kernel/drivers/network/ether/marvell_yukon/dev/msk/ |
H A D | if_msk.c | 1383 pci_write_config(sc->msk_dev, PCIR_STATUS, status | in mskc_reset() 1403 pci_write_config(sc->msk_dev, PCIR_CACHELNSZ, 2, 1); in mskc_reset() 1408 pci_write_config(sc->msk_dev, PCI_OUR_REG_1, val, 4); in mskc_reset() 1511 pci_write_config(sc->msk_dev, in mskc_reset() 3520 pci_write_config(sc->msk_dev, PCIR_STATUS, v16 | in msk_intr_hwerr()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/ |
H A D | if_ipw.c | 238 pci_write_config(dev, 0x41, 0, 1); in ipw_attach() 811 pci_write_config(dev, 0x41, 0, 1); in ipw_resume()
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/ |
H A D | if_fxp.c | 1081 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_suspend() 1110 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_resume()
|
/haiku/src/add-ons/kernel/drivers/network/ether/vt612x/dev/vge/ |
H A D | if_vge.c | 2465 pci_write_config(sc->vge_dev, in vge_resume() 2904 pci_write_config(sc->vge_dev, sc->vge_pmcap + PCIR_POWER_STATUS, in vge_setwol()
|
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/dev/ale/ |
H A D | if_ale.c | 1542 pci_write_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_setwol() 1577 pci_write_config(sc->ale_dev, in ale_resume()
|
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/ |
H A D | if_alc.c | 2582 pci_write_config(sc->alc_dev, in alc_setwol_813x() 2647 pci_write_config(sc->alc_dev, in alc_setwol_816x() 2683 pci_write_config(sc->alc_dev, in alc_resume()
|