Searched refs:tpd (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/drivers/atm/ |
D | he.c | 1630 struct he_tpd *tpd; in __alloc_tpd() local 1633 tpd = pci_pool_alloc(he_dev->tpd_pool, GFP_ATOMIC|GFP_DMA, &mapping); in __alloc_tpd() 1634 if (tpd == NULL) in __alloc_tpd() 1637 tpd->status = TPD_ADDR(mapping); in __alloc_tpd() 1638 tpd->reserved = 0; in __alloc_tpd() 1639 tpd->iovec[0].addr = 0; tpd->iovec[0].len = 0; in __alloc_tpd() 1640 tpd->iovec[1].addr = 0; tpd->iovec[1].len = 0; in __alloc_tpd() 1641 tpd->iovec[2].addr = 0; tpd->iovec[2].len = 0; in __alloc_tpd() 1643 return tpd; in __alloc_tpd() 1826 struct he_tpd *tpd; in he_service_tbrq() local [all …]
|
D | fore200e.c | 376 fore200e->bus->dma_chunk_free(fore200e, &fore200e->host_txq.tpd); in fore200e_shutdown() 880 fore200e->bus->dma_unmap(fore200e, entry->tpd->tsd[ 0 ].buffer, entry->tpd->tsd[ 0 ].length, in fore200e_tx_irq() 1564 struct tpd* tpd; in fore200e_send() local 1684 tpd = entry->tpd; in fore200e_send() 1685 tpd->tsd[ 0 ].buffer = fore200e->bus->dma_map(fore200e, data, tx_len, DMA_TO_DEVICE); in fore200e_send() 1686 tpd->tsd[ 0 ].length = tx_len; in fore200e_send() 1697 tpd->tsd[0].length, skb_len); in fore200e_send() 1706 tpd->rate.data_cells = fore200e_vcc->rate.data_cells; in fore200e_send() 1707 tpd->rate.idle_cells = fore200e_vcc->rate.idle_cells; in fore200e_send() 1710 tpd->atm_header.clp = (*cell_header & ATM_HDR_CLP); in fore200e_send() [all …]
|
D | fore200e.h | 141 typedef struct tpd { struct 523 struct tpd* tpd; /* addr of transmit PDU descriptor */ member 613 … struct chunk tpd; /* array of tpds */ member
|
D | he.h | 182 volatile u32 tpd; member
|
/linux-2.6.39/drivers/gpu/drm/i915/ |
D | dvo_ch7xxx.c | 257 uint8_t tvco, tpcp, tpd, tlpf, idf; in ch7xxx_mode_set() local 262 tpd = 0x16; in ch7xxx_mode_set() 267 tpd = 0x26; in ch7xxx_mode_set() 274 ch7xxx_writeb(dvo, CH7xxx_TPD, tpd); in ch7xxx_mode_set()
|
/linux-2.6.39/drivers/net/atl1e/ |
D | atl1e_main.c | 1562 atl1e_get_tx_buffer(struct atl1e_adapter *adapter, struct atl1e_tpd_desc *tpd) in atl1e_get_tx_buffer() argument 1566 return &tx_ring->tx_buffer[tpd - tx_ring->desc]; in atl1e_get_tx_buffer() 1599 struct sk_buff *skb, struct atl1e_tpd_desc *tpd) in atl1e_tso_csum() argument 1634 tpd->word3 |= (ip_hdr(skb)->ihl & in atl1e_tso_csum() 1637 tpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1e_tso_csum() 1640 tpd->word3 |= ((skb_shinfo(skb)->gso_size) & in atl1e_tso_csum() 1642 tpd->word3 |= 1 << TPD_SEGMENT_EN_SHIFT; in atl1e_tso_csum() 1659 tpd->word3 |= (cso & TPD_PLOADOFFSET_MASK) << in atl1e_tso_csum() 1661 tpd->word3 |= (css & TPD_CCSUMOFFSET_MASK) << in atl1e_tso_csum() 1663 tpd->word3 |= 1 << TPD_CC_SEGMENT_EN_SHIFT; in atl1e_tso_csum() [all …]
|
/linux-2.6.39/drivers/net/atl1c/ |
D | atl1c_main.c | 1973 atl1c_get_tx_buffer(struct atl1c_adapter *adapter, struct atl1c_tpd_desc *tpd) in atl1c_get_tx_buffer() argument 1977 return &tpd_ring->buffer_info[tpd - in atl1c_get_tx_buffer() 2001 struct atl1c_tpd_desc **tpd, in atl1c_tso_csum() argument 2038 (*tpd)->word1 |= 1 << TPD_IPV4_PACKET_SHIFT; in atl1c_tso_csum() 2044 *(struct atl1c_tpd_ext_desc **)(tpd); in atl1c_tso_csum() 2047 *tpd = atl1c_get_tpd(adapter, type); in atl1c_tso_csum() 2065 (*tpd)->word1 |= 1 << TPD_LSO_VER_SHIFT; in atl1c_tso_csum() 2068 (*tpd)->word1 |= 1 << TPD_LSO_EN_SHIFT; in atl1c_tso_csum() 2069 (*tpd)->word1 |= (skb_transport_offset(skb) & TPD_TCPHDR_OFFSET_MASK) << in atl1c_tso_csum() 2071 (*tpd)->word1 |= (skb_shinfo(skb)->gso_size & TPD_MSS_MASK) << in atl1c_tso_csum() [all …]
|
/linux-2.6.39/drivers/net/atlx/ |
D | atl1.c | 2077 struct tx_packet_desc *tpd; in atl1_intr_tx() local 2079 tpd = ATL1_TPD_DESC(tpd_ring, sw_tpd_next_to_clean); in atl1_intr_tx() 2307 struct tx_packet_desc *tpd; in atl1_tx_queue() local 2314 tpd = ATL1_TPD_DESC(&adapter->tpd_ring, next_to_use); in atl1_tx_queue() 2315 if (tpd != ptpd) in atl1_tx_queue() 2316 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue() 2317 tpd->buffer_addr = cpu_to_le64(buffer_info->dma); in atl1_tx_queue() 2318 tpd->word2 &= ~(TPD_BUFLEN_MASK << TPD_BUFLEN_SHIFT); in atl1_tx_queue() 2319 tpd->word2 |= (cpu_to_le16(buffer_info->length) & in atl1_tx_queue() 2326 val = (tpd->word3 >> TPD_SEGMENT_EN_SHIFT) & in atl1_tx_queue() [all …]
|