Searched refs:bytes (Results 676 - 700 of 1684) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/dma/
H A Damba-pl08x.c127 * @buswidth: the width of this bus in bytes: 1, 2 or 4
176 * @len: transfer len in bytes
674 u32 bytes; local
677 bytes = readl(ch->base + FTDMAC020_CH_SIZE);
684 bytes = val & PL080S_CONTROL_TRANSFER_SIZE_MASK;
692 bytes = val & PL080_CONTROL_TRANSFER_SIZE_MASK;
702 bytes *= 2;
705 bytes *= 4;
708 return bytes;
714 u32 bytes; local
761 size_t bytes; local
1550 size_t bytes = 0; local
[all...]
/linux-master/arch/powerpc/kvm/
H A Dpowerpc.c1250 unsigned int rt, unsigned int bytes,
1264 if (bytes > sizeof(run->mmio.data))
1268 run->mmio.len = bytes;
1280 bytes, &run->mmio.data);
1294 unsigned int rt, unsigned int bytes,
1297 return __kvmppc_handle_load(vcpu, rt, bytes, is_default_endian, 0);
1303 unsigned int rt, unsigned int bytes,
1306 return __kvmppc_handle_load(vcpu, rt, bytes, is_default_endian, 1);
1311 unsigned int rt, unsigned int bytes,
1321 emulated = __kvmppc_handle_load(vcpu, rt, bytes,
1249 __kvmppc_handle_load(struct kvm_vcpu *vcpu, unsigned int rt, unsigned int bytes, int is_default_endian, int sign_extend) argument
1293 kvmppc_handle_load(struct kvm_vcpu *vcpu, unsigned int rt, unsigned int bytes, int is_default_endian) argument
1302 kvmppc_handle_loads(struct kvm_vcpu *vcpu, unsigned int rt, unsigned int bytes, int is_default_endian) argument
1310 kvmppc_handle_vsx_load(struct kvm_vcpu *vcpu, unsigned int rt, unsigned int bytes, int is_default_endian, int mmio_sign_extend) argument
1336 kvmppc_handle_store(struct kvm_vcpu *vcpu, u64 val, unsigned int bytes, int is_default_endian) argument
1451 kvmppc_handle_vsx_store(struct kvm_vcpu *vcpu, int rs, unsigned int bytes, int is_default_endian) argument
1518 kvmppc_handle_vmx_load(struct kvm_vcpu *vcpu, unsigned int rt, unsigned int bytes, int is_default_endian) argument
1613 kvmppc_handle_vmx_store(struct kvm_vcpu *vcpu, unsigned int rs, unsigned int bytes, int is_default_endian) argument
[all...]
H A De500.h169 u64 bytes = get_tlb_bytes(tlbe); local
170 return get_tlb_eaddr(tlbe) + bytes - 1;
/linux-master/fs/ntfs3/
H A Dindex.c614 static bool index_hdr_check(const struct INDEX_HDR *hdr, u32 bytes) argument
620 if (!IS_ALIGNED(off, 8) || tot > bytes || end > tot ||
634 static bool index_buf_check(const struct INDEX_BUFFER *ib, u32 bytes, argument
641 if (bytes <= offsetof(struct INDEX_BUFFER, ihdr) ||
646 fo + fn * sizeof(short) >= bytes ||
647 fn != ((bytes >> SECTOR_SHIFT) + 1)) {
653 bytes - offsetof(struct INDEX_BUFFER, ihdr));
852 int bytes = used - (off + esize); local
859 bytes < sizeof(struct NTFS_DE))
863 memmove(re, Add2Ptr(re, esize), bytes);
941 u32 bytes = 1u << indx->index_bits; local
1045 u32 bytes = 1u << indx->index_bits; local
[all...]
H A Dsuper.c11 * vbo - virtual byte offset - Offset inside the file in bytes.
16 * mi - MFT inode - One MFT record(usually 1024 bytes or 4K), consists of attributes.
158 * 'upcase' table is 128K bytes of memory.
179 void *ntfs_set_shared(void *ptr, u32 bytes) argument
188 } else if (bytes == s_shared[i].len &&
189 !memcmp(s_shared[i].ptr, ptr, bytes)) {
198 s_shared[j].len = bytes;
841 static u32 format_size_gb(const u64 bytes, u32 *mb) argument
844 u64 kbytes = bytes >> 10;
866 * NTFS mount begins from boot - special formatted 512 bytes
1166 u32 idx, done, bytes; local
1667 u64 lbo, bytes, start, end; local
[all...]
/linux-master/net/ncsi/
H A Dncsi-manage.c491 nca.bytes[0] = 0;
493 nca.bytes[0] = 1;
546 nca.bytes[0] = 1;
625 nca->bytes[6] = index + 1;
626 nca->bytes[7] = 0x00;
686 nca->bytes[6] = index + 1;
687 nca->bytes[7] = 0x01;
1006 nca.bytes[0] = 0;
1008 nca.bytes[0] = 1;
1096 nca.bytes[
[all...]
/linux-master/arch/m68k/ifpsp060/src/
H A Disp.S265 set LOCAL_SIZE, 96 # stack frame size(bytes)
325 set WORD, 2 # len(word) == 2 bytes
326 set LONG, 4 # len(longword) == 4 bytes
506 # here, a7 has been incremented by 4 bytes in supervisor mode. we still
721 # mode, thereby shifting the stack frame up 4 bytes.
759 # mode, thereby shifting the stack frame up 4 bytes.
868 # d0 = number of bytes related to effective address (w,l) #
914 mov.l %d0,%a0 # move # bytes to a0
1040 mov.l %a0,%d0 # copy no. bytes
1051 mov.l %a0,%d0 # copy no. bytes
[all...]
/linux-master/sound/soc/qcom/
H A Dlpass-platform.c1149 buf->bytes = lpass_platform_rxtx_hardware.buffer_bytes_max;
1153 buf->bytes = lpass_platform_rxtx_hardware.buffer_bytes_max;
1157 buf->bytes = lpass_platform_va_hardware.buffer_bytes_max;
1164 buf->area = (unsigned char * __force)memremap(buf->addr, buf->bytes, MEMREMAP_WC);
1224 unsigned long bytes)
1235 ret = copy_from_iter_toio(dma_buf, buf, bytes);
1237 if (copy_from_iter((void __force *)dma_buf, bytes, buf) != bytes)
1242 ret = copy_to_iter_fromio(buf, dma_buf, bytes);
1244 if (copy_to_iter((void __force *)dma_buf, bytes, bu
1221 lpass_platform_copy(struct snd_soc_component *component, struct snd_pcm_substream *substream, int channel, unsigned long pos, struct iov_iter *buf, unsigned long bytes) argument
[all...]
/linux-master/drivers/md/
H A Dmd-bitmap.c239 unsigned int last_page_size = store->bytes & (PAGE_SIZE - 1);
647 /* bits to bytes */
658 int bytes = isize > PAGE_SIZE ? PAGE_SIZE : isize; local
661 bitmap, bytes, sb_page);
816 unsigned long bytes; local
818 bytes = DIV_ROUND_UP(chunks, 8);
820 bytes += sizeof(bitmap_super_t);
822 num_pages = DIV_ROUND_UP(bytes, PAGE_SIZE);
860 store->bytes = bytes;
2156 long bytes; local
[all...]
/linux-master/drivers/crypto/chelsio/
H A Dchcr_algo.c820 nents = sg_nents_xlen(reqctx->dstsg, wrparam->bytes, CHCR_DST_SG_SIZE,
825 nents = sg_nents_xlen(reqctx->srcsg, wrparam->bytes,
827 temp = reqctx->imm ? roundup(wrparam->bytes, 16) :
840 chcr_req->sec_cpl.pldlen = htonl(IV + wrparam->bytes);
881 + (reqctx->imm ? (wrparam->bytes) : 0);
891 reqctx->processed + wrparam->bytes - AES_BLOCK_SIZE);
1041 static unsigned int adjust_ctr_overflow(u8 *iv, u32 bytes) argument
1049 if ((bytes / AES_BLOCK_SIZE) >= c)
1050 bytes = c * AES_BLOCK_SIZE;
1051 return bytes;
1169 int bytes; local
1253 int bytes, err = -EINVAL; local
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c1086 * Fills the first or the first two bytes of the @addrs field depending
1110 * The offset in page is expressed in bytes, if the NAND bus is 16-bit
1827 /* READ_ID data bytes are received twice in NV-DDR mode */
2003 * @data: 4 bytes of data
2053 * @data: 4 bytes of data
2082 /* GET_FEATURE data bytes are received twice in NV-DDR mode */
2314 * unique operation, or cannot read/write more than Y bytes at the same time.
2668 * nand_subop_get_data_len - Get the number of bytes to retrieve
2741 * @subfeature_param: the subfeature parameters, a four bytes array
2762 * @subfeature_param: the subfeature parameters, a four bytes arra
3568 int chipnr, page, realpage, col, bytes, aligned, oob_required; local
4487 int bytes = mtd->writesize; local
[all...]
/linux-master/arch/sh/lib/
H A D__clear_user.S90 ! return the number of bytes remained
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtrace.c62 static void *trace_alloc(struct trace_buffer *tb, int bytes) argument
67 newtail = tb->tail + bytes;
299 printf("Trace buffer 0x%llx bytes @ %p\n", tb->size, tb);
/linux-master/arch/arm/lib/
H A Dcsumpartial.S31 * Handle 0 to 7 bytes, with any alignment of source and
67 .Lless8_byte: tst len, #1 @ odd number of bytes
102 blo .Lless8 @ 8 bytes to copy.
/linux-master/samples/bpf/
H A Dsockex2_kern.c190 long bytes; member in struct:pair
214 __sync_fetch_and_add(&value->bytes, skb->len);
H A Dhbm_kern.h51 // Reserve 20us of queuing for small packets (less than 120 bytes)
55 // rate in bytes per ns << 20
58 #define BYTES_TO_NS(bytes, rate) div64_u64(((u64)(bytes)) << 20, (u64)(rate))
H A Dsockex3_kern.c80 __u64 bytes; member in struct:pair
98 __sync_fetch_and_add(&value->bytes, skb->len);
/linux-master/drivers/misc/eeprom/
H A Deeprom_93cx6.c211 * will return host ordered bytes, this method will return little
269 * eeprom_93cx6_multireadb - Read multiple bytes from eeprom
273 * @bytes: Number of bytes that should be read.
275 * This function will read all requested bytes from the eeprom,
279 u8 *data, const u16 bytes)
283 for (i = 0; i < bytes; i++)
278 eeprom_93cx6_multireadb(struct eeprom_93cx6 *eeprom, const u8 byte, u8 *data, const u16 bytes) argument
/linux-master/drivers/mtd/nand/raw/ingenic/
H A Djz4740_ecc.c86 for (i = 0; i < params->bytes; ++i)
127 for (i = 0; i < params->bytes; ++i)
/linux-master/drivers/usb/serial/
H A Dcypress_m8.c261 * than 800 bytes/sec, in which case 4800 baud is the
662 dev_dbg(&port->dev, "%s - %d bytes\n", __func__, count);
784 /* do not count the line control and size bytes */
1021 int bytes = 0; local
1067 bytes = data[1] + 2;
1073 bytes = (data[0] & 0x07) + 1;
1078 if (result < bytes) {
1080 "%s - wrong packet size - received %d bytes but packet said %d bytes\n",
1081 __func__, result, bytes);
[all...]
/linux-master/arch/x86/crypto/
H A Dcrct10dif-pcl-asm_64.S64 # Fold reg1, reg2 into the next 32 data bytes, storing the result back into
101 # For sizes less than 256 bytes, we can't fold 128 bytes at a time.
105 # Load the first 128 data bytes. Byte swapping is necessary to make the
132 # Subtract 128 for the 128 data bytes just consumed. Subtract another
136 # While >= 128 data bytes remain (not counting xmm0-7), fold the 128
137 # bytes xmm0-7 into them, storing the result back into xmm0-7.
147 # Now fold the 112 bytes in xmm0-xmm6 into the 16 bytes in xmm7.
149 # Fold across 64 bytes
[all...]
/linux-master/net/core/
H A Dgen_estimator.c84 b_bytes = u64_stats_read(&b.bytes);
173 est->last_bytes = u64_stats_read(&b.bytes);
/linux-master/drivers/mtd/parsers/
H A Dscpart.c81 int bytes = cnt * sizeof(*pdesc); local
88 memcpy(pdesc, &(buf[MAP_OFFS_IN_BLK]), bytes);
/linux-master/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.h187 u8 bytes[2]; member in union:RAID_CONTEXT_G35::__anon2620
207 rctx_g35->u.bytes[0] = (u8)(sge_count & NUM_SGE_MASK_LOWER);
208 rctx_g35->u.bytes[1] |= (u8)((sge_count >> NUM_SGE_SHIFT_UPPER)
216 sge_count = (u16)(((rctx_g35->u.bytes[1] & NUM_SGE_MASK_UPPER)
217 << NUM_SGE_SHIFT_UPPER) | (rctx_g35->u.bytes[0]));
222 (rctx_g35.u.bytes[1] |= STREAM_DETECT_MASK)
225 (rctx_g35.u.bytes[1] &= ~(STREAM_DETECT_MASK))
229 return ((rctx_g35->u.bytes[1] & STREAM_DETECT_MASK));
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c188 /* HB port not available. Send the message 4 bytes at a time. */
191 unsigned int bytes = min_t(size_t, msg_len, 4); local
194 memcpy(&word, msg, bytes);
195 msg_len -= bytes;
196 msg += bytes;
243 /* HB port not available. Retrieve the message 4 bytes at a time. */
246 unsigned int bytes = min_t(unsigned long, reply_len, 4); local
260 memcpy(reply, &ebx, bytes);
261 reply_len -= bytes;
262 reply += bytes;
[all...]

Completed in 266 milliseconds

<<21222324252627282930>>