/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))
|
/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 | atusb.c | 428 atusb_txpower(struct ieee802154_hw *hw, s32 mbm) in atusb_txpower() argument 433 return atusb->data->set_txpower(hw, mbm); in atusb_txpower() 439 atusb_set_txpower(struct ieee802154_hw *hw, s32 mbm) in atusb_set_txpower() argument 445 if (hw->phy->supported.tx_powers[i] == mbm) in atusb_set_txpower() 453 hulusb_set_txpower(struct ieee802154_hw *hw, s32 mbm) in hulusb_set_txpower() argument 458 if (hw->phy->supported.tx_powers[i] == mbm) in hulusb_set_txpower() 549 atusb_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in atusb_set_cca_ed_level() argument 555 if (hw->phy->supported.cca_ed_levels[i] == mbm) in atusb_set_cca_ed_level()
|
D | cc2520.c | 699 static inline int cc2520_set_tx_power(struct cc2520_private *priv, s32 mbm) in cc2520_set_tx_power() argument 703 switch (mbm) { in cc2520_set_tx_power() 739 s32 mbm) in cc2520_cc2591_set_tx_power() argument 743 switch (mbm) { in cc2520_cc2591_set_tx_power() 780 cc2520_set_txpower(struct ieee802154_hw *hw, s32 mbm) in cc2520_set_txpower() argument 785 return cc2520_set_tx_power(priv, mbm); in cc2520_set_txpower() 787 return cc2520_cc2591_set_tx_power(priv, mbm); in cc2520_set_txpower()
|
D | at86rf230.c | 1107 at86rf23x_set_txpower(struct at86rf230_local *lp, s32 mbm) in at86rf23x_set_txpower() argument 1112 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf23x_set_txpower() 1120 at86rf212_set_txpower(struct at86rf230_local *lp, s32 mbm) in at86rf212_set_txpower() argument 1125 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf212_set_txpower() 1133 at86rf230_set_txpower(struct ieee802154_hw *hw, s32 mbm) in at86rf230_set_txpower() argument 1137 return lp->data->set_txpower(lp, mbm); in at86rf230_set_txpower() 1183 at86rf230_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in at86rf230_set_cca_ed_level() argument 1189 if (hw->phy->supported.cca_ed_levels[i] == mbm) in at86rf230_set_cca_ed_level()
|
D | mcr20a.c | 617 mcr20a_set_txpower(struct ieee802154_hw *hw, s32 mbm) in mcr20a_set_txpower() argument 622 dev_dbg(printdev(lp), "%s(%d)\n", __func__, mbm); in mcr20a_set_txpower() 625 if (lp->hw->phy->supported.tx_powers[i] == mbm) in mcr20a_set_txpower() 697 mcr20a_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in mcr20a_set_cca_ed_level() argument 705 if (hw->phy->supported.cca_ed_levels[i] == mbm) in mcr20a_set_cca_ed_level()
|
D | adf7242.c | 599 static int adf7242_set_txpower(struct ieee802154_hw *hw, int mbm) in adf7242_set_txpower() argument 603 int db = mbm / 100; in adf7242_set_txpower() 820 static int adf7242_set_cca_ed_level(struct ieee802154_hw *hw, s32 mbm) in adf7242_set_cca_ed_level() argument 823 s8 level = clamp_t(s8, mbm / 100, S8_MIN, S8_MAX); in adf7242_set_cca_ed_level()
|
D | ca8210.c | 2157 static int ca8210_set_tx_power(struct ieee802154_hw *hw, s32 mbm) in ca8210_set_tx_power() argument 2161 mbm /= 100; in ca8210_set_tx_power() 2163 mlme_set_request_sync(PHY_TRANSMIT_POWER, 0, 1, &mbm, priv->spi) in ca8210_set_tx_power()
|
/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.h | 75 enum nl80211_tx_power_setting type, int mbm);
|
D | cfg80211.c | 897 enum nl80211_tx_power_setting type, int mbm) in qtnf_set_tx_power() argument 915 ret = qtnf_cmd_set_tx_power(vif, type, mbm); in qtnf_set_tx_power()
|
D | commands.c | 2630 enum nl80211_tx_power_setting type, int mbm) in qtnf_cmd_set_tx_power() argument 2647 cmd->txpwr = cpu_to_le32(mbm); in qtnf_cmd_set_tx_power()
|
/drivers/staging/wlan-ng/ |
D | cfg80211.c | 578 enum nl80211_tx_power_setting type, int mbm) in prism2_set_tx_power() argument 589 data = MBM_TO_DBM(mbm); in prism2_set_tx_power()
|
/drivers/net/wireless/ |
D | rndis_wlan.c | 475 int mbm); 1879 int mbm) in rndis_set_tx_power() argument 1885 __func__, type, mbm); in rndis_set_tx_power() 1887 if (mbm < 0 || (mbm % 100)) in rndis_set_tx_power() 1895 MBM_TO_DBM(mbm) == get_bcm4320_power_dbm(priv)) { in rndis_set_tx_power()
|
/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 1663 enum nl80211_tx_power_setting type, int mbm) in set_tx_power() argument 1667 s32 tx_power = MBM_TO_DBM(mbm); in set_tx_power()
|
/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()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 2291 enum nl80211_tx_power_setting type, s32 mbm) in brcmf_cfg80211_set_tx_power() argument 2301 brcmf_dbg(TRACE, "Enter %d %d\n", type, mbm); in brcmf_cfg80211_set_tx_power() 2310 if (mbm < 0) { in brcmf_cfg80211_set_tx_power() 2315 qdbm = MBM_TO_DBM(4 * mbm); in brcmf_cfg80211_set_tx_power()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | cfg80211.c | 357 int mbm) in mwifiex_cfg80211_set_tx_power() argument 362 int dbm = MBM_TO_DBM(mbm); in mwifiex_cfg80211_set_tx_power()
|
/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 1839 enum nl80211_tx_power_setting type, int mbm) in cfg80211_rtw_set_txpower() argument
|