Home
last modified time | relevance | path

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

/linux/drivers/sbus/char/
H A 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/tools/perf/util/
H A 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/drivers/iio/chemical/
H A 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/sound/usb/usx2y/
H A Dusb_stream.c144 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 Dus122l.c110 if (offset >= PAGE_ALIGN(s->write_size)) in usb_stream_hwdep_vm_fault()
194 if (size > PAGE_ALIGN(read ? s->read_size : s->write_size)) { in usb_stream_hwdep_mmap()
196 size, read ? s->read_size : s->write_size); in usb_stream_hwdep_mmap()
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_ddc.c317 uint32_t write_size, in link_query_ddc_data() argument
327 (write_size + payload_size - 1) / payload_size; in link_query_ddc_data()
346 if (write_size != 0) { in link_query_ddc_data()
352 payload.length = write_size; in link_query_ddc_data()
382 &payloads, address, write_size, write_buf, true); in link_query_ddc_data()
H A Dlink_ddc.h60 uint32_t write_size,
/linux/drivers/media/i2c/
H A Dthp7312.c1446 const u8 *write_buf, u16 write_size) in thp7312_write_buf() argument
1451 ret = i2c_master_send(client, write_buf, write_size); in thp7312_write_buf()
1456 const u8 *write_buf, u16 write_size) in __thp7312_flash_reg_write() argument
1462 if (write_size > THP7312_FLASH_MAX_REG_DATA_SIZE) { in __thp7312_flash_reg_write()
1464 __func__, write_size); in __thp7312_flash_reg_write()
1478 memcpy((temp_write_buf + 2), write_buf, write_size); in __thp7312_flash_reg_write()
1479 ret = thp7312_write_buf(thp7312, temp_write_buf, write_size + 2); in __thp7312_flash_reg_write()
1490 const u8 *write_buf, u16 write_size, in __thp7312_flash_reg_read() argument
1497 ret = __thp7312_flash_reg_write(thp7312, write_buf, write_size); in __thp7312_flash_reg_read()
1706 u32 dest, u32 write_size) in thp7312_fw_write_to_flash() argument
[all …]
/linux/sound/soc/mediatek/common/
H A 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/drivers/rtc/
H A 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/drivers/mfd/
H A Dmt6360-core.c460 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/include/uapi/sound/
H A Dusb_stream.h30 unsigned write_size; member
/linux/include/linux/
H A Dpktcdvd.h114 int write_size; /* Total size of all bios in the orig_bios */ member
/linux/fs/exfat/
H A Dfile.c254 goto write_size; in exfat_truncate()
259 goto write_size; in exfat_truncate()
262 write_size: in exfat_truncate()
/linux/include/uapi/linux/android/
H A Dbinder.h177 binder_size_t write_size; /* bytes to write */ member
/linux/kernel/
H A Dptrace.c979 unsigned long write_size; in ptrace_get_syscall_info() local
1006 write_size = min(actual_size, user_size); in ptrace_get_syscall_info()
1007 return copy_to_user(datavp, &info, write_size) ? -EFAULT : actual_size; in ptrace_get_syscall_info()
/linux/drivers/block/
H A Dpktcdvd.c1184 pkt->write_size = 0; in pkt_handle_queue()
1202 pkt->write_size += bio->bi_iter.bi_size / CD_FRAMESIZE; in pkt_handle_queue()
1296 dev_dbg(ddev, "Writing %d frames for zone %llx\n", pkt->write_size, pkt->sector); in pkt_start_write()
1298 if (test_bit(PACKET_MERGE_SEGS, &pd->flags) || (pkt->write_size < pkt->frames)) in pkt_start_write()
1331 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()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dlink.h180 uint32_t write_size,
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c1332 uint32_t write_size = 36; in dp_sdp_message_debugfs_write() local
1342 r = copy_from_user(data, buf, write_size); in dp_sdp_message_debugfs_write()
1344 write_size -= r; in dp_sdp_message_debugfs_write()
1346 dc_stream_send_dp_sdp(acrtc_state->stream, data, write_size); in dp_sdp_message_debugfs_write()
1348 return write_size; in dp_sdp_message_debugfs_write()