Home
last modified time | relevance | path

Searched refs:write_bytes (Results 1 – 25 of 49) sorted by relevance

12

/openbmc/linux/include/linux/
H A Dtask_io_accounting_ops.h27 current->ioac.write_bytes += bytes; in task_io_account_write()
36 return p->ioac.write_bytes >> 9; in task_io_get_oublock()
53 dst->write_bytes += src->write_bytes; in task_blk_io_accounting_add()
H A Dtask_io_accounting.h35 u64 write_bytes; member
/openbmc/linux/drivers/char/tpm/
H A Dtpm_tis_core.h131 int (*write_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, member
180 return data->phy_ops->write_bytes(data, addr, len, value, in tpm_tis_write_bytes()
186 return data->phy_ops->write_bytes(data, addr, 1, &value, in tpm_tis_write8()
197 rc = data->phy_ops->write_bytes(data, addr, sizeof(u32), in tpm_tis_write32()
H A Dtpm_tis_synquacer.c90 .write_bytes = tpm_tis_synquacer_write_bytes,
/openbmc/qemu/hw/sd/
H A Dssi-sd.c63 int32_t write_bytes; member
304 s->write_bytes++; in OBJECT_DECLARE_SIMPLE_TYPE()
305 if (!sdbus_receive_ready(&s->sdbus) || s->write_bytes == 512) { in OBJECT_DECLARE_SIMPLE_TYPE()
317 s->write_bytes = 0; in OBJECT_DECLARE_SIMPLE_TYPE()
360 VMSTATE_INT32(write_bytes, ssi_sd_state),
386 s->write_bytes = 0; in ssi_sd_reset()
/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_core.c72 phy_ops->write_bytes(dev, TPM_ACCESS(loc), 1, &buf); in tpm_tis_request_locality()
128 ret = phy_ops->write_bytes(dev, TPM_ACCESS(loc), 1, &buf); in tpm_tis_release_locality()
215 return phy_ops->write_bytes(dev, TPM_STS(chip->locality), 1, &data); in tpm_tis_ready()
258 ret = phy_ops->write_bytes(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_send()
291 ret = phy_ops->write_bytes(dev, TPM_STS(chip->locality), 1, &data); in tpm_tis_send()
418 if (!phy_ops || !phy_ops->read_bytes || !phy_ops->write_bytes || in tis_check_ops()
H A Dtpm_tis.h48 int (*write_bytes)(struct udevice *udev, u32 addr, u16 len, member
H A Dtpm2_tis_i2c.c98 .write_bytes = tpm_tis_i2c_write,
/openbmc/u-boot/drivers/spi/
H A Dcadence_qspi_apb.c725 unsigned int write_bytes; in cadence_qspi_apb_indirect_write_execute() local
748 write_bytes = remaining > page_size ? page_size : remaining; in cadence_qspi_apb_indirect_write_execute()
749 writesl(plat->ahbbase, bb_txbuf, write_bytes >> 2); in cadence_qspi_apb_indirect_write_execute()
750 if (write_bytes % 4) in cadence_qspi_apb_indirect_write_execute()
752 bb_txbuf + rounddown(write_bytes, 4), in cadence_qspi_apb_indirect_write_execute()
753 write_bytes % 4); in cadence_qspi_apb_indirect_write_execute()
763 bb_txbuf += write_bytes; in cadence_qspi_apb_indirect_write_execute()
764 remaining -= write_bytes; in cadence_qspi_apb_indirect_write_execute()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-stm.c141 u32 write_bytes; member
293 static inline bool stm_addr_unaligned(const void *addr, u8 write_bytes) in stm_addr_unaligned() argument
295 return ((unsigned long)addr & (write_bytes - 1)); in stm_addr_unaligned()
299 u32 size, u8 write_bytes) in stm_send() argument
303 if (stm_addr_unaligned(data, write_bytes)) { in stm_send()
424 if (size > drvdata->write_bytes) in stm_generic_packet()
425 size = drvdata->write_bytes; in stm_generic_packet()
438 stm_send(ch_addr, payload, 1, drvdata->write_bytes); in stm_generic_packet()
446 drvdata->write_bytes); in stm_generic_packet()
850 drvdata->write_bytes = stm_fundamental_data_size(drvdata); in stm_probe()
/openbmc/linux/tools/testing/selftests/mm/
H A Dhugepage-mmap.c43 static void write_bytes(char *addr) in write_bytes() function
84 write_bytes(addr); in main()
H A Dmap_hugetlb.c37 static void write_bytes(char *addr, size_t length) in write_bytes() function
94 write_bytes(addr, length); in main()
H A Dhugepage-vmemmap.c42 static void write_bytes(char *addr, size_t length) in write_bytes() function
123 write_bytes(addr, maplength); in main()
H A Dhugepage-mremap.c40 static void write_bytes(char *addr, size_t len) in write_bytes() function
171 write_bytes(addr, length); in main()
/openbmc/linux/fs/btrfs/
H A Dfile.h23 size_t num_pages, loff_t pos, size_t write_bytes,
27 size_t *write_bytes, bool nowait);
H A Dfile.c44 static noinline int btrfs_copy_from_user(loff_t pos, size_t write_bytes, in btrfs_copy_from_user() argument
53 while (write_bytes > 0) { in btrfs_copy_from_user()
55 PAGE_SIZE - offset, write_bytes); in btrfs_copy_from_user()
83 write_bytes -= copied; in btrfs_copy_from_user()
128 size_t num_pages, loff_t pos, size_t write_bytes, in btrfs_dirty_pages() argument
137 u64 end_pos = pos + write_bytes; in btrfs_dirty_pages()
141 if (write_bytes == 0) in btrfs_dirty_pages()
148 num_bytes = round_up(write_bytes + pos - start_pos, in btrfs_dirty_pages()
907 size_t write_bytes, bool force_uptodate, in prepare_pages() argument
941 pos + write_bytes, false); in prepare_pages()
[all …]
/openbmc/qemu/backends/
H A Dspdm-socket.c105 static bool write_bytes(const int socket, const uint8_t *buffer, in write_bytes() function
125 return write_bytes(socket, (uint8_t *)&data, sizeof(uint32_t)); in write_data32()
138 return write_bytes(socket, buffer, bytes_to_send); in write_multiple_bytes()
/openbmc/linux/kernel/
H A Dtsacct.c113 stats->write_bytes = p->ioac.write_bytes & KB_MASK; in xacct_add_tsk()
117 stats->write_bytes = 0; in xacct_add_tsk()
/openbmc/openbmc/poky/meta/classes/
H A Dtoaster.bbclass218 if "IO write_bytes" in statinfo:
219 write_bytes = int(statinfo["IO write_bytes"].strip('% \n\r'))
220 disk_io_write = disk_io_write + write_bytes
/openbmc/linux/include/uapi/linux/
H A Dtaskstats.h155 __u64 write_bytes; /* bytes of write I/O */ member
/openbmc/openbmc/meta-google/recipes-google/ipmi/ipmi-fru-sh/
H A Dlib.sh187 write_bytes() { function
/openbmc/linux/drivers/spi/
H A Dspi-tegra114.c321 unsigned int write_bytes; in tegra_spi_fill_tx_fifo_from_client_txbuf() local
327 write_bytes = nbytes; in tegra_spi_fill_tx_fifo_from_client_txbuf()
337 tspi->cur_tx_pos += write_bytes; in tegra_spi_fill_tx_fifo_from_client_txbuf()
404 unsigned int write_bytes; in tegra_spi_copy_client_txbuf_to_spi_txbuf() local
408 write_bytes = consume; in tegra_spi_copy_client_txbuf_to_spi_txbuf()
418 tspi->cur_tx_pos += write_bytes; in tegra_spi_copy_client_txbuf_to_spi_txbuf()
H A Dspi-tegra210-quad.c332 unsigned int write_bytes; in tegra_qspi_fill_tx_fifo_from_client_txbuf() local
340 write_bytes = len; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
349 tqspi->cur_tx_pos += write_bytes; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
417 unsigned int i, count, consume, write_bytes; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf() local
426 write_bytes = consume; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
435 tqspi->cur_tx_pos += write_bytes; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
H A Dspi-cadence-quadspi.c1018 unsigned int write_bytes; in cqspi_indirect_write_execute() local
1052 write_bytes = remaining; in cqspi_indirect_write_execute()
1053 write_words = write_bytes / 4; in cqspi_indirect_write_execute()
1054 mod_bytes = write_bytes % 4; in cqspi_indirect_write_execute()
1075 remaining -= write_bytes; in cqspi_indirect_write_execute()
/openbmc/u-boot/drivers/mmc/
H A Darm_pl180_mmci.c163 static int write_bytes(struct mmc *dev, u32 *src, u32 blkcount, u32 blksize) in write_bytes() function
261 error = write_bytes(dev, (u32 *)data->src, (u32)data->blocks, in do_data_transfer()

12