Home
last modified time | relevance | path

Searched refs:pDesc (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/arch/arm/mach-bcmring/csp/dmac/
DdmacHw.c389 dmacHw_DESC_t *pDesc; in dmacHw_initDescriptor() local
408 pDesc = pRing->pHead; in dmacHw_initDescriptor()
415 memset((void *)pDesc, 0, sizeof(dmacHw_DESC_t)); in dmacHw_initDescriptor()
417 pDesc->llpPhy = (uint32_t) (pDesc + 1) - pRing->virt2PhyOffset; in dmacHw_initDescriptor()
419 pDesc->llp = (uint32_t) (pDesc + 1); in dmacHw_initDescriptor()
421 pDesc->ctl.hi = dmacHw_DESC_FREE; in dmacHw_initDescriptor()
423 pDesc++; in dmacHw_initDescriptor()
427 memset((void *)pDesc, 0, sizeof(dmacHw_DESC_t)); in dmacHw_initDescriptor()
430 pDesc->llpPhy = (uint32_t) pRing->pHead - pRing->virt2PhyOffset; in dmacHw_initDescriptor()
434 pDesc->llp = (uint32_t) pRing->pHead; in dmacHw_initDescriptor()
[all …]
DdmacHw_extra.c983 dmacHw_DESC_t *pDesc; in dmacHw_resetDescriptorControl() local
986 pDesc = pRing->pHead; in dmacHw_resetDescriptorControl()
990 pDesc->ctl.hi = dmacHw_DESC_FREE; in dmacHw_resetDescriptorControl()
992 pDesc++; in dmacHw_resetDescriptorControl()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192cu/
Dtrx.c627 void rtl92cu_fill_fake_txdesc(struct ieee80211_hw *hw, u8 * pDesc, in rtl92cu_fill_fake_txdesc() argument
631 memset(pDesc, 0, RTL_TX_HEADER_SIZE); in rtl92cu_fill_fake_txdesc()
632 SET_TX_DESC_FIRST_SEG(pDesc, 1); /* bFirstSeg; */ in rtl92cu_fill_fake_txdesc()
633 SET_TX_DESC_LAST_SEG(pDesc, 1); /* bLastSeg; */ in rtl92cu_fill_fake_txdesc()
634 SET_TX_DESC_OFFSET(pDesc, RTL_TX_HEADER_SIZE); /* Offset = 32 */ in rtl92cu_fill_fake_txdesc()
635 SET_TX_DESC_PKT_SIZE(pDesc, buffer_len); /* Buffer size + command hdr */ in rtl92cu_fill_fake_txdesc()
636 SET_TX_DESC_QUEUE_SEL(pDesc, QSLT_MGNT); /* Fixed queue of Mgnt queue */ in rtl92cu_fill_fake_txdesc()
640 SET_TX_DESC_NAV_USE_HDR(pDesc, 1); in rtl92cu_fill_fake_txdesc()
642 SET_TX_DESC_HWSEQ_EN(pDesc, 1); /* Hw set sequence number */ in rtl92cu_fill_fake_txdesc()
643 SET_TX_DESC_PKT_ID(pDesc, 0x100); /* set bit3 to 1. */ in rtl92cu_fill_fake_txdesc()
[all …]
Dtrx.h426 void rtl92cu_fill_fake_txdesc(struct ieee80211_hw *hw, u8 * pDesc,
/linux-3.4.99/drivers/staging/vt6655/
Ddevice_main.c335 static bool device_alloc_rx_buf(PSDevice pDevice, PSRxDesc pDesc);
337 static void device_free_tx_buf(PSDevice pDevice, PSTxDesc pDesc);
1386 PSRxDesc pDesc; in device_init_rd0_ring() local
1390 pDesc = &(pDevice->aRD0Ring[i]); in device_init_rd0_ring()
1391 pDesc->pRDInfo = alloc_rd_info(); in device_init_rd0_ring()
1392 ASSERT(pDesc->pRDInfo); in device_init_rd0_ring()
1393 if (!device_alloc_rx_buf(pDevice, pDesc)) { in device_init_rd0_ring()
1397 pDesc->next = &(pDevice->aRD0Ring[(i+1) % pDevice->sOpts.nRxDescs0]); in device_init_rd0_ring()
1398 pDesc->pRDInfo->curr_desc = cpu_to_le32(curr); in device_init_rd0_ring()
1399 pDesc->next_desc = cpu_to_le32(curr + sizeof(SRxDesc)); in device_init_rd0_ring()
[all …]
Dcard.c1612 PSRxDesc pDesc; in CARDvSafeResetRx() local
1622 pDesc =&(pDevice->aRD0Ring[uu]); in CARDvSafeResetRx()
1623 pDesc->m_rd0RD0.wResCount = (unsigned short)(pDevice->rx_buf_sz); in CARDvSafeResetRx()
1624 pDesc->m_rd0RD0.f1Owner=OWNED_BY_NIC; in CARDvSafeResetRx()
1625 pDesc->m_rd1RD1.wReqCount = (unsigned short)(pDevice->rx_buf_sz); in CARDvSafeResetRx()
1630 pDesc =&(pDevice->aRD1Ring[uu]); in CARDvSafeResetRx()
1631 pDesc->m_rd0RD0.wResCount = (unsigned short)(pDevice->rx_buf_sz); in CARDvSafeResetRx()
1632 pDesc->m_rd0RD0.f1Owner=OWNED_BY_NIC; in CARDvSafeResetRx()
1633 pDesc->m_rd1RD1.wReqCount = (unsigned short)(pDevice->rx_buf_sz); in CARDvSafeResetRx()
/linux-3.4.99/drivers/net/wireless/rtlwifi/
Dwifi.h1419 void (*fill_fake_txdesc) (struct ieee80211_hw *hw, u8 *pDesc,