Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/
Diwl-scd.h111 static inline unsigned int SCD_QUEUE_WRPTR(unsigned int chnl) in SCD_QUEUE_WRPTR() argument
113 if (chnl < 20) in SCD_QUEUE_WRPTR()
114 return SCD_BASE + 0x18 + chnl * 4; in SCD_QUEUE_WRPTR()
115 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_WRPTR()
116 return SCD_BASE + 0x284 + (chnl - 20) * 4; in SCD_QUEUE_WRPTR()
119 static inline unsigned int SCD_QUEUE_RDPTR(unsigned int chnl) in SCD_QUEUE_RDPTR() argument
121 if (chnl < 20) in SCD_QUEUE_RDPTR()
122 return SCD_BASE + 0x68 + chnl * 4; in SCD_QUEUE_RDPTR()
123 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_RDPTR()
124 return SCD_BASE + 0x2B4 + chnl * 4; in SCD_QUEUE_RDPTR()
[all …]
Diwl-fh.h129 unsigned int chnl) in FH_MEM_CBBC_QUEUE() argument
132 WARN_ON_ONCE(chnl >= 64); in FH_MEM_CBBC_QUEUE()
133 return TFH_TFDQ_CBB_TABLE + 8 * chnl; in FH_MEM_CBBC_QUEUE()
135 if (chnl < 16) in FH_MEM_CBBC_QUEUE()
136 return FH_MEM_CBBC_0_15_LOWER_BOUND + 4 * chnl; in FH_MEM_CBBC_QUEUE()
137 if (chnl < 20) in FH_MEM_CBBC_QUEUE()
138 return FH_MEM_CBBC_16_19_LOWER_BOUND + 4 * (chnl - 16); in FH_MEM_CBBC_QUEUE()
139 WARN_ON_ONCE(chnl >= 32); in FH_MEM_CBBC_QUEUE()
140 return FH_MEM_CBBC_20_31_LOWER_BOUND + 4 * (chnl - 20); in FH_MEM_CBBC_QUEUE()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Drf.c35 u8 chnl, u32 *ofdmbase, u32 *mcsbase, in _rtl92s_get_powerbase() argument
53 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_powerbase()
74 [i][chnl - 1]; in _rtl92s_get_powerbase()
102 chnl - 1]; in _rtl92s_get_powerbase()
105 chnl - 1]; in _rtl92s_get_powerbase()
109 chnl - 1]; in _rtl92s_get_powerbase()
112 chnl - 1]; in _rtl92s_get_powerbase()
173 u8 chnl, u8 index, in _rtl92s_get_txpower_writeval_byregulatory() argument
210 if (chnl <= 3) in _rtl92s_get_txpower_writeval_byregulatory()
212 else if (chnl >= 4 && chnl <= 8) in _rtl92s_get_txpower_writeval_byregulatory()
[all …]
Drf.h36 u8 *p_pwrlevel, u8 chnl);
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drtl8188e_hal_init.c381 static u8 Hal_GetChnlGroup88E(u8 chnl, u8 *pGroup) in Hal_GetChnlGroup88E() argument
385 if (chnl <= 14) { in Hal_GetChnlGroup88E()
388 if (chnl < 3) /* Channel 1-2 */ in Hal_GetChnlGroup88E()
390 else if (chnl < 6) /* Channel 3-5 */ in Hal_GetChnlGroup88E()
392 else if (chnl < 9) /* Channel 6-8 */ in Hal_GetChnlGroup88E()
394 else if (chnl < 12) /* Channel 9-11 */ in Hal_GetChnlGroup88E()
396 else if (chnl < 14) /* Channel 12-13 */ in Hal_GetChnlGroup88E()
398 else if (chnl == 14) /* Channel 14 */ in Hal_GetChnlGroup88E()
405 if (chnl <= 40) in Hal_GetChnlGroup88E()
407 else if (chnl <= 48) in Hal_GetChnlGroup88E()
[all …]
/Linux-v4.19/net/caif/
Dchnl_net.c45 struct cflayer chnl; member
78 priv = container_of(layr, struct chnl_net, chnl); in chnl_recv_cb()
156 struct chnl_net *priv = container_of(lyr, struct chnl_net, chnl); in chnl_hold()
162 struct chnl_net *priv = container_of(lyr, struct chnl_net, chnl); in chnl_put()
169 struct chnl_net *priv = container_of(layr, struct chnl_net, chnl); in chnl_flowctrl_cb()
203 caif_client_register_refcnt(&priv->chnl, chnl_hold, chnl_put); in chnl_flowctrl_cb()
246 result = priv->chnl.dn->transmit(priv->chnl.dn, pkt); in chnl_net_start_xmit()
275 &priv->chnl, &llifindex, in chnl_net_open()
331 caif_disconnect_client(dev_net(dev), &priv->chnl); in chnl_net_open()
347 caif_disconnect_client(dev_net(dev), &priv->chnl); in chnl_net_open()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dhw.c1365 static bool _rtl8822be_get_chnl_group(u8 chnl, u8 *group) in _rtl8822be_get_chnl_group() argument
1369 if (chnl <= 14) { in _rtl8822be_get_chnl_group()
1372 if (chnl >= 1 && chnl <= 2) in _rtl8822be_get_chnl_group()
1374 else if (chnl >= 3 && chnl <= 5) in _rtl8822be_get_chnl_group()
1376 else if (chnl >= 6 && chnl <= 8) in _rtl8822be_get_chnl_group()
1378 else if (chnl >= 9 && chnl <= 11) in _rtl8822be_get_chnl_group()
1380 else if (chnl >= 12 && chnl <= 14) in _rtl8822be_get_chnl_group()
1385 if (chnl >= 36 && chnl <= 42) in _rtl8822be_get_chnl_group()
1387 else if (chnl >= 44 && chnl <= 48) in _rtl8822be_get_chnl_group()
1389 else if (chnl >= 50 && chnl <= 58) in _rtl8822be_get_chnl_group()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.h29 static inline u8 rtl92c_get_chnl_group(u8 chnl) in rtl92c_get_chnl_group() argument
33 if (chnl < 3) in rtl92c_get_chnl_group()
35 else if (chnl < 9) in rtl92c_get_chnl_group()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c1757 static u8 _rtl92ee_get_chnl_group(u8 chnl) in _rtl92ee_get_chnl_group() argument
1761 if (chnl <= 14) { in _rtl92ee_get_chnl_group()
1762 if (1 <= chnl && chnl <= 2) in _rtl92ee_get_chnl_group()
1764 else if (3 <= chnl && chnl <= 5) in _rtl92ee_get_chnl_group()
1766 else if (6 <= chnl && chnl <= 8) in _rtl92ee_get_chnl_group()
1768 else if (9 <= chnl && chnl <= 11) in _rtl92ee_get_chnl_group()
1770 else if (12 <= chnl && chnl <= 14) in _rtl92ee_get_chnl_group()
1773 if (36 <= chnl && chnl <= 42) in _rtl92ee_get_chnl_group()
1775 else if (44 <= chnl && chnl <= 48) in _rtl92ee_get_chnl_group()
1777 else if (50 <= chnl && chnl <= 58) in _rtl92ee_get_chnl_group()
[all …]
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_sd7220.c1135 int chnl; in ibsd_mod_allchnls() local
1145 chnl = (loc >> (4 + EPB_ADDR_SHF)) & 7; in ibsd_mod_allchnls()
1155 (sloc >> 9) & 0x3f, chnl); in ibsd_mod_allchnls()
1174 for (chnl = 0; chnl < 4; ++chnl) { in ibsd_mod_allchnls()
1175 int cloc = loc | (chnl << (4+EPB_ADDR_SHF)); in ibsd_mod_allchnls()
1183 (sloc & 0xF), (sloc >> 9) & 0x3f, chnl, in ibsd_mod_allchnls()
1306 #define BACTRL(chnl) EPB_LOC(chnl, 6, 0x0E) argument
1307 #define LDOUTCTRL1(chnl) EPB_LOC(chnl, 7, 6) argument
1308 #define RXHSSTATUS(chnl) EPB_LOC(chnl, 6, 0xF) argument
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c2550 static u8 _rtl8821ae_get_chnl_group(u8 chnl) in _rtl8821ae_get_chnl_group() argument
2554 if (chnl <= 14) { in _rtl8821ae_get_chnl_group()
2555 if (1 <= chnl && chnl <= 2) in _rtl8821ae_get_chnl_group()
2557 else if (3 <= chnl && chnl <= 5) in _rtl8821ae_get_chnl_group()
2559 else if (6 <= chnl && chnl <= 8) in _rtl8821ae_get_chnl_group()
2561 else if (9 <= chnl && chnl <= 11) in _rtl8821ae_get_chnl_group()
2566 if (36 <= chnl && chnl <= 42) in _rtl8821ae_get_chnl_group()
2568 else if (44 <= chnl && chnl <= 48) in _rtl8821ae_get_chnl_group()
2570 else if (50 <= chnl && chnl <= 58) in _rtl8821ae_get_chnl_group()
2572 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.c1814 u8 *chnl = array[i+5]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local
1819 chnl, val); in _rtl8821ae_phy_read_and_config_txpwr_lmt()
2375 u16 bd, regu, bdwidth, sec, chnl; in _rtl8812ae_phy_get_txpower_limit() local
2500 chnl = channel_temp; in _rtl8812ae_phy_get_txpower_limit()
2508 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit()
2513 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit()
2520 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit()
2524 rtlphy->txpwr_limit_5g[regu][chnl] in _rtl8812ae_phy_get_txpower_limit()
2525 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit()
3635 u8 _rtl8812ae_get_right_chnl_place_for_iqk(u8 chnl) in _rtl8812ae_get_right_chnl_place_for_iqk() argument
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dphy.h153 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl);
166 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl);
Dphy.c917 static u8 _rtl92c_phy_get_rightchnlplace(u8 chnl) in _rtl92c_phy_get_rightchnlplace() argument
919 u8 place = chnl; in _rtl92c_phy_get_rightchnlplace()
921 if (chnl > 14) { in _rtl92c_phy_get_rightchnlplace()
923 if (channel5g[place] == chnl) { in _rtl92c_phy_get_rightchnlplace()
1384 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl) in rtl92d_get_rightchnlplace_for_iqk() argument
1394 u8 place = chnl; in rtl92d_get_rightchnlplace_for_iqk()
1396 if (chnl > 14) { in rtl92d_get_rightchnlplace_for_iqk()
1398 if (channel_all[place] == chnl) in rtl92d_get_rightchnlplace_for_iqk()
3249 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl) in rtl92d_get_chnlgroup_fromarray() argument
3262 if (channel_info[chnl] <= 3) in rtl92d_get_chnlgroup_fromarray()
[all …]
/Linux-v4.19/arch/mips/ar7/
Dirq.c48 #define CHNL_OFFSET(chnl) (CHNLS_OFFSET + (chnl * 4)) argument
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
DHalPhyRf.c633 u8 ODM_GetRightChnlPlaceforIQK(u8 chnl) in ODM_GetRightChnlPlaceforIQK() argument
643 u8 place = chnl; in ODM_GetRightChnlPlaceforIQK()
646 if (chnl > 14) { in ODM_GetRightChnlPlaceforIQK()
648 if (channel_all[place] == chnl) in ODM_GetRightChnlPlaceforIQK()
DHalPhyRf.h52 u8 ODM_GetRightChnlPlaceforIQK(u8 chnl);
DHalHWImg8723B_RF.c776 u8 *chnl = Array[i+5]; in ODM_ReadAndConfig_MP_8723B_TXPWR_LMT() local
786 chnl, in ODM_ReadAndConfig_MP_8723B_TXPWR_LMT()
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dhalphyrf_ce.h69 u8 odm_get_right_chnl_place_for_iqk(u8 chnl);
Dhalphyrf_ce.c890 u8 odm_get_right_chnl_place_for_iqk(u8 chnl) in odm_get_right_chnl_place_for_iqk() argument
898 u8 place = chnl; in odm_get_right_chnl_place_for_iqk()
900 if (chnl > 14) { in odm_get_right_chnl_place_for_iqk()
902 if (channel_all[place] == chnl) in odm_get_right_chnl_place_for_iqk()
/Linux-v4.19/drivers/staging/rtlwifi/phydm/rtl8822b/
Dhalhwimg8822b_rf.c4241 u8 *chnl = array[i + 5]; in odm_read_and_config_mp_8822b_txpwr_lmt() local
4245 rate, rf_path, chnl, val); in odm_read_and_config_mp_8822b_txpwr_lmt()
4724 u8 *chnl = array[i + 5]; in odm_read_and_config_mp_8822b_txpwr_lmt_type5() local
4728 rate, rf_path, chnl, val); in odm_read_and_config_mp_8822b_txpwr_lmt_type5()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c1539 static u8 _rtl88e_get_chnl_group(u8 chnl) in _rtl88e_get_chnl_group() argument
1543 if (chnl < 3) in _rtl88e_get_chnl_group()
1545 else if (chnl < 6) in _rtl88e_get_chnl_group()
1547 else if (chnl < 9) in _rtl88e_get_chnl_group()
1549 else if (chnl < 12) in _rtl88e_get_chnl_group()
1551 else if (chnl < 14) in _rtl88e_get_chnl_group()
1553 else if (chnl == 14) in _rtl88e_get_chnl_group()
/Linux-v4.19/drivers/staging/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 "%s:%d\n", __func__, chnl); in halbtc_get_wifi_central_chnl()
146 return chnl; in halbtc_get_wifi_central_chnl()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c150 u8 chnl = 1; in halbtc_get_wifi_central_chnl() local
153 chnl = rtlphy->current_channel; in halbtc_get_wifi_central_chnl()
155 "static halbtc_get_wifi_central_chnl:%d\n", chnl); in halbtc_get_wifi_central_chnl()
156 return chnl; in halbtc_get_wifi_central_chnl()

12