Searched refs:bytes (Results 176 - 200 of 1671) sorted by path

1234567891011>>

/linux-master/arch/powerpc/mm/
H A Dcacheflush.c37 unsigned long bytes = l1_icache_bytes(); local
38 char *addr = (char *)(start & ~(bytes - 1));
39 unsigned long size = stop - (unsigned long)addr + (bytes - 1);
42 for (i = 0; i < size >> shift; i++, addr += bytes)
86 unsigned long bytes = l1_dcache_bytes(); local
87 unsigned long nb = PAGE_SIZE / bytes;
114 : "r" (nb), "r" (msr), "i" (bytes), "r" (msr0)
/linux-master/arch/powerpc/perf/
H A Dhv-gpci.c46 /* u8, bytes of data (1-8) */
180 *n += sprintf(buf + *n, "%02x", (u8)arg->bytes[j]);
236 u32 starting_index = arg->bytes[last_element + 3] +
237 (arg->bytes[last_element + 2] << 8) +
238 (arg->bytes[last_element + 1] << 16) +
239 (arg->bytes[last_element] << 24) + 1;
304 u32 starting_index = arg->bytes[last_element + 3] +
305 (arg->bytes[last_element + 2] << 8) +
306 (arg->bytes[last_element + 1] << 16) +
307 (arg->bytes[last_elemen
[all...]
/linux-master/arch/powerpc/perf/req-gen/
H A Dperf.h25 #define BYTES_TO_BE_TYPE(bytes) \
26 BE_TYPE_b##bytes
/linux-master/arch/powerpc/platforms/powermac/
H A Dlow_i2c.c683 /* For now, limit ourselves to 16 bytes transfers */
766 " bytes, expected %d !\n", rlen, len);
1147 " %d bytes, bus %pOF\n", bus->channel, addrdir, bus->mode, subsize,
1230 int bytes; member in struct:pmac_i2c_pf_inst
1281 inst->bytes = len;
1321 if (masklen > inst->bytes || valuelen > inst->bytes ||
1322 totallen > inst->bytes || valuelen > masklen)
1335 inst->bytes = len;
1362 if (masklen > inst->bytes || valuele
[all...]
H A Dpfunc_core.c81 static void print_blob(const char *title, const void *blob, int bytes)
84 while(bytes--) {
271 u32 bytes = pmf_next32(cmd); local
273 LOG_PARSE("pmf: read_i2c(bytes: %ud)\n", bytes);
275 PMF_PARSE_CALL(read_i2c, cmd, h, bytes);
280 u32 bytes = pmf_next32(cmd); local
281 const void *blob = pmf_next_blob(cmd, bytes);
283 LOG_PARSE("pmf: write_i2c(bytes: %ud) ...\n", bytes);
311 u32 bytes = pmf_next32(cmd); local
322 u32 bytes = pmf_next32(cmd); local
354 u32 bytes = pmf_next32(cmd); local
365 u32 bytes = pmf_next32(cmd); local
487 u32 bytes = pmf_next32(cmd); local
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dmemtrace.c283 u64 bytes; local
289 bytes = memory_block_size_bytes();
290 if (val & (bytes - 1)) {
291 pr_err("Value must be aligned with 0x%llx\n", bytes);
H A Dpci-ioda.c1484 unsigned long bytes = 0; local
1502 bytes += ALIGN(tce_table_size, direct_table_size);
1510 return bytes + bytes; /* one for HW table, one for userspace copy */
2594 panic("%s: Failed to allocate %zu bytes\n", __func__,
2639 panic("%s: Failed to allocate %u bytes\n", __func__,
2690 panic("%s: Failed to allocate %lu bytes\n", __func__, size);
/linux-master/arch/powerpc/platforms/pseries/
H A Dlparcfg.c167 affinity_score = buf->bytes[0xB];
282 seq_printf(m, "entitled_memory_pool_size=%ld bytes\n",
288 seq_printf(m, "backing_memory=%ld bytes\n", mpp_data.backing_mem);
/linux-master/arch/powerpc/sysdev/xics/
H A Dicp-native.c30 u8 bytes[4]; member in union:icp_ipl::__anon31
34 u8 bytes[4]; member in union:icp_ipl::__anon32
39 u8 bytes[4]; member in union:icp_ipl::__anon33
72 out_8(&icp_native_regs[cpu]->xirr.bytes[0], value);
77 out_8(&icp_native_regs[n_cpu]->qirr.bytes[0], value);
/linux-master/arch/riscv/crypto/
H A Dghash-riscv64-glue.c30 u32 bytes; member in struct:riscv64_ghash_desc_ctx
83 if (dctx->bytes) {
84 if (dctx->bytes + srclen < GHASH_BLOCK_SIZE) {
85 memcpy(dctx->buffer + dctx->bytes, src, srclen);
86 dctx->bytes += srclen;
89 memcpy(dctx->buffer + dctx->bytes, src,
90 GHASH_BLOCK_SIZE - dctx->bytes);
93 src += GHASH_BLOCK_SIZE - dctx->bytes;
94 srclen -= GHASH_BLOCK_SIZE - dctx->bytes;
95 dctx->bytes
[all...]
/linux-master/arch/riscv/include/asm/
H A Dasm-prototypes.h18 void xor_regs_2_(unsigned long bytes, unsigned long *__restrict p1,
20 void xor_regs_3_(unsigned long bytes, unsigned long *__restrict p1,
23 void xor_regs_4_(unsigned long bytes, unsigned long *__restrict p1,
27 void xor_regs_5_(unsigned long bytes, unsigned long *__restrict p1,
H A Dsbi.h365 int sbi_debug_console_write(const char *bytes, unsigned int num_bytes);
366 int sbi_debug_console_read(char *bytes, unsigned int num_bytes);
H A Dxor.h13 static void xor_vector_2(unsigned long bytes, unsigned long *__restrict p1, argument
17 xor_regs_2_(bytes, p1, p2);
21 static void xor_vector_3(unsigned long bytes, unsigned long *__restrict p1, argument
26 xor_regs_3_(bytes, p1, p2, p3);
30 static void xor_vector_4(unsigned long bytes, unsigned long *__restrict p1, argument
36 xor_regs_4_(bytes, p1, p2, p3, p4);
40 static void xor_vector_5(unsigned long bytes, unsigned long *__restrict p1, argument
47 xor_regs_5_(bytes, p1, p2, p3, p4, p5);
/linux-master/arch/riscv/kernel/
H A Dsbi.c577 int sbi_debug_console_write(const char *bytes, unsigned int num_bytes) argument
585 if (is_vmalloc_addr(bytes))
586 base_addr = page_to_phys(vmalloc_to_page(bytes)) +
587 offset_in_page(bytes);
589 base_addr = __pa(bytes);
590 if (PAGE_SIZE < (offset_in_page(bytes) + num_bytes))
591 num_bytes = PAGE_SIZE - offset_in_page(bytes);
606 int sbi_debug_console_read(char *bytes, unsigned int num_bytes) argument
614 if (is_vmalloc_addr(bytes))
615 base_addr = page_to_phys(vmalloc_to_page(bytes))
[all...]
/linux-master/arch/s390/boot/
H A Dhead.S153 ssch 0(%r3) # load chunk of 1600 bytes
168 mghi %r0,10 # *10 = number of bytes in ccws
170 sgr %r0,%r3 # #ccws*80-residual=#bytes read
/linux-master/arch/s390/crypto/
H A Daes_s390.c837 min_bytes, bytes, aad_bytes, pc_bytes; local
881 bytes = min(in_bytes, out_bytes);
883 if (aadlen + pclen <= bytes) {
888 if (aadlen <= bytes) {
890 pc_bytes = (bytes - aadlen) &
894 aad_bytes = bytes & ~(AES_BLOCK_SIZE - 1);
H A Dchacha-glue.c79 unsigned int bytes, int nrounds)
85 if (bytes <= CHACHA_BLOCK_SIZE || nrounds != 20 || !cpu_has_vx())
86 chacha_crypt_generic(state, dst, src, bytes, nrounds);
88 chacha20_crypt_s390(state, dst, src, bytes,
78 chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src, unsigned int bytes, int nrounds) argument
H A Dghash_s390.c27 u32 bytes; member in struct:ghash_desc_ctx
61 if (dctx->bytes) {
62 u8 *pos = buf + (GHASH_BLOCK_SIZE - dctx->bytes);
64 n = min(srclen, dctx->bytes);
65 dctx->bytes -= n;
71 if (!dctx->bytes) {
85 dctx->bytes = GHASH_BLOCK_SIZE - srclen;
96 if (dctx->bytes) {
97 u8 *pos = buf + (GHASH_BLOCK_SIZE - dctx->bytes);
99 memset(pos, 0, dctx->bytes);
[all...]
/linux-master/arch/s390/include/asm/
H A Dcpacf.h167 typedef struct { unsigned char bytes[16]; } cpacf_mask_t; member in struct:__anon71
230 return (mask->bytes[func >> 3] & (0x80 >> (func & 7))) != 0;
248 * @src_len: length of src operand in bytes
250 * Returns 0 for the query func, number of processed bytes for
280 * @src_len: length of src operand in bytes
282 * Returns 0 for the query func, number of processed bytes for
312 * @src_len: length of src operand in bytes
337 * @src_len: length of src operand in bytes
363 * @src_len: length of src operand in bytes
365 * Returns 0 for the query func, number of processed bytes fo
[all...]
/linux-master/arch/s390/kernel/
H A Dentry.S218 # will rewind the PSW by the ILC, which is often 4 bytes in case of SIE. There
H A Dperf_cpum_cf.c469 * The functions returns the number of bytes occupied by this counter set
1457 size_t bytes = 0; local
1463 bytes += cpum_cf_read_setsize(i) * sizeof(u64) +
1467 bytes = sizeof(((struct s390_ctrset_read *)0)->no_cpus) + nr_cpu_ids *
1468 (bytes + sizeof(((struct s390_ctrset_cpudata *)0)->cpu_nr) +
1470 return bytes;
1652 * of bytes needed to store the counter values. If another S390_HWCTR_START
H A Drelocate_kernel.S56 0: mvcle %r6,%r8,0x0 # copy PAGE_SIZE bytes from r8 to r6 - pad with 0
/linux-master/arch/s390/lib/
H A Dmem.S160 .macro __MEMSET bits,bytes,insn
164 cghi %r4,\bytes
166 aghi %r4,-(\bytes+1)
173 mvc \bytes(256-\bytes,%r1),0(%r1)
186 mvc \bytes(1,%r1),0(%r1)
H A Dxor.c14 static void xor_xc_2(unsigned long bytes, unsigned long * __restrict p1, argument
32 : : "d" (bytes), "a" (p1), "a" (p2)
36 static void xor_xc_3(unsigned long bytes, unsigned long * __restrict p1, argument
59 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3)
63 static void xor_xc_4(unsigned long bytes, unsigned long * __restrict p1, argument
91 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4)
95 static void xor_xc_5(unsigned long bytes, unsigned long * __restrict p1, argument
128 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4),
/linux-master/arch/sh/lib/
H A Dchecksum.S54 bt 21f ! Jump if alignment is boundary of 2bytes.
73 add #-2, r5 ! Alignment uses up two bytes.
75 bt/s 1f ! Jump if we had at least two bytes.
122 ! 4 bytes or more remaining
136 ! 3 bytes or less remaining
209 add #-2,r6 ! Alignment uses up two bytes.
210 cmp/pz r6 ! Jump if we had at least two bytes.
256 ! Handle first two bytes as a special case

Completed in 372 milliseconds

1234567891011>>