Home
last modified time | relevance | path

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

/drivers/net/wireless/iwlwifi/
Diwl-prph.h288 static inline unsigned int SCD_QUEUE_WRPTR(unsigned int chnl) in SCD_QUEUE_WRPTR() argument
290 if (chnl < 20) in SCD_QUEUE_WRPTR()
291 return SCD_BASE + 0x18 + chnl * 4; in SCD_QUEUE_WRPTR()
292 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_WRPTR()
293 return SCD_BASE + 0x284 + (chnl - 20) * 4; in SCD_QUEUE_WRPTR()
296 static inline unsigned int SCD_QUEUE_RDPTR(unsigned int chnl) in SCD_QUEUE_RDPTR() argument
298 if (chnl < 20) in SCD_QUEUE_RDPTR()
299 return SCD_BASE + 0x68 + chnl * 4; in SCD_QUEUE_RDPTR()
300 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_RDPTR()
301 return SCD_BASE + 0x2B4 + (chnl - 20) * 4; in SCD_QUEUE_RDPTR()
[all …]
Diwl-fh.h121 static inline unsigned int FH_MEM_CBBC_QUEUE(unsigned int chnl) in FH_MEM_CBBC_QUEUE() argument
123 if (chnl < 16) in FH_MEM_CBBC_QUEUE()
124 return FH_MEM_CBBC_0_15_LOWER_BOUND + 4 * chnl; in FH_MEM_CBBC_QUEUE()
125 if (chnl < 20) in FH_MEM_CBBC_QUEUE()
126 return FH_MEM_CBBC_16_19_LOWER_BOUND + 4 * (chnl - 16); in FH_MEM_CBBC_QUEUE()
127 WARN_ON_ONCE(chnl >= 32); in FH_MEM_CBBC_QUEUE()
128 return FH_MEM_CBBC_20_31_LOWER_BOUND + 4 * (chnl - 20); in FH_MEM_CBBC_QUEUE()
/drivers/net/wireless/rtlwifi/rtl8192se/
Drf.c39 u8 chnl, u32 *ofdmbase, u32 *mcsbase, in _rtl92s_get_powerbase() argument
57 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_powerbase()
78 [i][chnl - 1]; in _rtl92s_get_powerbase()
106 chnl - 1]; in _rtl92s_get_powerbase()
109 chnl - 1]; in _rtl92s_get_powerbase()
113 chnl - 1]; in _rtl92s_get_powerbase()
116 chnl - 1]; in _rtl92s_get_powerbase()
177 u8 chnl, u8 index, in _rtl92s_get_txpower_writeval_byregulatory() argument
215 if (chnl <= 3) in _rtl92s_get_txpower_writeval_byregulatory()
217 else if (chnl >= 4 && chnl <= 8) in _rtl92s_get_txpower_writeval_byregulatory()
[all …]
Drf.h40 u8 *p_pwrlevel, u8 chnl);
/drivers/staging/rtl8188eu/hal/
Drtl8188e_hal_init.c465 static u8 Hal_GetChnlGroup88E(u8 chnl, u8 *pGroup) in Hal_GetChnlGroup88E() argument
469 if (chnl <= 14) { in Hal_GetChnlGroup88E()
472 if (chnl < 3) /* Channel 1-2 */ in Hal_GetChnlGroup88E()
474 else if (chnl < 6) /* Channel 3-5 */ in Hal_GetChnlGroup88E()
476 else if (chnl < 9) /* Channel 6-8 */ in Hal_GetChnlGroup88E()
478 else if (chnl < 12) /* Channel 9-11 */ in Hal_GetChnlGroup88E()
480 else if (chnl < 14) /* Channel 12-13 */ in Hal_GetChnlGroup88E()
482 else if (chnl == 14) /* Channel 14 */ in Hal_GetChnlGroup88E()
487 if (chnl <= 40) in Hal_GetChnlGroup88E()
489 else if (chnl <= 48) in Hal_GetChnlGroup88E()
[all …]
Dphy.c387 static u8 get_right_chnl_for_iqk(u8 chnl) in get_right_chnl_for_iqk() argument
396 u8 place = chnl; in get_right_chnl_for_iqk()
398 if (chnl > 14) { in get_right_chnl_for_iqk()
400 if (channel_all[place] == chnl) in get_right_chnl_for_iqk()
/drivers/net/wireless/rtlwifi/rtl8192ee/
Dhw.c1736 static u8 _rtl92ee_get_chnl_group(u8 chnl) in _rtl92ee_get_chnl_group() argument
1740 if (chnl <= 14) { in _rtl92ee_get_chnl_group()
1741 if (1 <= chnl && chnl <= 2) in _rtl92ee_get_chnl_group()
1743 else if (3 <= chnl && chnl <= 5) in _rtl92ee_get_chnl_group()
1745 else if (6 <= chnl && chnl <= 8) in _rtl92ee_get_chnl_group()
1747 else if (9 <= chnl && chnl <= 11) in _rtl92ee_get_chnl_group()
1749 else if (12 <= chnl && chnl <= 14) in _rtl92ee_get_chnl_group()
1752 if (36 <= chnl && chnl <= 42) in _rtl92ee_get_chnl_group()
1754 else if (44 <= chnl && chnl <= 48) in _rtl92ee_get_chnl_group()
1756 else if (50 <= chnl && chnl <= 58) in _rtl92ee_get_chnl_group()
[all …]
Dphy.c2806 static u8 rtl92ee_get_rightchnlplace_for_iqk(u8 chnl) in rtl92ee_get_rightchnlplace_for_iqk() argument
2816 u8 place = chnl; in rtl92ee_get_rightchnlplace_for_iqk()
2818 if (chnl > 14) { in rtl92ee_get_rightchnlplace_for_iqk()
2820 if (channel_all[place] == chnl) in rtl92ee_get_rightchnlplace_for_iqk()
/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.h33 static inline u8 rtl92c_get_chnl_group(u8 chnl) in rtl92c_get_chnl_group() argument
37 if (chnl < 3) in rtl92c_get_chnl_group()
39 else if (chnl < 9) in rtl92c_get_chnl_group()
/drivers/infiniband/hw/qib/
Dqib_sd7220.c1132 int chnl; in ibsd_mod_allchnls() local
1142 chnl = (loc >> (4 + EPB_ADDR_SHF)) & 7; in ibsd_mod_allchnls()
1152 (sloc >> 9) & 0x3f, chnl); in ibsd_mod_allchnls()
1171 for (chnl = 0; chnl < 4; ++chnl) { in ibsd_mod_allchnls()
1172 int cloc = loc | (chnl << (4+EPB_ADDR_SHF)); in ibsd_mod_allchnls()
1180 (sloc & 0xF), (sloc >> 9) & 0x3f, chnl, in ibsd_mod_allchnls()
1303 #define BACTRL(chnl) EPB_LOC(chnl, 6, 0x0E) argument
1304 #define LDOUTCTRL1(chnl) EPB_LOC(chnl, 7, 6) argument
1305 #define RXHSSTATUS(chnl) EPB_LOC(chnl, 6, 0xF) argument
/drivers/net/wireless/rtlwifi/rtl8821ae/
Dhw.c2542 static u8 _rtl8821ae_get_chnl_group(u8 chnl) in _rtl8821ae_get_chnl_group() argument
2546 if (chnl <= 14) { in _rtl8821ae_get_chnl_group()
2547 if (1 <= chnl && chnl <= 2) in _rtl8821ae_get_chnl_group()
2549 else if (3 <= chnl && chnl <= 5) in _rtl8821ae_get_chnl_group()
2551 else if (6 <= chnl && chnl <= 8) in _rtl8821ae_get_chnl_group()
2553 else if (9 <= chnl && chnl <= 11) in _rtl8821ae_get_chnl_group()
2558 if (36 <= chnl && chnl <= 42) in _rtl8821ae_get_chnl_group()
2560 else if (44 <= chnl && chnl <= 48) in _rtl8821ae_get_chnl_group()
2562 else if (50 <= chnl && chnl <= 58) in _rtl8821ae_get_chnl_group()
2564 else if (60 <= chnl && chnl <= 64) in _rtl8821ae_get_chnl_group()
[all …]
Dphy.h249 u8 _rtl8812ae_get_right_chnl_place_for_iqk(u8 chnl);
Dphy.c1648 u8 *chnl = array[i+5]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local
1653 chnl, val); in _rtl8821ae_phy_read_and_config_txpwr_lmt()
2376 u16 bd, regu, bdwidth, sec, chnl; in _rtl8812ae_phy_get_txpower_limit() local
2501 chnl = channel_temp; in _rtl8812ae_phy_get_txpower_limit()
2509 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit()
2514 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit()
2521 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit()
2525 rtlphy->txpwr_limit_5g[regu][chnl] in _rtl8812ae_phy_get_txpower_limit()
2526 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit()
3643 u8 _rtl8812ae_get_right_chnl_place_for_iqk(u8 chnl) in _rtl8812ae_get_right_chnl_place_for_iqk() argument
[all …]
/drivers/net/wireless/rtlwifi/rtl8192de/
Dphy.h157 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl);
170 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl);
Dphy.c925 static u8 _rtl92c_phy_get_rightchnlplace(u8 chnl) in _rtl92c_phy_get_rightchnlplace() argument
935 u8 place = chnl; in _rtl92c_phy_get_rightchnlplace()
937 if (chnl > 14) { in _rtl92c_phy_get_rightchnlplace()
939 if (channel_5g[place] == chnl) { in _rtl92c_phy_get_rightchnlplace()
1400 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl) in rtl92d_get_rightchnlplace_for_iqk() argument
1410 u8 place = chnl; in rtl92d_get_rightchnlplace_for_iqk()
1412 if (chnl > 14) { in rtl92d_get_rightchnlplace_for_iqk()
1414 if (channel_all[place] == chnl) in rtl92d_get_rightchnlplace_for_iqk()
3272 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl) in rtl92d_get_chnlgroup_fromarray() argument
3285 if (channel_info[chnl] <= 3) in rtl92d_get_chnlgroup_fromarray()
[all …]
/drivers/nfc/
Dnfcwilink.c57 __u8 chnl; member
208 (hdr->chnl != NFCWILINK_CHNL) || in nfcwilink_send_bts_cmd()
212 len, hdr->chnl, hdr->opcode); in nfcwilink_send_bts_cmd()
/drivers/net/wireless/rtlwifi/btcoexist/
Dhalbtcoutsrc.c140 u8 chnl = 1; in halbtc_get_wifi_central_chnl() local
143 chnl = rtlphy->current_channel; in halbtc_get_wifi_central_chnl()
145 "static halbtc_get_wifi_central_chnl:%d\n", chnl); in halbtc_get_wifi_central_chnl()
146 return chnl; in halbtc_get_wifi_central_chnl()
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dhw.c1537 static u8 _rtl88e_get_chnl_group(u8 chnl) in _rtl88e_get_chnl_group() argument
1541 if (chnl < 3) in _rtl88e_get_chnl_group()
1543 else if (chnl < 6) in _rtl88e_get_chnl_group()
1545 else if (chnl < 9) in _rtl88e_get_chnl_group()
1547 else if (chnl < 12) in _rtl88e_get_chnl_group()
1549 else if (chnl < 14) in _rtl88e_get_chnl_group()
1551 else if (chnl == 14) in _rtl88e_get_chnl_group()
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dhal_btc.c72 u8 chnl; in rtl_8723e_bt_wifi_media_status_notify() local
83 chnl = rtlphy->current_channel; in rtl_8723e_bt_wifi_media_status_notify()
84 h2c_parameter[1] = chnl; in rtl_8723e_bt_wifi_media_status_notify()
Dhw.c1402 static u8 _rtl8723e_get_chnl_group(u8 chnl) in _rtl8723e_get_chnl_group() argument
1406 if (chnl < 3) in _rtl8723e_get_chnl_group()
1408 else if (chnl < 9) in _rtl8723e_get_chnl_group()
/drivers/net/wireless/rtlwifi/rtl8723be/
Dphy.c2258 static u8 _get_right_chnl_place_for_iqk(u8 chnl) in _get_right_chnl_place_for_iqk() argument
2269 u8 place = chnl; in _get_right_chnl_place_for_iqk()
2271 if (chnl > 14) { in _get_right_chnl_place_for_iqk()
2273 if (channel_all[place] == chnl) in _get_right_chnl_place_for_iqk()
Dhw.c1743 static u8 _rtl8723be_get_chnl_group(u8 chnl) in _rtl8723be_get_chnl_group() argument
1747 if (chnl < 3) in _rtl8723be_get_chnl_group()
1749 else if (chnl < 9) in _rtl8723be_get_chnl_group()
/drivers/staging/rtl8723au/hal/
Drtl8723a_hal_init.c1722 static u8 Hal_GetChnlGroup(u8 chnl) in Hal_GetChnlGroup() argument
1726 if (chnl < 3) /* Cjanel 1-3 */ in Hal_GetChnlGroup()
1728 else if (chnl < 9) /* Channel 4-9 */ in Hal_GetChnlGroup()
Drtl8723a_bt-coexist.c3744 u8 chnl = pmlmeext->cur_channel; in bthci_CmdWIFICurrentChannel() local
3748 chnl += 2; in bthci_CmdWIFICurrentChannel()
3750 chnl -= 2; in bthci_CmdWIFICurrentChannel()
3753 RTPRINT(FIOCTL, IOCTL_BT_HCICMD_EXT, ("Current Channel = 0x%x\n", chnl)); in bthci_CmdWIFICurrentChannel()
3771 pRetPar[1] = chnl; /* current channel */ in bthci_CmdWIFICurrentChannel()
9190 u8 chnl; in BTDM_SetFwChnlInfo() local
9198 chnl = pmlmeext->cur_channel; in BTDM_SetFwChnlInfo()
9201 chnl -= 2; in BTDM_SetFwChnlInfo()
9203 chnl += 2; in BTDM_SetFwChnlInfo()
9205 H2C_Parameter[1] = chnl; in BTDM_SetFwChnlInfo()
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c265 u16 chnl[4]; in wil_cfg80211_scan() member