Lines Matching refs:ctl
1619 u16 ctl; in b43_write_beacon_template() local
1648 ctl = b43_shm_read16(dev, B43_SHM_SHARED, B43_SHM_SH_BEACPHYCTL); in b43_write_beacon_template()
1650 ctl &= ~B43_TXH_PHY_SHORTPRMBL; in b43_write_beacon_template()
1651 ctl &= ~B43_TXH_PHY_ANT; in b43_write_beacon_template()
1652 ctl &= ~B43_TXH_PHY_ENC; in b43_write_beacon_template()
1653 ctl |= antenna; in b43_write_beacon_template()
1655 ctl |= B43_TXH_PHY_ENC_CCK; in b43_write_beacon_template()
1657 ctl |= B43_TXH_PHY_ENC_OFDM; in b43_write_beacon_template()
1658 b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_BEACPHYCTL, ctl); in b43_write_beacon_template()
3109 u32 ctl; in b43_adjust_opmode() local
3112 ctl = b43_read32(dev, B43_MMIO_MACCTL); in b43_adjust_opmode()
3114 ctl &= ~B43_MACCTL_AP; in b43_adjust_opmode()
3115 ctl &= ~B43_MACCTL_KEEP_CTL; in b43_adjust_opmode()
3116 ctl &= ~B43_MACCTL_KEEP_BADPLCP; in b43_adjust_opmode()
3117 ctl &= ~B43_MACCTL_KEEP_BAD; in b43_adjust_opmode()
3118 ctl &= ~B43_MACCTL_PROMISC; in b43_adjust_opmode()
3119 ctl &= ~B43_MACCTL_BEACPROMISC; in b43_adjust_opmode()
3120 ctl |= B43_MACCTL_INFRA; in b43_adjust_opmode()
3124 ctl |= B43_MACCTL_AP; in b43_adjust_opmode()
3126 ctl &= ~B43_MACCTL_INFRA; in b43_adjust_opmode()
3129 ctl |= B43_MACCTL_KEEP_CTL; in b43_adjust_opmode()
3131 ctl |= B43_MACCTL_KEEP_BAD; in b43_adjust_opmode()
3133 ctl |= B43_MACCTL_KEEP_BADPLCP; in b43_adjust_opmode()
3135 ctl |= B43_MACCTL_PROMISC; in b43_adjust_opmode()
3137 ctl |= B43_MACCTL_BEACPROMISC; in b43_adjust_opmode()
3143 ctl |= B43_MACCTL_PROMISC; in b43_adjust_opmode()
3145 b43_write32(dev, B43_MMIO_MACCTL, ctl); in b43_adjust_opmode()
3148 if ((ctl & B43_MACCTL_INFRA) && !(ctl & B43_MACCTL_AP)) { in b43_adjust_opmode()
3216 u16 ctl = 0; in b43_set_phytxctl_defaults() local
3218 ctl |= B43_TXH_PHY_ENC_CCK; in b43_set_phytxctl_defaults()
3219 ctl |= B43_TXH_PHY_ANT01AUTO; in b43_set_phytxctl_defaults()
3220 ctl |= B43_TXH_PHY_TXPWR; in b43_set_phytxctl_defaults()
3222 b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_BEACPHYCTL, ctl); in b43_set_phytxctl_defaults()
3223 b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_ACKCTSPHYCTL, ctl); in b43_set_phytxctl_defaults()
3224 b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_PRPHYCTL, ctl); in b43_set_phytxctl_defaults()