Home
last modified time | relevance | path

Searched refs:pcix_cmd (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpcix.c43 uint16_t pcix_cap_ptr, pcix_cmd; in pcix_set_cmd_reg() local
66 if ((pcix_cmd = PCI_CAP_GET16(handle, 0, pcix_cap_ptr, 2)) in pcix_set_cmd_reg()
71 "(Before) %x\n", pcix_cmd); in pcix_set_cmd_reg()
73 pcix_cmd &= ~(0x1f << 2); /* clear bits 6-2 */ in pcix_set_cmd_reg()
74 pcix_cmd |= value; in pcix_set_cmd_reg()
77 "(After) %x\n", pcix_cmd); in pcix_set_cmd_reg()
79 PCI_CAP_PUT16(handle, 0, pcix_cap_ptr, 2, pcix_cmd); in pcix_set_cmd_reg()
/illumos-gate/usr/src/uts/common/io/
H A Dpci_cap.c59 uint16_t base, pcix_cmd, status; in pci_cap_probe() local
78 if ((pcix_cmd = pci_config_get16(h, base + in pci_cap_probe()
81 if ((pcix_cmd & PCI_PCIX_VER_MASK) == PCI_PCIX_VER_2) in pci_cap_probe()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dpe.c911 uint32_t pcix_cmd; in pe_attach() local
938 &pcix_cmd); in pe_attach()
943 pcix_cmd &= ~0xc0000; in pe_attach()
944 pcix_cmd |= (chp->ch_config.burstsize << 18); in pe_attach()
950 pcix_cmd &= ~ 0x700000; in pe_attach()
951 pcix_cmd |= (chp->ch_config.transaction_cnt << 20); in pe_attach()
957 pcix_cmd |= (chp->ch_config.relaxed_ordering << 17); in pe_attach()
960 pcix_cmd); in pe_attach()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_mac.c627 u16 pcix_cmd; in e1000_pcix_mmrbc_workaround_generic() local
637 e1000_read_pci_cfg(hw, PCIX_COMMAND_REGISTER, &pcix_cmd); in e1000_pcix_mmrbc_workaround_generic()
639 cmd_mmrbc = (pcix_cmd & PCIX_COMMAND_MMRBC_MASK) >> in e1000_pcix_mmrbc_workaround_generic()
646 pcix_cmd &= ~PCIX_COMMAND_MMRBC_MASK; in e1000_pcix_mmrbc_workaround_generic()
647 pcix_cmd |= stat_mmrbc << PCIX_COMMAND_MMRBC_SHIFT; in e1000_pcix_mmrbc_workaround_generic()
648 e1000_write_pci_cfg(hw, PCIX_COMMAND_REGISTER, &pcix_cmd); in e1000_pcix_mmrbc_workaround_generic()
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.c827 uint16_t pcix_cmd; in yge_reset() local
830 pcix_cmd = pci_config_get16(pcih, pcix + 2); in yge_reset()
832 pcix_cmd &= ~0x70; in yge_reset()
834 pci_config_put16(pcih, pcix + 2, pcix_cmd); in yge_reset()