Searched refs:byte_count (Results 1 - 25 of 45) sorted by relevance

12

/drivers/infiniband/hw/mthca/
H A Dmthca_wqe.h102 __be32 byte_count; member in struct:mthca_data_seg
119 dseg->byte_count = cpu_to_be32(sg->length);
126 dseg->byte_count = 0;
/drivers/gpu/drm/
H A Ddrm_bufs.c615 int byte_count; local
631 byte_count = 0;
701 buf->offset = (dma->byte_count + offset);
725 byte_count += PAGE_SIZE << page_order;
728 DRM_DEBUG("byte_count: %d\n", byte_count);
748 dma->page_count += byte_count >> PAGE_SHIFT;
749 dma->byte_count += byte_count;
781 int byte_count; local
987 int byte_count; local
1145 int byte_count; local
[all...]
/drivers/acpi/acpica/
H A Dpsargs.c80 u32 byte_count; local
89 byte_count = (aml[0] >> 6);
90 parser_state->aml += ((acpi_size) byte_count + 1);
94 while (byte_count) {
102 package_length |= (aml[byte_count] << ((byte_count << 3) - 4));
105 byte_count--;
/drivers/net/wireless/ath/ath6kl/
H A Dbmi.h221 __le32 byte_count; /* size of this structure */ member in struct:ath6kl_bmi_target_info
H A Dbmi.c77 (u8 *)&targ_info->byte_count,
78 sizeof(targ_info->byte_count));
89 if (le32_to_cpu(targ_info->byte_count) != sizeof(*targ_info)) {
97 sizeof(targ_info->byte_count),
99 sizeof(targ_info->byte_count));
103 targ_info->byte_count, ret);
/drivers/scsi/aacraid/
H A Dcommctrl.c481 u32 byte_count = 0; local
583 byte_count = 0;
629 byte_count += upsg->sg[i].count;
682 byte_count += usg->sg[i].count;
687 srbcmd->count = cpu_to_le32(byte_count);
731 byte_count += usg->sg[i].count;
769 byte_count += upsg->sg[i].count;
773 srbcmd->count = cpu_to_le32(byte_count);
790 byte_count = le32_to_cpu(
794 if(copy_to_user(sg_user[i], sg_list[i], byte_count)){
[all...]
H A Daachba.c2825 unsigned long byte_count = 0; local
2845 byte_count += sg_dma_len(sg);
2848 if (byte_count > scsi_bufflen(scsicmd)) {
2850 (byte_count - scsi_bufflen(scsicmd));
2852 byte_count = scsi_bufflen(scsicmd);
2855 if(scsicmd->underflow && (byte_count < scsicmd->underflow)){
2857 byte_count, scsicmd->underflow);
2860 return byte_count;
2867 unsigned long byte_count = 0; local
2890 byte_count
2911 unsigned long byte_count = 0; local
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.h54 u_short byte_count; /* excluding header/trailer */ member in struct:Symbios_nvram
/drivers/net/wireless/mwifiex/
H A Dsta_cmdresp.c720 pr_debug("info: EEPROM read len=%x\n", r.eeprom->byte_count);
721 if (le16_to_cpu(eeprom->byte_count) <
722 le16_to_cpu(r.eeprom->byte_count)) {
723 eeprom->byte_count = cpu_to_le16(0);
728 eeprom->byte_count = r.eeprom->byte_count;
729 if (le16_to_cpu(eeprom->byte_count) > 0)
731 le16_to_cpu(r.eeprom->byte_count));
H A Dioctl.h294 __le16 byte_count; member in struct:mwifiex_ds_read_eeprom
/drivers/tty/
H A Disicom.c522 short byte_count; local
546 byte_count = header & 0xff;
564 word_count = byte_count >> 1;
565 while (byte_count > 1) {
567 byte_count -= 2;
569 if (byte_count & 0x01)
654 count = tty_prepare_flip_string(tty, &rp, byte_count & ~1);
656 __func__, count, byte_count);
659 byte_count -= (word_count << 1);
663 byte_count
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c218 be32_to_cpu(data->byte_count),
245 be32_to_cpu(data->byte_count),
535 inl->byte_count = cpu_to_be32(1 << 31 | skb->len);
542 inl->byte_count = cpu_to_be32(1 << 31 | spc);
563 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc));
741 data->byte_count = cpu_to_be32(skb_frag_size(frag));
752 data->byte_count = cpu_to_be32(skb_headlen(skb) - lso_header_size);
/drivers/block/mtip32xx/
H A Dmtip32xx.h224 unsigned int byte_count; member in union:mtip_cmd_hdr::__anon327
/drivers/dma/
H A Dmv_xor.h162 u32 byte_count; /* size of src/dst blocks in bytes */ member in struct:mv_xor_desc
H A Dmv_xor.c68 u32 byte_count)
71 hw_desc->byte_count = byte_count;
67 mv_desc_set_byte_count(struct mv_xor_desc_slot *desc, u32 byte_count) argument
/drivers/net/ethernet/xilinx/
H A Dxilinx_emaclite.c329 * @byte_count: Total frame size, including header
341 unsigned int byte_count)
350 if (byte_count > ETH_FRAME_LEN)
351 byte_count = ETH_FRAME_LEN;
376 xemaclite_aligned_write(data, (u32 __force *) addr, byte_count);
378 out_be32(addr + XEL_TPLR_OFFSET, (byte_count & XEL_TPLR_LENGTH_MASK));
340 xemaclite_send_data(struct net_local *drvdata, u8 *data, unsigned int byte_count) argument
/drivers/scsi/qla2xxx/
H A Dqla_iocb.c214 cmd_pkt->byte_count = __constant_cpu_to_le32(0);
272 cmd_pkt->byte_count = __constant_cpu_to_le32(0);
430 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd));
621 cmd_pkt->byte_count = __constant_cpu_to_le32(0);
737 cmd_pkt->byte_count = __constant_cpu_to_le32(0);
1244 cmd_pkt->byte_count = __constant_cpu_to_le32(0);
1385 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes);
1388 cmd_pkt->byte_count = cpu_to_le32(total_bytes);
1394 cmd_pkt->byte_count = __constant_cpu_to_le32(0);
1551 cmd_pkt->byte_count
[all...]
H A Dqla_fw.h413 uint32_t byte_count; /* Total byte count. */ member in struct:cmd_type_6
460 uint32_t byte_count; /* Total byte count. */ member in struct:cmd_type_7
495 uint32_t byte_count; /* Total byte count. */ member in struct:cmd_type_crc_2
/drivers/infiniband/hw/mlx4/
H A Dsrq.c341 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length);
347 scat[i].byte_count = 0;
H A Dqp.c195 inl->byte_count = cpu_to_be32(1 << 31 | (size - s - sizeof *inl));
1484 inl->byte_count = cpu_to_be32(1 << 31 | header_size);
1488 inl->byte_count = cpu_to_be32(1 << 31 | spc);
1495 * visible before the byte_count field is set.
1501 * The first inline segment's byte_count field doesn't
1507 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc));
1621 * Need a barrier here before writing the byte_count field to
1623 * byte_count field is set. Otherwise, if the segment begins
1630 iseg->byte_count = cpu_to_be32((1 << 31) | 4);
1639 * Need a barrier here before writing the byte_count fiel
[all...]
/drivers/infiniband/hw/ehca/
H A Dhcp_if.h262 unsigned long *byte_count);
/drivers/staging/quatech_usb2/
H A Dquatech_usb2.c1742 int byte_count; local
1746 byte_count = (int)(fifth_char * 16);
1747 byte_count += (int)fourth_char;
1748 /* byte_count indicates how many bytes the device has written out. This
1751 port_extra->tx_pending_bytes -= byte_count;
1755 byte_count, port_extra->tx_pending_bytes);
/drivers/hv/
H A Dchannel.c287 gpadl_header->range[0].byte_count = size;
366 gpadl_header->range[0].byte_count = size;
/drivers/spi/
H A Dspi-mpc52xx.c75 int byte_count; member in struct:mpc52xx_spi
244 ms->byte_count++;
/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c1613 int byte_count = 0; local
1638 byte_count += sg_len;
1640 if (byte_count != scsi_bufflen(sc))
1641 printk(KERN_ERR PFX "byte_count = %d != scsi_bufflen = %d, "
1642 "task_id = 0x%x\n", byte_count, scsi_bufflen(sc),

Completed in 453 milliseconds

12