/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_mb.c | 1191 struct csio_mbm *mbm = &hw->mbm; in csio_mb_issue() local 1212 if (mbm->mcurrent != NULL) { in csio_mb_issue() 1221 list_add_tail(&mbp->list, &mbm->req_q); in csio_mb_issue() 1222 CSIO_INC_STATS(mbm, n_activeq); in csio_mb_issue() 1249 if (mbm->mcurrent == NULL) { in csio_mb_issue() 1274 mbm->mcurrent = mbp; in csio_mb_issue() 1275 mod_timer(&mbm->timer, jiffies + msecs_to_jiffies(mbp->tmo)); in csio_mb_issue() 1286 CSIO_INC_STATS(mbm, n_req); in csio_mb_issue() 1324 CSIO_INC_STATS(mbm, n_err); in csio_mb_issue() 1326 CSIO_INC_STATS(mbm, n_rsp); in csio_mb_issue() [all …]
|
D | csio_hw.h | 420 struct csio_mbm mbm; /* Mailbox module */ member 535 #define csio_hw_to_mbm(hw) ((struct csio_mbm *)(&(hw)->mbm))
|
D | csio_hw.c | 3235 struct csio_mbm *mbm = &hw->mbm; in csio_mberr_worker() local 3240 del_timer_sync(&mbm->timer); in csio_mberr_worker() 3243 if (list_empty(&mbm->cbfn_q)) { in csio_mberr_worker() 3248 list_splice_tail_init(&mbm->cbfn_q, &cbfn_q); in csio_mberr_worker() 3249 mbm->stats.n_cbfnq = 0; in csio_mberr_worker() 3252 if (!list_empty(&mbm->req_q)) { in csio_mberr_worker() 3253 mbp_next = list_first_entry(&mbm->req_q, struct csio_mb, list); in csio_mberr_worker() 3258 list_add_tail(&mbp_next->list, &mbm->req_q); in csio_mberr_worker() 3260 CSIO_DEC_STATS(mbm, n_activeq); in csio_mberr_worker()
|
/linux-4.4.14/net/mac802154/ |
D | driver-ops.h | 73 static inline int drv_set_tx_power(struct ieee802154_local *local, s32 mbm) in drv_set_tx_power() argument 84 trace_802154_drv_set_tx_power(local, mbm); in drv_set_tx_power() 85 ret = local->ops->set_txpower(&local->hw, mbm); in drv_set_tx_power() 126 drv_set_cca_ed_level(struct ieee802154_local *local, s32 mbm) in drv_set_cca_ed_level() argument 137 trace_802154_drv_set_cca_ed_level(local, mbm); in drv_set_cca_ed_level() 138 ret = local->ops->set_cca_ed_level(&local->hw, mbm); in drv_set_cca_ed_level()
|
D | trace.h | 111 TP_PROTO(struct ieee802154_local *local, s32 mbm), 112 TP_ARGS(local, mbm), 115 __field(s32, mbm) 119 __entry->mbm = mbm; 122 __entry->mbm)
|
/linux-4.4.14/drivers/net/ieee802154/ |
D | mrf24j40.c | 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() [all …]
|
D | cc2520.c | 635 static inline int cc2520_set_tx_power(struct cc2520_private *priv, s32 mbm) in cc2520_set_tx_power() argument 639 switch (mbm) { in cc2520_set_tx_power() 675 s32 mbm) in cc2520_cc2591_set_tx_power() argument 679 switch (mbm) { in cc2520_cc2591_set_tx_power() 716 cc2520_set_txpower(struct ieee802154_hw *hw, s32 mbm) in cc2520_set_txpower() argument 721 return cc2520_set_tx_power(priv, mbm); in cc2520_set_txpower() 723 return cc2520_cc2591_set_tx_power(priv, mbm); in cc2520_set_txpower()
|
D | at86rf230.c | 1167 at86rf23x_set_txpower(struct at86rf230_local *lp, s32 mbm) in at86rf23x_set_txpower() argument 1172 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf23x_set_txpower() 1180 at86rf212_set_txpower(struct at86rf230_local *lp, s32 mbm) in at86rf212_set_txpower() argument 1185 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf212_set_txpower() 1193 at86rf230_set_txpower(struct ieee802154_hw *hw, s32 mbm) in at86rf230_set_txpower() argument 1197 return lp->data->set_txpower(lp, mbm); in at86rf230_set_txpower() 1244 at86rf230_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in at86rf230_set_cca_ed_level() argument 1250 if (hw->phy->supported.cca_ed_levels[i] == mbm) in at86rf230_set_cca_ed_level()
|
D | atusb.c | 463 atusb_set_txpower(struct ieee802154_hw *hw, s32 mbm) in atusb_set_txpower() argument 469 if (hw->phy->supported.tx_powers[i] == mbm) in atusb_set_txpower()
|
/linux-4.4.14/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 | 2621 enum nl80211_tx_power_setting type, int mbm);
|
/linux-4.4.14/drivers/staging/wlan-ng/ |
D | cfg80211.c | 646 enum nl80211_tx_power_setting type, int mbm) in prism2_set_tx_power() argument 657 data = MBM_TO_DBM(mbm); in prism2_set_tx_power()
|
/linux-4.4.14/net/wireless/ |
D | rdev-ops.h | 528 enum nl80211_tx_power_setting type, int mbm) in rdev_set_tx_power() argument 531 trace_rdev_set_tx_power(&rdev->wiphy, wdev, type, mbm); in rdev_set_tx_power() 532 ret = rdev->ops->set_tx_power(&rdev->wiphy, wdev, type, mbm); in rdev_set_tx_power()
|
D | trace.h | 1367 enum nl80211_tx_power_setting type, int mbm), 1368 TP_ARGS(wiphy, wdev, type, mbm), 1373 __field(int, mbm) 1379 __entry->mbm = mbm; 1382 WIPHY_PR_ARG, WDEV_PR_ARG,__entry->type, __entry->mbm)
|
D | nl80211.c | 2195 int idx, mbm = 0; in nl80211_set_wiphy() local 2212 mbm = nla_get_u32(info->attrs[idx]); in nl80211_set_wiphy() 2215 result = rdev_set_tx_power(rdev, txp_wdev, type, mbm); in nl80211_set_wiphy()
|
/linux-4.4.14/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-4.4.14/net/mac80211/ |
D | cfg.c | 2131 enum nl80211_tx_power_setting type, int mbm) in ieee80211_set_tx_power() argument 2148 if (mbm < 0 || (mbm % 100)) in ieee80211_set_tx_power() 2150 sdata->user_power_level = MBM_TO_DBM(mbm); in ieee80211_set_tx_power() 2171 if (mbm < 0 || (mbm % 100)) in ieee80211_set_tx_power() 2173 local->user_power_level = MBM_TO_DBM(mbm); in ieee80211_set_tx_power()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | cfg80211.c | 1953 enum nl80211_tx_power_setting type, s32 mbm) in brcmf_cfg80211_set_tx_power() argument 1962 brcmf_dbg(TRACE, "Enter %d %d\n", type, mbm); in brcmf_cfg80211_set_tx_power() 1971 if (mbm < 0) { in brcmf_cfg80211_set_tx_power() 1976 qdbm = MBM_TO_DBM(4 * mbm); in brcmf_cfg80211_set_tx_power()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | cfg80211.c | 361 int mbm) in mwifiex_cfg80211_set_tx_power() argument 366 int dbm = MBM_TO_DBM(mbm); in mwifiex_cfg80211_set_tx_power()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 1398 int mbm) in ath6kl_cfg80211_set_txpower() argument 1402 int dbm = MBM_TO_DBM(mbm); in ath6kl_cfg80211_set_txpower()
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 2195 enum nl80211_tx_power_setting type, int mbm) in cfg80211_rtw_set_txpower() argument
|