Home
last modified time | relevance | path

Searched refs:bytes (Results 1826 - 1850 of 5695) sorted by relevance

1...<<71727374757677787980>>...228

/kernel/linux/linux-6.6/drivers/mtd/nand/
H A Decc-mtk.c390 u8 *data, u32 bytes) in mtk_ecc_encode()
396 addr = dma_map_single(ecc->dev, data, bytes, DMA_TO_DEVICE); in mtk_ecc_encode()
407 dma_unmap_single(ecc->dev, addr, bytes, DMA_TO_DEVICE); in mtk_ecc_encode()
417 /* Program ECC bytes to OOB: per sector oob = FDM + ECC + SPARE */ in mtk_ecc_encode()
420 /* write the parity bytes generated by the ECC back to temp buffer */ in mtk_ecc_encode()
426 memcpy(data + bytes, ecc->eccdata, len); in mtk_ecc_encode()
429 dma_unmap_single(ecc->dev, addr, bytes, DMA_TO_DEVICE); in mtk_ecc_encode()
389 mtk_ecc_encode(struct mtk_ecc *ecc, struct mtk_ecc_config *config, u8 *data, u32 bytes) mtk_ecc_encode() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.h28 * 1536 is multiple of 256 bytes
72 #define DMA_DESC_LENGTH_STATUS 0x00 /* in bytes of data in buffer */
78 u32 cnt_64; /* RO Received/Transmited 64 bytes packet */
79 u32 cnt_127; /* RO Rx/Tx 127 bytes packet */
80 u32 cnt_255; /* RO Rx/Tx 65-255 bytes packet */
81 u32 cnt_511; /* RO Rx/Tx 256-511 bytes packet */
82 u32 cnt_1023; /* RO Rx/Tx 512-1023 bytes packet */
83 u32 cnt_1518; /* RO Rx/Tx 1024-1518 bytes packet */
85 u32 cnt_2047; /* RO Rx/Tx 1522-2047 bytes packet*/
86 u32 cnt_4095; /* RO Rx/Tx 2048-4095 bytes packe
94 u32 bytes; /* RO Received byte count */ global() member
133 u32 bytes; /* RO # of xmited byte count */ global() member
514 unsigned long bytes; global() member
535 unsigned long bytes; global() member
541 unsigned long bytes; global() member
[all...]
/kernel/linux/linux-6.6/fs/autofs/
H A Dwaitq.c47 struct file *file, const void *addr, int bytes) in autofs_write()
56 while (bytes) { in autofs_write()
57 wr = __kernel_write(file, data, bytes, NULL); in autofs_write()
61 bytes -= wr; in autofs_write()
76 return bytes == 0 ? 0 : wr < 0 ? wr : -EIO; in autofs_write()
46 autofs_write(struct autofs_sb_info *sbi, struct file *file, const void *addr, int bytes) autofs_write() argument
/kernel/linux/linux-6.6/include/drm/display/
H A Ddrm_dp_mst_helper.h270 u8 bytes[255]; member
286 u8 bytes[255]; member
363 u8 *bytes; member
373 u8 *bytes; member
385 u8 *bytes; member
637 * @max_dpcd_transaction_bytes: maximum number of bytes to read/write
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dcros_ec_lpc.c39 * @read: Copy length bytes from EC address offset into buffer dest. Returns
40 * the 8-bit checksum of all bytes read.
41 * @write: Copy length bytes from buffer msg into EC address offset. Returns
42 * the 8-bit checksum of all bytes written.
66 /* Return checksum of all bytes read */ in cros_ec_lpc_read_bytes()
85 /* Return checksum of all bytes written */ in cros_ec_lpc_write_bytes()
183 "packet too long (%d bytes, expected %d)", in cros_ec_pkt_xfer_lpc()
261 "packet too long (%d bytes, expected %d)", in cros_ec_cmd_xfer_lpc()
289 /* Returns num bytes read, or negative on error. Doesn't need locking. */
291 unsigned int bytes, voi in cros_ec_lpc_readmem()
290 cros_ec_lpc_readmem(struct cros_ec_device *ec, unsigned int offset, unsigned int bytes, void *dest) cros_ec_lpc_readmem() argument
[all...]
/kernel/linux/linux-6.6/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c43 u64 bytes; member
272 net->tx_stats.bytes += tx_bytes; in vdpasim_net_work()
278 net->rx_stats.bytes += rx_bytes; in vdpasim_net_work()
301 rx_bytes = net->rx_stats.bytes; in vdpasim_net_get_stats()
314 "rx bytes")) in vdpasim_net_get_stats()
343 tx_bytes = net->tx_stats.bytes; in vdpasim_net_get_stats()
355 "tx bytes")) in vdpasim_net_get_stats()
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-ahb-audio.c154 size_t offset, size_t bytes) in dw_hdmi_reformat_iec958()
158 u32 *end = dw->buf_src + offset + bytes; in dw_hdmi_reformat_iec958()
182 size_t offset, size_t bytes) in dw_hdmi_reformat_s24()
186 u32 *end = dw->buf_src + offset + bytes; in dw_hdmi_reformat_s24()
347 0, substream->dma_buffer.bytes); in dw_hdmi_open()
430 /* Minimum number of bytes in the fifo. */ in dw_hdmi_prepare()
153 dw_hdmi_reformat_iec958(struct snd_dw_hdmi *dw, size_t offset, size_t bytes) dw_hdmi_reformat_iec958() argument
181 dw_hdmi_reformat_s24(struct snd_dw_hdmi *dw, size_t offset, size_t bytes) dw_hdmi_reformat_s24() argument
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Dadm1266.c70 .bytes = 2048,
378 static int adm1266_nvmem_read(void *priv, unsigned int offset, void *val, size_t bytes) in adm1266_nvmem_read() argument
383 if (offset + bytes > data->nvmem_config.size) in adm1266_nvmem_read()
396 memcpy(val, data->dev_mem + offset, bytes); in adm1266_nvmem_read()
414 data->nvmem_config.size = adm1266_nvmem_cells[0].bytes; in adm1266_config_nvmem()
/kernel/linux/linux-6.6/sound/hda/
H A Dhdac_regmap.c283 int i, bytes, err; in hda_reg_write() local
329 bytes = 2; in hda_reg_write()
332 bytes = 4; in hda_reg_write()
335 bytes = 1; in hda_reg_write()
339 for (i = 0; i < bytes; i++) { in hda_reg_write()
/kernel/linux/linux-6.6/sound/virtio/
H A Dvirtio_pcm.c131 int bytes = snd_pcm_format_physical_width(alsa_fmt) / 8; in virtsnd_pcm_build_hw() local
133 if (!sample_min || sample_min > bytes) in virtsnd_pcm_build_hw()
134 sample_min = bytes; in virtsnd_pcm_build_hw()
136 if (sample_max < bytes) in virtsnd_pcm_build_hw()
137 sample_max = bytes; in virtsnd_pcm_build_hw()
179 * Smax = maximum supported sample size in bytes, in virtsnd_pcm_build_hw()
190 * Smin = minimum supported sample size in bytes, in virtsnd_pcm_build_hw()
/kernel/linux/linux-6.6/samples/bpf/
H A Dtask_fd_query_user.c236 ssize_t bytes; in test_debug_fs_uprobe() local
260 bytes = read(efd, buf, sizeof(buf)); in test_debug_fs_uprobe()
261 CHECK_PERROR_RET(bytes <= 0 || bytes >= sizeof(buf)); in test_debug_fs_uprobe()
263 buf[bytes] = '\0'; in test_debug_fs_uprobe()
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddmlib_lite.py153 data = telnet.read_until(bytes(command, encoding="utf8"),
161 expect_result = [bytes(CPP_TEST_STANDARD_SIGN, encoding="utf8"),
162 bytes(CPP_SYS_STANDARD_SIGN, encoding="utf8"),
163 bytes(CPP_TEST_END_SIGN, encoding="utf8"),
164 bytes(CPP_TEST_STOP_SIGN, encoding="utf8")]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dfcntlndk.cpp64 int bytes = PARAM_0; in Splice() local
68 bytes = splice(PARAM_0, &off, PARAM_2, &off, len, PARAM_0); in Splice()
73 bytes = splice(PARAM_0, nullptr, pipe1[PARAM_1], nullptr, len, flags); in Splice()
75 bytes = splice(PARAM_UNNORMAL, nullptr, PARAM_UNNORMAL, nullptr, PARAM_UNNORMAL, PARAM_UNNORMAL); in Splice()
78 napi_create_int32(env, bytes, &result); in Splice()
/third_party/elfutils/libdwfl/
H A Dlinux-core-attach.c76 unsigned bytes = ebl_get_elfclass (process->ebl) == ELFCLASS64 ? 8 : 4; in core_memory_read() local
77 if (addr < start || addr + bytes > end) in core_memory_read()
81 bytes, ELF_T_ADDR); in core_memory_read()
87 assert (data->d_size == bytes); in core_memory_read()
88 if (bytes == 8) in core_memory_read()
/third_party/ffmpeg/libavfilter/
H A Dvf_framerate.c240 int bytes = nbits / 8; \
241 width /= bytes; \
242 src1_linesize /= bytes; \
243 src2_linesize /= bytes; \
244 dst_linesize /= bytes; \
/third_party/elfutils/libebl/
H A Deblobjnote.c206 /* In most cases the value comes right after the encoding bytes. */ in ebl_object_note()
250 size_t bytes = namesz - (value - name); in ebl_object_note() local
252 if (bytes == 1) in ebl_object_note()
254 else if (bytes == 2) in ebl_object_note()
256 else if (bytes == 4) in ebl_object_note()
258 else if (bytes == 8) in ebl_object_note()
595 /* Normally NT_GNU_ABI_TAG is just 4 words (16 bytes). If it in ebl_object_note()
/third_party/mbedtls/tests/scripts/
H A Daudit-validity-dates.py106 typing.Callable[[bytes], object]]]) \
116 def wrapper(data: bytes):
143 def pem_data_type(data: bytes) -> typing.Optional[str]:
159 # At least 6 hex char for 3 bytes: Type + Length + Content
193 - parse_bytes: Defaultly, it parses `bytes` that contains only one valid
230 def parse_bytes(self, data: bytes):
231 """Parse AuditData from bytes."""
363 audit_data = self.parse_bytes(bytes.fromhex(match.group('data')))
/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_constant_folding.c252 unsigned bytes = intrin->dest.ssa.bit_size / 8; in try_fold_intrinsic() local
253 bytes = MIN2(bytes, range - offset); in try_fold_intrinsic()
255 memcpy(&imm[i].u64, data + offset, bytes); in try_fold_intrinsic()
256 offset += bytes; in try_fold_intrinsic()
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
H A Dvid_dec_mpeg12.c157 unsigned bytes = priv->bytes_left - (vl_vlc_bits_left(vlc) / 8); in vid_dec_mpeg12_Decode() local
159 1, &priv->slice, &bytes); in vid_dec_mpeg12_Decode()
345 unsigned bytes = (vl_vlc_valid_bits(vlc) / 8) + 4; in vid_dec_mpeg12_Decode() local
357 for (i = 4; i < bytes; ++i) in vid_dec_mpeg12_Decode()
361 1, &ptr, &bytes); in vid_dec_mpeg12_Decode()
/third_party/node/src/crypto/
H A Dcrypto_bio.cc84 int bytes = nbio->Read(out, len); in Read() local
86 if (bytes == 0) { in Read()
87 bytes = nbio->eof_return(); in Read()
88 if (bytes != 0) { in Read()
93 return bytes; in Read()
383 // Go to next buffer if there still are some bytes to write in Write()
/third_party/musl/porting/linux/user/src/gwp_asan/
H A Dgwp_asan.c56 extern void* gwp_asan_malloc(size_t bytes);
403 void* libc_gwp_asan_malloc(size_t bytes) in libc_gwp_asan_malloc() argument
406 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
410 res = gwp_asan_malloc(bytes); in libc_gwp_asan_malloc()
415 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
/third_party/musl/src/gwp_asan/linux/
H A Dgwp_asan.c56 extern void* gwp_asan_malloc(size_t bytes);
403 void* libc_gwp_asan_malloc(size_t bytes) in libc_gwp_asan_malloc() argument
406 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
410 res = gwp_asan_malloc(bytes); in libc_gwp_asan_malloc()
415 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dpkgitems.cpp63 NativeItem() : pItem(nullptr), pInfo(nullptr), bytes(nullptr), swapped(nullptr), length(0) {} in NativeItem()
74 return bytes; in getBytes()
91 bytes=pItem->data+itemHeaderLength; in setItem()
110 bytes=swapped+itemHeaderLength; in setItem()
118 const uint8_t *bytes; member in NativeItem
483 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after header) for an ICU .cnv conversion table\n", in ucnv_enumDependencies()
501 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after headers) for an ICU MBCS .cnv conversion table\n", in ucnv_enumDependencies()
534 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after headers) for an ICU MBCS .cnv conversion table with extension data\n", in ucnv_enumDependencies()
/third_party/icu/icu4c/source/tools/toolutil/
H A Dpkgitems.cpp63 NativeItem() : pItem(NULL), pInfo(NULL), bytes(NULL), swapped(NULL), length(0) {} in NativeItem()
74 return bytes; in getBytes()
91 bytes=pItem->data+itemHeaderLength; in setItem()
110 bytes=swapped+itemHeaderLength; in setItem()
118 const uint8_t *bytes; member in NativeItem
483 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after header) for an ICU .cnv conversion table\n", in ucnv_enumDependencies()
501 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after headers) for an ICU MBCS .cnv conversion table\n", in ucnv_enumDependencies()
534 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after headers) for an ICU MBCS .cnv conversion table with extension data\n", in ucnv_enumDependencies()
/third_party/node/deps/undici/src/lib/fetch/
H A Dutil.js169 // - Has no leading or trailing HTTP tab or space bytes.
170 // - Contains no 0x00 (NUL) or HTTP newline bytes.
529 * @param {Uint8Array} bytes
532 function bytesMatch (bytes, metadataList) {
573 // 3. Let actualValue be the result of applying algorithm to bytes.
574 let actualValue = crypto.createHash(algorithm).update(bytes).digest('base64')
936 // 2. Let successSteps given a byte sequence bytes be to queue a
937 // fetch task to run processBody given bytes, with taskDestination.
956 // 5. Read all bytes from reader, given successSteps and errorSteps.
988 // as the values of input’s bytes, i
[all...]

Completed in 23 milliseconds

1...<<71727374757677787980>>...228