/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/dma/ |
D | reg_dma.h | 119 __STATIC_INLINE uint32_t dma_ch_hltr_halt_set_getb(int ch_idx) in dma_ch_hltr_halt_set_getb() argument 121 return (CS_DMA->CH[ch_idx].HLTR & DMA_CH_HALT_SET_BIT); in dma_ch_hltr_halt_set_getb() 124 __STATIC_INLINE void dma_ch_hltr_halt_set_setb(int ch_idx) in dma_ch_hltr_halt_set_setb() argument 126 CS_DMA->CH[ch_idx].HLTR |= DMA_CH_HALT_SET_BIT; in dma_ch_hltr_halt_set_setb() 129 __STATIC_INLINE void dma_ch_hltr_halt_set_clrb(int ch_idx) in dma_ch_hltr_halt_set_clrb() argument 131 CS_DMA->CH[ch_idx].HLTR &= ~DMA_CH_HALT_SET_BIT; in dma_ch_hltr_halt_set_clrb() 134 __STATIC_INLINE uint32_t dma_ch_hltr_halt_stat_getb(int ch_idx) in dma_ch_hltr_halt_stat_getb() argument 136 return (CS_DMA->CH[ch_idx].HLTR & DMA_CH_HALT_STAT_BIT); in dma_ch_hltr_halt_stat_getb() 150 __STATIC_INLINE uint32_t dma_ch_rqr_srq_getb(int ch_idx) in dma_ch_rqr_srq_getb() argument 152 return (CS_DMA->CH[ch_idx].RQR & DMA_CH_SRQ_BIT); in dma_ch_rqr_srq_getb() [all …]
|
D | dma_api.h | 106 __STATIC_INLINE void dma_ch_int_clear(int ch_idx) in dma_ch_int_clear() argument 108 uint32_t status = dma_ch_icsr_get(ch_idx); in dma_ch_int_clear() 111 dma_ch_icsr_tbl2_iclr_setb(ch_idx); in dma_ch_int_clear() 115 dma_ch_icsr_tll_iclr_setb(ch_idx); in dma_ch_int_clear() 117 dma_env.last_dma[ch_idx] = 0; // llist done in dma_ch_int_clear() 120 dma_env.last_dma[ch_idx] = 0; // llist done in dma_ch_int_clear()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/ |
D | hal_dm_acs.c | 249 u8 ch_idx; in _rtw_phydm_acs_select_best_chan() local 258 for (ch_idx = 0; ch_idx < max_chan_nums; ch_idx++) { in _rtw_phydm_acs_select_best_chan() 259 if (pbss_nums[ch_idx]) in _rtw_phydm_acs_select_best_chan() 260 pinterference_time[ch_idx] = (pclm_ratio[ch_idx] / 2) + (pnhm_ratio[ch_idx] / 2); in _rtw_phydm_acs_select_best_chan() 262 pinterference_time[ch_idx] = (pclm_ratio[ch_idx] / 3) + ((pnhm_ratio[ch_idx] * 2) / 3); in _rtw_phydm_acs_select_best_chan() 264 if (rtw_get_ch_num_by_idx(adapter, ch_idx) < 14) { in _rtw_phydm_acs_select_best_chan() 265 if (pinterference_time[ch_idx] < min_itf_24g) { in _rtw_phydm_acs_select_best_chan() 266 min_itf_24g = pinterference_time[ch_idx]; in _rtw_phydm_acs_select_best_chan() 267 ch_idx_24g = ch_idx; in _rtw_phydm_acs_select_best_chan() 270 if (pinterference_time[ch_idx] < min_itf_5g) { in _rtw_phydm_acs_select_best_chan() [all …]
|
D | hal_dm_acs.h | 126 u8 rtw_acs_get_clm_ratio_by_ch_idx(_adapter *adapter, u8 ch_idx); 128 u8 rtw_acs_get_nhm_noise_pwr_by_ch_idx(_adapter *adapter, u8 ch_idx); 129 u8 rtw_acs_get_num_ratio_by_ch_idx(_adapter *adapter, u8 ch_idx); 169 s16 rtw_noise_query_by_chan_idx(_adapter *adapter, u8 ch_idx);
|
D | hal_com_phycfg.c | 1189 u8 rfpath, ch_idx, group, tx_idx; in hal_load_txpwr_info() local 1208 for (ch_idx = 0; ch_idx < CENTER_CH_2G_NUM; ch_idx++) { in hal_load_txpwr_info() 1211 if (rtw_get_ch_group(ch_idx + 1, &group, &cck_group) != BAND_ON_2_4G) in hal_load_txpwr_info() 1214 hal_data->Index24G_CCK_Base[rfpath][ch_idx] = pwr_info_2g->IndexCCK_Base[rfpath][cck_group]; in hal_load_txpwr_info() 1215 hal_data->Index24G_BW40_Base[rfpath][ch_idx] = pwr_info_2g->IndexBW40_Base[rfpath][group]; in hal_load_txpwr_info() 1236 for (ch_idx = 0; ch_idx < CENTER_CH_5G_ALL_NUM; ch_idx++) { in hal_load_txpwr_info() 1237 if (rtw_get_ch_group(center_ch_5g_all[ch_idx], &group, NULL) != BAND_ON_5G) in hal_load_txpwr_info() 1239 hal_data->Index5G_BW40_Base[rfpath][ch_idx] = pwr_info_5g->IndexBW40_Base[rfpath][group]; in hal_load_txpwr_info() 1242 for (ch_idx = 0 ; ch_idx < CENTER_CH_5G_80M_NUM; ch_idx++) { in hal_load_txpwr_info() 1245 if (rtw_get_ch_group(center_ch_5g_80m[ch_idx], &group, NULL) != BAND_ON_5G) in hal_load_txpwr_info() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/ |
D | mac_regdomain.c | 124 hi_u8 ch_idx; in mac_init_channel_list() local 132 for (ch_idx = 0; ch_idx < MAC_CHANNEL_FREQ_2_BUTT; ch_idx++) { in mac_init_channel_list() 133 g_ast_channel_list_2g[ch_idx].reg_class = MAC_INVALID_RC; in mac_init_channel_list() 144 for (ch_idx = 0; ch_idx < MAC_CHANNEL_FREQ_2_BUTT; ch_idx++) { in mac_init_channel_list() 145 if (rc_info->channel_bmap & bit(ch_idx)) { in mac_init_channel_list() 146 g_ast_channel_list_2g[ch_idx].reg_class = rc_idx; in mac_init_channel_list() 161 mac_regclass_info_stru *mac_get_channel_idx_rc_info(hi_u8 band, hi_u8 ch_idx) in mac_get_channel_idx_rc_info() argument 165 if (mac_is_channel_idx_valid(band, ch_idx, ®_class) != HI_SUCCESS) { in mac_get_channel_idx_rc_info() 228 hi_u32 mac_is_channel_idx_valid(hi_u8 band, hi_u8 ch_idx, hi_u8 *reg_class) in mac_is_channel_idx_valid() argument 236 ch_info = &(g_ast_channel_list_2g[ch_idx]); in mac_is_channel_idx_valid() [all …]
|
D | mac_regdomain.h | 183 hi_u32 mac_is_channel_idx_valid(hi_u8 band, hi_u8 ch_idx, hi_u8 *reg_class);
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/sdk/ |
D | gr55xx_lcp.h | 77 uint8_t ch_idx; /**< The value of the channel index(range: 0-39). */ member 144 uint16_t gdx_lcp_channel_set(uint32_t freq, uint8_t ch_idx); 157 uint16_t gdx_lcp_channel_get(uint32_t *freq, uint8_t *ch_idx);
|
D | lcp_sdk.h | 77 uint8_t ch_idx; /**< The value of the channel index(range: 0-39). */ member 144 uint16_t gdx_lcp_channel_set(uint32_t freq, uint8_t ch_idx); 157 uint16_t gdx_lcp_channel_get(uint32_t *freq, uint8_t *ch_idx);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
D | hi_dma.h | 74 hi_u32 ch_idx; /* 接收DMA传输使用的channel id,不需用户设置, 通道申请成功时赋值 */ member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_mbo.c | 230 int class_idx, ch_idx; in rtw_mbo_current_op_class_get() local 235 for (ch_idx = 0; ch_idx <= preg_class->channels; ch_idx++) { in rtw_mbo_current_op_class_get() 236 if (pmlmeext->cur_channel == preg_class->channel[ch_idx]) { in rtw_mbo_current_op_class_get()
|
D | rtw_rf.c | 2191 , u8 band, u8 bw, u8 tlrs, u8 ntx_idx, u8 ch_idx, s8 lmt) in rtw_txpwr_lmt_add_with_nlen() argument 2247 pre_lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in rtw_txpwr_lmt_add_with_nlen() 2250 pre_lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in rtw_txpwr_lmt_add_with_nlen() 2258 , band == BAND_ON_2_4G ? ch_idx + 1 : center_ch_5g_all[ch_idx]); in rtw_txpwr_lmt_add_with_nlen() 2262 ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx] = lmt; in rtw_txpwr_lmt_add_with_nlen() 2265 ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx] = lmt; in rtw_txpwr_lmt_add_with_nlen() 2271 , band == BAND_ON_2_4G ? ch_idx + 1 : center_ch_5g_all[ch_idx] in rtw_txpwr_lmt_add_with_nlen() 2282 , u8 band, u8 bw, u8 tlrs, u8 ntx_idx, u8 ch_idx, s8 lmt) in rtw_txpwr_lmt_add() argument 2285 , band, bw, tlrs, ntx_idx, ch_idx, lmt); in rtw_txpwr_lmt_add()
|
D | rtw_mlme_ext.c | 962 int ch_idx; in rtw_chset_chk_non_ocp_finish_for_chbw() local 973 ch_idx = rtw_chset_search_ch(ch_set, *(op_chs + i)); in rtw_chset_chk_non_ocp_finish_for_chbw() 974 if (ch_idx == -1) in rtw_chset_chk_non_ocp_finish_for_chbw() 976 if (!(ch_set[ch_idx].flags & RTW_CHF_NON_OCP) || CH_IS_NON_OCP(&ch_set[ch_idx])) in rtw_chset_chk_non_ocp_finish_for_chbw() 984 ch_idx = rtw_chset_search_ch(ch_set, *(op_chs + i)); in rtw_chset_chk_non_ocp_finish_for_chbw() 985 ch_set[ch_idx].flags &= ~RTW_CHF_NON_OCP; in rtw_chset_chk_non_ocp_finish_for_chbw() 1482 int ch_idx; in rtw_chset_is_chbw_valid() local 1492 ch_idx = rtw_chset_search_ch(ch_set, *(op_chs + i)); in rtw_chset_is_chbw_valid() 1493 if (ch_idx == -1) in rtw_chset_is_chbw_valid() 1495 if (ch_set[ch_idx].flags & RTW_CHF_NO_IR) { in rtw_chset_is_chbw_valid() [all …]
|
D | rtw_ap.c | 4783 int ch_idx; in rtw_ap_ch_specific_chk() local 4786 ch_idx = rtw_chset_search_ch(chset, ch); in rtw_ap_ch_specific_chk() 4787 if (ch_idx < 0) { in rtw_ap_ch_specific_chk() 4792 if (chset[ch_idx].flags & RTW_CHF_NO_IR) { in rtw_ap_ch_specific_chk()
|
D | rtw_chplan.c | 562 int ch_idx; in rtw_chplan_is_chbw_valid() local
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | rtw_rf.h | 283 , u8 band, u8 bw, u8 tlrs, u8 ntx_idx, u8 ch_idx, s8 lmt); 285 , u8 band, u8 bw, u8 tlrs, u8 ntx_idx, u8 ch_idx, s8 lmt);
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/ |
D | wifi_msg.h | 1883 u8_l ch_idx; member 2039 u8_l ch_idx; member 2072 u8_l ch_idx; member 2182 u8_l ch_idx; member
|