| /Linux-v5.10/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.10/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.10/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() 247 result = priv->chnl.dn->transmit(priv->chnl.dn, pkt); in chnl_net_start_xmit() 276 &priv->chnl, &llifindex, in chnl_net_open() 332 caif_disconnect_client(dev_net(dev), &priv->chnl); in chnl_net_open() 348 caif_disconnect_client(dev_net(dev), &priv->chnl); in chnl_net_open() [all …]
|
| /Linux-v5.10/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.10/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 | 2768 static u8 rtl92ee_get_rightchnlplace_for_iqk(u8 chnl) in rtl92ee_get_rightchnlplace_for_iqk() argument 2778 u8 place = chnl; in rtl92ee_get_rightchnlplace_for_iqk() 2780 if (chnl > 14) { in rtl92ee_get_rightchnlplace_for_iqk() 2782 if (channel_all[place] == chnl) in rtl92ee_get_rightchnlplace_for_iqk()
|
| /Linux-v5.10/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.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| D | hw.c | 2527 static u8 _rtl8821ae_get_chnl_group(u8 chnl) in _rtl8821ae_get_chnl_group() argument 2531 if (chnl <= 14) { in _rtl8821ae_get_chnl_group() 2532 if (1 <= chnl && chnl <= 2) in _rtl8821ae_get_chnl_group() 2534 else if (3 <= chnl && chnl <= 5) in _rtl8821ae_get_chnl_group() 2536 else if (6 <= chnl && chnl <= 8) in _rtl8821ae_get_chnl_group() 2538 else if (9 <= chnl && chnl <= 11) in _rtl8821ae_get_chnl_group() 2543 if (36 <= chnl && chnl <= 42) in _rtl8821ae_get_chnl_group() 2545 else if (44 <= chnl && chnl <= 48) in _rtl8821ae_get_chnl_group() 2547 else if (50 <= chnl && chnl <= 58) in _rtl8821ae_get_chnl_group() 2549 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 | 1786 u8 *chnl = array[i+5]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local 1791 chnl, val); in _rtl8821ae_phy_read_and_config_txpwr_lmt() 2343 u16 regu, bdwidth, sec, chnl; in _rtl8812ae_phy_get_txpower_limit() local 2467 chnl = channel_temp; in _rtl8812ae_phy_get_txpower_limit() 2475 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 2480 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 2487 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 2491 rtlphy->txpwr_limit_5g[regu][chnl] in _rtl8812ae_phy_get_txpower_limit() 2492 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 3600 u8 _rtl8812ae_get_right_chnl_place_for_iqk(u8 chnl) in _rtl8812ae_get_right_chnl_place_for_iqk() argument [all …]
|
| /Linux-v5.10/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.10/arch/mips/ar7/ |
| D | irq.c | 35 #define CHNL_OFFSET(chnl) (CHNLS_OFFSET + (chnl * 4)) argument
|
| /Linux-v5.10/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 | 888 static u8 _rtl92c_phy_get_rightchnlplace(u8 chnl) in _rtl92c_phy_get_rightchnlplace() argument 890 u8 place = chnl; in _rtl92c_phy_get_rightchnlplace() 892 if (chnl > 14) { in _rtl92c_phy_get_rightchnlplace() 894 if (channel5g[place] == chnl) { in _rtl92c_phy_get_rightchnlplace() 1355 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl) in rtl92d_get_rightchnlplace_for_iqk() argument 1365 u8 place = chnl; in rtl92d_get_rightchnlplace_for_iqk() 1367 if (chnl > 14) { in rtl92d_get_rightchnlplace_for_iqk() 1369 if (channel_all[place] == chnl) in rtl92d_get_rightchnlplace_for_iqk() 3220 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl) in rtl92d_get_chnlgroup_fromarray() argument 3233 if (channel_info[chnl] <= 3) in rtl92d_get_chnlgroup_fromarray() [all …]
|
| /Linux-v5.10/drivers/staging/rtl8723bs/hal/ |
| 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.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| D | hw.c | 1512 static u8 _rtl88e_get_chnl_group(u8 chnl) in _rtl88e_get_chnl_group() argument 1516 if (chnl < 3) in _rtl88e_get_chnl_group() 1518 else if (chnl < 6) in _rtl88e_get_chnl_group() 1520 else if (chnl < 9) in _rtl88e_get_chnl_group() 1522 else if (chnl < 12) in _rtl88e_get_chnl_group() 1524 else if (chnl < 14) in _rtl88e_get_chnl_group() 1526 else if (chnl == 14) in _rtl88e_get_chnl_group()
|
| /Linux-v5.10/drivers/staging/rtl8188eu/include/ |
| D | rtl8188e_hal.h | 328 void Hal_GetChnlGroup88E(u8 chnl, u8 *group);
|
| /Linux-v5.10/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 "%s:%d\n", __func__, chnl); in halbtc_get_wifi_central_chnl() 134 return chnl; in halbtc_get_wifi_central_chnl()
|
| /Linux-v5.10/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.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| D | phy.c | 2156 static u8 _get_right_chnl_place_for_iqk(u8 chnl) in _get_right_chnl_place_for_iqk() argument 2167 u8 place = chnl; in _get_right_chnl_place_for_iqk() 2169 if (chnl > 14) { in _get_right_chnl_place_for_iqk() 2171 if (channel_all[place] == chnl) in _get_right_chnl_place_for_iqk()
|
| D | hw.c | 1728 static u8 _rtl8723be_get_chnl_group(u8 chnl) in _rtl8723be_get_chnl_group() argument 1732 if (chnl < 3) in _rtl8723be_get_chnl_group() 1734 else if (chnl < 9) in _rtl8723be_get_chnl_group()
|
| /Linux-v5.10/Documentation/staging/ |
| D | rpmsg.rst | 284 dev_info(&rpdev->dev, "chnl: 0x%x -> 0x%x\n", rpdev->src, rpdev->dst);
|