Home
last modified time | relevance | path

Searched refs:mbm (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_mb.c1195 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 …]
Dcsio_hw.c3699 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 …]
Dcsio_hw.h478 struct csio_mbm mbm; /* Mailbox module */ member
593 #define csio_hw_to_mbm(hw) ((struct csio_mbm *)(&(hw)->mbm))
/Linux-v4.19/net/mac802154/
Ddriver-ops.h71 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()
Dtrace.h112 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/
Dmrf24j40.c919 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 …]
Datusb.c487 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()
Dcc2520.c706 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()
Dat86rf230.c1176 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()
Dmcr20a.c626 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()
Dadf7242.c600 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()
Dca8210.c2196 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/
Dmac802154.h231 int (*set_txpower)(struct ieee802154_hw *hw, s32 mbm);
235 int (*set_cca_ed_level)(struct ieee802154_hw *hw, s32 mbm);
Dcfg80211.h3259 enum nl80211_tx_power_setting type, int mbm);
/Linux-v4.19/drivers/staging/wlan-ng/
Dcfg80211.c584 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/
Drndis_wlan.c493 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/
Dcfg.c2394 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/
Drdev-ops.h548 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()
Dtrace.h1443 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/
Domap4-droid4-xt894.dts27 * then 1023 - 1024 seems to contain mbm.
/Linux-v4.19/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c2011 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/
Dcfg80211.c2078 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/
Dcfg80211.c1409 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/
Dcfg80211.c372 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/
Dioctl_cfg80211.c2272 enum nl80211_tx_power_setting type, int mbm) in cfg80211_rtw_set_txpower() argument

12