Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 2840) sorted by relevance

12345678910>>...114

/OK3568_Linux_fs/kernel/include/sound/
H A Dpcm-indirect.h28 struct snd_pcm_indirect *rec, size_t bytes);
55 unsigned int bytes = qsize - rec->hw_ready; in snd_pcm_indirect_playback_transfer() local
56 if (rec->sw_ready < (int)bytes) in snd_pcm_indirect_playback_transfer()
57 bytes = rec->sw_ready; in snd_pcm_indirect_playback_transfer()
58 if (hw_to_end < bytes) in snd_pcm_indirect_playback_transfer()
59 bytes = hw_to_end; in snd_pcm_indirect_playback_transfer()
60 if (sw_to_end < bytes) in snd_pcm_indirect_playback_transfer()
61 bytes = sw_to_end; in snd_pcm_indirect_playback_transfer()
62 if (! bytes) in snd_pcm_indirect_playback_transfer()
64 copy(substream, rec, bytes); in snd_pcm_indirect_playback_transfer()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmendian.h193 #define htol16_ua_store(val, bytes) ({ \ argument
195 uint8 *_bytes = (uint8 *)(bytes); \
200 #define htol32_ua_store(val, bytes) ({ \ argument
202 uint8 *_bytes = (uint8 *)(bytes); \
209 #define htol64_ua_store(val, bytes) ({ \ argument
211 uint8 *_bytes = (uint8 *)(bytes); \
219 #define hton16_ua_store(val, bytes) ({ \ argument
221 uint8 *_bytes = (uint8 *)(bytes); \
226 #define hton32_ua_store(val, bytes) ({ \ argument
228 uint8 *_bytes = (uint8 *)(bytes); \
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmendian.h193 #define htol16_ua_store(val, bytes) ({ \ argument
195 uint8 *_bytes = (uint8 *)(bytes); \
200 #define htol32_ua_store(val, bytes) ({ \ argument
202 uint8 *_bytes = (uint8 *)(bytes); \
209 #define htol64_ua_store(val, bytes) ({ \ argument
211 uint8 *_bytes = (uint8 *)(bytes); \
219 #define hton16_ua_store(val, bytes) ({ \ argument
221 uint8 *_bytes = (uint8 *)(bytes); \
226 #define hton32_ua_store(val, bytes) ({ \ argument
228 uint8 *_bytes = (uint8 *)(bytes); \
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dbcmendian.h193 #define htol16_ua_store(val, bytes) ({ \ argument
195 uint8 *_bytes = (uint8 *)(bytes); \
200 #define htol32_ua_store(val, bytes) ({ \ argument
202 uint8 *_bytes = (uint8 *)(bytes); \
209 #define htol64_ua_store(val, bytes) ({ \ argument
211 uint8 *_bytes = (uint8 *)(bytes); \
219 #define hton16_ua_store(val, bytes) ({ \ argument
221 uint8 *_bytes = (uint8 *)(bytes); \
226 #define hton32_ua_store(val, bytes) ({ \ argument
228 uint8 *_bytes = (uint8 *)(bytes); \
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dbcmendian.h159 #define htol16_ua_store(val, bytes) ({ \ argument
161 uint8 *_bytes = (uint8 *)(bytes); \
166 #define htol32_ua_store(val, bytes) ({ \ argument
168 uint8 *_bytes = (uint8 *)(bytes); \
175 #define hton16_ua_store(val, bytes) ({ \ argument
177 uint8 *_bytes = (uint8 *)(bytes); \
182 #define hton32_ua_store(val, bytes) ({ \ argument
184 uint8 *_bytes = (uint8 *)(bytes); \
191 #define ltoh16_ua(bytes) ({ \ argument
192 const uint8 *_bytes = (const uint8 *)(bytes); \
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmendian.h226 #define htol16_ua_store(val, bytes) ({ \ argument
228 uint8 *_bytes = (uint8 *)(bytes); \
233 #define htol32_ua_store(val, bytes) ({ \ argument
235 uint8 *_bytes = (uint8 *)(bytes); \
242 #define htol64_ua_store(val, bytes) ({ \ argument
244 uint8 *_bytes = (uint8 *)(bytes); \
252 #define hton16_ua_store(val, bytes) ({ \ argument
254 uint8 *_bytes = (uint8 *)(bytes); \
259 #define hton32_ua_store(val, bytes) ({ \ argument
261 uint8 *_bytes = (uint8 *)(bytes); \
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmendian.h226 #define htol16_ua_store(val, bytes) ({ \ argument
228 uint8 *_bytes = (uint8 *)(bytes); \
233 #define htol32_ua_store(val, bytes) ({ \ argument
235 uint8 *_bytes = (uint8 *)(bytes); \
242 #define htol64_ua_store(val, bytes) ({ \ argument
244 uint8 *_bytes = (uint8 *)(bytes); \
252 #define hton16_ua_store(val, bytes) ({ \ argument
254 uint8 *_bytes = (uint8 *)(bytes); \
259 #define hton32_ua_store(val, bytes) ({ \ argument
261 uint8 *_bytes = (uint8 *)(bytes); \
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Duio.h129 struct iov_iter *i, unsigned long offset, size_t bytes);
130 void iov_iter_advance(struct iov_iter *i, size_t bytes);
131 void iov_iter_revert(struct iov_iter *i, size_t bytes);
132 int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes);
134 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
136 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
139 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
140 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
141 bool _copy_from_iter_full(void *addr, size_t bytes, struct iov_iter *i);
142 size_t _copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i);
[all …]
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dchacha_glue.c49 unsigned int bytes, int nrounds) in chacha_dosimd() argument
53 while (bytes >= CHACHA_BLOCK_SIZE * 8) { in chacha_dosimd()
54 chacha_8block_xor_avx512vl(state, dst, src, bytes, in chacha_dosimd()
56 bytes -= CHACHA_BLOCK_SIZE * 8; in chacha_dosimd()
61 if (bytes > CHACHA_BLOCK_SIZE * 4) { in chacha_dosimd()
62 chacha_8block_xor_avx512vl(state, dst, src, bytes, in chacha_dosimd()
64 state[12] += chacha_advance(bytes, 8); in chacha_dosimd()
67 if (bytes > CHACHA_BLOCK_SIZE * 2) { in chacha_dosimd()
68 chacha_4block_xor_avx512vl(state, dst, src, bytes, in chacha_dosimd()
70 state[12] += chacha_advance(bytes, 4); in chacha_dosimd()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/support/detail/endian/
H A Dendian.hpp74 static typename boost::make_unsigned<T>::type load_big(const unsigned char* bytes) in load_big()
75 { return *(bytes - 1) | (next::load_big(bytes - 1) << 8); } in load_big()
76 static typename boost::make_unsigned<T>::type load_little(const unsigned char* bytes) in load_little()
77 { return *bytes | (next::load_little(bytes + 1) << 8); } in load_little()
79 static void store_big(char* bytes, T value) in store_big()
81 *(bytes - 1) = static_cast<char>(value); in store_big()
82 next::store_big(bytes - 1, value >> 8); in store_big()
84 static void store_little(char* bytes, T value) in store_little()
86 *bytes = static_cast<char>(value); in store_little()
87 next::store_little(bytes + 1, value >> 8); in store_little()
[all …]
/OK3568_Linux_fs/external/xserver/dix/
H A Dprivates.c130 typedef Bool (*FixupFunc) (PrivatePtr *privates, int offset, unsigned bytes);
135 dixReallocPrivates(PrivatePtr *privates, int old_offset, unsigned bytes) in dixReallocPrivates() argument
139 new_privates = realloc(*privates, old_offset + bytes); in dixReallocPrivates()
142 memset((char *) new_privates + old_offset, '\0', bytes); in dixReallocPrivates()
148 dixMovePrivates(PrivatePtr *privates, int new_offset, unsigned bytes) in dixMovePrivates() argument
150 memmove((char *) *privates + bytes, *privates, new_offset - bytes); in dixMovePrivates()
151 memset(*privates, '\0', bytes); in dixMovePrivates()
156 fixupOneScreen(ScreenPtr pScreen, FixupFunc fixup, unsigned bytes) in fixupOneScreen() argument
167 if (!fixup (&pScreen->devPrivates, size, bytes)) in fixupOneScreen()
183 new += bytes; in fixupOneScreen()
[all …]
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dfree-space-cache.c32 u64 bytes; member
516 static int io_ctl_add_entry(struct btrfs_io_ctl *io_ctl, u64 offset, u64 bytes, in io_ctl_add_entry() argument
526 put_unaligned_le64(bytes, &entry->bytes); in io_ctl_add_entry()
600 entry->bytes = get_unaligned_le64(&e->bytes); in io_ctl_read_entry()
650 if (prev->offset + prev->bytes == e->offset) { in merge_space_tree()
653 prev->bytes += e->bytes; in merge_space_tree()
768 if (!e->bytes) { in __load_free_space_cache()
827 ctl->discardable_bytes[BTRFS_STAT_CURR] += e->bytes; in __load_free_space_cache()
974 ret = io_ctl_add_entry(io_ctl, e->offset, e->bytes, in write_cache_extent_entries()
1004 trim_entry->bytes, NULL); in write_cache_extent_entries()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fifo.c206 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_is_full() argument
214 return ((max - next_cmd) + (stop - min) <= bytes); in vmw_fifo_is_full()
218 uint32_t bytes, bool interruptible, in vmw_fifo_wait_noirq() argument
231 if (!vmw_fifo_is_full(dev_priv, bytes)) in vmw_fifo_wait_noirq()
251 uint32_t bytes, bool interruptible, in vmw_fifo_wait() argument
256 if (likely(!vmw_fifo_is_full(dev_priv, bytes))) in vmw_fifo_wait()
261 return vmw_fifo_wait_noirq(dev_priv, bytes, in vmw_fifo_wait()
270 !vmw_fifo_is_full(dev_priv, bytes), timeout); in vmw_fifo_wait()
274 !vmw_fifo_is_full(dev_priv, bytes), timeout); in vmw_fifo_wait()
298 uint32_t bytes) in vmw_local_fifo_reserve() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/
H A Dmmio.c61 void *p_data, unsigned int bytes, bool read) in failsafe_emulate_mmio_rw() argument
76 bytes); in failsafe_emulate_mmio_rw()
79 bytes); in failsafe_emulate_mmio_rw()
84 memcpy(p_data, pt, bytes); in failsafe_emulate_mmio_rw()
86 memcpy(pt, p_data, bytes); in failsafe_emulate_mmio_rw()
103 void *p_data, unsigned int bytes) in intel_vgpu_emulate_mmio_read() argument
111 failsafe_emulate_mmio_rw(vgpu, pa, p_data, bytes, true); in intel_vgpu_emulate_mmio_read()
118 if (drm_WARN_ON(&i915->drm, bytes > 8)) in intel_vgpu_emulate_mmio_read()
125 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_read()
128 !reg_is_gtt(gvt, offset + bytes - 1))) in intel_vgpu_emulate_mmio_read()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_sockmap_kern.h237 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; in bpf_prog4() local
240 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog4()
241 if (bytes) in bpf_prog4()
242 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog4()
243 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog4()
244 if (bytes) in bpf_prog4()
245 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog4()
268 int *bytes, *start, *end, *start_push, *end_push, *start_pop, *pop, *f; in bpf_prog6() local
272 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog6()
273 if (bytes) in bpf_prog6()
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Diov_iter.c164 static size_t copy_page_to_iter_iovec(struct page *page, size_t offset, size_t bytes, in copy_page_to_iter_iovec() argument
172 if (unlikely(bytes > i->count)) in copy_page_to_iter_iovec()
173 bytes = i->count; in copy_page_to_iter_iovec()
175 if (unlikely(!bytes)) in copy_page_to_iter_iovec()
179 wanted = bytes; in copy_page_to_iter_iovec()
183 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec()
194 bytes -= copy; in copy_page_to_iter_iovec()
196 while (unlikely(!left && bytes)) { in copy_page_to_iter_iovec()
199 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec()
204 bytes -= copy; in copy_page_to_iter_iovec()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dxor.h47 xor_arm4regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_arm4regs_2() argument
49 unsigned int lines = bytes / sizeof(unsigned long) / 4; in xor_arm4regs_2()
67 xor_arm4regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_3() argument
70 unsigned int lines = bytes / sizeof(unsigned long) / 4; in xor_arm4regs_3()
89 xor_arm4regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_4() argument
92 unsigned int lines = bytes / sizeof(unsigned long) / 2; in xor_arm4regs_4()
108 xor_arm4regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_5() argument
111 unsigned int lines = bytes / sizeof(unsigned long) / 2; in xor_arm4regs_5()
149 xor_neon_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_neon_2() argument
152 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2()
[all …]
/OK3568_Linux_fs/kernel/arch/hexagon/mm/
H A Dcopy_user_template.S19 p0 = cmp.gtu(bytes,#0)
25 p1 = cmp.gtu(bytes,#15)
32 loopcount = lsr(bytes,#3)
46 bytes -= asl(loopcount,#3)
58 p1 = cmp.gtu(bytes,#7)
63 loopcount = lsr(bytes,#2)
76 bytes -= asl(loopcount,#2)
84 p1 = cmp.gtu(bytes,#3)
89 loopcount = lsr(bytes,#1)
102 bytes -= asl(loopcount,#1)
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm.c224 ia_css_ptr hmm_alloc(size_t bytes, enum hmm_bo_type type, in hmm_alloc() argument
243 pgnr = size_to_pgnr_ceil(bytes); in hmm_alloc()
269 hmm_set(bo->start, 0, bytes); in hmm_alloc()
273 __func__, bo->start, bytes, type, from_highmem, userptr, cached); in hmm_alloc()
336 unsigned int bytes) in load_and_flush_by_kmap() argument
349 while (bytes) { in load_and_flush_by_kmap()
355 if ((bytes + offset) >= PAGE_SIZE) { in load_and_flush_by_kmap()
357 bytes -= len; in load_and_flush_by_kmap()
359 len = bytes; in load_and_flush_by_kmap()
360 bytes = 0; in load_and_flush_by_kmap()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_sysfs.c62 ssize_t bytes = 0; in dpaa_eth_show_fqids() local
96 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
99 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
119 bytes += sprintf(buf + bytes, "%s: %d\n", prevstr, in dpaa_eth_show_fqids()
122 bytes += sprintf(buf + bytes, "%s: %d - %d\n", prevstr, in dpaa_eth_show_fqids()
126 return bytes; in dpaa_eth_show_fqids()
133 ssize_t bytes = 0; in dpaa_eth_show_bpids() local
135 bytes += snprintf(buf + bytes, PAGE_SIZE - bytes, "%u\n", in dpaa_eth_show_bpids()
138 return bytes; in dpaa_eth_show_bpids()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dcacheflush.h50 unsigned long bytes = l1_dcache_bytes(); in flush_dcache_range() local
51 void *addr = (void *)(start & ~(bytes - 1)); in flush_dcache_range()
52 unsigned long size = stop - (unsigned long)addr + (bytes - 1); in flush_dcache_range()
58 for (i = 0; i < size >> shift; i++, addr += bytes) in flush_dcache_range()
72 unsigned long bytes = l1_dcache_bytes(); in clean_dcache_range() local
73 void *addr = (void *)(start & ~(bytes - 1)); in clean_dcache_range()
74 unsigned long size = stop - (unsigned long)addr + (bytes - 1); in clean_dcache_range()
77 for (i = 0; i < size >> shift; i++, addr += bytes) in clean_dcache_range()
91 unsigned long bytes = l1_dcache_bytes(); in invalidate_dcache_range() local
92 void *addr = (void *)(start & ~(bytes - 1)); in invalidate_dcache_range()
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-dm355evm.c29 u8 bytes[4]; member
48 if (tries && time.bytes[0] == status) in dm355evm_rtc_read_time()
50 time.bytes[0] = status; in dm355evm_rtc_read_time()
55 if (tries && time.bytes[1] == status) in dm355evm_rtc_read_time()
57 time.bytes[1] = status; in dm355evm_rtc_read_time()
62 if (tries && time.bytes[2] == status) in dm355evm_rtc_read_time()
64 time.bytes[2] = status; in dm355evm_rtc_read_time()
69 if (tries && time.bytes[3] == status) in dm355evm_rtc_read_time()
71 time.bytes[3] = status; in dm355evm_rtc_read_time()
96 status = dm355evm_msp_write(time.bytes[0], DM355EVM_MSP_RTC_0); in dm355evm_rtc_set_time()
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dandroid_fs_template.h7 TP_PROTO(struct inode *inode, loff_t offset, int bytes,
9 TP_ARGS(inode, offset, bytes, pid, pathname, command),
13 __field(int, bytes)
29 __entry->bytes = bytes;
39 __get_str(pathbuf), __entry->offset, __entry->bytes,
45 TP_PROTO(struct inode *inode, loff_t offset, int bytes),
46 TP_ARGS(inode, offset, bytes),
50 __field(int, bytes)
56 __entry->bytes = bytes;
61 __entry->offset, __entry->bytes)
/OK3568_Linux_fs/kernel/sound/i2c/other/
H A Dpt2258.c34 unsigned char bytes[2]; in snd_pt2258_reset() local
38 bytes[0] = PT2258_CMD_RESET; in snd_pt2258_reset()
40 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
46 bytes[0] = PT2258_CMD_MUTE; in snd_pt2258_reset()
48 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
55 bytes[0] = 0xd0; in snd_pt2258_reset()
56 bytes[1] = 0xe0; in snd_pt2258_reset()
58 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 2) != 2) in snd_pt2258_reset()
97 unsigned char bytes[2]; in pt2258_stereo_volume_put() local
108 bytes[0] = pt2258_channel_code[2 * base] | (val0 / 10); in pt2258_stereo_volume_put()
[all …]
/OK3568_Linux_fs/kernel/arch/alpha/lib/
H A Dev6-memcpy.S68 ldq $1, 0($17) # L : get 8 bytes
85 wh64 ($7) # L1 : memory subsystem hint: 64 bytes at
87 ldq $6, 0($17) # L0 : bytes 0..7
91 ldq $4, 8($17) # L : bytes 8..15
92 ldq $5, 16($17) # L : bytes 16..23
96 ldq $3, 24($17) # L : bytes 24..31
101 addq $17, 32, $17 # E : src += 32 bytes
102 stq $6, 0($16) # L : bytes 0..7
106 stq $4, 8($16) # L : bytes 8..15
107 stq $5, 16($16) # L : bytes 16..23
[all …]

12345678910>>...114