| /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 | 60 u8 write_size; member 183 msg[0].len = chip->write_size; in vz89x_i2c_xfer() 327 .write_size = VZ89X_REG_MEASUREMENT_WR_SIZE, 337 .write_size = VZ89TE_REG_MEASUREMENT_WR_SIZE,
|
| /linux/drivers/spi/ |
| H A D | spi-sprd.c | 405 int ret, write_size = 0, read_size = 0; in sprd_spi_txrx_bufs() local 412 write_size += ss->write_bufs(ss, len); in sprd_spi_txrx_bufs() 432 write_size += ss->write_bufs(ss, len); in sprd_spi_txrx_bufs() 447 ret = write_size; in sprd_spi_txrx_bufs() 583 int ret, write_size = 0; in sprd_spi_dma_txrx_bufs() local 588 write_size = sprd_spi_dma_tx_config(ss, t); in sprd_spi_dma_txrx_bufs() 607 write_size = ss->write_bufs(ss, trans_len); in sprd_spi_dma_txrx_bufs() 610 if (write_size < 0) { in sprd_spi_dma_txrx_bufs() 611 ret = write_size; in sprd_spi_dma_txrx_bufs() 639 ret = write_size; in sprd_spi_dma_txrx_bufs()
|
| /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()
|
| /linux/drivers/media/i2c/ |
| H A D | thp7312.c | 1443 const u8 *write_buf, u16 write_size) in thp7312_write_buf() argument 1448 ret = i2c_master_send(client, write_buf, write_size); in thp7312_write_buf() 1453 const u8 *write_buf, u16 write_size) in __thp7312_flash_reg_write() argument 1459 if (write_size > THP7312_FLASH_MAX_REG_DATA_SIZE) { in __thp7312_flash_reg_write() 1461 __func__, write_size); in __thp7312_flash_reg_write() 1475 memcpy((temp_write_buf + 2), write_buf, write_size); in __thp7312_flash_reg_write() 1476 ret = thp7312_write_buf(thp7312, temp_write_buf, write_size + 2); in __thp7312_flash_reg_write() 1487 const u8 *write_buf, u16 write_size, in __thp7312_flash_reg_read() argument 1494 ret = __thp7312_flash_reg_write(thp7312, write_buf, write_size); in __thp7312_flash_reg_read() 1703 u32 dest, u32 write_size) in thp7312_fw_write_to_flash() argument [all …]
|
| /linux/sound/soc/mediatek/common/ |
| H A D | mtk-btcvsd.c | 780 int written_size = count, avail, cur_write_idx, write_size, cont; in mtk_btcvsd_snd_write() local 825 write_size = avail; in mtk_btcvsd_snd_write() 827 write_size = count; in mtk_btcvsd_snd_write() 831 if (write_size > cont) in mtk_btcvsd_snd_write() 832 write_size = cont; in mtk_btcvsd_snd_write() 835 write_size, buf) != write_size) { in mtk_btcvsd_snd_write() 842 bt->tx->packet_w += write_size / packet_size; in mtk_btcvsd_snd_write() 844 count -= write_size; in mtk_btcvsd_snd_write()
|
| /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/hid/intel-thc-hid/intel-thc/ |
| H A D | intel-thc-dev.h | 105 const u32 write_size, const u32 *write_buffer,
|
| H A D | intel-thc-dev.c | 427 const u32 write_size, const u32 *write_buffer, in thc_tic_pio_write_and_read() argument 442 i2c_ctrl = FIELD_PREP(THC_M_PRT_SW_SEQ_I2C_WR_CNTRL_THC_PIO_I2C_WBC, write_size); in thc_tic_pio_write_and_read() 456 pio_start(dev, write_size, write_buffer); in thc_tic_pio_write_and_read() 1563 u32 write_size = sizeof(u32); in thc_i2c_subip_regs_restore() local 1567 write_size, &dev->i2c_subip_regs[i]); in thc_i2c_subip_regs_restore()
|
| /linux/fs/exfat/ |
| H A D | file.c | 256 goto write_size; in exfat_truncate() 261 goto write_size; in exfat_truncate() 264 write_size: in exfat_truncate()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | mcdi.c | 1636 size_t write_size = 0; in efx_mcdi_nvram_info() local 1652 write_size = MCDI_DWORD(outbuf, NVRAM_INFO_V2_OUT_WRITESIZE); in efx_mcdi_nvram_info() 1654 write_size = EFX_MCDI_NVRAM_DEFAULT_WRITE_LEN; in efx_mcdi_nvram_info() 1656 *write_size_out = write_size; in efx_mcdi_nvram_info()
|
| H A D | ef10.c | 3504 size_t size, erase_size, write_size, outlen; in efx_ef10_mtd_probe_partition() local 3519 rc = efx_mcdi_nvram_info(efx, type, &size, &erase_size, &write_size, in efx_ef10_mtd_probe_partition() 3565 part->common.mtd.writesize = write_size; in efx_ef10_mtd_probe_partition()
|
| /linux/include/linux/ |
| H A D | edac.h | 692 int (*write_size)(struct device *dev, void *drv_data, u64 size); member
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mlxbf.c | 1826 u8 write_size, pec_en, addr, value, byte_cnt; in mlxbf_i2c_irq_send() local 1886 write_size = (byte_cnt - 1) & 0x7f; in mlxbf_i2c_irq_send() 1896 control32 |= rol32(write_size, MLXBF_I2C_SLAVE_WRITE_BYTES_SHIFT); in mlxbf_i2c_irq_send()
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 1290 let write_len = req.write_size.saturating_sub(req.write_consumed); in write() 1454 if req.write_size > 0 { in write_read()
|
| /linux/drivers/android/ |
| H A D | binder.c | 5455 (u64)bwr.write_size, (u64)bwr.write_buffer, in binder_ioctl_write_read() 5458 if (bwr.write_size > 0) { in binder_ioctl_write_read() 5461 bwr.write_size, in binder_ioctl_write_read() 5485 (u64)bwr.write_consumed, (u64)bwr.write_size, in binder_ioctl_write_read()
|