Home
last modified time | relevance | path

Searched refs:rf_mode (Results 1 – 25 of 30) sorted by relevance

12

/linux/drivers/media/tuners/
H A Dxc5000.c49 u8 rf_mode; member
431 static int xc_set_signal_source(struct xc5000_priv *priv, u16 rf_mode) in xc_set_signal_source() argument
433 dprintk(1, "%s(%d) Source = %s\n", __func__, rf_mode, in xc_set_signal_source()
434 rf_mode == XC_RF_MODE_AIR ? "ANTENNA" : "CABLE"); in xc_set_signal_source()
436 if ((rf_mode != XC_RF_MODE_AIR) && (rf_mode != XC_RF_MODE_CABLE)) { in xc_set_signal_source()
437 rf_mode = XC_RF_MODE_CABLE; in xc_set_signal_source()
442 return xc_write_reg(priv, XREG_SIGNALSOURCE, rf_mode); in xc_set_signal_source()
689 ret = xc_set_signal_source(priv, priv->rf_mode); in xc5000_tune_digital()
693 priv->rf_mode); in xc5000_tune_digital()
744 priv->rf_mode = XC_RF_MODE_AIR; in xc5000_set_digital_params()
[all …]
H A Dxc4000.c82 u8 rf_mode; member
368 static int xc_set_signal_source(struct xc4000_priv *priv, u16 rf_mode) in xc_set_signal_source() argument
370 dprintk(1, "%s(%d) Source = %s\n", __func__, rf_mode, in xc_set_signal_source()
371 rf_mode == XC_RF_MODE_AIR ? "ANTENNA" : "CABLE"); in xc_set_signal_source()
373 if ((rf_mode != XC_RF_MODE_AIR) && (rf_mode != XC_RF_MODE_CABLE)) { in xc_set_signal_source()
374 rf_mode = XC_RF_MODE_CABLE; in xc_set_signal_source()
379 return xc_write_reg(priv, XREG_SIGNALSOURCE, rf_mode); in xc_set_signal_source()
1152 priv->rf_mode = XC_RF_MODE_AIR; in xc4000_set_params()
1159 priv->rf_mode = XC_RF_MODE_CABLE; in xc4000_set_params()
1188 priv->rf_mode = XC_RF_MODE_AIR; in xc4000_set_params()
[all …]
/linux/net/nfc/
H A Dcore.c228 dev->rf_mode = NFC_RF_NONE; in nfc_start_poll()
261 dev->rf_mode = NFC_RF_NONE; in nfc_stop_poll()
319 dev->rf_mode = NFC_RF_INITIATOR; in nfc_dep_link_up()
352 dev->rf_mode = NFC_RF_NONE; in nfc_dep_link_down()
364 u8 comm_mode, u8 rf_mode) in nfc_dep_link_is_up() argument
368 if (!dev->active_target && rf_mode == NFC_RF_INITIATOR) { in nfc_dep_link_is_up()
379 dev->rf_mode = rf_mode; in nfc_dep_link_is_up()
381 nfc_llcp_mac_is_up(dev, target_idx, comm_mode, rf_mode); in nfc_dep_link_is_up()
383 return nfc_genl_dep_link_up_event(dev, target_idx, comm_mode, rf_mode); in nfc_dep_link_is_up()
423 dev->rf_mode = NFC_RF_INITIATOR; in nfc_activate_target()
[all …]
H A Dnfc.h48 u8 comm_mode, u8 rf_mode);
85 u8 comm_mode, u8 rf_mode);
H A Dllcp_core.c1590 u8 comm_mode, u8 rf_mode) in nfc_llcp_mac_is_up() argument
1594 pr_debug("rf mode %d\n", rf_mode); in nfc_llcp_mac_is_up()
1602 local->rf_mode = rf_mode; in nfc_llcp_mac_is_up()
1604 if (rf_mode == NFC_RF_INITIATOR) { in nfc_llcp_mac_is_up()
H A Dllcp.h66 u8 rf_mode; member
H A Dllcp_sock.c703 if (local->rf_mode == NFC_RF_INITIATOR && in llcp_sock_connect()
/linux/include/net/nfc/
H A Dnfc.h176 u8 rf_mode; member
284 u8 comm_mode, u8 rf_mode);
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dphy.c34 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92c_phy_query_rf_reg()
108 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92ce_phy_set_rf_reg()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dphy.c28 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92cu_phy_query_rf_reg()
54 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92cu_phy_set_rf_reg()
H A Dhw.c903 rtlphy->rf_mode = RF_OP_BY_SW_3WIRE; in rtl92cu_hw_init()
/linux/net/nfc/nci/
H A Ddata.c256 if (ndev->nfc_dev->rf_mode == NFC_RF_TARGET) { in nci_add_rx_data_frag()
/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8851b_rfk.c77 enum rf_mode { enum
168 u32 rf_mode; in _wait_rx_mode() local
176 ret = read_poll_timeout_atomic(rtw89_read_rf, rf_mode, in _wait_rx_mode()
177 rf_mode != 2, 2, 5000, false, in _wait_rx_mode()
539 static void _rxbb_ofst_swap(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, u8 rf_mode) in _rxbb_ofst_swap() argument
549 rtw89_write_rf(rtwdev, path, RR_LUTWA, RFREG_MASK, rf_mode); in _rxbb_ofst_swap()
558 static void _set_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, u8 rf_mode) in _set_rx_dck() argument
575 _rxbb_ofst_swap(rtwdev, path, rf_mode); in _set_rx_dck()
H A Drtw8922a.c2080 u32 rf_mode; in _wait_rx_mode() local
2088 ret = read_poll_timeout_atomic(rtw89_read_rf, rf_mode, rf_mode != 2, in _wait_rx_mode()
H A Drtw8852bt_rfk.c30 enum rf_mode { enum
1733 u32 rf_mode; in _wait_rx_mode() local
1741 ret = read_poll_timeout_atomic(rtw89_read_rf, rf_mode, in _wait_rx_mode()
1742 rf_mode != 2, 2, 5000, false, in _wait_rx_mode()
H A Drtw8852c_rfk.c154 u32 rf_mode; in _wait_rx_mode() local
161 ret = read_poll_timeout_atomic(rtw89_read_rf, rf_mode, rf_mode != 2, in _wait_rx_mode()
432 enum rf_mode { enum
H A Drtw8852a_rfk.c95 u32 rf_mode; in _wait_rx_mode() local
102 ret = read_poll_timeout_atomic(rtw89_read_rf, rf_mode, rf_mode != 2, in _wait_rx_mode()
H A Drtw8852b_rfk.c1586 u32 rf_mode; in _wait_rx_mode() local
1594 ret = read_poll_timeout_atomic(rtw89_read_rf, rf_mode, in _wait_rx_mode()
1595 rf_mode != 2, 2, 5000, false, in _wait_rx_mode()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dphy.c47 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl8723e_phy_query_rf_reg()
78 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl8723e_phy_set_rf_reg()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dphy.c1928 u8 tmpreg, index, rf_mode[2]; in _rtl92d_phy_lc_calibrate_sw() local
1947 rf_mode[index] = rtl_read_byte(rtlpriv, offset); in _rtl92d_phy_lc_calibrate_sw()
2017 rtl_write_byte(rtlpriv, offset, rf_mode[index]); in _rtl92d_phy_lc_calibrate_sw()
H A Dhw.c654 rtlphy->rf_mode = RF_OP_BY_SW_3WIRE; in rtl92de_hw_init()
/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu.h778 u8 rf_mode: 2; member
782 u8 rf_mode: 2; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
H A Dphy_common.c117 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92d_phy_set_rf_reg()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
H A Dphy.c2299 u8 tmpreg, index, rf_mode[2]; in _rtl92du_phy_lc_calibrate_sw() local
2317 rf_mode[index] = rtl_read_byte(rtlpriv, offset); in _rtl92du_phy_lc_calibrate_sw()
2419 rtl_write_byte(rtlpriv, offset, rf_mode[index]); in _rtl92du_phy_lc_calibrate_sw()
H A Dhw.c795 rtlphy->rf_mode = RF_OP_BY_SW_3WIRE; in rtl92du_hw_init()

12