| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A 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 …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| H A 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 …]
|
| H A D | rf.h | 15 u8 *p_pwrlevel, u8 chnl);
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
| H A D | phy_common.c | 390 static u8 _rtl92c_phy_get_rightchnlplace(u8 chnl) in _rtl92c_phy_get_rightchnlplace() argument 392 u8 place = chnl; in _rtl92c_phy_get_rightchnlplace() 394 if (chnl > 14) { in _rtl92c_phy_get_rightchnlplace() 396 if (channel_all[place] == chnl) { in _rtl92c_phy_get_rightchnlplace() 486 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl) in rtl92d_get_rightchnlplace_for_iqk() argument 490 if (chnl > 14) { in rtl92d_get_rightchnlplace_for_iqk() 492 if (channel_all[place] == chnl) in rtl92d_get_rightchnlplace_for_iqk() 781 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl) in rtl92d_get_chnlgroup_fromarray() argument 785 if (channel_all[chnl] <= 3) in rtl92d_get_chnlgroup_fromarray() 787 else if (channel_all[chnl] <= 9) in rtl92d_get_chnlgroup_fromarray() [all …]
|
| H A D | phy_common.h | 68 u8 rtl92d_get_rightchnlplace_for_iqk(u8 chnl); 84 u8 rtl92d_get_chnlgroup_fromarray(u8 chnl);
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| H A 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/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| H A D | hw.c | 1734 static __always_inline u8 _rtl92ee_get_chnl_group(u8 chnl) in _rtl92ee_get_chnl_group() argument 1738 if (chnl <= 14) { in _rtl92ee_get_chnl_group() 1739 if (1 <= chnl && chnl <= 2) in _rtl92ee_get_chnl_group() 1741 else if (3 <= chnl && chnl <= 5) in _rtl92ee_get_chnl_group() 1743 else if (6 <= chnl && chnl <= 8) in _rtl92ee_get_chnl_group() 1745 else if (9 <= chnl && chnl <= 11) in _rtl92ee_get_chnl_group() 1747 else if (12 <= chnl && chnl <= 14) in _rtl92ee_get_chnl_group() 1750 if (36 <= chnl && chnl <= 42) in _rtl92ee_get_chnl_group() 1752 else if (44 <= chnl && chnl <= 48) in _rtl92ee_get_chnl_group() 1754 else if (50 <= chnl && chnl <= 58) in _rtl92ee_get_chnl_group() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | hw.c | 2481 static u8 _rtl8821ae_get_chnl_group(u8 chnl) in _rtl8821ae_get_chnl_group() argument 2485 if (chnl <= 14) { in _rtl8821ae_get_chnl_group() 2486 if (1 <= chnl && chnl <= 2) in _rtl8821ae_get_chnl_group() 2488 else if (3 <= chnl && chnl <= 5) in _rtl8821ae_get_chnl_group() 2490 else if (6 <= chnl && chnl <= 8) in _rtl8821ae_get_chnl_group() 2492 else if (9 <= chnl && chnl <= 11) in _rtl8821ae_get_chnl_group() 2497 if (36 <= chnl && chnl <= 42) in _rtl8821ae_get_chnl_group() 2499 else if (44 <= chnl && chnl <= 48) in _rtl8821ae_get_chnl_group() 2501 else if (50 <= chnl && chnl <= 58) in _rtl8821ae_get_chnl_group() 2503 else if (60 <= chnl && chnl <= 64) in _rtl8821ae_get_chnl_group() [all …]
|
| /linux/drivers/remoteproc/ |
| H A D | pru_rproc.h | 26 u8 chnl; member
|
| /linux/drivers/scsi/leapraid/ |
| H A D | leapraid_os.c | 657 u32 chnl; in leapraid_get_boot_dev() local 666 chnl = boot_dev->chnl; in leapraid_get_boot_dev() 667 leapraid_boot_dev_get(dev, chnl); in leapraid_get_boot_dev() 671 *pchnl = chnl; in leapraid_get_boot_dev() 682 u32 chnl; in leapraid_probe_boot_dev() local 686 &dev, &chnl)) in leapraid_probe_boot_dev() 691 &dev, &chnl)) in leapraid_probe_boot_dev() 696 &dev, &chnl)) in leapraid_probe_boot_dev() 702 switch (chnl) { in leapraid_probe_boot_dev() 737 leapraid_boot_dev_put(dev, chnl); in leapraid_probe_boot_dev()
|
| H A D | leapraid_func.h | 887 u8 chnl; member 1145 void leapraid_boot_dev_get(void *dev, u32 chnl); 1146 void leapraid_boot_dev_put(void *dev, u32 chnl);
|
| H A D | leapraid_func.c | 28 void *dev, u32 chnl); 1641 void leapraid_boot_dev_get(void *dev, u32 chnl) in leapraid_boot_dev_get() argument 1646 if (chnl == RAID_CHANNEL) in leapraid_boot_dev_get() 1652 void leapraid_boot_dev_put(void *dev, u32 chnl) in leapraid_boot_dev_put() argument 1657 if (chnl == RAID_CHANNEL) in leapraid_boot_dev_put() 1666 void *dev, u32 chnl) in leapraid_try_set_boot_dev() argument 1677 leapraid_boot_dev_get(dev, chnl); in leapraid_try_set_boot_dev() 1679 boot_dev->chnl = chnl; in leapraid_try_set_boot_dev() 1685 void *dev, u32 chnl) in leapraid_clear_boot_dev() argument 1692 if (boot_dev->dev != dev || boot_dev->chnl != chnl) in leapraid_clear_boot_dev() [all …]
|
| /linux/drivers/net/wwan/iosm/ |
| H A 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/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| H A D | hw.c | 1510 static u8 _rtl88e_get_chnl_group(u8 chnl) in _rtl88e_get_chnl_group() argument 1514 if (chnl < 3) in _rtl88e_get_chnl_group() 1516 else if (chnl < 6) in _rtl88e_get_chnl_group() 1518 else if (chnl < 9) in _rtl88e_get_chnl_group() 1520 else if (chnl < 12) in _rtl88e_get_chnl_group() 1522 else if (chnl < 14) in _rtl88e_get_chnl_group() 1524 else if (chnl == 14) in _rtl88e_get_chnl_group()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A 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()
|
| H A D | hw.c | 1371 static u8 _rtl8723e_get_chnl_group(u8 chnl) in _rtl8723e_get_chnl_group() argument 1375 if (chnl < 3) in _rtl8723e_get_chnl_group() 1377 else if (chnl < 9) in _rtl8723e_get_chnl_group()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H A D | phy.c | 2162 static u8 _get_right_chnl_place_for_iqk(u8 chnl) in _get_right_chnl_place_for_iqk() argument 2174 u8 place = chnl; in _get_right_chnl_place_for_iqk() 2176 if (chnl > 14) { in _get_right_chnl_place_for_iqk() 2178 if (channel_all[place] == chnl) in _get_right_chnl_place_for_iqk()
|
| H A D | hw.c | 1720 static u8 _rtl8723be_get_chnl_group(u8 chnl) in _rtl8723be_get_chnl_group() argument 1724 if (chnl < 3) in _rtl8723be_get_chnl_group() 1726 else if (chnl < 9) in _rtl8723be_get_chnl_group()
|