Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wireless/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.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()
/linux-4.4.14/drivers/net/wireless/realtek/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);
/linux-4.4.14/drivers/staging/rtl8188eu/hal/
Drtl8188e_hal_init.c427 static u8 Hal_GetChnlGroup88E(u8 chnl, u8 *pGroup) in Hal_GetChnlGroup88E() argument
431 if (chnl <= 14) { in Hal_GetChnlGroup88E()
434 if (chnl < 3) /* Channel 1-2 */ in Hal_GetChnlGroup88E()
436 else if (chnl < 6) /* Channel 3-5 */ in Hal_GetChnlGroup88E()
438 else if (chnl < 9) /* Channel 6-8 */ in Hal_GetChnlGroup88E()
440 else if (chnl < 12) /* Channel 9-11 */ in Hal_GetChnlGroup88E()
442 else if (chnl < 14) /* Channel 12-13 */ in Hal_GetChnlGroup88E()
444 else if (chnl == 14) /* Channel 14 */ in Hal_GetChnlGroup88E()
452 if (chnl <= 40) in Hal_GetChnlGroup88E()
454 else if (chnl <= 48) in Hal_GetChnlGroup88E()
[all …]
Dphy.c365 static u8 get_right_chnl_for_iqk(u8 chnl) in get_right_chnl_for_iqk() argument
375 if (chnl > 14) { in get_right_chnl_for_iqk()
377 if (channel_all[place] == chnl) in get_right_chnl_for_iqk()
/linux-4.4.14/net/caif/
Dchnl_net.c47 struct cflayer chnl; member
81 priv = container_of(layr, struct chnl_net, chnl); in chnl_recv_cb()
159 struct chnl_net *priv = container_of(lyr, struct chnl_net, chnl); in chnl_hold()
165 struct chnl_net *priv = container_of(lyr, struct chnl_net, chnl); in chnl_put()
172 struct chnl_net *priv = container_of(layr, struct chnl_net, chnl); in chnl_flowctrl_cb()
206 caif_client_register_refcnt(&priv->chnl, chnl_hold, chnl_put); in chnl_flowctrl_cb()
249 result = priv->chnl.dn->transmit(priv->chnl.dn, pkt); in chnl_net_start_xmit()
278 &priv->chnl, &llifindex, in chnl_net_open()
334 caif_disconnect_client(dev_net(dev), &priv->chnl); in chnl_net_open()
350 caif_disconnect_client(dev_net(dev), &priv->chnl); in chnl_net_open()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/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()
/linux-4.4.14/drivers/net/wireless/realtek/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()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_sd7220.c1137 int chnl; in ibsd_mod_allchnls() local
1147 chnl = (loc >> (4 + EPB_ADDR_SHF)) & 7; in ibsd_mod_allchnls()
1157 (sloc >> 9) & 0x3f, chnl); in ibsd_mod_allchnls()
1176 for (chnl = 0; chnl < 4; ++chnl) { in ibsd_mod_allchnls()
1177 int cloc = loc | (chnl << (4+EPB_ADDR_SHF)); in ibsd_mod_allchnls()
1185 (sloc & 0xF), (sloc >> 9) & 0x3f, chnl, in ibsd_mod_allchnls()
1308 #define BACTRL(chnl) EPB_LOC(chnl, 6, 0x0E) argument
1309 #define LDOUTCTRL1(chnl) EPB_LOC(chnl, 7, 6) argument
1310 #define RXHSSTATUS(chnl) EPB_LOC(chnl, 6, 0xF) argument
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c2559 static u8 _rtl8821ae_get_chnl_group(u8 chnl) in _rtl8821ae_get_chnl_group() argument
2563 if (chnl <= 14) { in _rtl8821ae_get_chnl_group()
2564 if (1 <= chnl && chnl <= 2) in _rtl8821ae_get_chnl_group()
2566 else if (3 <= chnl && chnl <= 5) in _rtl8821ae_get_chnl_group()
2568 else if (6 <= chnl && chnl <= 8) in _rtl8821ae_get_chnl_group()
2570 else if (9 <= chnl && chnl <= 11) in _rtl8821ae_get_chnl_group()
2575 if (36 <= chnl && chnl <= 42) in _rtl8821ae_get_chnl_group()
2577 else if (44 <= chnl && chnl <= 48) in _rtl8821ae_get_chnl_group()
2579 else if (50 <= chnl && chnl <= 58) in _rtl8821ae_get_chnl_group()
2581 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 …]
/linux-4.4.14/drivers/net/wireless/realtek/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 …]
/linux-4.4.14/arch/mips/ar7/
Dirq.c48 #define CHNL_OFFSET(chnl) (CHNLS_OFFSET + (chnl * 4)) argument
/linux-4.4.14/arch/blackfin/include/asm/
Dbfin_sport.h40 __BFP(chnl);
/linux-4.4.14/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()
/linux-4.4.14/drivers/net/wireless/realtek/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()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c1538 static u8 _rtl88e_get_chnl_group(u8 chnl) in _rtl88e_get_chnl_group() argument
1542 if (chnl < 3) in _rtl88e_get_chnl_group()
1544 else if (chnl < 6) in _rtl88e_get_chnl_group()
1546 else if (chnl < 9) in _rtl88e_get_chnl_group()
1548 else if (chnl < 12) in _rtl88e_get_chnl_group()
1550 else if (chnl < 14) in _rtl88e_get_chnl_group()
1552 else if (chnl == 14) in _rtl88e_get_chnl_group()
/linux-4.4.14/drivers/staging/rtl8723au/hal/
Drtl8723a_hal_init.c1579 static u8 Hal_GetChnlGroup(u8 chnl) in Hal_GetChnlGroup() argument
1583 if (chnl < 3) /* Cjanel 1-3 */ in Hal_GetChnlGroup()
1585 else if (chnl < 9) /* Channel 4-9 */ in Hal_GetChnlGroup()
Drtl8723a_bt-coexist.c3724 u8 chnl = pmlmeext->cur_channel; in bthci_CmdWIFICurrentChannel() local
3728 chnl += 2; in bthci_CmdWIFICurrentChannel()
3730 chnl -= 2; in bthci_CmdWIFICurrentChannel()
3733 RTPRINT(FIOCTL, IOCTL_BT_HCICMD_EXT, ("Current Channel = 0x%x\n", chnl)); in bthci_CmdWIFICurrentChannel()
3751 pRetPar[1] = chnl; /* current channel */ in bthci_CmdWIFICurrentChannel()
9101 u8 chnl; in BTDM_SetFwChnlInfo() local
9109 chnl = pmlmeext->cur_channel; in BTDM_SetFwChnlInfo()
9112 chnl -= 2; in BTDM_SetFwChnlInfo()
9114 chnl += 2; in BTDM_SetFwChnlInfo()
9116 H2C_Parameter[1] = chnl; in BTDM_SetFwChnlInfo()
/linux-4.4.14/drivers/net/wireless/realtek/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()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dphy.c2233 static u8 _get_right_chnl_place_for_iqk(u8 chnl) in _get_right_chnl_place_for_iqk() argument
2244 u8 place = chnl; in _get_right_chnl_place_for_iqk()
2246 if (chnl > 14) { in _get_right_chnl_place_for_iqk()
2248 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()
/linux-4.4.14/Documentation/
Drpmsg.txt227 dev_info(&rpdev->dev, "chnl: 0x%x -> 0x%x\n", rpdev->src, rpdev->dst);
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dcfg80211.c266 u16 chnl[4]; in wil_cfg80211_scan() member