Home
last modified time | relevance | path

Searched refs:write_size (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.6/drivers/sbus/char/
Dflash.c29 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-v6.6/tools/perf/util/
Dlzma.c80 ssize_t write_size = sizeof(buf_out) - strm.avail_out; in lzma_decompress_to_file() local
82 if (writen(output_fd, buf_out, write_size) != write_size) { in lzma_decompress_to_file()
/Linux-v6.6/drivers/iio/chemical/
Dvz89x.c60 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-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_ddc.c319 uint32_t write_size, in link_query_ddc_data() argument
329 (write_size + payload_size - 1) / payload_size; in link_query_ddc_data()
348 if (write_size != 0) { in link_query_ddc_data()
354 payload.length = write_size; in link_query_ddc_data()
384 &payloads, address, write_size, write_buf, true); in link_query_ddc_data()
Dlink_ddc.h60 uint32_t write_size,
/Linux-v6.6/drivers/spi/
Dspi-sprd.c405 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-v6.6/sound/usb/usx2y/
Dusb_stream.c147 free_pages_exact(sk->write_page, s->write_size); in usb_stream_free()
167 int write_size; in usb_stream_new() local
191 write_size = max_packsize * packets * USB_STREAM_URBDEPTH; in usb_stream_new()
193 if (read_size >= 256*PAGE_SIZE || write_size >= 256*PAGE_SIZE) { in usb_stream_new()
215 sk->s->write_size = write_size; in usb_stream_new()
217 sk->write_page = alloc_pages_exact(write_size, in usb_stream_new()
682 memset(sk->write_page, 0, s->write_size); in usb_stream_start()
Dus122l.c121 if (offset >= PAGE_ALIGN(s->write_size)) in usb_stream_hwdep_vm_fault()
217 read ? s->read_size : s->write_size); in usb_stream_hwdep_mmap()
219 if (size > PAGE_ALIGN(read ? s->read_size : s->write_size)) { in usb_stream_hwdep_mmap()
221 read ? s->read_size : s->write_size); in usb_stream_hwdep_mmap()
/Linux-v6.6/drivers/rtc/
Drtc-meson.c274 unsigned int write_offset, write_size; in meson_rtc_regmem_write() local
277 write_size = bytes / 4; in meson_rtc_regmem_write()
279 return regmap_bulk_write(rtc->serial, write_offset, buf, write_size); in meson_rtc_regmem_write()
/Linux-v6.6/sound/soc/mediatek/common/
Dmtk-btcvsd.c780 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-v6.6/drivers/mfd/
Dmt6360-core.c465 int write_size = val_size - MT6360_REGMAP_REG_BYTE_SIZE; in mt6360_regmap_write() local
486 memcpy(buf + MT6360_CRC_PREDATA_OFFSET, val + MT6360_REGMAP_REG_BYTE_SIZE, write_size); in mt6360_regmap_write()
490 write_size += (MT6360_CRC_CRC8_SIZE + MT6360_CRC_DUMMY_BYTE_SIZE); in mt6360_regmap_write()
493 ret = i2c_smbus_write_i2c_block_data(i2c, reg_addr, write_size, in mt6360_regmap_write()
/Linux-v6.6/include/uapi/sound/
Dusb_stream.h30 unsigned write_size; member
/Linux-v6.6/fs/exfat/
Dfile.c205 goto write_size; in exfat_truncate()
210 goto write_size; in exfat_truncate()
213 write_size: in exfat_truncate()
/Linux-v6.6/include/linux/
Dpktcdvd.h114 int write_size; /* Total size of all bios in the orig_bios */ member
/Linux-v6.6/include/uapi/linux/android/
Dbinder.h177 binder_size_t write_size; /* bytes to write */ member
/Linux-v6.6/kernel/
Dptrace.c999 unsigned long write_size; in ptrace_get_syscall_info() local
1026 write_size = min(actual_size, user_size); in ptrace_get_syscall_info()
1027 return copy_to_user(datavp, &info, write_size) ? -EFAULT : actual_size; in ptrace_get_syscall_info()
/Linux-v6.6/drivers/block/
Dpktcdvd.c1178 pkt->write_size = 0; in pkt_handle_queue()
1196 pkt->write_size += bio->bi_iter.bi_size / CD_FRAMESIZE; in pkt_handle_queue()
1290 dev_dbg(ddev, "Writing %d frames for zone %llx\n", pkt->write_size, pkt->sector); in pkt_start_write()
1292 if (test_bit(PACKET_MERGE_SEGS, &pd->flags) || (pkt->write_size < pkt->frames)) in pkt_start_write()
1325 if ((pkt->write_size < pkt->frames) && (pkt->sleep_time > 0)) in pkt_run_state_machine()
2358 pkt->write_size += in pkt_make_request_write()
2360 if ((pkt->write_size >= pkt->frames) && in pkt_make_request_write()
Damiflop.c181 unsigned int write_size; /* raw write size for one track */ member
741 custom.dsklen = unit[drive].type->write_size/sizeof(short) | DSKLEN_DMAEN|DSKLEN_WRITE; in raw_write()
742 custom.dsklen = unit[drive].type->write_size/sizeof(short) | DSKLEN_DMAEN|DSKLEN_WRITE; in raw_write()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/
Dlink.h176 uint32_t write_size,
/Linux-v6.6/drivers/staging/rtl8723bs/include/
Drtw_mp.h44 u32 buf_size, write_size; member
/Linux-v6.6/drivers/staging/pi433/
Dpi433_if.c709 int write_size = device->free_in_fifo; in pi433_tx_thread() local
714 write_size); in pi433_tx_thread()
715 position += write_size; in pi433_tx_thread()
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c1225 uint32_t write_size = 36; in dp_sdp_message_debugfs_write() local
1235 r = copy_from_user(data, buf, write_size); in dp_sdp_message_debugfs_write()
1237 write_size -= r; in dp_sdp_message_debugfs_write()
1239 dc_stream_send_dp_sdp(acrtc_state->stream, data, write_size); in dp_sdp_message_debugfs_write()
1241 return write_size; in dp_sdp_message_debugfs_write()
/Linux-v6.6/arch/powerpc/lib/
Dsstep.c862 int size, write_size; in emulate_vsx_store() local
904 write_size = (size >= 8) ? 8 : size; in emulate_vsx_store()
905 i = IS_LE ? 8 : 8 - write_size; in emulate_vsx_store()
913 memcpy(mem, &reg->b[i], write_size); in emulate_vsx_store()
917 do_byte_reverse(mem, write_size); in emulate_vsx_store()
/Linux-v6.6/drivers/i2c/busses/
Di2c-mlxbf.c1867 u8 write_size, pec_en, addr, value, byte_cnt; in mlxbf_i2c_irq_send() local
1927 write_size = (byte_cnt - 1) & 0x7f; in mlxbf_i2c_irq_send()
1937 control32 |= rol32(write_size, MLXBF_I2C_SLAVE_WRITE_BYTES_SHIFT); in mlxbf_i2c_irq_send()
/Linux-v6.6/fs/smb/client/
Dfile.c2126 size_t write_size, loff_t *offset) in cifs_write() argument
2139 write_size, *offset, dentry); in cifs_write()
2149 for (total_written = 0; write_size > total_written; in cifs_write()
2167 (unsigned int)write_size - total_written); in cifs_write()

12