/linux-master/drivers/firmware/ |
H A D | dmi_scan.c | 40 u64 size; /* bytes */ 106 * If a short entry is found (less than 4 bytes), not only it 437 u64 bytes; local 453 bytes = 0; 455 bytes = ~0ull; 457 bytes = (u64)(size & 0x7fff) << 10; 459 bytes = (u64)size << 20; 461 bytes = (u64)get_unaligned((u32 *)&d[0x1C]) << 20; 463 if (bytes) 466 dmi_memdev[nr].size = bytes; [all...] |
/linux-master/drivers/leds/ |
H A D | leds-lp3952.c | 168 line.bytes.msb); 174 line.bytes.lsb);
|
/linux-master/arch/riscv/include/asm/ |
H A D | sbi.h | 377 int sbi_debug_console_write(const char *bytes, unsigned int num_bytes); 378 int sbi_debug_console_read(char *bytes, unsigned int num_bytes);
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | renesas-nand-controller.c | 457 unsigned int eccoff = i * chip->ecc.bytes; 462 chip->ecc.bytes, 499 unsigned int ecc_off = 2 + (start_chunk * chip->ecc.bytes); 551 unsigned int eccoff = 2 + (i * chip->ecc.bytes); 556 chip->ecc.bytes, 641 unsigned int ecc_off = 2 + (start_chunk * chip->ecc.bytes); 976 unsigned int eccbytes = round_up(chip->ecc.bytes, 4) * chip->ecc.steps; 991 unsigned int eccbytes = round_up(chip->ecc.bytes, 4) * chip->ecc.steps; 1035 chip->ecc.bytes = 4; 1039 chip->ecc.bytes [all...] |
/linux-master/fs/nfs/ |
H A D | write.c | 511 unsigned int pgbase, off, bytes; local 514 bytes = head->wb_bytes; 521 bytes += pgbase - subreq->wb_pgbase; 524 bytes = max(subreq->wb_pgbase + subreq->wb_bytes 525 - pgbase, bytes); 530 head->wb_bytes = bytes; 981 unsigned long bytes = 0; local 989 bytes += req->wb_bytes; 992 (hdr->good_bytes < bytes)) { 1087 unsigned int bytes) 1085 nfs_try_to_update_request(struct folio *folio, unsigned int offset, unsigned int bytes) argument 1140 nfs_setup_write_request(struct nfs_open_context *ctx, struct folio *folio, unsigned int offset, unsigned int bytes) argument [all...] |
/linux-master/arch/alpha/lib/ |
H A D | stxncpy.S | 6 * Copy no more than COUNT bytes of the null-terminated string from 100 zapnot t0, t8, t0 # e0 : clear src bytes > null 101 zap t1, t8, t1 # .. e1 : clear dst bytes <= null 156 t6 == bytemask that is -1 in dest word bytes */ 261 zapnot t0, t8, t0 # .. e1 : kill source bytes > null 262 zap t1, t8, t1 # e0 : kill dest bytes <= null 332 negq t8, t6 # .. e1 : build bitmask of bytes <= zero
|
H A D | ev6-stxncpy.S | 6 * Copy no more than COUNT bytes of the null-terminated string from 125 zapnot t0, t8, t0 # U : clear src bytes > null (stall) 127 zap t1, t8, t1 # .. e1 : clear dst bytes <= null 195 t6 == bytemask that is -1 in dest word bytes */ 304 zapnot t0, t8, t0 # U : kill source bytes > null 306 zap t1, t8, t1 # U : kill dest bytes <= null 380 negq t8, t6 # E : build bitmask of bytes <= zero
|
/linux-master/arch/x86/kernel/ |
H A D | uprobes.c | 41 #define OPCODE1(insn) ((insn)->opcode.bytes[0]) 42 #define OPCODE2(insn) ((insn)->opcode.bytes[1]) 43 #define OPCODE3(insn) ((insn)->opcode.bytes[2]) 330 * - The displacement is always 4 bytes. 416 reg2 = insn->vex_prefix.bytes[2]; 443 * Point cursor at the modrm byte. The next 4 bytes are the 780 insn->rex_prefix.bytes[0] != 0x41)
|
/linux-master/drivers/mtd/nand/ |
H A D | ecc-mtk.c | 390 u8 *data, u32 bytes) 396 addr = dma_map_single(ecc->dev, data, bytes, DMA_TO_DEVICE); 407 dma_unmap_single(ecc->dev, addr, bytes, DMA_TO_DEVICE); 417 /* Program ECC bytes to OOB: per sector oob = FDM + ECC + SPARE */ 420 /* write the parity bytes generated by the ECC back to temp buffer */ 426 memcpy(data + bytes, ecc->eccdata, len); 429 dma_unmap_single(ecc->dev, addr, bytes, DMA_TO_DEVICE); 389 mtk_ecc_encode(struct mtk_ecc *ecc, struct mtk_ecc_config *config, u8 *data, u32 bytes) argument
|
/linux-master/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-ahb-audio.c | 154 size_t offset, size_t bytes) 158 u32 *end = dw->buf_src + offset + bytes; 182 size_t offset, size_t bytes) 186 u32 *end = dw->buf_src + offset + bytes; 347 0, substream->dma_buffer.bytes); 430 /* Minimum number of bytes in the fifo. */ 153 dw_hdmi_reformat_iec958(struct snd_dw_hdmi *dw, size_t offset, size_t bytes) argument 181 dw_hdmi_reformat_s24(struct snd_dw_hdmi *dw, size_t offset, size_t bytes) argument
|
/linux-master/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_net.c | 43 u64 bytes; member in struct:vdpasim_dataq_stats 272 net->tx_stats.bytes += tx_bytes; 278 net->rx_stats.bytes += rx_bytes; 301 rx_bytes = net->rx_stats.bytes; 314 "rx bytes")) 343 tx_bytes = net->tx_stats.bytes; 355 "tx bytes"))
|
/linux-master/drivers/spi/ |
H A D | spi-ep93xx.c | 219 * This function transfers next bytes (or half-words) to/from RX/TX FIFOs. If 336 size_t bytes = min_t(size_t, len, PAGE_SIZE); local 339 sg_set_page(sg, virt_to_page(pbuf), bytes, 343 bytes, 0); 346 pbuf += bytes; 347 len -= bytes;
|
H A D | spi-intel.c | 149 * @chip0_size: Size of the first flash chip in bytes 268 /* Reads max INTEL_SPI_FIFO_SZ bytes from the device fifo */ 271 size_t bytes; local 278 bytes = min_t(size_t, size, 4); 279 memcpy_fromio(buf, ispi->base + FDATA(i), bytes); 280 size -= bytes; 281 buf += bytes; 288 /* Writes max INTEL_SPI_FIFO_SZ bytes to the device fifo */ 292 size_t bytes; local 299 bytes [all...] |
/linux-master/crypto/ |
H A D | adiantum.c | 44 * Size of right-hand part of input data, in bytes; also the size of the block 49 /* Size of the block cipher key (K_E) in bytes */ 52 /* Size of the hash key (K_H) in bytes */ 60 * needing to derive per-file keys. So instead we use two blocks, or 32 bytes. 88 u8 bytes[XCHACHA_IV_SIZE]; member in union:adiantum_request_ctx::__anon119 291 crypto_cipher_decrypt_one(tctx->blockcipher, rctx->rbuf.bytes, 292 rctx->rbuf.bytes); 383 crypto_cipher_encrypt_one(tctx->blockcipher, rctx->rbuf.bytes, 384 rctx->rbuf.bytes); 395 * XChaCha needs to be done on all the data except the last 16 bytes; [all...] |
/linux-master/fs/overlayfs/ |
H A D | export.c | 260 int bytes, buflen = *max_len << 2; local 270 bytes = ovl_dentry_to_fid(ofs, dentry, fid, buflen); 272 if (bytes <= 0) 275 *max_len = bytes >> 2; 276 if (bytes > buflen)
|
/linux-master/drivers/s390/cio/ |
H A D | vfio_ccw_cp.c | 572 int bytes = 1; local 575 bytes = ccw->count; 596 return idal_2k_nr_words((void *)iova, bytes); 600 return idal_2k_nr_words((void *)iova, bytes); 603 return idal_nr_words((void *)iova, bytes);
|
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.h | 28 * 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 */ member in struct:bcmgenet_rx_counters 133 u32 bytes; /* RO # of xmited byte count */ member in struct:bcmgenet_tx_counters 514 unsigned long bytes; member in struct:bcmgenet_tx_ring 535 unsigned long bytes; member in struct:bcmgenet_net_dim 541 unsigned long bytes; member in struct:bcmgenet_rx_ring [all...] |
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_lpc.c | 65 * @read: Copy length bytes from EC address offset into buffer dest. Returns 66 * the 8-bit checksum of all bytes read. 67 * @write: Copy length bytes from buffer msg into EC address offset. Returns 68 * the 8-bit checksum of all bytes written. 92 /* Return checksum of all bytes read */ 111 /* Return checksum of all bytes written */ 209 "packet too long (%d bytes, expected %d)", 287 "packet too long (%d bytes, expected %d)", 315 /* Returns num bytes read, or negative on error. Doesn't need locking. */ 317 unsigned int bytes, voi 316 cros_ec_lpc_readmem(struct cros_ec_device *ec, unsigned int offset, unsigned int bytes, void *dest) argument [all...] |
/linux-master/include/trace/events/ |
H A D | f2fs.h | 2315 TP_PROTO(struct inode *inode, loff_t offset, int bytes, 2318 TP_ARGS(inode, offset, bytes, pid, pathname, command), 2323 __field(int, bytes) 2339 __entry->bytes = bytes; 2347 TP_printk("entry_name %s, offset %llu, bytes %d, cmdline %s," 2349 __get_str(pathbuf), __entry->offset, __entry->bytes, 2356 TP_PROTO(struct inode *inode, loff_t offset, int bytes), 2358 TP_ARGS(inode, offset, bytes), 2363 __field(int, bytes) [all...] |
/linux-master/include/drm/display/ |
H A D | drm_dp_mst_helper.h | 277 u8 bytes[255]; member in struct:drm_dp_remote_dpcd_read_ack_reply 293 u8 bytes[255]; member in struct:drm_dp_remote_i2c_read_ack_reply 370 u8 *bytes; member in struct:drm_dp_remote_dpcd_write 380 u8 *bytes; member in struct:drm_dp_remote_i2c_read::drm_dp_remote_i2c_read_tx 392 u8 *bytes; member in struct:drm_dp_remote_i2c_write 647 * @max_dpcd_transaction_bytes: maximum number of bytes to read/write
|
/linux-master/fs/ntfs3/ |
H A D | record.c | 555 /* bytes = "new attribute size" - "old attribute size" */ 556 bool mi_resize_attr(struct mft_inode *mi, struct ATTRIB *attr, int bytes) argument 570 if (!bytes) 576 if (bytes > 0) { 577 dsize = ALIGN(bytes, 8); 587 dsize = ALIGN(-bytes, 8);
|
/linux-master/drivers/scsi/esas2r/ |
H A D | esas2r_flash.c | 353 * NOTE - curr_len is the exact count of bytes for the read 1043 u8 bytes[256]; local 1050 sz = sizeof(bytes); 1051 pw = (u16 *)(bytes + sz); 1052 pwstart = (u16 *)bytes + 2; 1054 if (!esas2r_read_flash_block(a, bytes, FLS_OFFSET_CPYR - sz, sz)) 1108 u8 bytes[256]; local 1116 sz = sizeof(bytes); 1121 if (!esas2r_read_flash_block(a, bytes, FLS_OFFSET_BOOT + 1126 bi = (struct esas2r_boot_image *)bytes; [all...] |
/linux-master/arch/powerpc/platforms/powermac/ |
H A D | low_i2c.c | 683 /* 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...] |
/linux-master/drivers/mmc/host/ |
H A D | mxcmmc.c | 536 static int mxcmci_pull(struct mxcmci_host *host, u32 *buf, int bytes) argument 540 while (bytes > 3) { 546 bytes -= 4; 549 if (bytes) { 558 memcpy(b, &tmp, bytes); 564 static int mxcmci_push(struct mxcmci_host *host, u32 *buf, int bytes) argument 568 while (bytes > 3) { 573 bytes -= 4; 576 if (bytes) { 584 memcpy(&tmp, b, bytes); [all...] |
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.c | 93 static int mtk_mib_entry_read(struct mtk_ppe *ppe, u16 index, u64 *bytes, u64 *packets) argument 112 *bytes = ((u64)cnt_r1 << 32) | cnt_r0; 120 *bytes = ((u64)byte_cnt_high << 32) | byte_cnt_low; 530 acct->bytes = 0; 856 u64 bytes, packets; local 861 if (mtk_mib_entry_read(ppe, index, &bytes, &packets)) 866 acct->bytes += bytes; 870 diff->bytes = bytes; [all...] |