Searched refs:pcix_cmd (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/uts/sun4u/io/pci/ |
H A D | pcix.c | 45 uint16_t pcix_cap_ptr, pcix_cmd; in pcix_set_cmd_reg() local 68 if ((pcix_cmd = PCI_CAP_GET16(handle, NULL, pcix_cap_ptr, 2)) in pcix_set_cmd_reg() 73 "(Before) %x\n", pcix_cmd); in pcix_set_cmd_reg() 75 pcix_cmd &= ~(0x1f << 2); /* clear bits 6-2 */ in pcix_set_cmd_reg() 76 pcix_cmd |= value; in pcix_set_cmd_reg() 79 "(After) %x\n", pcix_cmd); in pcix_set_cmd_reg() 81 PCI_CAP_PUT16(handle, NULL, pcix_cap_ptr, 2, pcix_cmd); in pcix_set_cmd_reg()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | pci_cap.c | 58 uint16_t base, pcix_cmd, status; in pci_cap_probe() local 77 if ((pcix_cmd = pci_config_get16(h, base + in pci_cap_probe() 80 if ((pcix_cmd & PCI_PCIX_VER_MASK) == PCI_PCIX_VER_2) in pci_cap_probe()
|
/titanic_41/usr/src/uts/common/io/chxge/ |
H A D | pe.c | 911 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()
|
/titanic_41/usr/src/uts/common/io/e1000api/ |
H A D | e1000_mac.c | 627 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()
|
/titanic_41/usr/src/uts/common/io/yge/ |
H A D | yge.c | 827 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()
|