Lines Matching refs:mbm
910 static int mrf24j40_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in mrf24j40_set_cca_ed_level() argument
916 if (mrf24j40_ed_levels_map[i][0] == mbm) in mrf24j40_set_cca_ed_level()
930 static int mrf24j40_set_txpower(struct ieee802154_hw *hw, s32 mbm) in mrf24j40_set_txpower() argument
936 if (0 >= mbm && mbm > -1000) { in mrf24j40_set_txpower()
938 small_scale = mbm; in mrf24j40_set_txpower()
939 } else if (-1000 >= mbm && mbm > -2000) { in mrf24j40_set_txpower()
941 small_scale = mbm + 1000; in mrf24j40_set_txpower()
942 } else if (-2000 >= mbm && mbm > -3000) { in mrf24j40_set_txpower()
944 small_scale = mbm + 2000; in mrf24j40_set_txpower()
945 } else if (-3000 >= mbm && mbm > -4000) { in mrf24j40_set_txpower()
947 small_scale = mbm + 3000; in mrf24j40_set_txpower()