/Linux-v4.19/drivers/scsi/csiostor/ |
D | csio_mb.c | 1195 struct csio_mbm *mbm = &hw->mbm; in csio_mb_issue() local 1216 if (mbm->mcurrent != NULL) { in csio_mb_issue() 1225 list_add_tail(&mbp->list, &mbm->req_q); in csio_mb_issue() 1226 CSIO_INC_STATS(mbm, n_activeq); in csio_mb_issue() 1253 if (mbm->mcurrent == NULL) { in csio_mb_issue() 1278 mbm->mcurrent = mbp; in csio_mb_issue() 1279 mod_timer(&mbm->timer, jiffies + msecs_to_jiffies(mbp->tmo)); in csio_mb_issue() 1290 CSIO_INC_STATS(mbm, n_req); in csio_mb_issue() 1328 CSIO_INC_STATS(mbm, n_err); in csio_mb_issue() 1330 CSIO_INC_STATS(mbm, n_rsp); in csio_mb_issue() [all …]
|
D | csio_hw.c | 3699 struct csio_mbm *mbm = &hw->mbm; in csio_mberr_worker() local 3704 del_timer_sync(&mbm->timer); in csio_mberr_worker() 3707 if (list_empty(&mbm->cbfn_q)) { in csio_mberr_worker() 3712 list_splice_tail_init(&mbm->cbfn_q, &cbfn_q); in csio_mberr_worker() 3713 mbm->stats.n_cbfnq = 0; in csio_mberr_worker() 3716 if (!list_empty(&mbm->req_q)) { in csio_mberr_worker() 3717 mbp_next = list_first_entry(&mbm->req_q, struct csio_mb, list); in csio_mberr_worker() 3722 list_add_tail(&mbp_next->list, &mbm->req_q); in csio_mberr_worker() 3724 CSIO_DEC_STATS(mbm, n_activeq); in csio_mberr_worker() 3741 struct csio_mbm *mbm = from_timer(mbm, t, timer); in csio_hw_mb_timer() local [all …]
|
D | csio_hw.h | 478 struct csio_mbm mbm; /* Mailbox module */ member 593 #define csio_hw_to_mbm(hw) ((struct csio_mbm *)(&(hw)->mbm))
|
/Linux-v4.19/net/mac802154/ |
D | driver-ops.h | 71 static inline int drv_set_tx_power(struct ieee802154_local *local, s32 mbm) in drv_set_tx_power() argument 82 trace_802154_drv_set_tx_power(local, mbm); in drv_set_tx_power() 83 ret = local->ops->set_txpower(&local->hw, mbm); in drv_set_tx_power() 124 drv_set_cca_ed_level(struct ieee802154_local *local, s32 mbm) in drv_set_cca_ed_level() argument 135 trace_802154_drv_set_cca_ed_level(local, mbm); in drv_set_cca_ed_level() 136 ret = local->ops->set_cca_ed_level(&local->hw, mbm); in drv_set_cca_ed_level()
|
D | trace.h | 112 TP_PROTO(struct ieee802154_local *local, s32 mbm), 113 TP_ARGS(local, mbm), 116 __field(s32, mbm) 120 __entry->mbm = mbm; 123 __entry->mbm)
|
/Linux-v4.19/drivers/net/ieee802154/ |
D | mrf24j40.c | 919 static int mrf24j40_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in mrf24j40_set_cca_ed_level() argument 925 if (mrf24j40_ed_levels_map[i][0] == mbm) in mrf24j40_set_cca_ed_level() 939 static int mrf24j40_set_txpower(struct ieee802154_hw *hw, s32 mbm) in mrf24j40_set_txpower() argument 945 if (0 >= mbm && mbm > -1000) { in mrf24j40_set_txpower() 947 small_scale = mbm; in mrf24j40_set_txpower() 948 } else if (-1000 >= mbm && mbm > -2000) { in mrf24j40_set_txpower() 950 small_scale = mbm + 1000; in mrf24j40_set_txpower() 951 } else if (-2000 >= mbm && mbm > -3000) { in mrf24j40_set_txpower() 953 small_scale = mbm + 2000; in mrf24j40_set_txpower() 954 } else if (-3000 >= mbm && mbm > -4000) { in mrf24j40_set_txpower() [all …]
|
D | atusb.c | 487 atusb_txpower(struct ieee802154_hw *hw, s32 mbm) in atusb_txpower() argument 492 return atusb->data->set_txpower(hw, mbm); in atusb_txpower() 498 atusb_set_txpower(struct ieee802154_hw *hw, s32 mbm) in atusb_set_txpower() argument 504 if (hw->phy->supported.tx_powers[i] == mbm) in atusb_set_txpower() 512 hulusb_set_txpower(struct ieee802154_hw *hw, s32 mbm) in hulusb_set_txpower() argument 517 if (hw->phy->supported.tx_powers[i] == mbm) in hulusb_set_txpower() 606 atusb_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in atusb_set_cca_ed_level() argument 612 if (hw->phy->supported.cca_ed_levels[i] == mbm) in atusb_set_cca_ed_level()
|
D | cc2520.c | 706 static inline int cc2520_set_tx_power(struct cc2520_private *priv, s32 mbm) in cc2520_set_tx_power() argument 710 switch (mbm) { in cc2520_set_tx_power() 746 s32 mbm) in cc2520_cc2591_set_tx_power() argument 750 switch (mbm) { in cc2520_cc2591_set_tx_power() 787 cc2520_set_txpower(struct ieee802154_hw *hw, s32 mbm) in cc2520_set_txpower() argument 792 return cc2520_set_tx_power(priv, mbm); in cc2520_set_txpower() 794 return cc2520_cc2591_set_tx_power(priv, mbm); in cc2520_set_txpower()
|
D | at86rf230.c | 1176 at86rf23x_set_txpower(struct at86rf230_local *lp, s32 mbm) in at86rf23x_set_txpower() argument 1181 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf23x_set_txpower() 1189 at86rf212_set_txpower(struct at86rf230_local *lp, s32 mbm) in at86rf212_set_txpower() argument 1194 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf212_set_txpower() 1202 at86rf230_set_txpower(struct ieee802154_hw *hw, s32 mbm) in at86rf230_set_txpower() argument 1206 return lp->data->set_txpower(lp, mbm); in at86rf230_set_txpower() 1252 at86rf230_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in at86rf230_set_cca_ed_level() argument 1258 if (hw->phy->supported.cca_ed_levels[i] == mbm) in at86rf230_set_cca_ed_level()
|
D | mcr20a.c | 626 mcr20a_set_txpower(struct ieee802154_hw *hw, s32 mbm) in mcr20a_set_txpower() argument 631 dev_dbg(printdev(lp), "%s(%d)\n", __func__, mbm); in mcr20a_set_txpower() 634 if (lp->hw->phy->supported.tx_powers[i] == mbm) in mcr20a_set_txpower() 706 mcr20a_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in mcr20a_set_cca_ed_level() argument 714 if (hw->phy->supported.cca_ed_levels[i] == mbm) in mcr20a_set_cca_ed_level()
|
D | adf7242.c | 600 static int adf7242_set_txpower(struct ieee802154_hw *hw, int mbm) in adf7242_set_txpower() argument 604 int db = mbm / 100; in adf7242_set_txpower() 821 static int adf7242_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in adf7242_set_cca_ed_level() argument 824 s8 level = clamp_t(s8, mbm / 100, S8_MIN, S8_MAX); in adf7242_set_cca_ed_level()
|
D | ca8210.c | 2196 static int ca8210_set_tx_power(struct ieee802154_hw *hw, s32 mbm) in ca8210_set_tx_power() argument 2200 mbm /= 100; in ca8210_set_tx_power() 2202 mlme_set_request_sync(PHY_TRANSMIT_POWER, 0, 1, &mbm, priv->spi) in ca8210_set_tx_power()
|
/Linux-v4.19/include/net/ |
D | mac802154.h | 231 int (*set_txpower)(struct ieee802154_hw *hw, s32 mbm); 235 int (*set_cca_ed_level)(struct ieee802154_hw *hw, s32 mbm);
|
D | cfg80211.h | 3259 enum nl80211_tx_power_setting type, int mbm);
|
/Linux-v4.19/drivers/staging/wlan-ng/ |
D | cfg80211.c | 584 enum nl80211_tx_power_setting type, int mbm) in prism2_set_tx_power() argument 595 data = MBM_TO_DBM(mbm); in prism2_set_tx_power()
|
/Linux-v4.19/drivers/net/wireless/ |
D | rndis_wlan.c | 493 int mbm); 1907 int mbm) in rndis_set_tx_power() argument 1913 __func__, type, mbm); in rndis_set_tx_power() 1915 if (mbm < 0 || (mbm % 100)) in rndis_set_tx_power() 1923 MBM_TO_DBM(mbm) == get_bcm4320_power_dbm(priv)) { in rndis_set_tx_power()
|
/Linux-v4.19/net/mac80211/ |
D | cfg.c | 2394 enum nl80211_tx_power_setting type, int mbm) in ieee80211_set_tx_power() argument 2418 if (mbm < 0 || (mbm % 100)) in ieee80211_set_tx_power() 2420 sdata->user_power_level = MBM_TO_DBM(mbm); in ieee80211_set_tx_power() 2441 if (mbm < 0 || (mbm % 100)) in ieee80211_set_tx_power() 2443 local->user_power_level = MBM_TO_DBM(mbm); in ieee80211_set_tx_power()
|
/Linux-v4.19/net/wireless/ |
D | rdev-ops.h | 548 enum nl80211_tx_power_setting type, int mbm) in rdev_set_tx_power() argument 551 trace_rdev_set_tx_power(&rdev->wiphy, wdev, type, mbm); in rdev_set_tx_power() 552 ret = rdev->ops->set_tx_power(&rdev->wiphy, wdev, type, mbm); in rdev_set_tx_power()
|
D | trace.h | 1443 enum nl80211_tx_power_setting type, int mbm), 1444 TP_ARGS(wiphy, wdev, type, mbm), 1449 __field(int, mbm) 1455 __entry->mbm = mbm; 1458 WIPHY_PR_ARG, WDEV_PR_ARG,__entry->type, __entry->mbm)
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | omap4-droid4-xt894.dts | 27 * then 1023 - 1024 seems to contain mbm.
|
/Linux-v4.19/drivers/staging/wilc1000/ |
D | wilc_wfi_cfgoperations.c | 2011 enum nl80211_tx_power_setting type, int mbm) in set_tx_power() argument 2014 s32 tx_power = MBM_TO_DBM(mbm); in set_tx_power()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 2078 enum nl80211_tx_power_setting type, s32 mbm) in brcmf_cfg80211_set_tx_power() argument 2087 brcmf_dbg(TRACE, "Enter %d %d\n", type, mbm); in brcmf_cfg80211_set_tx_power() 2096 if (mbm < 0) { in brcmf_cfg80211_set_tx_power() 2101 qdbm = MBM_TO_DBM(4 * mbm); in brcmf_cfg80211_set_tx_power()
|
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 1409 int mbm) in ath6kl_cfg80211_set_txpower() argument 1413 int dbm = MBM_TO_DBM(mbm); in ath6kl_cfg80211_set_txpower()
|
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/ |
D | cfg80211.c | 372 int mbm) in mwifiex_cfg80211_set_tx_power() argument 377 int dbm = MBM_TO_DBM(mbm); in mwifiex_cfg80211_set_tx_power()
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 2272 enum nl80211_tx_power_setting type, int mbm) in cfg80211_rtw_set_txpower() argument
|