| /Linux-v5.4/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-scd.h | 106 static inline unsigned int SCD_QUEUE_WRPTR(unsigned int chnl) in SCD_QUEUE_WRPTR() argument 108 if (chnl < 20) in SCD_QUEUE_WRPTR() 109 return SCD_BASE + 0x18 + chnl * 4; in SCD_QUEUE_WRPTR() 110 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_WRPTR() 111 return SCD_BASE + 0x284 + (chnl - 20) * 4; in SCD_QUEUE_WRPTR() 114 static inline unsigned int SCD_QUEUE_RDPTR(unsigned int chnl) in SCD_QUEUE_RDPTR() argument 116 if (chnl < 20) in SCD_QUEUE_RDPTR() 117 return SCD_BASE + 0x68 + chnl * 4; in SCD_QUEUE_RDPTR() 118 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_RDPTR() 119 return SCD_BASE + 0x2B4 + chnl * 4; in SCD_QUEUE_RDPTR() [all …]
|
| D | iwl-fh.h | 128 unsigned int chnl) in FH_MEM_CBBC_QUEUE() argument 131 WARN_ON_ONCE(chnl >= 64); in FH_MEM_CBBC_QUEUE() 132 return TFH_TFDQ_CBB_TABLE + 8 * chnl; in FH_MEM_CBBC_QUEUE() 134 if (chnl < 16) in FH_MEM_CBBC_QUEUE() 135 return FH_MEM_CBBC_0_15_LOWER_BOUND + 4 * chnl; in FH_MEM_CBBC_QUEUE() 136 if (chnl < 20) in FH_MEM_CBBC_QUEUE() 137 return FH_MEM_CBBC_16_19_LOWER_BOUND + 4 * (chnl - 16); in FH_MEM_CBBC_QUEUE() 138 WARN_ON_ONCE(chnl >= 32); in FH_MEM_CBBC_QUEUE() 139 return FH_MEM_CBBC_20_31_LOWER_BOUND + 4 * (chnl - 20); in FH_MEM_CBBC_QUEUE()
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| D | rf.c | 13 u8 chnl, u32 *ofdmbase, u32 *mcsbase, in _rtl92s_get_powerbase() argument 31 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_powerbase() 52 [i][chnl - 1]; in _rtl92s_get_powerbase() 80 chnl - 1]; in _rtl92s_get_powerbase() 83 chnl - 1]; in _rtl92s_get_powerbase() 87 chnl - 1]; in _rtl92s_get_powerbase() 90 chnl - 1]; in _rtl92s_get_powerbase() 151 u8 chnl, u8 index, in _rtl92s_get_txpower_writeval_byregulatory() argument 188 if (chnl <= 3) in _rtl92s_get_txpower_writeval_byregulatory() 190 else if (chnl >= 4 && chnl <= 8) in _rtl92s_get_txpower_writeval_byregulatory() [all …]
|
| D | rf.h | 15 u8 *p_pwrlevel, u8 chnl);
|
| /Linux-v5.4/net/caif/ |
| D | chnl_net.c | 45 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-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| D | hw.h | 7 static inline u8 rtl92c_get_chnl_group(u8 chnl) in rtl92c_get_chnl_group() argument 11 if (chnl < 3) in rtl92c_get_chnl_group() 13 else if (chnl < 9) in rtl92c_get_chnl_group()
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| D | hw.c | 1735 static u8 _rtl92ee_get_chnl_group(u8 chnl) in _rtl92ee_get_chnl_group() argument 1739 if (chnl <= 14) { in _rtl92ee_get_chnl_group() 1740 if (1 <= chnl && chnl <= 2) in _rtl92ee_get_chnl_group() 1742 else if (3 <= chnl && chnl <= 5) in _rtl92ee_get_chnl_group() 1744 else if (6 <= chnl && chnl <= 8) in _rtl92ee_get_chnl_group() 1746 else if (9 <= chnl && chnl <= 11) in _rtl92ee_get_chnl_group() 1748 else if (12 <= chnl && chnl <= 14) in _rtl92ee_get_chnl_group() 1751 if (36 <= chnl && chnl <= 42) in _rtl92ee_get_chnl_group() 1753 else if (44 <= chnl && chnl <= 48) in _rtl92ee_get_chnl_group() 1755 else if (50 <= chnl && chnl <= 58) in _rtl92ee_get_chnl_group() [all …]
|
| D | phy.c | 2775 static u8 rtl92ee_get_rightchnlplace_for_iqk(u8 chnl) in rtl92ee_get_rightchnlplace_for_iqk() argument 2785 u8 place = chnl; in rtl92ee_get_rightchnlplace_for_iqk() 2787 if (chnl > 14) { in rtl92ee_get_rightchnlplace_for_iqk() 2789 if (channel_all[place] == chnl) in rtl92ee_get_rightchnlplace_for_iqk()
|
| /Linux-v5.4/drivers/infiniband/hw/qib/ |
| D | qib_sd7220.c | 1131 int chnl; in ibsd_mod_allchnls() local 1141 chnl = (loc >> (4 + EPB_ADDR_SHF)) & 7; in ibsd_mod_allchnls() 1151 (sloc >> 9) & 0x3f, chnl); in ibsd_mod_allchnls() 1170 for (chnl = 0; chnl < 4; ++chnl) { in ibsd_mod_allchnls() 1171 int cloc = loc | (chnl << (4+EPB_ADDR_SHF)); in ibsd_mod_allchnls() 1179 (sloc & 0xF), (sloc >> 9) & 0x3f, chnl, in ibsd_mod_allchnls() 1302 #define BACTRL(chnl) EPB_LOC(chnl, 6, 0x0E) argument 1303 #define LDOUTCTRL1(chnl) EPB_LOC(chnl, 7, 6) argument 1304 #define RXHSSTATUS(chnl) EPB_LOC(chnl, 6, 0xF) argument
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| D | hw.c | 2528 static u8 _rtl8821ae_get_chnl_group(u8 chnl) in _rtl8821ae_get_chnl_group() argument 2532 if (chnl <= 14) { in _rtl8821ae_get_chnl_group() 2533 if (1 <= chnl && chnl <= 2) in _rtl8821ae_get_chnl_group() 2535 else if (3 <= chnl && chnl <= 5) in _rtl8821ae_get_chnl_group() 2537 else if (6 <= chnl && chnl <= 8) in _rtl8821ae_get_chnl_group() 2539 else if (9 <= chnl && chnl <= 11) in _rtl8821ae_get_chnl_group() 2544 if (36 <= chnl && chnl <= 42) in _rtl8821ae_get_chnl_group() 2546 else if (44 <= chnl && chnl <= 48) in _rtl8821ae_get_chnl_group() 2548 else if (50 <= chnl && chnl <= 58) in _rtl8821ae_get_chnl_group() 2550 else if (60 <= chnl && chnl <= 64) in _rtl8821ae_get_chnl_group() [all …]
|
| D | phy.h | 227 u8 _rtl8812ae_get_right_chnl_place_for_iqk(u8 chnl);
|
| D | phy.c | 1793 u8 *chnl = array[i+5]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local 1798 chnl, val); in _rtl8821ae_phy_read_and_config_txpwr_lmt() 2354 u16 bd, regu, bdwidth, sec, chnl; in _rtl8812ae_phy_get_txpower_limit() local 2479 chnl = channel_temp; in _rtl8812ae_phy_get_txpower_limit() 2487 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 2492 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 2499 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 2503 rtlphy->txpwr_limit_5g[regu][chnl] in _rtl8812ae_phy_get_txpower_limit() 2504 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 3614 u8 _rtl8812ae_get_right_chnl_place_for_iqk(u8 chnl) in _rtl8812ae_get_right_chnl_place_for_iqk() argument [all …]
|
| /Linux-v5.4/drivers/staging/rtl8188eu/hal/ |
| D | rtl8188e_hal_init.c | 375 void Hal_GetChnlGroup88E(u8 chnl, u8 *group) in Hal_GetChnlGroup88E() argument 377 if (chnl < 3) /* Channel 1-2 */ in Hal_GetChnlGroup88E() 379 else if (chnl < 6) /* Channel 3-5 */ in Hal_GetChnlGroup88E() 381 else if (chnl < 9) /* Channel 6-8 */ in Hal_GetChnlGroup88E() 383 else if (chnl < 12) /* Channel 9-11 */ in Hal_GetChnlGroup88E() 385 else if (chnl < 14) /* Channel 12-13 */ in Hal_GetChnlGroup88E() 387 else if (chnl == 14) /* Channel 14 */ in Hal_GetChnlGroup88E()
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| D | phy.h | 131 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl); 144 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl);
|
| D | phy.c | 895 static u8 _rtl92c_phy_get_rightchnlplace(u8 chnl) in _rtl92c_phy_get_rightchnlplace() argument 897 u8 place = chnl; in _rtl92c_phy_get_rightchnlplace() 899 if (chnl > 14) { in _rtl92c_phy_get_rightchnlplace() 901 if (channel5g[place] == chnl) { in _rtl92c_phy_get_rightchnlplace() 1362 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl) in rtl92d_get_rightchnlplace_for_iqk() argument 1372 u8 place = chnl; in rtl92d_get_rightchnlplace_for_iqk() 1374 if (chnl > 14) { in rtl92d_get_rightchnlplace_for_iqk() 1376 if (channel_all[place] == chnl) in rtl92d_get_rightchnlplace_for_iqk() 3227 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl) in rtl92d_get_chnlgroup_fromarray() argument 3240 if (channel_info[chnl] <= 3) in rtl92d_get_chnlgroup_fromarray() [all …]
|
| /Linux-v5.4/arch/mips/ar7/ |
| D | irq.c | 35 #define CHNL_OFFSET(chnl) (CHNLS_OFFSET + (chnl * 4)) argument
|
| /Linux-v5.4/drivers/staging/rtl8723bs/hal/ |
| D | HalPhyRf.c | 633 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()
|
| D | HalPhyRf.h | 52 u8 ODM_GetRightChnlPlaceforIQK(u8 chnl);
|
| D | HalHWImg8723B_RF.c | 776 u8 *chnl = Array[i+5]; in ODM_ReadAndConfig_MP_8723B_TXPWR_LMT() local 786 chnl, in ODM_ReadAndConfig_MP_8723B_TXPWR_LMT()
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| D | hw.c | 1513 static u8 _rtl88e_get_chnl_group(u8 chnl) in _rtl88e_get_chnl_group() argument 1517 if (chnl < 3) in _rtl88e_get_chnl_group() 1519 else if (chnl < 6) in _rtl88e_get_chnl_group() 1521 else if (chnl < 9) in _rtl88e_get_chnl_group() 1523 else if (chnl < 12) in _rtl88e_get_chnl_group() 1525 else if (chnl < 14) in _rtl88e_get_chnl_group() 1527 else if (chnl == 14) in _rtl88e_get_chnl_group()
|
| /Linux-v5.4/drivers/staging/rtl8188eu/include/ |
| D | rtl8188e_hal.h | 332 void Hal_GetChnlGroup88E(u8 chnl, u8 *group);
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
| D | halbtcoutsrc.c | 128 u8 chnl = 1; in halbtc_get_wifi_central_chnl() local 131 chnl = rtlphy->current_channel; in halbtc_get_wifi_central_chnl() 133 "static halbtc_get_wifi_central_chnl:%d\n", chnl); in halbtc_get_wifi_central_chnl() 134 return chnl; in halbtc_get_wifi_central_chnl()
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| D | hal_btc.c | 51 u8 chnl; in rtl_8723e_bt_wifi_media_status_notify() local 62 chnl = rtlphy->current_channel; in rtl_8723e_bt_wifi_media_status_notify() 63 h2c_parameter[1] = chnl; in rtl_8723e_bt_wifi_media_status_notify()
|
| D | hw.c | 1377 static u8 _rtl8723e_get_chnl_group(u8 chnl) in _rtl8723e_get_chnl_group() argument 1381 if (chnl < 3) in _rtl8723e_get_chnl_group() 1383 else if (chnl < 9) in _rtl8723e_get_chnl_group()
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| D | phy.c | 2158 static u8 _get_right_chnl_place_for_iqk(u8 chnl) in _get_right_chnl_place_for_iqk() argument 2169 u8 place = chnl; in _get_right_chnl_place_for_iqk() 2171 if (chnl > 14) { in _get_right_chnl_place_for_iqk() 2173 if (channel_all[place] == chnl) in _get_right_chnl_place_for_iqk()
|