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

123

/drivers/gpu/drm/radeon/
H A Dkv_smc.c120 const u8 *src, u32 byte_count, u32 limit)
125 if ((smc_start_address + byte_count) > limit)
148 } else if (byte_count > 0) {
150 byte_count--;
170 while (byte_count >= 4) {
181 byte_count -= 4;
186 if (byte_count > 0) {
195 extra_shift = 8 * (4 - byte_count);
197 while (byte_count > 0) {
200 byte_count
118 kv_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
[all...]
H A Dci_smc.c49 const u8 *src, u32 byte_count, u32 limit)
59 if ((smc_start_address + byte_count) > limit)
65 while (byte_count >= 4) {
76 byte_count -= 4;
81 if (byte_count > 0) {
90 extra_shift = 8 * (4 - byte_count);
92 while (byte_count > 0) {
94 byte_count--;
47 ci_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
H A Dsi_smc.c49 const u8 *src, u32 byte_count, u32 limit)
57 if ((smc_start_address + byte_count) > limit)
63 while (byte_count >= 4) {
74 byte_count -= 4;
79 if (byte_count > 0) {
88 extra_shift = 8 * (4 - byte_count);
90 while (byte_count > 0) {
93 byte_count--;
47 si_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
H A Drv770_smc.c297 u16 byte_count, u16 limit)
306 if ((smc_start_address + byte_count) > limit)
312 while (byte_count >= 4) {
323 byte_count -= 4;
328 if (byte_count > 0) {
337 extra_shift = 8 * (4 - byte_count);
339 while (byte_count > 0) {
342 byte_count--;
364 u32 byte_count)
368 if (byte_count
295 rv770_copy_bytes_to_smc(struct radeon_device *rdev, u16 smc_start_address, const u8 *src, u16 byte_count, u16 limit) argument
362 rv770_program_interrupt_vectors(struct radeon_device *rdev, u32 smc_first_vector, const u8 *src, u32 byte_count) argument
[all...]
H A Dkv_dpm.h198 const u8 *src, u32 byte_count, u32 limit);
H A Drv770_smc.h192 u16 byte_count, u16 limit);
/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/crypto/qce/
H A Dsha.h41 * @byte_count: byte count
60 __be32 byte_count[2]; member in struct:qce_sha_reqctx
H A Dsha.c62 rctx->byte_count[0] = cpu_to_be32(result->auth_byte_count[0]);
63 rctx->byte_count[1] = cpu_to_be32(result->auth_byte_count[1]);
195 * is set. Therefore the byte_count must be incremened by 64
202 rctx->byte_count[0] = (__force __be32)(count & ~SHA_PADDING_MASK);
203 rctx->byte_count[1] = (__force __be32)(count >> 32);
/drivers/gpu/drm/
H A Ddrm_bufs.c612 int byte_count; local
628 byte_count = 0;
696 buf->offset = (dma->byte_count + offset);
719 byte_count += PAGE_SIZE << page_order;
722 DRM_DEBUG("byte_count: %d\n", byte_count);
742 dma->page_count += byte_count >> PAGE_SHIFT;
743 dma->byte_count += byte_count;
776 int byte_count; local
980 int byte_count; local
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c299 be32_to_cpu(data->byte_count),
326 be32_to_cpu(data->byte_count),
629 inl->byte_count = cpu_to_be32(1 << 31 | skb->len);
631 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN);
641 inl->byte_count = cpu_to_be32(1 << 31 | spc);
663 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc));
783 u32 byte_count = 0; local
790 byte_count = skb_frag_size(frag);
792 0, byte_count,
800 data->byte_count
[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/dma/
H A Dmv_xor.h165 u32 byte_count; /* size of src/dst blocks in bytes */ member in struct:mv_xor_desc
179 u32 byte_count; /* size of src/dst blocks in bytes */ member in struct:mv_xor_desc
/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.c482 u32 byte_count = 0; local
587 byte_count = 0;
633 byte_count += upsg->sg[i].count;
686 byte_count += usg->sg[i].count;
691 srbcmd->count = cpu_to_le32(byte_count);
735 byte_count += usg->sg[i].count;
773 byte_count += upsg->sg[i].count;
777 srbcmd->count = cpu_to_le32(byte_count);
794 byte_count = le32_to_cpu(
798 if(copy_to_user(sg_user[i], sg_list[i], byte_count)){
[all...]
H A Daachba.c2912 unsigned long byte_count = 0; local
2933 byte_count += sg_dma_len(sg);
2936 if (byte_count > scsi_bufflen(scsicmd)) {
2938 (byte_count - scsi_bufflen(scsicmd));
2940 byte_count = scsi_bufflen(scsicmd);
2943 if(scsicmd->underflow && (byte_count < scsicmd->underflow)){
2945 byte_count, scsicmd->underflow);
2948 return byte_count;
2955 unsigned long byte_count = 0; local
2979 byte_count
3000 unsigned long byte_count = 0; local
3050 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.c791 pr_debug("info: EEPROM read len=%x\n", r.eeprom->byte_count);
792 if (le16_to_cpu(eeprom->byte_count) <
793 le16_to_cpu(r.eeprom->byte_count)) {
794 eeprom->byte_count = cpu_to_le16(0);
799 eeprom->byte_count = r.eeprom->byte_count;
800 if (le16_to_cpu(eeprom->byte_count) > 0)
802 le16_to_cpu(r.eeprom->byte_count));
/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 byte_count & ~1);
656 __func__, count, byte_count);
659 byte_count -= (word_count << 1);
663 byte_count
[all...]
/drivers/net/ethernet/xilinx/
H A Dxilinx_emaclite.c301 * @byte_count: Total frame size, including header
313 unsigned int byte_count)
322 if (byte_count > ETH_FRAME_LEN)
323 byte_count = ETH_FRAME_LEN;
348 xemaclite_aligned_write(data, (u32 __force *) addr, byte_count);
350 __raw_writel((byte_count & XEL_TPLR_LENGTH_MASK),
312 xemaclite_send_data(struct net_local *drvdata, u8 *data, unsigned int byte_count) argument
/drivers/infiniband/hw/mlx4/
H A Dsrq.c342 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length);
348 scat[i].byte_count = 0;
/drivers/spi/
H A Dspi-mpc52xx.c74 int byte_count; member in struct:mpc52xx_spi
244 ms->byte_count++;
/drivers/block/mtip32xx/
H A Dmtip32xx.h276 unsigned int byte_count; member in union:mtip_cmd_hdr::__anon343
/drivers/block/
H A Dskd_s1120.h201 uint32_t byte_count; member in struct:fit_sg_descriptor

Completed in 582 milliseconds

123