/drivers/infiniband/core/ |
D | packer.c | 63 int desc_len, in ib_pack() argument 69 for (i = 0; i < desc_len; ++i) { in ib_pack() 150 int desc_len, in ib_unpack() argument 156 for (i = 0; i < desc_len; ++i) { in ib_unpack()
|
/drivers/net/wireless/ath/ath9k/ |
D | init.c | 199 int i, bsize, desc_len; in ath_descdma_setup() local 207 desc_len = sc->sc_ah->caps.tx_desc_len; in ath_descdma_setup() 209 desc_len = sizeof(struct ath_desc); in ath_descdma_setup() 212 if ((desc_len % 4) != 0) { in ath_descdma_setup() 214 BUG_ON((desc_len % 4) != 0); in ath_descdma_setup() 218 dd->dd_desc_len = desc_len * nbuf * ndesc; in ath_descdma_setup() 231 dma_len = ndesc_skipped * desc_len; in ath_descdma_setup() 258 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup() 274 ds += (desc_len * ndesc); in ath_descdma_setup() 289 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup() [all …]
|
D | ar9003_mac.c | 32 u8 desc_len; in ar9003_set_txdesc() local 34 desc_len = ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x18 : 0x17); in ar9003_set_txdesc() 39 (i->qcu << AR_TxQcuNum_S) | desc_len; in ar9003_set_txdesc()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1163 unsigned int *desc_len, in write_large_page_tx_descs() argument 1171 while (*desc_len > SGE_TX_DESC_MAX_PLEN) { in write_large_page_tx_descs() 1172 *desc_len -= SGE_TX_DESC_MAX_PLEN; in write_large_page_tx_descs() 1174 *gen, nfrags == 0 && *desc_len == 0); in write_large_page_tx_descs() 1178 if (*desc_len) { in write_large_page_tx_descs() 1206 unsigned int i, flags, first_desc_len, desc_len, in write_tx_descs() local 1216 desc_len = skb_headlen(skb); in write_tx_descs() 1219 V_CMD_EOP(nfrags == 0 && desc_len <= SGE_TX_DESC_MAX_PLEN) | in write_tx_descs() 1221 first_desc_len = (desc_len <= SGE_TX_DESC_MAX_PLEN) ? in write_tx_descs() 1222 desc_len : SGE_TX_DESC_MAX_PLEN; in write_tx_descs() [all …]
|
/drivers/crypto/caam/ |
D | desc_constr.h | 16 #define PRINT_POS do { printk(KERN_DEBUG "%02d: %s\n", desc_len(desc),\ 33 static inline int desc_len(u32 *desc) in desc_len() function 40 return desc_len(desc) * CAAM_CMD_SZ; in desc_bytes() 45 return desc + desc_len(desc); in desc_end() 171 *jump_cmd = *jump_cmd | (desc_len(desc) - (jump_cmd - desc)); in APPEND_CMD_RET() 177 *move_cmd = *move_cmd | ((desc_len(desc) << (MOVE_OFFSET_SHIFT + 2)) & in set_move_tgt_here()
|
D | caamhash.c | 849 sh_len = desc_len(sh_desc); in ahash_update_ctx() 929 sh_len = desc_len(sh_desc); in ahash_final_ctx() 1016 sh_len = desc_len(sh_desc); in ahash_finup_ctx() 1107 sh_len = desc_len(sh_desc); in ahash_digest() 1176 sh_len = desc_len(sh_desc); in ahash_final_no_ctx() 1274 sh_len = desc_len(sh_desc); in ahash_update_no_ctx() 1362 sh_len = desc_len(sh_desc); in ahash_finup_no_ctx() 1487 sh_len = desc_len(sh_desc); in ahash_update_first()
|
D | ctrl.c | 112 for (i = 0; i < desc_len(desc); i++) in run_descriptor_deco0() 120 if (desc_len(desc) >= 4) in run_descriptor_deco0()
|
D | caamrng.c | 222 int sh_len = desc_len(ctx->sh_desc); in rng_create_job_desc()
|
/drivers/target/ |
D | target_core_xcopy.c | 278 unsigned short desc_len; in target_xcopy_parse_segdesc_02() local 280 desc_len = get_unaligned_be16(&desc[2]); in target_xcopy_parse_segdesc_02() 281 if (desc_len != 0x18) { in target_xcopy_parse_segdesc_02() 283 " %hu\n", desc_len); in target_xcopy_parse_segdesc_02() 290 desc_len, xop->stdi, xop->dtdi, dc); in target_xcopy_parse_segdesc_02()
|
D | target_core_pr.c | 3841 u32 add_desc_len = 0, add_len = 0, desc_len, exp_desc_len; in core_scsi3_pri_read_full_status() local 3938 desc_len = se_tpg->se_tpg_tfo->tpg_get_pr_transport_id(se_tpg, in core_scsi3_pri_read_full_status() 3946 buf[off++] = ((desc_len >> 24) & 0xff); in core_scsi3_pri_read_full_status() 3947 buf[off++] = ((desc_len >> 16) & 0xff); in core_scsi3_pri_read_full_status() 3948 buf[off++] = ((desc_len >> 8) & 0xff); in core_scsi3_pri_read_full_status() 3949 buf[off++] = (desc_len & 0xff); in core_scsi3_pri_read_full_status() 3957 add_desc_len = (24 + desc_len); in core_scsi3_pri_read_full_status() 3959 off += desc_len; in core_scsi3_pri_read_full_status()
|
/drivers/net/wireless/rt2x00/ |
D | rt2x00debug.c | 181 data_len -= skbdesc->desc_len; in rt2x00debug_dump_frame() 183 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame() 193 dump_hdr->desc_length = cpu_to_le32(skbdesc->desc_len); in rt2x00debug_dump_frame() 205 memcpy(skb_put(skbcopy, skbdesc->desc_len), skbdesc->desc, in rt2x00debug_dump_frame() 206 skbdesc->desc_len); in rt2x00debug_dump_frame()
|
D | rt2x00mmio.c | 80 skbdesc->desc_len = entry->queue->desc_size; in rt2x00mmio_rxdone()
|
D | rt2x00queue.h | 110 u8 desc_len; member
|
D | rt2800usb.c | 522 skbdesc->desc_len = TXINFO_DESC_SIZE + entry->queue->winfo_size; in rt2800usb_write_tx_desc() 693 memcpy(skbdesc->desc, rxi, skbdesc->desc_len); in rt2800usb_fill_rxdone()
|
D | rt2x00usb.c | 360 skbdesc->desc_len = entry->queue->desc_size; in rt2x00usb_work_rxdone()
|
D | rt2800mmio.c | 98 skbdesc->desc_len = TXD_DESC_SIZE; in rt2800mmio_write_tx_desc()
|
/drivers/spi/ |
D | spi-mxs.c | 179 const int desc_len = vmalloced_buf ? PAGE_SIZE : SG_MAXLEN; in mxs_spi_txrx_dma() local 180 const int sgs = DIV_ROUND_UP(len, desc_len); in mxs_spi_txrx_dma() 212 min = min(len, desc_len); in mxs_spi_txrx_dma()
|
D | spi.c | 598 const int desc_len = vmalloced_buf ? PAGE_SIZE : master->max_dma_len; in spi_map_buf() local 599 const int sgs = DIV_ROUND_UP(len, desc_len); in spi_map_buf() 610 min = min_t(size_t, len, desc_len); in spi_map_buf()
|
/drivers/gpu/drm/ |
D | drm_ioc32.c | 81 u32 desc_len; /**< Length of desc buffer */ member 104 || __put_user(v32.desc_len, &version->desc_len) in compat_drm_version() 119 || __get_user(v32.desc_len, &version->desc_len)) in compat_drm_version()
|
D | drm_ioctl.c | 467 err = drm_copy_field(version->desc, &version->desc_len, in drm_version()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 3494 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_nic_desc() 3495 hdr = (void *)hdr + hdr->desc_len; in be_get_nic_desc() 3525 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_pcie_desc() 3526 hdr = (void *)hdr + hdr->desc_len; in be_get_pcie_desc() 3540 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_port_desc() 3541 hdr = (void *)hdr + hdr->desc_len; in be_get_port_desc() 3769 nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V0; in be_cmd_config_qos() 3776 nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V1; in be_cmd_config_qos() 3783 nic_desc.hdr.desc_len, in be_cmd_config_qos() 3802 desc.pcie.hdr.desc_len = RESOURCE_DESC_SIZE_V1; in be_cmd_set_sriov_config() [all …]
|
/drivers/scsi/ |
D | scsi_error.c | 2497 int add_sen_len, add_len, desc_len, k; in scsi_sense_desc_find() local 2507 for (desc_len = 0, k = 0; k < add_sen_len; k += desc_len) { in scsi_sense_desc_find() 2508 descp += desc_len; in scsi_sense_desc_find() 2510 desc_len = add_len + 2; in scsi_sense_desc_find()
|
/drivers/usb/gadget/function/ |
D | f_accessory.c | 426 int id, int desc_len) in acc_hid_new() argument 433 hdev->report_desc = kzalloc(desc_len, GFP_ATOMIC); in acc_hid_new() 440 hdev->report_desc_len = desc_len; in acc_hid_new()
|
/drivers/net/wireless/ath/ath5k/ |
D | base.c | 849 ah->desc_len = sizeof(struct ath5k_desc) * in ath5k_desc_alloc() 852 ah->desc = dma_alloc_coherent(ah->dev, ah->desc_len, in ath5k_desc_alloc() 862 ds, ah->desc_len, (unsigned long long)ah->desc_daddr); in ath5k_desc_alloc() 898 dma_free_coherent(ah->dev, ah->desc_len, ah->desc, ah->desc_daddr); in ath5k_desc_alloc() 947 dma_free_coherent(ah->dev, ah->desc_len, ah->desc, ah->desc_daddr); in ath5k_desc_free()
|
/drivers/ata/ |
D | libata-eh.c | 180 ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, in __ata_ehi_pushv_desc() 181 ATA_EH_DESC_LEN - ehi->desc_len, in __ata_ehi_pushv_desc() 219 if (ehi->desc_len) in ata_ehi_push_desc() 239 ehi->desc_len = 0; in ata_ehi_clear_desc() 261 if (ap->link.eh_info.desc_len) in ata_port_desc()
|