Searched refs:ctl0 (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/sys/dev/pci/ |
| H A D | jmb.c | 103 u_int32_t ctl0, ctl5; in jmb_attach() local 106 ctl0 = pci_conf_read(pa->pa_pc, pa->pa_tag, JM_PCI_CTL0); in jmb_attach() 110 if (pa->pa_function == (ISSET(ctl0, JM_PCI_CTL0_AHCI_F1) ? 1 : 0)) { in jmb_attach() 111 ctl0 &= ~(JM_PCI_CTL0_AHCI_EN | JM_PCI_CTL0_SATA0_IDE | in jmb_attach() 123 ctl0 |= JM_PCI_CTL0_AHCI_EN | JM_PCI_CTL0_SATA0_AHCI | in jmb_attach() 131 if (pa->pa_function == (ISSET(ctl0, JM_PCI_CTL0_PCIIDE_F1) ? 1 : 0)) { in jmb_attach() 132 ctl0 &= ~(JM_PCI_CTL0_PCIIDE_CS | JM_PCI_CTL0_IDEDMA_CFG); in jmb_attach() 144 ctl0 |= JM_PCI_CTL0_PCIIDE_CS | JM_PCI_CTL0_IDEDMA_CFG; in jmb_attach() 150 pci_conf_write(pa->pa_pc, pa->pa_tag, JM_PCI_CTL0, ctl0); in jmb_attach()
|
| /openbsd-src/sys/dev/sbus/ |
| H A D | stp4020reg.h | 266 volatile ushort_t ctl0; /* window control register 0 */ member 275 volatile ushort_t ctl0; /* socket control register 0 */ member
|
| /openbsd-src/sys/dev/fdt/ |
| H A D | if_mvneta.c | 441 uint32_t ctl0, ctl2, ctl4, panc; in mvneta_attach() local 617 ctl0 = MVNETA_READ(sc, MVNETA_PMACC0); in mvneta_attach() 629 ctl0 &= ~MVNETA_PMACC0_PORTTYPE; in mvneta_attach() 672 ctl0 |= MVNETA_PMACC0_PORTTYPE; in mvneta_attach() 690 MVNETA_WRITE(sc, MVNETA_PMACC0, ctl0); in mvneta_attach()
|
| H A D | if_mvpp.c | 2590 uint32_t ctl0, ctl4; in mvpp2_xlg_config() local 2592 ctl0 = mvpp2_xlg_read(sc, MV_XLG_PORT_MAC_CTRL0_REG); in mvpp2_xlg_config() 2595 ctl0 |= MV_XLG_MAC_CTRL0_MACRESETN; in mvpp2_xlg_config() 2600 mvpp2_xlg_write(sc, MV_XLG_PORT_MAC_CTRL0_REG, ctl0); in mvpp2_xlg_config() 2612 uint32_t ctl0, ctl2, ctl4, panc; in mvpp2_gmac_config() local 2615 ctl0 = mvpp2_gmac_read(sc, MVPP2_PORT_CTRL0_REG); in mvpp2_gmac_config() 2620 ctl0 &= ~MVPP2_GMAC_PORT_TYPE_MASK; in mvpp2_gmac_config() 2672 ctl0 |= MVPP2_GMAC_PORT_TYPE_MASK; in mvpp2_gmac_config() 2678 mvpp2_gmac_write(sc, MVPP2_PORT_CTRL0_REG, ctl0); in mvpp2_gmac_config()
|
| /openbsd-src/sys/dev/ic/ |
| H A D | rtw.c | 3063 uint32_t proto_ctl0, ctl0, ctl1; in rtw_start() local 3126 ctl0 = proto_ctl0 | in rtw_start() 3132 ctl0 |= RTW_TXCTL0_RATE_1MBPS; in rtw_start() 3135 ctl0 |= RTW_TXCTL0_RATE_2MBPS; in rtw_start() 3138 ctl0 |= RTW_TXCTL0_RATE_5MBPS; in rtw_start() 3141 ctl0 |= RTW_TXCTL0_RATE_11MBPS; in rtw_start() 3147 ctl0 |= RTW_TXCTL0_RTSEN; in rtw_start() 3151 ctl0 &= ~(RTW_TXCTL0_SPLCP | RTW_TXCTL0_RTSEN); in rtw_start() 3154 ctl0 |= RTW_TXCTL0_BEACON; in rtw_start() 3222 td->td_ctl0 = htole32(ctl0); in rtw_start()
|