Home
last modified time | relevance | path

Searched full:bytes (Results 1 – 25 of 9123) sorted by relevance

12345678910>>...365

/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dmyrs.h172 unsigned short bus_speed_mhz; /* Bytes 4-5 */
176 unsigned char rsvd3[7]; /* Bytes 9-15 */
177 unsigned char bus_name[16]; /* Bytes 16-31 */
178 unsigned char ctlr_name[16]; /* Bytes 32-47 */
179 unsigned char rsvd4[16]; /* Bytes 48-63 */
191 unsigned char rsvd5[3]; /* Bytes 73-75 */
207 unsigned short nvram_size_kb; /* Bytes 90-91 */
209 unsigned char rsvd8[3]; /* Bytes 93-95 */
211 unsigned char serial_number[16]; /* Bytes 96-111 */
212 unsigned char rsvd9[16]; /* Bytes 112-127 */
[all …]
H A Dmyrb.h164 unsigned int rsvd1:24; /* Bytes 1-3 */
165 unsigned int ldev_sizes[32]; /* Bytes 4-131 */
166 unsigned short flash_age; /* Bytes 132-133 */
189 unsigned short ev_seq; /* Bytes 142-143 */
191 unsigned int rsvd5:24; /* Bytes 145-147 */
203 } dead_drives[21]; /* Bytes 152-194 */
204 unsigned char rsvd9[62]; /* Bytes 195-255 */
237 } hw; /* Bytes 0-3 */
244 } fw; /* Bytes 4-7 */
254 unsigned int rsvd3; /* Bytes 20-23 */
[all …]
/OK3568_Linux_fs/kernel/include/sound/
H A Dpcm-indirect.h19 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */
22 unsigned int sw_io; /* Current software pointer in bytes */
23 int sw_ready; /* Bytes ready to be transferred to/from hw */
28 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()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmendian.h40 /* Reverse the bytes in a 16-bit value */
45 /* Reverse the bytes in a 32-bit value */
57 /* Reverse the bytes in a 64-bit value */
193 #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
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmendian.h40 /* Reverse the bytes in a 16-bit value */
45 /* Reverse the bytes in a 32-bit value */
57 /* Reverse the bytes in a 64-bit value */
193 #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
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dbcmendian.h40 /* Reverse the bytes in a 16-bit value */
45 /* Reverse the bytes in a 32-bit value */
57 /* Reverse the bytes in a 64-bit value */
193 #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
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Duio.h103 * Total number of bytes covered by an iovec.
129 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);
[all …]
H A Dccp.h149 * @key_len: length in bytes of key
151 * @iv_len: length in bytes of iv
154 * @src_len: length in bytes of data used for this operation
157 * @cmac_key_len: length in bytes of cmac_key
176 u32 key_len; /* In bytes */
179 u32 iv_len; /* In bytes */
182 u64 src_len; /* In bytes */
187 u32 cmac_key_len; /* In bytes */
189 u32 aad_len; /* In bytes */
196 * @CCP_XTS_AES_UNIT_SIZE_16: Unit size of 16 bytes
[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/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmendian.h32 /* Reverse the bytes in a 16-bit value */
37 /* Reverse the bytes in a 32-bit value */
49 /* Reverse the bytes in a 64-bit value */
226 #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
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmendian.h32 /* Reverse the bytes in a 16-bit value */
37 /* Reverse the bytes in a 32-bit value */
49 /* Reverse the bytes in a 64-bit value */
226 #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
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dbcmendian.h39 /* Reverse the bytes in a 16-bit value */
44 /* Reverse the bytes in a 32-bit value */
56 /* Reverse the bytes in a 64-bit value */
159 #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
[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 …]
H A Dspace-info.h9 u64 total_bytes; /* total bytes in the space,
11 u64 bytes_used; /* total bytes used,
13 u64 bytes_pinned; /* total bytes pinned, will be freed when the
15 u64 bytes_reserved; /* total bytes the allocator has reserved for
17 u64 bytes_may_use; /* number of bytes that may be used for
19 u64 bytes_readonly; /* total bytes that are read only */
34 u64 disk_used; /* total bytes used on disk */
35 u64 disk_total; /* total bytes on disk, takes mirrors into
44 * bytes_pinned does not reflect the bytes that will be pinned once the
79 u64 bytes; member
[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()
179 /* Moving means everyone shifts up in the privates by 'bytes' amount, in fixupOneScreen()
[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.hpp66 // Unrolled loops for loading and storing streams of bytes.
74 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()
[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()
288 * Reserve @bytes number of bytes in the fifo.
[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/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.h121 * @rsvd0: reserved bytes
123 * @rsvd1: reserved bytes
125 * @rsvd2: reserved bytes
128 * @rsvd3: reserved bytes
131 * @rsvd4: reserved bytes
158 * @rsvd0: reserved bytes
165 * @rsvd1: reserved bytes
175 * @rsvd2: reserved bytes
178 * @rsvd3: reserved bytes
282 * @tx_bytes: transmit bytes
[all …]
/OK3568_Linux_fs/kernel/drivers/ps3/
H A Dps3-vuart.c352 const void *buf, unsigned int bytes, u64 *bytes_written) in ps3_vuart_raw_write() argument
358 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_written); in ps3_vuart_raw_write()
369 *bytes_written, bytes, priv->stats.bytes_written); in ps3_vuart_raw_write()
382 unsigned int bytes, u64 *bytes_read) in ps3_vuart_raw_read() argument
387 dev_dbg(&dev->core, "%s:%d: %xh\n", __func__, __LINE__, bytes); in ps3_vuart_raw_read()
390 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_read); in ps3_vuart_raw_read()
401 *bytes_read, bytes, priv->stats.bytes_read); in ps3_vuart_raw_read()
407 * ps3_vuart_clear_rx_bytes - Discard bytes received.
409 * @bytes: Max byte count to discard, zero = all pending.
415 unsigned int bytes) in ps3_vuart_clear_rx_bytes() 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()
97 * @bytes: access data length
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()
[all …]
/OK3568_Linux_fs/kernel/arch/hexagon/mm/
H A Dcopy_user_template.S8 * W: width in bytes
19 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)
[all …]
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/ivytown/
H A Duncore-cache.json16 "ScaleUnit": "64Bytes",
26 "ScaleUnit": "64Bytes",
37 "ScaleUnit": "64Bytes",
48 "ScaleUnit": "64Bytes",
59 "ScaleUnit": "64Bytes",
70 "ScaleUnit": "64Bytes",
81 "ScaleUnit": "64Bytes",
92 "ScaleUnit": "64Bytes",
103 "ScaleUnit": "64Bytes",
114 "ScaleUnit": "64Bytes",
[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;
37 TP_printk("entry_name %s, offset %llu, bytes %d, cmdline %s,"
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;
[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 …]

12345678910>>...365