/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-scd.h | 52 static inline unsigned int SCD_QUEUE_WRPTR(unsigned int chnl) in SCD_QUEUE_WRPTR() argument 54 if (chnl < 20) in SCD_QUEUE_WRPTR() 55 return SCD_BASE + 0x18 + chnl * 4; in SCD_QUEUE_WRPTR() 56 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_WRPTR() 57 return SCD_BASE + 0x284 + (chnl - 20) * 4; in SCD_QUEUE_WRPTR() 60 static inline unsigned int SCD_QUEUE_RDPTR(unsigned int chnl) in SCD_QUEUE_RDPTR() argument 62 if (chnl < 20) in SCD_QUEUE_RDPTR() 63 return SCD_BASE + 0x68 + chnl * 4; in SCD_QUEUE_RDPTR() 64 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_RDPTR() 65 return SCD_BASE + 0x2B4 + chnl * 4; in SCD_QUEUE_RDPTR() [all …]
|
D | iwl-fh.h | 72 unsigned int chnl) in FH_MEM_CBBC_QUEUE() argument 75 WARN_ON_ONCE(chnl >= 64); in FH_MEM_CBBC_QUEUE() 76 return TFH_TFDQ_CBB_TABLE + 8 * chnl; in FH_MEM_CBBC_QUEUE() 78 if (chnl < 16) in FH_MEM_CBBC_QUEUE() 79 return FH_MEM_CBBC_0_15_LOWER_BOUND + 4 * chnl; in FH_MEM_CBBC_QUEUE() 80 if (chnl < 20) in FH_MEM_CBBC_QUEUE() 81 return FH_MEM_CBBC_16_19_LOWER_BOUND + 4 * (chnl - 16); in FH_MEM_CBBC_QUEUE() 82 WARN_ON_ONCE(chnl >= 32); in FH_MEM_CBBC_QUEUE() 83 return FH_MEM_CBBC_20_31_LOWER_BOUND + 4 * (chnl - 20); in FH_MEM_CBBC_QUEUE()
|
/linux-6.1.9/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-6.1.9/net/caif/ |
D | chnl_net.c | 45 struct cflayer chnl; member 64 priv = container_of(layr, struct chnl_net, chnl); in chnl_recv_cb() 137 struct chnl_net *priv = container_of(lyr, struct chnl_net, chnl); in chnl_hold() 143 struct chnl_net *priv = container_of(lyr, struct chnl_net, chnl); in chnl_put() 150 struct chnl_net *priv = container_of(layr, struct chnl_net, chnl); in chnl_flowctrl_cb() 184 caif_client_register_refcnt(&priv->chnl, chnl_hold, chnl_put); in chnl_flowctrl_cb() 228 result = priv->chnl.dn->transmit(priv->chnl.dn, pkt); in chnl_net_start_xmit() 257 &priv->chnl, &llifindex, in chnl_net_open() 326 caif_disconnect_client(dev_net(dev), &priv->chnl); in chnl_net_open() 340 caif_disconnect_client(dev_net(dev), &priv->chnl); in chnl_net_stop() [all …]
|
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 1130 int chnl; in ibsd_mod_allchnls() local 1140 chnl = (loc >> (4 + EPB_ADDR_SHF)) & 7; in ibsd_mod_allchnls() 1150 (sloc >> 9) & 0x3f, chnl); in ibsd_mod_allchnls() 1169 for (chnl = 0; chnl < 4; ++chnl) { in ibsd_mod_allchnls() 1170 int cloc = loc | (chnl << (4+EPB_ADDR_SHF)); in ibsd_mod_allchnls() 1178 (sloc & 0xF), (sloc >> 9) & 0x3f, chnl, in ibsd_mod_allchnls() 1301 #define BACTRL(chnl) EPB_LOC(chnl, 6, 0x0E) argument 1302 #define LDOUTCTRL1(chnl) EPB_LOC(chnl, 7, 6) argument 1303 #define RXHSSTATUS(chnl) EPB_LOC(chnl, 6, 0xF) argument
|
/linux-6.1.9/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 const char *chnl = array[i+5]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local 1791 chnl, val); in _rtl8821ae_phy_read_and_config_txpwr_lmt() 2340 u16 regu, bdwidth, sec, chnl; in _rtl8812ae_phy_get_txpower_limit() local 2465 chnl = channel_temp; in _rtl8812ae_phy_get_txpower_limit() 2473 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 2478 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 2485 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 2489 rtlphy->txpwr_limit_5g[regu][chnl] in _rtl8812ae_phy_get_txpower_limit() 2490 [sec][chnl][rf_path]; in _rtl8812ae_phy_get_txpower_limit() 3598 u8 _rtl8812ae_get_right_chnl_place_for_iqk(u8 chnl) in _rtl8812ae_get_right_chnl_place_for_iqk() argument [all …]
|
/linux-6.1.9/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 | 897 static u8 _rtl92c_phy_get_rightchnlplace(u8 chnl) in _rtl92c_phy_get_rightchnlplace() argument 899 u8 place = chnl; in _rtl92c_phy_get_rightchnlplace() 901 if (chnl > 14) { in _rtl92c_phy_get_rightchnlplace() 903 if (channel5g[place] == chnl) { in _rtl92c_phy_get_rightchnlplace() 1364 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl) in rtl92d_get_rightchnlplace_for_iqk() argument 1368 if (chnl > 14) { in rtl92d_get_rightchnlplace_for_iqk() 1370 if (channel_all[place] == chnl) in rtl92d_get_rightchnlplace_for_iqk() 3214 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl) in rtl92d_get_chnlgroup_fromarray() argument 3218 if (channel_all[chnl] <= 3) in rtl92d_get_chnlgroup_fromarray() 3220 else if (channel_all[chnl] <= 9) in rtl92d_get_chnlgroup_fromarray() [all …]
|
/linux-6.1.9/arch/mips/ar7/ |
D | irq.c | 35 #define CHNL_OFFSET(chnl) (CHNLS_OFFSET + (chnl * 4)) argument
|
/linux-6.1.9/drivers/remoteproc/ |
D | pru_rproc.h | 26 u8 chnl; member
|
D | pru_rproc.c | 347 fwspec.param[1] = rsc->pru_intc_map[i].chnl; in pru_handle_intrmap()
|
/linux-6.1.9/drivers/staging/rtl8723bs/hal/ |
D | HalHWImg8723B_RF.c | 551 u8 *chnl = Array[i+4]; in ODM_ReadAndConfig_MP_8723B_TXPWR_LMT() local 560 chnl, in ODM_ReadAndConfig_MP_8723B_TXPWR_LMT()
|
/linux-6.1.9/drivers/staging/r8188eu/hal/ |
D | rtl8188e_hal_init.c | 800 static void hal_get_chnl_group_88e(u8 chnl, u8 *group) in hal_get_chnl_group_88e() argument 802 if (chnl < 3) /* Channel 1-2 */ in hal_get_chnl_group_88e() 804 else if (chnl < 6) /* Channel 3-5 */ in hal_get_chnl_group_88e() 806 else if (chnl < 9) /* Channel 6-8 */ in hal_get_chnl_group_88e() 808 else if (chnl < 12) /* Channel 9-11 */ in hal_get_chnl_group_88e() 810 else if (chnl < 14) /* Channel 12-13 */ in hal_get_chnl_group_88e() 812 else if (chnl == 14) /* Channel 14 */ in hal_get_chnl_group_88e()
|
/linux-6.1.9/drivers/net/wwan/iosm/ |
D | iosm_ipc_imem.c | 17 static int ipc_imem_check_wwan_ips(struct ipc_mem_channel *chnl) in ipc_imem_check_wwan_ips() argument 19 if (chnl) in ipc_imem_check_wwan_ips() 20 return chnl->ctype == IPC_CTYPE_WWAN && in ipc_imem_check_wwan_ips() 21 chnl->if_id == IPC_MEM_MUX_IP_CH_IF_ID; in ipc_imem_check_wwan_ips()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 1511 static u8 _rtl88e_get_chnl_group(u8 chnl) in _rtl88e_get_chnl_group() argument 1515 if (chnl < 3) in _rtl88e_get_chnl_group() 1517 else if (chnl < 6) in _rtl88e_get_chnl_group() 1519 else if (chnl < 9) in _rtl88e_get_chnl_group() 1521 else if (chnl < 12) in _rtl88e_get_chnl_group() 1523 else if (chnl < 14) in _rtl88e_get_chnl_group() 1525 else if (chnl == 14) in _rtl88e_get_chnl_group()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtcoutsrc.c | 115 u8 chnl = 1; in halbtc_get_wifi_central_chnl() local 118 chnl = rtlphy->current_channel; in halbtc_get_wifi_central_chnl() 120 "%s:%d\n", __func__, chnl); in halbtc_get_wifi_central_chnl() 121 return chnl; in halbtc_get_wifi_central_chnl()
|
/linux-6.1.9/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 | 1376 static u8 _rtl8723e_get_chnl_group(u8 chnl) in _rtl8723e_get_chnl_group() argument 1380 if (chnl < 3) in _rtl8723e_get_chnl_group() 1382 else if (chnl < 9) in _rtl8723e_get_chnl_group()
|
/linux-6.1.9/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()
|