Home
last modified time | relevance | path

Searched refs:rtw_abs (Results 1 – 3 of 3) sorted by relevance

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_rf.c670 return rtw_abs(a - b) == 5; in rtw_freq_consecutive()
675 return rtw_abs(a - b) == 20; in rtw_freq_consecutive()
1713 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str()
1716 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str()
1736 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1739 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dosdep_service.h675 #define rtw_abs(a) ((a) < 0 ? -(a) : (a)) macro
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/
Dhal_com_phycfg.c3470 …_RTW_PRINT_SEL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec… in phy_txpwr_limit_bandwidth_chk()
3472 …_RTW_PRINT_SEL(RTW_DBGDUMP, "%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % … in phy_txpwr_limit_bandwidth_chk()
3499 …_RTW_PRINT_SEL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec… in phy_txpwr_limit_bandwidth_chk()
3501 …_RTW_PRINT_SEL(RTW_DBGDUMP, "%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % … in phy_txpwr_limit_bandwidth_chk()