/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | trx.c | 49 struct rtl_stats *pstatus, u8 *pdesc, in _rtl8723e_query_rxphystatus() argument 241 struct rtl_stats *pstatus, u8 *pdesc, in translate_rx_signal_stuff() argument 275 _rtl8723e_query_rxphystatus(hw, pstatus, pdesc, p_drvinfo, in translate_rx_signal_stuff() 285 u8 *pdesc, struct sk_buff *skb) in rtl8723e_rx_query_desc() argument 289 u32 phystatus = GET_RX_DESC_PHYST(pdesc); in rtl8723e_rx_query_desc() 291 status->length = (u16)GET_RX_DESC_PKT_LEN(pdesc); in rtl8723e_rx_query_desc() 292 status->rx_drvinfo_size = (u8)GET_RX_DESC_DRV_INFO_SIZE(pdesc) * in rtl8723e_rx_query_desc() 294 status->rx_bufshift = (u8)(GET_RX_DESC_SHIFT(pdesc) & 0x03); in rtl8723e_rx_query_desc() 295 status->icv = (u16)GET_RX_DESC_ICV(pdesc); in rtl8723e_rx_query_desc() 296 status->crc = (u16)GET_RX_DESC_CRC32(pdesc); in rtl8723e_rx_query_desc() [all …]
|
D | trx.h | 700 u8 *pdesc, u8 *txbd, 708 u8 *pdesc, struct sk_buff *skb); 710 u8 *pdesc, bool istx, u8 desc_name, u8 *val); 711 u32 rtl8723e_get_desc(u8 *pdesc, bool istx, u8 desc_name); 715 void rtl8723e_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | trx.c | 51 struct rtl_stats *pstatus, u8 *pdesc, in _rtl88ee_query_rxphystatus() argument 297 u8 *pdesc, in _rtl88ee_translate_rx_signal_stuff() argument 332 _rtl88ee_query_rxphystatus(hw, pstatus, pdesc, p_drvinfo, in _rtl88ee_translate_rx_signal_stuff() 393 u8 *pdesc, struct sk_buff *skb) in rtl88ee_rx_query_desc() argument 399 u32 phystatus = GET_RX_DESC_PHYST(pdesc); in rtl88ee_rx_query_desc() 400 status->packet_report_type = (u8)GET_RX_STATUS_DESC_RPT_SEL(pdesc); in rtl88ee_rx_query_desc() 402 status->length = (u16)GET_RX_RPT2_DESC_PKT_LEN(pdesc); in rtl88ee_rx_query_desc() 404 status->length = (u16)GET_RX_DESC_PKT_LEN(pdesc); in rtl88ee_rx_query_desc() 405 status->rx_drvinfo_size = (u8)GET_RX_DESC_DRV_INFO_SIZE(pdesc) * in rtl88ee_rx_query_desc() 407 status->rx_bufshift = (u8)(GET_RX_DESC_SHIFT(pdesc) & 0x03); in rtl88ee_rx_query_desc() [all …]
|
D | trx.h | 782 u8 *pdesc, struct sk_buff *skb); 783 void rtl88ee_set_desc(struct ieee80211_hw *hw, u8 *pdesc, 785 u32 rtl88ee_get_desc(u8 *pdesc, bool istx, u8 desc_name); 789 void rtl88ee_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
|
D | dm.h | 273 u8 *pdesc, u32 mac_id);
|
D | dm.c | 1431 u8 *pdesc, u32 mac_id) in rtl88e_dm_set_tx_ant_by_tx_info() argument 1439 SET_TX_DESC_ANTSEL_A(pdesc, pfat_table->antsel_a[mac_id]); in rtl88e_dm_set_tx_ant_by_tx_info() 1440 SET_TX_DESC_ANTSEL_B(pdesc, pfat_table->antsel_b[mac_id]); in rtl88e_dm_set_tx_ant_by_tx_info() 1441 SET_TX_DESC_ANTSEL_C(pdesc, pfat_table->antsel_c[mac_id]); in rtl88e_dm_set_tx_ant_by_tx_info()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | trx.c | 113 struct rx_desc_92c *pdesc, in _rtl92ce_query_rxphystatus() argument 128 is_cck_rate = RX_HAL_IS_CCK_RATE(pdesc->rxmcs); in _rtl92ce_query_rxphystatus() 296 struct rx_desc_92c *pdesc, in _rtl92ce_translate_rx_signal_stuff() argument 331 _rtl92ce_query_rxphystatus(hw, pstats, pdesc, p_drvinfo, in _rtl92ce_translate_rx_signal_stuff() 344 struct rx_desc_92c *pdesc = (struct rx_desc_92c *)p_desc; in rtl92ce_rx_query_desc() local 346 u32 phystatus = GET_RX_DESC_PHYST(pdesc); in rtl92ce_rx_query_desc() 347 stats->length = (u16) GET_RX_DESC_PKT_LEN(pdesc); in rtl92ce_rx_query_desc() 348 stats->rx_drvinfo_size = (u8) GET_RX_DESC_DRV_INFO_SIZE(pdesc) * in rtl92ce_rx_query_desc() 350 stats->rx_bufshift = (u8) (GET_RX_DESC_SHIFT(pdesc) & 0x03); in rtl92ce_rx_query_desc() 351 stats->icv = (u16) GET_RX_DESC_ICV(pdesc); in rtl92ce_rx_query_desc() [all …]
|
D | trx.h | 714 struct ieee80211_hdr *hdr, u8 *pdesc, 722 u8 *pdesc, struct sk_buff *skb); 723 void rtl92ce_set_desc(struct ieee80211_hw *hw, u8 *pdesc, bool istx, 725 u32 rtl92ce_get_desc(u8 *pdesc, bool istx, u8 desc_name); 729 void rtl92ce_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
D | trx.c | 51 struct rtl_stats *pstatus, u8 *pdesc, in _rtl8723be_query_rxphystatus() argument 214 u8 *pdesc, in _rtl8723be_translate_rx_signal_stuff() argument 258 _rtl8723be_query_rxphystatus(hw, pstatus, pdesc, p_drvinfo, in _rtl8723be_translate_rx_signal_stuff() 320 u8 *pdesc, struct sk_buff *skb) in rtl8723be_rx_query_desc() argument 326 u32 phystatus = GET_RX_DESC_PHYST(pdesc); in rtl8723be_rx_query_desc() 328 status->length = (u16)GET_RX_DESC_PKT_LEN(pdesc); in rtl8723be_rx_query_desc() 329 status->rx_drvinfo_size = (u8)GET_RX_DESC_DRV_INFO_SIZE(pdesc) * in rtl8723be_rx_query_desc() 331 status->rx_bufshift = (u8)(GET_RX_DESC_SHIFT(pdesc) & 0x03); in rtl8723be_rx_query_desc() 332 status->icv = (u16) GET_RX_DESC_ICV(pdesc); in rtl8723be_rx_query_desc() 333 status->crc = (u16) GET_RX_DESC_CRC32(pdesc); in rtl8723be_rx_query_desc() [all …]
|
D | trx.h | 612 u8 *pdesc, struct sk_buff *skb); 613 void rtl8723be_set_desc(struct ieee80211_hw *hw, u8 *pdesc, 615 u32 rtl8723be_get_desc(u8 *pdesc, bool istx, u8 desc_name); 619 void rtl8723be_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
|
D | dm.h | 255 void rtl8723be_dm_set_tx_ant_by_tx_info(struct ieee80211_hw *hw, u8 *pdesc,
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | trx.c | 62 struct rtl_stats *pstats, u8 *pdesc, in _rtl92se_query_rxphystatus() argument 222 u8 *pdesc, struct rx_fwinfo *p_drvinfo) in _rtl92se_translate_rx_signal_stuff() argument 255 _rtl92se_query_rxphystatus(hw, pstats, pdesc, p_drvinfo, in _rtl92se_translate_rx_signal_stuff() 261 struct ieee80211_rx_status *rx_status, u8 *pdesc, in rtl92se_rx_query_desc() argument 265 u32 phystatus = (u32)GET_RX_STATUS_DESC_PHY_STATUS(pdesc); in rtl92se_rx_query_desc() 268 stats->length = (u16)GET_RX_STATUS_DESC_PKT_LEN(pdesc); in rtl92se_rx_query_desc() 269 stats->rx_drvinfo_size = (u8)GET_RX_STATUS_DESC_DRVINFO_SIZE(pdesc) * 8; in rtl92se_rx_query_desc() 270 stats->rx_bufshift = (u8)(GET_RX_STATUS_DESC_SHIFT(pdesc) & 0x03); in rtl92se_rx_query_desc() 271 stats->icv = (u16)GET_RX_STATUS_DESC_ICV(pdesc); in rtl92se_rx_query_desc() 272 stats->crc = (u16)GET_RX_STATUS_DESC_CRC32(pdesc); in rtl92se_rx_query_desc() [all …]
|
D | trx.h | 33 struct ieee80211_hdr *hdr, u8 *pdesc, 38 void rtl92se_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc, bool firstseg, 41 struct ieee80211_rx_status *rx_status, u8 *pdesc, 43 void rtl92se_set_desc(struct ieee80211_hw *hw, u8 *pdesc, bool istx, 45 u32 rtl92se_get_desc(u8 *pdesc, bool istx, u8 desc_name);
|
D | fw.c | 142 struct rtl_tx_desc *pdesc; in _rtl92s_cmd_send_packet() local 151 pdesc = &ring->desc[idx]; in _rtl92s_cmd_send_packet() 152 rtlpriv->cfg->ops->fill_tx_cmddesc(hw, (u8 *)pdesc, 1, 1, skb); in _rtl92s_cmd_send_packet()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | trx.c | 115 struct rx_desc_92d *pdesc, in _rtl92de_query_rxphystatus() argument 130 is_cck_rate = RX_HAL_IS_CCK_RATE(pdesc->rxmcs); in _rtl92de_query_rxphystatus() 238 if (pdesc->rxht && pdesc->rxmcs >= DESC_RATEMCS8 && in _rtl92de_query_rxphystatus() 239 pdesc->rxmcs <= DESC_RATEMCS15) in _rtl92de_query_rxphystatus() 445 struct rx_desc_92d *pdesc, in _rtl92de_translate_rx_signal_stuff() argument 473 _rtl92de_query_rxphystatus(hw, pstats, pdesc, p_drvinfo, in _rtl92de_translate_rx_signal_stuff() 484 struct rx_desc_92d *pdesc = (struct rx_desc_92d *)p_desc; in rtl92de_rx_query_desc() local 485 u32 phystatus = GET_RX_DESC_PHYST(pdesc); in rtl92de_rx_query_desc() 487 stats->length = (u16) GET_RX_DESC_PKT_LEN(pdesc); in rtl92de_rx_query_desc() 488 stats->rx_drvinfo_size = (u8) GET_RX_DESC_DRV_INFO_SIZE(pdesc) * in rtl92de_rx_query_desc() [all …]
|
D | trx.h | 731 struct ieee80211_hdr *hdr, u8 *pdesc, 739 u8 *pdesc, struct sk_buff *skb); 740 void rtl92de_set_desc(struct ieee80211_hw *hw, u8 *pdesc, bool istx, 742 u32 rtl92de_get_desc(u8 *pdesc, bool istx, u8 desc_name); 744 void rtl92de_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
|
D | fw.c | 549 struct rtl_tx_desc *pdesc; in _rtl92d_cmd_send_packet() local 558 pdesc = &ring->desc[idx]; in _rtl92d_cmd_send_packet() 560 rtlpriv->cfg->ops->get_desc((u8 *) pdesc, true, HW_DESC_OWN); in _rtl92d_cmd_send_packet() 561 rtlpriv->cfg->ops->fill_tx_cmddesc(hw, (u8 *) pdesc, 1, 1, skb); in _rtl92d_cmd_send_packet()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | trx.c | 82 struct rtl_stats *pstatus, u8 *pdesc, in query_rxphystatus() argument 300 struct rtl_stats *pstatus, u8 *pdesc, in translate_rx_signal_stuff() argument 353 query_rxphystatus(hw, pstatus, pdesc, p_drvinfo, in translate_rx_signal_stuff() 412 static bool rtl8821ae_get_rxdesc_is_ht(struct ieee80211_hw *hw, u8 *pdesc) in rtl8821ae_get_rxdesc_is_ht() argument 417 rx_rate = GET_RX_DESC_RXMCS(pdesc); in rtl8821ae_get_rxdesc_is_ht() 426 static bool rtl8821ae_get_rxdesc_is_vht(struct ieee80211_hw *hw, u8 *pdesc) in rtl8821ae_get_rxdesc_is_vht() argument 431 rx_rate = GET_RX_DESC_RXMCS(pdesc); in rtl8821ae_get_rxdesc_is_vht() 440 static u8 rtl8821ae_get_rx_vht_nss(struct ieee80211_hw *hw, u8 *pdesc) in rtl8821ae_get_rx_vht_nss() argument 445 rx_rate = GET_RX_DESC_RXMCS(pdesc); in rtl8821ae_get_rx_vht_nss() 459 u8 *pdesc, struct sk_buff *skb) in rtl8821ae_rx_query_desc() argument [all …]
|
D | trx.h | 607 u8 *pdesc, struct sk_buff *skb); 608 void rtl8821ae_set_desc(struct ieee80211_hw *hw, u8 *pdesc, 610 u32 rtl8821ae_get_desc(u8 *pdesc, bool istx, u8 desc_name); 614 void rtl8821ae_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
|
D | dm.h | 285 u8 *pdesc, u32 mac_id);
|
D | dm.c | 2980 u8 *pdesc, u32 mac_id) in rtl8821ae_dm_set_tx_ant_by_tx_info() argument 2991 SET_TX_DESC_TX_ANT(pdesc, pfat_table->antsel_a[mac_id]); in rtl8821ae_dm_set_tx_ant_by_tx_info()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
D | trx.c | 51 struct rtl_stats *pstatus, u8 *pdesc, in _rtl92ee_query_rxphystatus() argument 238 u8 *pdesc, in _rtl92ee_translate_rx_signal_stuff() argument 289 _rtl92ee_query_rxphystatus(hw, pstatus, pdesc, p_drvinfo, in _rtl92ee_translate_rx_signal_stuff() 350 u8 *pdesc, struct sk_buff *skb) in rtl92ee_rx_query_desc() argument 355 u32 phystatus = GET_RX_DESC_PHYST(pdesc); in rtl92ee_rx_query_desc() 357 if (GET_RX_STATUS_DESC_RPT_SEL(pdesc) == 0) in rtl92ee_rx_query_desc() 361 status->length = (u16)GET_RX_DESC_PKT_LEN(pdesc); in rtl92ee_rx_query_desc() 362 status->rx_drvinfo_size = (u8)GET_RX_DESC_DRV_INFO_SIZE(pdesc) * in rtl92ee_rx_query_desc() 364 status->rx_bufshift = (u8)(GET_RX_DESC_SHIFT(pdesc) & 0x03); in rtl92ee_rx_query_desc() 365 status->icv = (u16)GET_RX_DESC_ICV(pdesc); in rtl92ee_rx_query_desc() [all …]
|
D | trx.h | 849 u8 *pdesc, struct sk_buff *skb); 850 void rtl92ee_set_desc(struct ieee80211_hw *hw, u8 *pdesc, bool istx, 853 u32 rtl92ee_get_desc(u8 *pdesc, bool istx, u8 desc_name); 856 void rtl92ee_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
|
/linux-4.1.27/crypto/ |
D | hmac.c | 89 static int hmac_export(struct shash_desc *pdesc, void *out) in hmac_export() argument 91 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_export() 93 desc->flags = pdesc->flags & CRYPTO_TFM_REQ_MAY_SLEEP; in hmac_export() 98 static int hmac_import(struct shash_desc *pdesc, const void *in) in hmac_import() argument 100 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_import() 101 struct hmac_ctx *ctx = hmac_ctx(pdesc->tfm); in hmac_import() 104 desc->flags = pdesc->flags & CRYPTO_TFM_REQ_MAY_SLEEP; in hmac_import() 109 static int hmac_init(struct shash_desc *pdesc) in hmac_init() argument 111 return hmac_import(pdesc, crypto_shash_ctx_aligned(pdesc->tfm)); in hmac_init() 114 static int hmac_update(struct shash_desc *pdesc, in hmac_update() argument [all …]
|
D | xcbc.c | 82 static int crypto_xcbc_digest_init(struct shash_desc *pdesc) in crypto_xcbc_digest_init() argument 84 unsigned long alignmask = crypto_shash_alignmask(pdesc->tfm); in crypto_xcbc_digest_init() 85 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_xcbc_digest_init() 86 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init() 95 static int crypto_xcbc_digest_update(struct shash_desc *pdesc, const u8 *p, in crypto_xcbc_digest_update() argument 98 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_update() 101 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_xcbc_digest_update() 142 static int crypto_xcbc_digest_final(struct shash_desc *pdesc, u8 *out) in crypto_xcbc_digest_final() argument 144 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_final() 147 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_xcbc_digest_final()
|
D | cmac.c | 108 static int crypto_cmac_digest_init(struct shash_desc *pdesc) in crypto_cmac_digest_init() argument 110 unsigned long alignmask = crypto_shash_alignmask(pdesc->tfm); in crypto_cmac_digest_init() 111 struct cmac_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_cmac_digest_init() 112 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_cmac_digest_init() 121 static int crypto_cmac_digest_update(struct shash_desc *pdesc, const u8 *p, in crypto_cmac_digest_update() argument 124 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_update() 127 struct cmac_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_cmac_digest_update() 168 static int crypto_cmac_digest_final(struct shash_desc *pdesc, u8 *out) in crypto_cmac_digest_final() argument 170 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_final() 173 struct cmac_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_cmac_digest_final()
|
D | vmac.c | 557 static int vmac_init(struct shash_desc *pdesc) in vmac_init() argument 562 static int vmac_update(struct shash_desc *pdesc, const u8 *p, in vmac_update() argument 565 struct crypto_shash *parent = pdesc->tfm; in vmac_update() 598 static int vmac_final(struct shash_desc *pdesc, u8 *out) in vmac_final() argument 600 struct crypto_shash *parent = pdesc->tfm; in vmac_final()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | trx.c | 307 u8 *pdesc, struct sk_buff *skb) in rtl92cu_rx_query_desc() argument 310 struct rx_desc_92c *p_desc = (struct rx_desc_92c *)pdesc; in rtl92cu_rx_query_desc() 311 u32 phystatus = GET_RX_DESC_PHY_STATUS(pdesc); in rtl92cu_rx_query_desc() 313 stats->length = (u16) GET_RX_DESC_PKT_LEN(pdesc); in rtl92cu_rx_query_desc() 314 stats->rx_drvinfo_size = (u8)GET_RX_DESC_DRVINFO_SIZE(pdesc) * in rtl92cu_rx_query_desc() 316 stats->rx_bufshift = (u8) (GET_RX_DESC_SHIFT(pdesc) & 0x03); in rtl92cu_rx_query_desc() 317 stats->icv = (u16) GET_RX_DESC_ICV(pdesc); in rtl92cu_rx_query_desc() 318 stats->crc = (u16) GET_RX_DESC_CRC32(pdesc); in rtl92cu_rx_query_desc() 320 stats->decrypted = !GET_RX_DESC_SWDEC(pdesc); in rtl92cu_rx_query_desc() 321 stats->rate = (u8) GET_RX_DESC_RX_MCS(pdesc); in rtl92cu_rx_query_desc() [all …]
|
D | mac.c | 788 u8 *pdesc = (u8 *)p_desc; in _rtl92c_query_rxphystatus() local 882 if (GET_RX_DESC_RX_MCS(pdesc) && in _rtl92c_query_rxphystatus() 883 GET_RX_DESC_RX_MCS(pdesc) >= DESC_RATEMCS8 && in _rtl92c_query_rxphystatus() 884 GET_RX_DESC_RX_MCS(pdesc) <= DESC_RATEMCS15) in _rtl92c_query_rxphystatus() 911 struct rx_desc_92c *pdesc, in rtl92c_translate_rx_signal_stuff() argument 941 _rtl92c_query_rxphystatus(hw, pstats, pdesc, p_drvinfo, in rtl92c_translate_rx_signal_stuff()
|
D | mac.h | 165 struct rx_desc_92c *pdesc,
|
D | trx.h | 431 u8 *pdesc, bool b_firstseg,
|
/linux-4.1.27/arch/ia64/kernel/ |
D | esi.c | 43 struct pdesc { struct 119 struct pdesc pdesc; in ia64_esi_call() local 121 pdesc.addr = __va(esi->esi_proc); in ia64_esi_call() 122 pdesc.gp = __va(esi->gp); in ia64_esi_call() 124 esi_proc = (ia64_sal_handler) &pdesc; in ia64_esi_call() 171 struct pdesc pdesc; in ia64_esi_call_phys() local 173 pdesc.addr = (void *)esi->esi_proc; in ia64_esi_call_phys() 174 pdesc.gp = (void *)esi->gp; in ia64_esi_call_phys() 176 esi_proc = (ia64_sal_handler) &pdesc; in ia64_esi_call_phys()
|
D | sal.c | 33 } pdesc; variable 90 pdesc.addr = entry_point; in ia64_sal_handler_init() 91 pdesc.gpval = gpval; in ia64_sal_handler_init() 92 ia64_sal = (ia64_sal_handler) &pdesc; in ia64_sal_handler_init()
|
/linux-4.1.27/drivers/s390/char/ |
D | hmcdrv_ftp.c | 83 const struct hmcdrv_ftp_cmd_desc *pdesc; in hmcdrv_ftp_cmd_getid() local 91 pdesc = ftpcmds + (crc % ARRAY_SIZE(ftpcmds)); in hmcdrv_ftp_cmd_getid() 95 if (!pdesc->str || strncmp(pdesc->str, cmd, len)) in hmcdrv_ftp_cmd_getid() 99 pdesc->str, pdesc->cmd); in hmcdrv_ftp_cmd_getid() 101 return pdesc->cmd; in hmcdrv_ftp_cmd_getid()
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 1183 void rtl8192_tx_fill_desc(struct net_device *dev, struct tx_desc *pdesc, in rtl8192_tx_fill_desc() argument 1235 memset((u8 *)pdesc, 0, 12); in rtl8192_tx_fill_desc() 1236 pdesc->LINIP = 0; in rtl8192_tx_fill_desc() 1237 pdesc->CmdInit = 1; in rtl8192_tx_fill_desc() 1238 pdesc->Offset = sizeof(struct tx_fwinfo_8190pci) + 8; in rtl8192_tx_fill_desc() 1239 pdesc->PktSize = (u16)skb->len-sizeof(struct tx_fwinfo_8190pci); in rtl8192_tx_fill_desc() 1241 pdesc->SecCAMID = 0; in rtl8192_tx_fill_desc() 1242 pdesc->RATid = cb_desc->RATRIndex; in rtl8192_tx_fill_desc() 1245 pdesc->NoEnc = 1; in rtl8192_tx_fill_desc() 1246 pdesc->SecType = 0x0; in rtl8192_tx_fill_desc() [all …]
|
D | r8192E_dev.h | 50 void rtl8192_tx_fill_desc(struct net_device *dev, struct tx_desc *pdesc, 58 struct rx_desc *pdesc,
|
D | rtl_core.c | 722 struct tx_desc *pdesc = NULL; in rtl8192_prepare_beacon() local 740 pdesc = &ring->desc[0]; in rtl8192_prepare_beacon() 741 priv->ops->tx_fill_descriptor(dev, pdesc, tcb_desc, pnewskb); in rtl8192_prepare_beacon() 743 pdesc->OWN = 1; in rtl8192_prepare_beacon() 1992 struct tx_desc *pdesc = NULL; in rtl8192_tx() local 2038 pdesc = &ring->desc[idx]; in rtl8192_tx() 2039 if ((pdesc->OWN == 1) && (tcb_desc->queue_index != BEACON_QUEUE)) { in rtl8192_tx() 2052 priv->ops->tx_fill_descriptor(dev, pdesc, tcb_desc, skb); in rtl8192_tx() 2054 pdesc->OWN = 1; in rtl8192_tx() 2322 struct rx_desc *pdesc = &priv->rx_ring[rx_queue_idx] in rtl8192_rx_normal() local [all …]
|
D | rtl_core.h | 505 struct rx_desc *pdesc, 509 struct rx_desc *pdesc);
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl8712_cmd.c | 314 struct tx_desc *pdesc; in r8712_cmd_thread() local 335 pdesc = (struct tx_desc *)pcmdbuf; in r8712_cmd_thread() 336 memset(pdesc, 0, TXDESC_SIZE); in r8712_cmd_thread() 346 pdesc->txdw0 |= cpu_to_le32((wr_sz-TXDESC_SIZE) & in r8712_cmd_thread() 356 pdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + in r8712_cmd_thread() 360 pdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + in r8712_cmd_thread() 365 pdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); in r8712_cmd_thread() 366 pdesc->txdw1 |= cpu_to_le32((0x13 << QSEL_SHT) & in r8712_cmd_thread() 384 (u8 *)pdesc); in r8712_cmd_thread()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723com/ |
D | fw_common.c | 313 struct rtl_tx_desc *pdesc; in rtl8723_cmd_send_packet() local 326 pdesc = &ring->desc[0]; in rtl8723_cmd_send_packet() 327 own = (u8) rtlpriv->cfg->ops->get_desc((u8 *)pdesc, true, HW_DESC_OWN); in rtl8723_cmd_send_packet() 329 rtlpriv->cfg->ops->fill_tx_cmddesc(hw, (u8 *)pdesc, 1, 1, skb); in rtl8723_cmd_send_packet()
|
/linux-4.1.27/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.c | 645 const struct pinctrl_pin_desc *pdesc; in samsung_pinctrl_create_groups() local 654 pdesc = ctrldesc->pins; in samsung_pinctrl_create_groups() 655 for (i = 0; i < ctrldesc->npins; ++i, ++pdesc, ++grp) { in samsung_pinctrl_create_groups() 656 grp->name = pdesc->name; in samsung_pinctrl_create_groups() 657 grp->pins = &pdesc->number; in samsung_pinctrl_create_groups() 825 struct pinctrl_pin_desc *pindesc, *pdesc; in samsung_pinctrl_register() local 846 for (pin = 0, pdesc = pindesc; pin < ctrldesc->npins; pin++, pdesc++) in samsung_pinctrl_register() 847 pdesc->number = pin + drvdata->pin_base; in samsung_pinctrl_register() 865 pdesc = pindesc + pin_bank->pin_base + pin; in samsung_pinctrl_register() 866 pdesc->name = pin_names; in samsung_pinctrl_register()
|
D | pinctrl-exynos5440.c | 773 struct pinctrl_pin_desc *pindesc, *pdesc; in exynos5440_pinctrl_register() local 799 for (pin = 0, pdesc = pindesc; pin < ctrldesc->npins; pin++, pdesc++) in exynos5440_pinctrl_register() 800 pdesc->number = pin; in exynos5440_pinctrl_register() 816 pdesc = pindesc + pin; in exynos5440_pinctrl_register() 817 pdesc->name = pin_names; in exynos5440_pinctrl_register()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
D | pci.c | 792 struct rtl_rx_desc *pdesc = NULL; in _rtl_pci_rx_interrupt() local 806 pdesc = (struct rtl_rx_desc *)skb->data; in _rtl_pci_rx_interrupt() 808 pdesc = &rtlpci->rx_ring[rxring_idx].desc[ in _rtl_pci_rx_interrupt() 811 own = (u8)rtlpriv->cfg->ops->get_desc((u8 *)pdesc, in _rtl_pci_rx_interrupt() 831 &rx_status, (u8 *)pdesc, skb); in _rtl_pci_rx_interrupt() 838 len = rtlpriv->cfg->ops->get_desc((u8 *)pdesc, false, in _rtl_pci_rx_interrupt() 933 _rtl_pci_init_one_rxdesc(hw, skb, (u8 *)pdesc, in _rtl_pci_rx_interrupt() 938 rtlpriv->cfg->ops->set_desc(hw, (u8 *)pdesc, in _rtl_pci_rx_interrupt() 1117 struct rtl_tx_desc *pdesc = NULL; in _rtl_pci_prepare_bcn_tasklet() local 1145 pdesc = &ring->desc[0]; in _rtl_pci_prepare_bcn_tasklet() [all …]
|
D | wifi.h | 2122 void (*fill_tx_cmddesc) (struct ieee80211_hw *hw, u8 *pdesc, 2128 u8 *pdesc, struct sk_buff *skb); 2137 void (*set_desc)(struct ieee80211_hw *hw, u8 *pdesc, bool istx, 2139 u32 (*get_desc) (u8 *pdesc, bool istx, u8 desc_name);
|
D | usb.c | 965 struct rtl_tx_desc *pdesc = NULL; in _rtl_usb_tx_preprocess() local 1002 rtlpriv->cfg->ops->fill_tx_desc(hw, hdr, (u8 *)pdesc, NULL, info, sta, skb, in _rtl_usb_tx_preprocess()
|
D | core.c | 1828 struct rtl_tx_desc *pdesc; in rtl_cmd_send_packet() local 1840 pdesc = &ring->desc[0]; in rtl_cmd_send_packet() 1842 rtlpriv->cfg->ops->fill_tx_cmddesc(hw, (u8 *)pdesc, 1, 1, skb); in rtl_cmd_send_packet()
|
/linux-4.1.27/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 552 struct pinctrl_pin_desc *pdesc; in mvebu_pinctrl_probe() local 605 pdesc = devm_kzalloc(&pdev->dev, pctl->desc.npins * in mvebu_pinctrl_probe() 607 if (!pdesc) { in mvebu_pinctrl_probe() 613 pdesc[n].number = n; in mvebu_pinctrl_probe() 614 pctl->desc.pins = pdesc; in mvebu_pinctrl_probe()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_init.c | 1831 struct rcv_desc *pdesc; in netxen_post_rx_buffers() local 1853 pdesc = &rds_ring->desc_head[producer]; in netxen_post_rx_buffers() 1854 pdesc->addr_buffer = cpu_to_le64(buffer->dma); in netxen_post_rx_buffers() 1855 pdesc->reference_handle = cpu_to_le16(buffer->ref_handle); in netxen_post_rx_buffers() 1856 pdesc->buffer_length = cpu_to_le32(rds_ring->dma_size); in netxen_post_rx_buffers() 1889 struct rcv_desc *pdesc; in netxen_post_rx_buffers_nodb() local 1913 pdesc = &rds_ring->desc_head[producer]; in netxen_post_rx_buffers_nodb() 1914 pdesc->reference_handle = cpu_to_le16(buffer->ref_handle); in netxen_post_rx_buffers_nodb() 1915 pdesc->buffer_length = cpu_to_le32(rds_ring->dma_size); in netxen_post_rx_buffers_nodb() 1916 pdesc->addr_buffer = cpu_to_le64(buffer->dma); in netxen_post_rx_buffers_nodb()
|
/linux-4.1.27/drivers/pinctrl/ |
D | pinctrl-st.c | 1618 struct pinctrl_pin_desc *pdesc; in st_pctl_probe_dt() local 1670 pdesc = devm_kzalloc(&pdev->dev, in st_pctl_probe_dt() 1671 sizeof(*pdesc) * pctl_desc->npins, GFP_KERNEL); in st_pctl_probe_dt() 1672 if (!pdesc) in st_pctl_probe_dt() 1675 pctl_desc->pins = pdesc; in st_pctl_probe_dt() 1688 pdesc->number = k; in st_pctl_probe_dt() 1689 pdesc->name = kasprintf(GFP_KERNEL, "%s[%d]", in st_pctl_probe_dt() 1691 pdesc++; in st_pctl_probe_dt()
|
D | pinctrl-at91.c | 1209 struct pinctrl_pin_desc *pdesc; in at91_pinctrl_probe() local 1239 at91_pinctrl_desc.pins = pdesc = in at91_pinctrl_probe() 1240 devm_kzalloc(&pdev->dev, sizeof(*pdesc) * at91_pinctrl_desc.npins, GFP_KERNEL); in at91_pinctrl_probe() 1247 pdesc->number = k; in at91_pinctrl_probe() 1248 pdesc->name = kasprintf(GFP_KERNEL, "pio%c%d", i + 'A', j); in at91_pinctrl_probe() 1249 pdesc++; in at91_pinctrl_probe()
|
D | pinctrl-rockchip.c | 1241 struct pinctrl_pin_desc *pindesc, *pdesc; in rockchip_pinctrl_register() local 1261 pdesc = pindesc; in rockchip_pinctrl_register() 1265 pdesc->number = k; in rockchip_pinctrl_register() 1266 pdesc->name = kasprintf(GFP_KERNEL, "%s-%d", in rockchip_pinctrl_register() 1268 pdesc++; in rockchip_pinctrl_register()
|
D | pinctrl-single.c | 432 struct pin_desc *pdesc = pin_desc_get(pctldev, pin); in pcs_get_function() local 437 setting = pdesc->mux_setting; in pcs_get_function()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | netcp_core.c | 1005 struct knav_dma_desc *desc, *ndesc, *pdesc; in netcp_tx_map_skb() local 1034 pdesc = desc; in netcp_tx_map_skb() 1065 set_words(&desc_dma, 1, &pdesc->next_desc); in netcp_tx_map_skb() 1067 if (pdesc != desc) in netcp_tx_map_skb() 1068 knav_pool_desc_map(netcp->tx_pool, pdesc, in netcp_tx_map_skb() 1069 sizeof(*pdesc), &desc_dma, &dma_sz); in netcp_tx_map_skb() 1070 pdesc = ndesc; in netcp_tx_map_skb() 1072 if (pdesc != desc) in netcp_tx_map_skb() 1073 knav_pool_desc_map(netcp->tx_pool, pdesc, sizeof(*pdesc), in netcp_tx_map_skb()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 845 struct rcv_desc *pdesc; in qlcnic_post_rx_buffers_nodb() local 867 pdesc = &rds_ring->desc_head[producer]; in qlcnic_post_rx_buffers_nodb() 870 pdesc->reference_handle = cpu_to_le16(handle); in qlcnic_post_rx_buffers_nodb() 871 pdesc->buffer_length = cpu_to_le32(rds_ring->dma_size); in qlcnic_post_rx_buffers_nodb() 872 pdesc->addr_buffer = cpu_to_le64(buffer->dma); in qlcnic_post_rx_buffers_nodb() 1437 struct rcv_desc *pdesc; in qlcnic_post_rx_buffers() local 1459 pdesc = &rds_ring->desc_head[producer]; in qlcnic_post_rx_buffers() 1460 pdesc->addr_buffer = cpu_to_le64(buffer->dma); in qlcnic_post_rx_buffers() 1463 pdesc->reference_handle = cpu_to_le16(handle); in qlcnic_post_rx_buffers() 1464 pdesc->buffer_length = cpu_to_le32(rds_ring->dma_size); in qlcnic_post_rx_buffers()
|
/linux-4.1.27/drivers/dma/ |
D | mmp_pdma.c | 366 dma_addr_t pdesc; in mmp_pdma_alloc_descriptor() local 368 desc = dma_pool_alloc(chan->desc_pool, GFP_ATOMIC, &pdesc); in mmp_pdma_alloc_descriptor() 379 desc->async_tx.phys = pdesc; in mmp_pdma_alloc_descriptor()
|
D | fsldma.c | 463 dma_addr_t pdesc; in fsl_dma_alloc_descriptor() local 465 desc = dma_pool_alloc(chan->desc_pool, GFP_ATOMIC, &pdesc); in fsl_dma_alloc_descriptor() 475 desc->async_tx.phys = pdesc; in fsl_dma_alloc_descriptor()
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 1277 tx_desc_cmd_819x_usb *pdesc = (tx_desc_cmd_819x_usb *)skb->data; in rtl819xU_tx_cmd() local 1288 memset(pdesc, 0, USB_HWDESC_HEADER_LEN); in rtl819xU_tx_cmd() 1290 pdesc->FirstSeg = 1;//bFirstSeg; in rtl819xU_tx_cmd() 1291 pdesc->LastSeg = 1;//bLastSeg; in rtl819xU_tx_cmd() 1292 pdesc->CmdInit = tcb_desc->bCmdOrInit; in rtl819xU_tx_cmd() 1293 pdesc->TxBufferSize = tcb_desc->txbuf_size; in rtl819xU_tx_cmd() 1294 pdesc->OWN = 1; in rtl819xU_tx_cmd() 1295 pdesc->LINIP = tcb_desc->bLastIniPkt; in rtl819xU_tx_cmd()
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o_config.c | 461 struct i2o_evt_id __user *pdesc = (struct i2o_evt_id __user *)arg; in i2o_cfg_evt_reg() local 466 if (copy_from_user(&kdesc, pdesc, sizeof(struct i2o_evt_id))) in i2o_cfg_evt_reg()
|
/linux-4.1.27/drivers/tty/ |
D | synclink_gt.c | 207 unsigned int pdesc; /* physical address of this descriptor */ member 3402 info->rbufs[i].pdesc = pbufs + (i * sizeof(struct slgt_desc)); in alloc_desc() 3414 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc)); in alloc_desc() 4028 wr_reg32(info, RDDAR, info->rbufs[0].pdesc); in rx_start() 4080 wr_reg32(info, TDDAR, info->tbufs[info->tbuf_start].pdesc); in tx_start()
|