Home
last modified time | relevance | path

Searched refs:antenna (Results 1 – 25 of 51) sorted by relevance

123

/drivers/net/wireless/b43/
Dphy_a.c519 static void b43_aphy_op_set_rx_antenna(struct b43_wldev *dev, int antenna) in b43_aphy_op_set_rx_antenna() argument
525 if (antenna == B43_ANTENNA_AUTO0 || antenna == B43_ANTENNA_AUTO1) in b43_aphy_op_set_rx_antenna()
531 (autodiv ? B43_ANTENNA_AUTO1 : antenna) << in b43_aphy_op_set_rx_antenna()
536 if (antenna == B43_ANTENNA_AUTO1) in b43_aphy_op_set_rx_antenna()
Dmain.c1510 static u16 b43_antenna_to_phyctl(int antenna) in b43_antenna_to_phyctl() argument
1512 switch (antenna) { in b43_antenna_to_phyctl()
1539 int antenna; in b43_write_beacon_template() local
1551 antenna = B43_ANTENNA_DEFAULT; in b43_write_beacon_template()
1552 antenna = b43_antenna_to_phyctl(antenna); in b43_write_beacon_template()
1558 ctl |= antenna; in b43_write_beacon_template()
3020 static void b43_mgmtframe_txantenna(struct b43_wldev *dev, int antenna) in b43_mgmtframe_txantenna() argument
3025 ant = b43_antenna_to_phyctl(antenna); in b43_mgmtframe_txantenna()
3830 int antenna; in b43_op_config() local
3884 antenna = B43_ANTENNA_DEFAULT; in b43_op_config()
[all …]
Dphy_common.h179 void (*set_rx_antenna)(struct b43_wldev *dev, int antenna);
Dphy_lp.c72 lpphy->antenna = B43_ANTENNA_DEFAULT; in b43_lpphy_op_prepare_structs()
1360 static void b43_lpphy_op_set_rx_antenna(struct b43_wldev *dev, int antenna) in b43_lpphy_op_set_rx_antenna() argument
1365 if (B43_WARN_ON(antenna > B43_ANTENNA_AUTO1)) in b43_lpphy_op_set_rx_antenna()
1370 b43_phy_maskset(dev, B43_LPPHY_CRSGAIN_CTL, 0xFFFD, antenna & 0x2); in b43_lpphy_op_set_rx_antenna()
1371 b43_phy_maskset(dev, B43_LPPHY_CRSGAIN_CTL, 0xFFFE, antenna & 0x1); in b43_lpphy_op_set_rx_antenna()
1375 dev->phy.lp->antenna = antenna; in b43_lpphy_op_set_rx_antenna()
1631 b43_lpphy_op_set_rx_antenna(dev, lpphy->antenna); in lpphy_pr41573_workaround()
Dphy_g.c2650 static void b43_gphy_op_set_rx_antenna(struct b43_wldev *dev, int antenna) in b43_gphy_op_set_rx_antenna() argument
2656 if (antenna == B43_ANTENNA_AUTO0 || antenna == B43_ANTENNA_AUTO1) in b43_gphy_op_set_rx_antenna()
2662 (autodiv ? B43_ANTENNA_AUTO1 : antenna) << in b43_gphy_op_set_rx_antenna()
2667 if (antenna == B43_ANTENNA_AUTO1) in b43_gphy_op_set_rx_antenna()
/drivers/net/wireless/prism54/
Dislpci_eth.h57 __be32 antenna; member
Dislpci_eth.c292 avs->antenna = cpu_to_be32(0); /*unknown */ in islpci_monitor_rx()
/drivers/media/common/tuners/
Dmt20xx.c429 static void mt2050_set_antenna(struct dvb_frontend *fe, unsigned char antenna) in mt2050_set_antenna() argument
435 buf[1] = antenna ? 0x11 : 0x10; in mt2050_set_antenna()
437 tuner_dbg("mt2050: enabled antenna connector %d\n", antenna); in mt2050_set_antenna()
/drivers/staging/wlan-ng/
Dp80211conv.h114 u32 antenna; member
/drivers/net/wireless/rt2x00/
Drt2x00link.c294 void rt2x00link_reset_tuner(struct rt2x00_dev *rt2x00dev, bool antenna) in rt2x00link_reset_tuner() argument
325 if (antenna) in rt2x00link_reset_tuner()
Drt2x00reg.h42 enum antenna { enum
Drt2x00lib.h254 void rt2x00link_reset_tuner(struct rt2x00_dev *rt2x00dev, bool antenna);
Drt2x00.h230 enum antenna rx;
231 enum antenna tx;
/drivers/net/wireless/p54/
Deeprom.h105 } __packed antenna[0]; member
Dlmac.h174 u8 antenna; member
216 u8 antenna; member
Dtxrx.c364 rx_status->antenna = hdr->antenna; in p54_rx_data()
/drivers/net/wireless/iwlwifi/
Diwl-shared.h141 int antenna; member
/drivers/net/wireless/b43legacy/
Dphy.h187 void b43legacy_set_rx_antenna(struct b43legacy_wldev *dev, int antenna);
Dmain.c955 static u16 b43legacy_antenna_to_phyctl(int antenna) in b43legacy_antenna_to_phyctl() argument
957 switch (antenna) { in b43legacy_antenna_to_phyctl()
977 int antenna; in b43legacy_write_beacon_template() local
989 antenna = B43legacy_ANTENNA_DEFAULT; in b43legacy_write_beacon_template()
990 antenna = b43legacy_antenna_to_phyctl(antenna); in b43legacy_write_beacon_template()
997 ctl |= antenna; in b43legacy_write_beacon_template()
2124 int antenna) in b43legacy_mgmtframe_txantenna() argument
2129 switch (antenna) { in b43legacy_mgmtframe_txantenna()
/drivers/net/wireless/ath/ath9k/
Ddebug.h220 u8 antenna; member
Drecv.c115 static void ath_setdefantenna(struct ath_softc *sc, u32 antenna) in ath_setdefantenna() argument
118 ath9k_hw_setantenna(sc->sc_ah, antenna); in ath_setdefantenna()
119 sc->rx.defant = antenna; in ath_setdefantenna()
1015 rx_status->antenna = rx_stats->rs_antenna; in ath9k_rx_skb_preprocess()
/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.c350 u32 antenna; in oid_rt_pro_set_antenna_bb_hdl() local
356 antenna = *((u32 *)poid_par_priv->information_buf); in oid_rt_pro_set_antenna_bb_hdl()
357 Adapter->mppriv.antenna_tx = (u16)((antenna & 0xFFFF0000) >> 16); in oid_rt_pro_set_antenna_bb_hdl()
358 Adapter->mppriv.antenna_rx = (u16)(antenna & 0x0000FFFF); in oid_rt_pro_set_antenna_bb_hdl()
/drivers/net/wireless/iwlegacy/
D3945-mac.c110 switch (il3945_mod_params.antenna) { in il3945_get_antenna_flags()
127 il3945_mod_params.antenna); in il3945_get_antenna_flags()
3335 return sprintf(buf, "%d\n", il3945_mod_params.antenna); in il3945_show_antenna()
3355 il3945_mod_params.antenna = (enum il3945_antenna)ant; in il3945_store_antenna()
3362 static DEVICE_ATTR(antenna, S_IWUSR | S_IRUGO, il3945_show_antenna,
3923 module_param_named(antenna, il3945_mod_params.antenna, int, S_IRUGO);
3924 MODULE_PARM_DESC(antenna, "select antenna (1=Main, 2=Aux, default 0 [both])");
/drivers/net/wireless/ath/ath5k/
Dbase.c1353 rxs->antenna = rs->rs_antenna; in ath5k_receive_frame()
1721 u8 antenna; in ath5k_beacon_setup() local
1739 antenna = ah->ah_tx_ant; in ath5k_beacon_setup()
1767 antenna = ah->bsent & 4 ? 2 : 1; in ath5k_beacon_setup()
1779 antenna, flags, 0, 0); in ath5k_beacon_setup()
/drivers/net/wireless/
Drayctl.h491 UCHAR antenna; member

123