/linux/drivers/sbus/char/ |
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/ |
A D | lzma.c | 82 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/drivers/iio/chemical/ |
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/ |
A D | spi-sprd.c | 406 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() 584 int ret, write_size = 0; in sprd_spi_dma_txrx_bufs() local 589 write_size = sprd_spi_dma_tx_config(ss, t); in sprd_spi_dma_txrx_bufs() 608 write_size = ss->write_bufs(ss, trans_len); in sprd_spi_dma_txrx_bufs() 611 if (write_size < 0) { in sprd_spi_dma_txrx_bufs() 612 ret = write_size; in sprd_spi_dma_txrx_bufs() 640 ret = write_size; in sprd_spi_dma_txrx_bufs()
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_link_ddc.c | 524 uint32_t write_size, in dal_ddc_service_query_ddc_data() argument 534 (write_size + payload_size - 1) / payload_size; in dal_ddc_service_query_ddc_data() 542 if (write_size > EDID_SEGMENT_SIZE || read_size > EDID_SEGMENT_SIZE) in dal_ddc_service_query_ddc_data() 559 if (write_size != 0) { in dal_ddc_service_query_ddc_data() 565 payload.length = write_size; in dal_ddc_service_query_ddc_data() 595 &payloads, address, write_size, write_buf, true); in dal_ddc_service_query_ddc_data()
|
/linux/samples/bpf/ |
A D | tracex2_kern.c | 84 long write_size = PT_REGS_PARM3(ctx); in SYSCALL() local 89 key.index = log2l(write_size); in SYSCALL()
|
/linux/sound/usb/usx2y/ |
A D | usb_stream.c | 147 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()
|
A D | us122l.c | 121 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/sound/soc/mediatek/common/ |
A D | mtk-btcvsd.c | 783 int written_size = count, avail, 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/drivers/rtc/ |
A D | rtc-meson.c | 274 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/drivers/mfd/ |
A D | mt6360-core.c | 460 int write_size = val_size - MT6360_REGMAP_REG_BYTE_SIZE; in mt6360_regmap_write() local 476 memcpy(buf + MT6360_CRC_PREDATA_OFFSET, val + MT6360_REGMAP_REG_BYTE_SIZE, write_size); in mt6360_regmap_write() 480 write_size += (MT6360_CRC_CRC8_SIZE + MT6360_CRC_DUMMY_BYTE_SIZE); in mt6360_regmap_write() 483 ret = i2c_smbus_write_i2c_block_data(i2c, reg_addr, write_size, in mt6360_regmap_write()
|
/linux/include/uapi/sound/ |
A D | usb_stream.h | 44 unsigned write_size; member
|
/linux/fs/exfat/ |
A D | file.c | 241 goto write_size; in exfat_truncate() 246 goto write_size; in exfat_truncate() 256 write_size: in exfat_truncate()
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_debugfs.c | 1008 uint32_t write_size = 36; in dp_sdp_message_debugfs_write() local 1018 r = copy_from_user(data, buf, write_size); in dp_sdp_message_debugfs_write() 1020 write_size -= r; in dp_sdp_message_debugfs_write() 1022 dc_stream_send_dp_sdp(acrtc_state->stream, data, write_size); in dp_sdp_message_debugfs_write() 1024 return write_size; in dp_sdp_message_debugfs_write() 1067 uint32_t write_size = connector->debugfs_dpcd_size; in dp_dpcd_data_write() local 1069 if (!write_size || size < write_size) in dp_dpcd_data_write() 1072 data = kzalloc(write_size, GFP_KERNEL); in dp_dpcd_data_write() 1076 r = copy_from_user(data, buf, write_size); in dp_dpcd_data_write() 1079 connector->debugfs_dpcd_address, data, write_size - r); in dp_dpcd_data_write() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
A D | dc_link_ddc.h | 96 uint32_t write_size,
|
/linux/include/linux/ |
A D | pktcdvd.h | 114 int write_size; /* Total size of all bios in the orig_bios */ member
|
/linux/include/uapi/linux/android/ |
A D | binder.h | 177 binder_size_t write_size; /* bytes to write */ member
|
/linux/kernel/ |
A D | ptrace.c | 999 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/drivers/block/ |
A D | pktcdvd.c | 1161 pkt->write_size = 0; in pkt_handle_queue() 1178 pkt->write_size += bio->bi_iter.bi_size / CD_FRAMESIZE; in pkt_handle_queue() 1270 pkt->write_size, (unsigned long long)pkt->sector); in pkt_start_write() 1272 if (test_bit(PACKET_MERGE_SEGS, &pd->flags) || (pkt->write_size < pkt->frames)) in pkt_start_write() 1304 if ((pkt->write_size < pkt->frames) && (pkt->sleep_time > 0)) in pkt_run_state_machine() 2341 pkt->write_size += in pkt_make_request_write() 2343 if ((pkt->write_size >= pkt->frames) && in pkt_make_request_write()
|
A D | amiflop.c | 181 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/drivers/staging/pi433/ |
A D | pi433_if.c | 707 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/drivers/staging/rtl8723bs/include/ |
A D | rtw_mp.h | 44 u32 buf_size, write_size; member
|
/linux/drivers/i2c/busses/ |
A D | i2c-mlxbf.c | 1839 u8 write_size, pec_en, addr, byte, value, byte_cnt, desc_size; in mlxbf_smbus_irq_send() local 1911 write_size = (byte_cnt - 1) & 0x7f; in mlxbf_smbus_irq_send() 1921 control32 |= rol32(write_size, MLXBF_I2C_SLAVE_WRITE_BYTES_SHIFT); in mlxbf_smbus_irq_send()
|
/linux/arch/powerpc/lib/ |
A D | sstep.c | 867 int size, write_size; in emulate_vsx_store() local 909 write_size = (size >= 8) ? 8 : size; in emulate_vsx_store() 910 i = IS_LE ? 8 : 8 - write_size; in emulate_vsx_store() 918 memcpy(mem, ®->b[i], write_size); in emulate_vsx_store() 922 do_byte_reverse(mem, write_size); in emulate_vsx_store()
|
/linux/fs/cifs/ |
A D | file.c | 1915 size_t write_size, loff_t *offset) in cifs_write() argument 1928 write_size, *offset, dentry); in cifs_write() 1938 for (total_written = 0; write_size > total_written; in cifs_write() 1956 (unsigned int)write_size - total_written); in cifs_write()
|