/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/et131x/ |
H A D | et1310_tx.h | 92 /* struct tx_desc represents each descriptor on the ring */ 93 struct tx_desc { struct 136 struct tx_desc *tx_desc_ring;
|
H A D | et1310_tx.c | 125 desc_size = (sizeof(struct tx_desc) * NUM_DESC_PER_RING_TX) + 4096 - 1; 127 (struct tx_desc *) pci_alloc_consistent(adapter->pdev, desc_size, 166 desc_size = (sizeof(struct tx_desc) * NUM_DESC_PER_RING_TX) 414 struct tx_desc desc[24]; /* 24 x 16 byte */ 433 memset(desc, 0, sizeof(struct tx_desc) * (nr_frags + 1)); 564 sizeof(struct tx_desc) * thiscopy); 577 sizeof(struct tx_desc) * remainder); 634 struct tx_desc *desc = NULL; 652 desc = (struct tx_desc *)(etdev->tx_ring.tx_desc_ring +
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/ulp/iser/ |
H A D | iser_initiator.c | 154 struct iser_tx_desc *tx_desc) 159 tx_desc->dma_addr, ISER_HEADERS_LEN, DMA_TO_DEVICE); 161 memset(&tx_desc->iser_header, 0, sizeof(struct iser_hdr)); 162 tx_desc->iser_header.flags = ISER_VER; 164 tx_desc->num_sge = 1; 166 if (tx_desc->tx_sg[0].lkey != device->mr->lkey) { 167 tx_desc->tx_sg[0].lkey = device->mr->lkey; 168 iser_dbg("sdesc %p lkey mismatch, fixing\n", tx_desc); 276 struct iser_tx_desc *tx_desc = &iser_task->desc; local 281 tx_desc 153 iser_create_send_desc(struct iser_conn *ib_conn, struct iser_tx_desc *tx_desc) argument 331 struct iser_tx_desc *tx_desc = NULL; local 489 iser_snd_completion(struct iser_tx_desc *tx_desc, struct iser_conn *ib_conn) argument [all...] |
H A D | iser_verbs.c | 714 int iser_post_send(struct iser_conn *ib_conn, struct iser_tx_desc *tx_desc) argument 720 tx_desc->dma_addr, ISER_HEADERS_LEN, DMA_TO_DEVICE); 723 send_wr.wr_id = (unsigned long)tx_desc; 724 send_wr.sg_list = tx_desc->tx_sg; 725 send_wr.num_sge = tx_desc->num_sge; 766 struct iser_tx_desc *tx_desc; local 771 tx_desc = (struct iser_tx_desc *) (unsigned long) wc.wr_id; 775 iser_snd_completion(tx_desc, ib_conn); 783 iser_handle_comp_error(tx_desc, ib_conn);
|
H A D | iscsi_iser.c | 133 struct iser_tx_desc *tx_desc) 140 dma_addr = ib_dma_map_single(device->ib_device, (void *)tx_desc, 145 tx_desc->dma_addr = dma_addr; 146 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; 147 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN; 148 tx_desc->tx_sg[0].lkey = device->mr->lkey; 132 iser_initialize_task_headers(struct iscsi_task *task, struct iser_tx_desc *tx_desc) argument
|
H A D | iscsi_iser.h | 358 int iser_post_send(struct iser_conn *ib_conn, struct iser_tx_desc *tx_desc); 367 struct iser_tx_desc *tx_desc);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/mlx4/ |
H A D | en_tx.c | 196 struct mlx4_en_tx_desc *tx_desc = ring->buf + index * TXBB_SIZE; local 197 struct mlx4_wqe_data_seg *data = (void *) tx_desc + tx_info->data_offset; 203 __be32 *ptr = (__be32 *)tx_desc; 207 if (likely((void *) tx_desc + tx_info->nr_txbb * TXBB_SIZE <= end)) { 535 static void build_inline_wqe(struct mlx4_en_tx_desc *tx_desc, struct sk_buff *skb, argument 538 struct mlx4_wqe_inline_seg *inl = &tx_desc->inl; 572 tx_desc->ctrl.vlan_tag = cpu_to_be16(*vlan_tag); 573 tx_desc->ctrl.ins_vlan = MLX4_WQE_CTRL_INS_VLAN * !!(*vlan_tag); 574 tx_desc->ctrl.fence_size = (real_size / 16) & 0x3f; 599 struct mlx4_en_tx_desc *tx_desc; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ibm_newemac/ |
H A D | debug.c | 41 i, p->tx_desc[i].data_ptr, p->tx_skb[i] ? 'V' : ' ', 42 p->tx_desc[i].ctrl, p->tx_desc[i].data_len, 44 p->tx_desc[NUM_TX_BUFF / 2 + i].data_ptr, 46 p->tx_desc[NUM_TX_BUFF / 2 + i].ctrl, 47 p->tx_desc[NUM_TX_BUFF / 2 + i].data_len);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ixp2000/ |
H A D | ixpdev.c | 36 static struct ixpdev_tx_desc * const tx_desc = variable 57 desc = tx_desc + entry; 167 channel = tx_desc[entry].channel; 353 free_page((unsigned long)phys_to_virt(tx_desc[i].buf_addr)); 356 tx_desc[i].buf_addr = virt_to_phys(buf); 411 free_page((unsigned long)phys_to_virt(tx_desc[i].buf_addr)); 435 free_page((unsigned long)phys_to_virt(tx_desc[i].buf_addr));
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | sgiseeq.c | 95 struct sgiseeq_tx_desc *tx_desc; member in struct:sgiseeq_private 191 sp->tx_desc[i].tdma.cntinfo = TCNTINFO_INIT; 192 dma_sync_desc_dev(dev, &sp->tx_desc[i]); 225 if (sp->tx_desc[i].skb) { 226 dev_kfree_skb(sp->tx_desc[i].skb); 227 sp->tx_desc[i].skb = NULL; 248 struct sgiseeq_tx_desc *t = gpriv->tx_desc; 307 hregs->tx_ndptr = VIRT_TO_DMA(sp, sp->tx_desc); 438 td = &sp->tx_desc[i]; 443 td = &sp->tx_desc[ [all...] |
H A D | pxa168_eth.c | 187 struct tx_desc { struct 211 struct tx_desc *p_tx_desc_area; 657 (u32) (pep->tx_desc_dma + tx_curr_desc * sizeof(struct tx_desc))); 716 struct tx_desc *desc; 1079 struct tx_desc *p_tx_desc; 1091 size = pep->tx_ring_size * sizeof(struct tx_desc); 1102 p_tx_desc = (struct tx_desc *)pep->p_tx_desc_area; 1105 ((i + 1) % tx_desc_num) * sizeof(struct tx_desc); 1109 pep->tx_desc_area_size = tx_desc_num * sizeof(struct tx_desc); 1262 struct tx_desc *des [all...] |
H A D | mv643xx_eth.c | 195 struct tx_desc { struct 211 struct tx_desc { struct 370 struct tx_desc *tx_desc_area; 486 addr += txq->tx_curr_desc * sizeof(struct tx_desc); 732 struct tx_desc *desc; 771 struct tx_desc *desc; 914 txq->tx_curr_desc * sizeof(struct tx_desc); 936 struct tx_desc *desc; 1970 struct tx_desc *tx_desc; local [all...] |
H A D | bfin_mac.c | 75 static struct net_dma_desc_tx *tx_desc; variable in typeref:struct:net_dma_desc_tx 93 if (tx_desc) { 104 bfin_mac_free(dma_handle, tx_desc); 134 tx_desc = bfin_mac_alloc(&dma_handle, 137 if (tx_desc == NULL) 147 tx_list_head = tx_list_tail = tx_desc; 150 struct net_dma_desc_tx *t = tx_desc + i;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/igbvf/ |
H A D | igbvf.h | 134 union e1000_adv_tx_desc tx_desc; member in union:igbvf_desc 294 (&((((R).desc))[i].tx_desc))
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/atm/ |
H A D | horizon.c | 1421 tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel]; local 1442 rd_ptr = rd_mem (dev, &tx_desc->rd_buf_type) & BUFFER_PTR_MASK; 1443 wr_ptr = rd_mem (dev, &tx_desc->wr_buf_type) & BUFFER_PTR_MASK; 1469 wr_mem (dev, &tx_desc->partial_crc, INITIAL_CRC); 1473 wr_mem (dev, &tx_desc->rd_buf_type, rd_ptr); 1474 wr_mem (dev, &tx_desc->wr_buf_type, wr_ptr); 1478 wr_mem (dev, &tx_desc->cell_header, channel); 1744 cell_buf * tx_desc; local 1780 tx_ch_desc * tx_desc = &memmap->tx_descs[chan]; local 1784 wr_mem (dev, &tx_desc [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tulip/ |
H A D | dmfe.c | 201 struct tx_desc { struct 204 struct tx_desc *next_tx_desc; 238 struct tx_desc *first_tx_desc; 239 struct tx_desc *tx_insert_ptr; 240 struct tx_desc *tx_remove_ptr; 442 db->desc_pool_ptr = pci_alloc_consistent(pdev, sizeof(struct tx_desc) * 452 db->first_tx_desc = (struct tx_desc *) db->desc_pool_ptr; 504 pci_free_consistent(pdev, sizeof(struct tx_desc) * DESC_ALL_CNT + 0x20, 529 pci_free_consistent(db->pdev, sizeof(struct tx_desc) * 678 struct tx_desc *txpt [all...] |
H A D | uli526x.c | 122 struct tx_desc { struct 125 struct tx_desc *next_tx_desc; 158 struct tx_desc *first_tx_desc; 159 struct tx_desc *tx_insert_ptr; 160 struct tx_desc *tx_remove_ptr; 327 db->desc_pool_ptr = pci_alloc_consistent(pdev, sizeof(struct tx_desc) * DESC_ALL_CNT + 0x20, &db->desc_pool_dma_ptr); 340 db->first_tx_desc = (struct tx_desc *) db->desc_pool_ptr; 405 pci_free_consistent(pdev, sizeof(struct tx_desc) * DESC_ALL_CNT + 0x20, 428 pci_free_consistent(db->pdev, sizeof(struct tx_desc) * 583 struct tx_desc *txpt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/amso1100/ |
H A D | c2.c | 112 struct c2_tx_desc *tx_desc; local 122 tx_desc = vaddr; 124 for (i = 0; i < tx_ring->count; i++, elem++, tx_desc++, txp_desc++) { 125 tx_desc->len = 0; 126 tx_desc->status = 0; 136 elem->ht_desc = tx_desc; 141 tx_desc->next_offset = base; 144 tx_desc->next_offset = 145 base + (i + 1) * sizeof(*tx_desc); 306 struct c2_tx_desc *tx_desc local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb3/ |
H A D | adapter.h | 170 struct tx_desc; 184 struct tx_desc *desc; /* address of HW Tx descriptor ring */
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4vf/ |
H A D | adapter.h | 222 struct tx_desc { struct 245 struct tx_desc *desc; /* address of HW TX descriptor ring */
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-brcm/ |
H A D | bcm5301x_amac.c | 1006 gmac_desc_t * tx_desc ; local 1040 tx_desc = priv->tx_desc_start + (ix<<GMAC_DESC_SIZE_SHIFT); 1043 dma_unmap_single( &dev->dev, tx_desc->desc_data_ptr, 1044 tx_desc->desc_buf_sz, DMA_TO_DEVICE ); 1051 memset( tx_desc, 0, sizeof( * tx_desc )); 1070 gmac_desc_t *tx_desc, desc ; local 1104 tx_desc = priv->tx_desc_start + (ix << GMAC_DESC_SIZE_SHIFT) ; 1142 *tx_desc = desc ; 1421 gmac_desc_t * tx_desc local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192su/ |
H A D | r8192U_core.c | 2180 tx_desc_819x_usb *tx_desc = (tx_desc_819x_usb *)skb->data; local 2218 memset(tx_desc, 0, sizeof(tx_desc_819x_usb)); 2221 tx_desc->NonQos = (IsQoSDataFrame(skb->data)==TRUE)? 0:1; 2228 tx_desc->TxHT = (tcb_desc->data_rate&0x80)?1:0; 2231 tx_desc->TxRate = MRateToHwRate8190Pci(tcb_desc->data_rate); 2232 //tx_desc->EnableCPUDur = tcb_desc->bTxEnableFwCalcDur; 2233 tx_desc->TxShort = QueryIsShort(tx_desc->TxHT, tx_desc->TxRate, tcb_desc); 2238 tx_desc [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/sh/ |
H A D | siu.h | 122 struct dma_async_tx_descriptor *tx_desc; member in struct:siu_stream
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4/ |
H A D | sge.c | 125 #define TXQ_STOP_THRES (SGE_MAX_WR_LEN / sizeof(struct tx_desc)) 1075 ndesc = DIV_ROUND_UP(skb->len, sizeof(struct tx_desc)); 2025 flsz = fl->size / 8 + STAT_LEN / sizeof(struct tx_desc); 2076 dma_free_coherent(adap->pdev_dev, flsz * sizeof(struct tx_desc), 2102 nentries = txq->q.size + STAT_LEN / sizeof(struct tx_desc); 2105 sizeof(struct tx_desc), sizeof(struct tx_sw_desc), 2131 nentries * sizeof(struct tx_desc), 2153 nentries = txq->q.size + STAT_LEN / sizeof(struct tx_desc); 2156 sizeof(struct tx_desc), 0, &txq->q.phys_addr, 2181 nentries * sizeof(struct tx_desc), [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192u/ |
H A D | r8192U_core.c | 1994 tx_desc_819x_usb *tx_desc = (tx_desc_819x_usb *)skb->data; local 2073 memset(tx_desc, 0, sizeof(tx_desc_819x_usb)); 2075 tx_desc->LINIP = 0; 2076 tx_desc->CmdInit = 1; 2077 tx_desc->Offset = sizeof(tx_fwinfo_819x_usb) + 8; 2081 tx_desc->PktSize = tcb_desc->pkt_size; 2085 tx_desc->PktSize = (skb->len - TX_PACKET_SHIFT_BYTES) & 0xffff; 2089 tx_desc->SecCAMID= 0; 2090 tx_desc->RATid = tcb_desc->RATRIndex; 2093 tx_desc [all...] |