Home
last modified time | relevance | path

Searched refs:desc_len (Results 1 – 20 of 20) sorted by relevance

/drivers/infiniband/core/
Dpacker.c62 int desc_len, in ib_pack() argument
68 for (i = 0; i < desc_len; ++i) { in ib_pack()
149 int desc_len, in ib_unpack() argument
155 for (i = 0; i < desc_len; ++i) { in ib_unpack()
/drivers/net/chelsio/
Dsge.c1171 unsigned int *desc_len, in write_large_page_tx_descs() argument
1179 while (*desc_len > SGE_TX_DESC_MAX_PLEN) { in write_large_page_tx_descs()
1180 *desc_len -= SGE_TX_DESC_MAX_PLEN; in write_large_page_tx_descs()
1182 *gen, nfrags == 0 && *desc_len == 0); in write_large_page_tx_descs()
1186 if (*desc_len) { in write_large_page_tx_descs()
1214 unsigned int i, flags, first_desc_len, desc_len, in write_tx_descs() local
1224 desc_len = skb->len - skb->data_len; in write_tx_descs()
1227 V_CMD_EOP(nfrags == 0 && desc_len <= SGE_TX_DESC_MAX_PLEN) | in write_tx_descs()
1229 first_desc_len = (desc_len <= SGE_TX_DESC_MAX_PLEN) ? in write_tx_descs()
1230 desc_len : SGE_TX_DESC_MAX_PLEN; in write_tx_descs()
[all …]
/drivers/net/wireless/rt2x00/
Drt2x00debug.c170 skbcopy = alloc_skb(sizeof(*dump_hdr) + desc->desc_len + skb->len, in rt2x00debug_dump_frame()
180 dump_hdr->desc_length = cpu_to_le32(desc->desc_len); in rt2x00debug_dump_frame()
191 memcpy(skb_put(skbcopy, desc->desc_len), desc->desc, desc->desc_len); in rt2x00debug_dump_frame()
Drt2x00pci.c86 skbdesc->desc_len = entry->queue->desc_size; in rt2x00pci_write_tx_data()
114 skbdesc->desc_len = entry->queue->desc_size; in rt2x00pci_rxdone()
Drt2x00queue.h119 u8 desc_len; member
Drt2x00usb.c230 skbdesc->desc_len = entry->queue->desc_size; in rt2x00usb_write_tx_data()
328 skbdesc->desc_len = entry->queue->desc_size; in rt2x00usb_interrupt_rxdone()
Drt2x00queue.c469 skbdesc->desc_len = intf->beacon->queue->desc_size; in rt2x00queue_update_beacon()
Drt61pci.c1799 if (skbdesc->desc_len > TXINFO_SIZE) { in rt61pci_write_tx_desc()
1857 skbdesc->desc, skbdesc->desc_len); in rt61pci_write_beacon()
1859 beacon_base + skbdesc->desc_len, in rt61pci_write_beacon()
Drt2500usb.c1208 memcpy(entry->skb->data, skbdesc->desc, skbdesc->desc_len); in rt2500usb_write_beacon()
1310 memcpy(skbdesc->desc, rxd, skbdesc->desc_len); in rt2500usb_fill_rxdone()
Drt73usb.c1482 memcpy(entry->skb->data, skbdesc->desc, skbdesc->desc_len); in rt73usb_write_beacon()
1601 memcpy(skbdesc->desc, rxd, skbdesc->desc_len); in rt73usb_fill_rxdone()
Drt2400pci.c1085 memcpy(entry_priv->desc, skbdesc->desc, skbdesc->desc_len); in rt2400pci_write_beacon()
Drt2500pci.c1245 memcpy(entry_priv->desc, skbdesc->desc, skbdesc->desc_len); in rt2500pci_write_beacon()
/drivers/scsi/
Dscsi_error.c1929 int add_sen_len, add_len, desc_len, k; in scsi_sense_desc_find() local
1939 for (desc_len = 0, k = 0; k < add_sen_len; k += desc_len) { in scsi_sense_desc_find()
1940 descp += desc_len; in scsi_sense_desc_find()
1942 desc_len = add_len + 2; in scsi_sense_desc_find()
/drivers/net/wireless/ath5k/
Dbase.h128 size_t desc_len; /* size of TX/RX descriptors */ member
Dbase.c1267 sc->desc_len = sizeof(struct ath5k_desc) * in ath5k_desc_alloc()
1269 sc->desc = pci_alloc_consistent(pdev, sc->desc_len, &sc->desc_daddr); in ath5k_desc_alloc()
1278 ds, sc->desc_len, (unsigned long long)sc->desc_daddr); in ath5k_desc_alloc()
1312 pci_free_consistent(pdev, sc->desc_len, sc->desc, sc->desc_daddr); in ath5k_desc_alloc()
1330 pci_free_consistent(pdev, sc->desc_len, sc->desc, sc->desc_daddr); in ath5k_desc_free()
/drivers/gpu/drm/
Ddrm_ioc32.c79 u32 desc_len; /**< Length of desc buffer */ member
102 || __put_user(v32.desc_len, &version->desc_len) in compat_drm_version()
117 || __get_user(v32.desc_len, &version->desc_len)) in compat_drm_version()
/drivers/ata/
Dlibata-eh.c167 ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, in __ata_ehi_pushv_desc()
168 ATA_EH_DESC_LEN - ehi->desc_len, in __ata_ehi_pushv_desc()
206 if (ehi->desc_len) in ata_ehi_push_desc()
226 ehi->desc_len = 0; in ata_ehi_clear_desc()
248 if (ap->link.eh_info.desc_len) in ata_port_desc()
/drivers/net/e1000/
De1000_main.c1784 int size, desc_len; in e1000_setup_rx_resources() local
1796 desc_len = sizeof(struct e1000_rx_desc); in e1000_setup_rx_resources()
1798 desc_len = sizeof(union e1000_rx_desc_packet_split); in e1000_setup_rx_resources()
1802 rxdr->size = rxdr->count * desc_len; in e1000_setup_rx_resources()
/drivers/net/igb/
Digb_main.c1717 int size, desc_len; in igb_setup_rx_resources() local
1733 desc_len = sizeof(union e1000_adv_rx_desc); in igb_setup_rx_resources()
1736 rx_ring->size = rx_ring->count * desc_len; in igb_setup_rx_resources()
/drivers/net/e1000e/
Dnetdev.c1720 int i, size, desc_len, err = -ENOMEM; in e1000e_setup_rx_resources() local
1737 desc_len = sizeof(union e1000_rx_desc_packet_split); in e1000e_setup_rx_resources()
1740 rx_ring->size = rx_ring->count * desc_len; in e1000e_setup_rx_resources()