| /linux/drivers/sbus/char/ |
| H A D | flash.c | 29 unsigned long write_size; /* Size of write area */ member 54 size = flash.write_size; in flash_mmap() 175 flash.write_size = resource_size(&op->resource[1]); in flash_probe() 178 flash.write_size = resource_size(&op->resource[0]); in flash_probe() 185 flash.write_base, flash.write_size); in flash_probe()
|
| /linux/tools/perf/util/ |
| H A D | lzma.c | 73 ssize_t write_size = sizeof(buf_out) - strm.avail_out; in lzma_decompress_stream_to_file() local 75 if (writen(output_fd, buf_out, write_size) != write_size) { in lzma_decompress_stream_to_file()
|
| /linux/drivers/iio/chemical/ |
| H A D | vz89x.c | 59 u8 write_size; member 182 msg[0].len = chip->write_size; in vz89x_i2c_xfer() 326 .write_size = VZ89X_REG_MEASUREMENT_WR_SIZE, 336 .write_size = VZ89TE_REG_MEASUREMENT_WR_SIZE,
|
| /linux/sound/usb/usx2y/ |
| H A D | usb_stream.c | 144 free_pages_exact(sk->write_page, s->write_size); in usb_stream_free() 164 int write_size; in usb_stream_new() local 188 write_size = max_packsize * packets * USB_STREAM_URBDEPTH; in usb_stream_new() 190 if (read_size >= 256*PAGE_SIZE || write_size >= 256*PAGE_SIZE) { in usb_stream_new() 212 sk->s->write_size = write_size; in usb_stream_new() 214 sk->write_page = alloc_pages_exact(write_size, in usb_stream_new() 677 memset(sk->write_page, 0, s->write_size); in usb_stream_start()
|
| H A D | us122l.c | 110 if (offset >= PAGE_ALIGN(s->write_size)) in usb_stream_hwdep_vm_fault() 200 if (size > PAGE_ALIGN(read ? s->read_size : s->write_size)) { in usb_stream_hwdep_mmap() 202 size, read ? s->read_size : s->write_size);
|
| /linux/drivers/media/i2c/ |
| H A D | thp7312.c | 1444 const u8 *write_buf, u16 write_size) in thp7312_write_buf() 1449 ret = i2c_master_send(client, write_buf, write_size); in thp7312_write_buf() 1454 const u8 *write_buf, u16 write_size) in __thp7312_flash_reg_write() 1460 if (write_size > THP7312_FLASH_MAX_REG_DATA_SIZE) { in __thp7312_flash_reg_write() 1462 __func__, write_size); in __thp7312_flash_reg_write() 1476 memcpy((temp_write_buf + 2), write_buf, write_size); in __thp7312_flash_reg_write() 1477 ret = thp7312_write_buf(thp7312, temp_write_buf, write_size + 2); in __thp7312_flash_reg_write() 1488 const u8 *write_buf, u16 write_size, in __thp7312_flash_reg_read() 1495 ret = __thp7312_flash_reg_write(thp7312, write_buf, write_size); in __thp7312_flash_reg_read() 1704 u32 dest, u32 write_size) in thp7312_fw_write_to_flash() 1443 thp7312_write_buf(struct thp7312_device * thp7312,const u8 * write_buf,u16 write_size) thp7312_write_buf() argument 1453 __thp7312_flash_reg_write(struct thp7312_device * thp7312,const u8 * write_buf,u16 write_size) __thp7312_flash_reg_write() argument 1487 __thp7312_flash_reg_read(struct thp7312_device * thp7312,const u8 * write_buf,u16 write_size,u8 * read_buf,u16 read_size) __thp7312_flash_reg_read() argument 1703 thp7312_fw_write_to_flash(struct thp7312_device * thp7312,u32 dest,u32 write_size) thp7312_fw_write_to_flash() argument [all...] |
| /linux/sound/soc/mediatek/common/ |
| H A D | mtk-btcvsd.c | 774 int written_size = count, avail, cur_write_idx, write_size, cont; in mtk_btcvsd_snd_read() 818 write_size = avail; in mtk_btcvsd_snd_write() 820 write_size = count; in mtk_btcvsd_snd_write() 824 if (write_size > cont) in mtk_btcvsd_snd_write() 825 write_size = cont; in mtk_btcvsd_snd_write() 828 write_size, buf) != write_size) { in mtk_btcvsd_snd_write() 835 bt->tx->packet_w += write_size / packet_size; in mtk_btcvsd_snd_write() 836 count -= write_size; in mtk_btcvsd_snd_write() 780 int written_size = count, avail, cur_write_idx, write_size, cont; mtk_btcvsd_snd_write() local
|
| /linux/drivers/rtc/ |
| H A D | rtc-meson.c | 272 unsigned int write_offset, write_size; in meson_rtc_regmem_write() local 275 write_size = bytes / 4; in meson_rtc_regmem_write() 277 return regmap_bulk_write(rtc->serial, write_offset, buf, write_size); in meson_rtc_regmem_write()
|
| /linux/drivers/mfd/ |
| H A D | mt6360-core.c | 460 int write_size = val_size - MT6360_REGMAP_REG_BYTE_SIZE; in mt6360_regmap_write() local 481 memcpy(buf + MT6360_CRC_PREDATA_OFFSET, val + MT6360_REGMAP_REG_BYTE_SIZE, write_size); in mt6360_regmap_write() 485 write_size += (MT6360_CRC_CRC8_SIZE + MT6360_CRC_DUMMY_BYTE_SIZE); in mt6360_regmap_write() 488 ret = i2c_smbus_write_i2c_block_data(i2c, reg_addr, write_size, in mt6360_regmap_write()
|
| /linux/drivers/edac/ |
| H A D | scrub.c | 85 EDAC_SCRUB_ATTR_STORE(size, write_size, u64, kstrtou64) in EDAC_SCRUB_ATTR_STORE() 108 if (ops->write_size) in EDAC_SCRUB_ATTR_STORE()
|
| /linux/include/uapi/sound/ |
| H A D | usb_stream.h | 30 unsigned write_size; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_dbg.c | 121 u32 buff_capacity, write_size; in mlx5dr_dbg_dump_data_print() local 133 write_size = (remain_size > 0) ? size : buff_capacity; in mlx5dr_dbg_dump_data_print() 135 if (likely(write_size)) { in mlx5dr_dbg_dump_data_print() 136 ret = snprintf(buff->buff + buff->index, write_size + 1, "%s", str); in mlx5dr_dbg_dump_data_print() 140 buff->index += write_size; in mlx5dr_dbg_dump_data_print() 149 ret = snprintf(buff->buff, remain_size + 1, "%s", str + write_size); in mlx5dr_dbg_dump_data_print()
|
| /linux/fs/exfat/ |
| H A D | file.c | 366 goto write_size; in exfat_setattr() 371 goto write_size; in exfat_setattr() 374 write_size: in exfat_setattr()
|
| /linux/kernel/ |
| H A D | ptrace.c | 1031 unsigned long write_size; in ptrace_get_syscall_info() local 1045 write_size = min(actual_size, user_size); in ptrace_get_syscall_info() 1046 return copy_to_user(datavp, &info, write_size) ? -EFAULT : actual_size; in ptrace_get_syscall_info()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | mcdi.c | 1637 size_t write_size = 0; in efx_mcdi_nvram_info() local 1653 write_size = MCDI_DWORD(outbuf, NVRAM_INFO_V2_OUT_WRITESIZE); in efx_mcdi_nvram_info() 1655 write_size = EFX_MCDI_NVRAM_DEFAULT_WRITE_LEN; in efx_mcdi_nvram_info() 1657 *write_size_out = write_size; in efx_mcdi_nvram_info()
|
| H A D | ef10.c | 3531 size_t size, erase_size, write_size, outlen; in efx_ef10_mtd_probe_partition() local 3546 rc = efx_mcdi_nvram_info(efx, type, &size, &erase_size, &write_size, in efx_ef10_mtd_probe_partition() 3592 part->common.mtd.writesize = write_size; in efx_ef10_mtd_probe_partition()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_debugfs.c | 1354 uint32_t write_size = 36; in dp_sdp_message_debugfs_write() 1367 write_size = min_t(size_t, size, sizeof(data)); 1369 r = copy_from_user(data, buf, write_size); in dp_dsc_fec_support_show() 1371 write_size -= r; in dp_dsc_fec_support_show() 1373 dc_stream_send_dp_sdp(acrtc_state->stream, data, write_size); in dp_dsc_fec_support_show() 1375 return write_size; in dp_dsc_fec_support_show() 1336 uint32_t write_size = 36; dp_sdp_message_debugfs_write() local
|
| /linux/include/linux/ |
| H A D | edac.h | 693 int (*write_size)(struct device *dev, void *drv_data, u64 size); member
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mlxbf.c | 1820 u8 write_size, pec_en, addr, value, byte_cnt; in mlxbf_i2c_irq_send() 1880 write_size = (byte_cnt - 1) & 0x7f; in mlxbf_i2c_irq_send() 1890 control32 |= rol32(write_size, MLXBF_I2C_SLAVE_WRITE_BYTES_SHIFT); in mlxbf_i2c_irq_send() 1821 u8 write_size, pec_en, addr, value, byte_cnt; mlxbf_i2c_irq_send() local
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 1518 let write_len = req.write_size.saturating_sub(req.write_consumed); in write() 1672 if req.write_size > 0 { in exit_looper()
|
| /linux/drivers/android/ |
| H A D | binder.c | |
| /linux/include/linux/platform_data/ |
| H A D | cros_ec_commands.h | 3974 uint8_t write_size; /* Either 8 or 16. */ member
|