Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/sbus/char/
Dflash.c30 unsigned long write_size; /* Size of write area */ member
57 size = flash.write_size; in flash_mmap()
178 flash.write_size = resource_size(&op->resource[1]); in flash_probe()
181 flash.write_size = resource_size(&op->resource[0]); in flash_probe()
188 flash.write_base, flash.write_size); in flash_probe()
/Linux-v5.4/tools/perf/util/
Dlzma.c82 ssize_t write_size = sizeof(buf_out) - strm.avail_out; in lzma_decompress_to_file() local
84 if (writen(output_fd, buf_out, write_size) != write_size) { in lzma_decompress_to_file()
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c781 uint32_t write_size = 36; in dp_sdp_message_debugfs_write() local
791 r = copy_from_user(data, buf, write_size); in dp_sdp_message_debugfs_write()
793 write_size -= r; in dp_sdp_message_debugfs_write()
795 dc_stream_send_dp_sdp(acrtc_state->stream, data, write_size); in dp_sdp_message_debugfs_write()
797 return write_size; in dp_sdp_message_debugfs_write()
840 uint32_t write_size = connector->debugfs_dpcd_size; in dp_dpcd_data_write() local
842 if (size < write_size) in dp_dpcd_data_write()
845 data = kzalloc(write_size, GFP_KERNEL); in dp_dpcd_data_write()
849 r = copy_from_user(data, buf, write_size); in dp_dpcd_data_write()
852 connector->debugfs_dpcd_address, data, write_size - r); in dp_dpcd_data_write()
[all …]
/Linux-v5.4/samples/bpf/
Dtracex2_kern.c82 long write_size = PT_REGS_PARM3(ctx); in bpf_prog3() local
87 key.index = log2l(write_size); in bpf_prog3()
/Linux-v5.4/drivers/iio/chemical/
Dvz89x.c61 u8 write_size; member
184 msg[0].len = chip->write_size; in vz89x_i2c_xfer()
328 .write_size = VZ89X_REG_MEASUREMENT_WR_SIZE,
338 .write_size = VZ89TE_REG_MEASUREMENT_WR_SIZE,
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_ddc.c507 uint32_t write_size, in dal_ddc_service_query_ddc_data() argument
517 (write_size + payload_size - 1) / payload_size; in dal_ddc_service_query_ddc_data()
524 if (write_size > EDID_SEGMENT_SIZE || read_size > EDID_SEGMENT_SIZE) in dal_ddc_service_query_ddc_data()
535 .length = write_size, in dal_ddc_service_query_ddc_data()
569 payloads, address, write_size, write_buf, true); in dal_ddc_service_query_ddc_data()
/Linux-v5.4/drivers/spi/
Dspi-sprd.c406 int ret, write_size = 0, read_size = 0; in sprd_spi_txrx_bufs() local
413 write_size += ss->write_bufs(ss, len); in sprd_spi_txrx_bufs()
433 write_size += ss->write_bufs(ss, len); in sprd_spi_txrx_bufs()
448 ret = write_size; in sprd_spi_txrx_bufs()
591 int ret, write_size = 0; in sprd_spi_dma_txrx_bufs() local
596 write_size = sprd_spi_dma_tx_config(ss, t); in sprd_spi_dma_txrx_bufs()
615 write_size = ss->write_bufs(ss, trans_len); in sprd_spi_dma_txrx_bufs()
618 if (write_size < 0) { in sprd_spi_dma_txrx_bufs()
619 ret = write_size; in sprd_spi_dma_txrx_bufs()
647 ret = write_size; in sprd_spi_dma_txrx_bufs()
/Linux-v5.4/sound/usb/usx2y/
Dusb_stream.c145 free_pages_exact(sk->write_page, s->write_size); in usb_stream_free()
160 int write_size; in usb_stream_new() local
184 write_size = max_packsize * packets * USB_STREAM_URBDEPTH; in usb_stream_new()
186 if (read_size >= 256*PAGE_SIZE || write_size >= 256*PAGE_SIZE) { in usb_stream_new()
208 sk->s->write_size = write_size; in usb_stream_new()
210 sk->write_page = alloc_pages_exact(write_size, in usb_stream_new()
662 memset(sk->write_page, 0, s->write_size); in usb_stream_start()
Dus122l.c147 if (offset >= PAGE_ALIGN(s->write_size)) in usb_stream_hwdep_vm_fault()
241 read ? s->read_size : s->write_size); in usb_stream_hwdep_mmap()
243 if (size > PAGE_ALIGN(read ? s->read_size : s->write_size)) { in usb_stream_hwdep_mmap()
245 read ? s->read_size : s->write_size); in usb_stream_hwdep_mmap()
/Linux-v5.4/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-v5.4/include/uapi/sound/
Dusb_stream.h44 unsigned write_size; member
/Linux-v5.4/sound/soc/mediatek/common/
Dmtk-btcvsd.c783 int written_size = count, avail = 0, cur_write_idx, write_size, cont; in mtk_btcvsd_snd_write() local
829 write_size = avail; in mtk_btcvsd_snd_write()
831 write_size = count; in mtk_btcvsd_snd_write()
835 if (write_size > cont) in mtk_btcvsd_snd_write()
836 write_size = cont; in mtk_btcvsd_snd_write()
841 write_size)) { in mtk_btcvsd_snd_write()
848 bt->tx->packet_w += write_size / packet_size; in mtk_btcvsd_snd_write()
850 cur_buf_ofs += write_size; in mtk_btcvsd_snd_write()
851 count -= write_size; in mtk_btcvsd_snd_write()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/
Ddc_link_ddc.h94 uint32_t write_size,
/Linux-v5.4/include/linux/
Dpktcdvd.h114 int write_size; /* Total size of all bios in the orig_bios */ member
/Linux-v5.4/include/uapi/linux/android/
Dbinder.h177 binder_size_t write_size; /* bytes to write */ member
/Linux-v5.4/kernel/
Dptrace.c965 unsigned long write_size; in ptrace_get_syscall_info() local
992 write_size = min(actual_size, user_size); in ptrace_get_syscall_info()
993 return copy_to_user(datavp, &info, write_size) ? -EFAULT : actual_size; in ptrace_get_syscall_info()
/Linux-v5.4/drivers/block/
Dpktcdvd.c1220 pkt->write_size = 0; in pkt_handle_queue()
1237 pkt->write_size += bio->bi_iter.bi_size / CD_FRAMESIZE; in pkt_handle_queue()
1295 pkt->write_size, (unsigned long long)pkt->sector); in pkt_start_write()
1297 if (test_bit(PACKET_MERGE_SEGS, &pd->flags) || (pkt->write_size < pkt->frames)) in pkt_start_write()
1329 if ((pkt->write_size < pkt->frames) && (pkt->sleep_time > 0)) in pkt_run_state_machine()
2369 pkt->write_size += in pkt_make_request_write()
2371 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-v5.4/drivers/staging/pi433/
Dpi433_if.c707 int write_size = device->free_in_fifo; in pi433_tx_thread() local
712 write_size); in pi433_tx_thread()
713 position += write_size; in pi433_tx_thread()
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_mp.h49 u32 buf_size, write_size; member
/Linux-v5.4/arch/powerpc/lib/
Dsstep.c743 int size, write_size; in emulate_vsx_store() local
769 write_size = (size >= 8) ? 8 : size; in emulate_vsx_store()
770 i = IS_LE ? 8 : 8 - write_size; in emulate_vsx_store()
778 memcpy(mem, &reg->b[i], write_size); in emulate_vsx_store()
782 do_byte_reverse(mem, write_size); in emulate_vsx_store()
/Linux-v5.4/fs/cifs/
Dfile.c1771 size_t write_size, loff_t *offset) in cifs_write() argument
1784 write_size, *offset, dentry); in cifs_write()
1794 for (total_written = 0; write_size > total_written; in cifs_write()
1812 (unsigned int)write_size - total_written); in cifs_write()
/Linux-v5.4/drivers/android/
Dbinder.c4845 (u64)bwr.write_size, (u64)bwr.write_buffer, in binder_ioctl_write_read()
4848 if (bwr.write_size > 0) { in binder_ioctl_write_read()
4851 bwr.write_size, in binder_ioctl_write_read()
4880 (u64)bwr.write_consumed, (u64)bwr.write_size, in binder_ioctl_write_read()
/Linux-v5.4/include/linux/platform_data/
Dcros_ec_commands.h3764 uint8_t write_size; /* Either 8 or 16. */ member