Home
last modified time | relevance | path

Searched refs:cmdreg (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/uts/common/io/
H A Dpci_intr_lib.c1013 uint16_t cmdreg, savereg; in pci_intx_get_cap() local
1034 cmdreg = savereg | PCI_COMM_INTX_DISABLE; in pci_intx_get_cap()
1035 pci_config_put16(cfg_hdl, PCI_CONF_COMM, cmdreg); in pci_intx_get_cap()
1044 cmdreg = pci_config_get16(cfg_hdl, PCI_CONF_COMM); in pci_intx_get_cap()
1046 "command register is now 0x%x\n", cmdreg)); in pci_intx_get_cap()
1050 if (cmdreg & PCI_COMM_INTX_DISABLE) { in pci_intx_get_cap()
1073 uint16_t cmdreg; in pci_intx_clr_mask() local
1085 cmdreg = pci_config_get16(cfg_hdl, PCI_CONF_COMM); in pci_intx_clr_mask()
1087 "command register was 0x%x\n", cmdreg)); in pci_intx_clr_mask()
1090 cmdreg &= ~PCI_COMM_INTX_DISABLE; in pci_intx_clr_mask()
[all …]
/titanic_44/usr/src/uts/common/io/pci-ide/
H A Dpci-ide.c212 uint16_t cmdreg; in pciide_attach() local
231 cmdreg = pci_config_get16(conf_hdl, PCI_CONF_COMM); in pciide_attach()
232 if ((cmdreg & PCI_COMM_ME) == 0) { in pciide_attach()
234 cmdreg | PCI_COMM_ME); in pciide_attach()
259 cmdreg = pci_config_get16(conf_hdl, PCI_CONF_COMM); in pciide_attach()
260 ASSERT((cmdreg & PCI_COMM_ME) != 0); in pciide_attach()
/titanic_44/usr/src/cmd/vi/port/
H A Dex_cmds.c342 c = cmdreg();
568 c = cmdreg();
940 c = cmdreg();
H A Dex_cmds2.c53 cmdreg(void) in cmdreg() function
/titanic_44/usr/src/uts/common/io/audio/drv/audio810/
H A Daudio810.c691 uint16_t cmdreg; in audio810_attach() local
725 cmdreg = pci_config_get16(pcih, PCI_CONF_COMM); in audio810_attach()
727 cmdreg | PCI_COMM_IO | PCI_COMM_MAE | PCI_COMM_ME); in audio810_attach()
/titanic_44/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ohci.c86 uint16_t cmdreg; in hci1394_ohci_init() local
139 cmdreg = pci_config_get16(soft_state->pci_config, PCI_CONF_COMM); in hci1394_ohci_init()
140 if ((cmdreg & (PCI_COMM_MAE | PCI_COMM_ME)) != (PCI_COMM_MAE | in hci1394_ohci_init()
142 cmdreg |= PCI_COMM_MAE | PCI_COMM_ME; in hci1394_ohci_init()
143 pci_config_put16(soft_state->pci_config, PCI_CONF_COMM, cmdreg); in hci1394_ohci_init()
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c3467 uint16_t cmdreg = pci_config_get16(pci_cfg_hdl, PCI_CONF_COMM); in tavor_intr_disable() local
3471 cmdreg |= PCI_COMM_INTX_DISABLE; in tavor_intr_disable()
3472 pci_config_put16(pci_cfg_hdl, PCI_CONF_COMM, cmdreg); in tavor_intr_disable()
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon.c4810 uint16_t cmdreg = pci_config_get16(pci_cfg_hdl, PCI_CONF_COMM); in hermon_intr_disable() local
4814 cmdreg |= PCI_COMM_INTX_DISABLE; in hermon_intr_disable()
4815 pci_config_put16(pci_cfg_hdl, PCI_CONF_COMM, cmdreg); in hermon_intr_disable()
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c2557 ushort_t cmdreg; in mptsas_setup_cmd_reg() local
2562 cmdreg = pci_config_get16(mpt->m_config_handle, PCI_CONF_COMM); in mptsas_setup_cmd_reg()
2563 cmdreg |= (PCI_COMM_ME | PCI_COMM_SERR_ENABLE | in mptsas_setup_cmd_reg()
2565 cmdreg &= ~PCI_COMM_IO; in mptsas_setup_cmd_reg()
2566 pci_config_put16(mpt->m_config_handle, PCI_CONF_COMM, cmdreg); in mptsas_setup_cmd_reg()
2572 ushort_t cmdreg; in mptsas_disable_bus_master() local
2578 cmdreg = pci_config_get16(mpt->m_config_handle, PCI_CONF_COMM); in mptsas_disable_bus_master()
2579 cmdreg &= ~PCI_COMM_ME; in mptsas_disable_bus_master()
2580 pci_config_put16(mpt->m_config_handle, PCI_CONF_COMM, cmdreg); in mptsas_disable_bus_master()
/titanic_44/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.c2113 uint16_t cmdreg; in audiohd_init_pci() local
2135 cmdreg = pci_config_get16(statep->hda_pci_handle, PCI_CONF_COMM); in audiohd_init_pci()
2137 cmdreg | PCI_COMM_MAE | PCI_COMM_ME); in audiohd_init_pci()