/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 | 80 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 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/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()
|
H A D | us122l.c | 110 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 D | link_ddc.c | 317 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 D | link_ddc.h | 60 uint32_t write_size,
|
/linux/drivers/media/i2c/ |
H A D | thp7312.c | 1446 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 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 | 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/ |
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/include/uapi/sound/ |
H A D | usb_stream.h | 30 unsigned write_size; member
|
/linux/include/linux/ |
H A D | pktcdvd.h | 114 int write_size; /* Total size of all bios in the orig_bios */ member
|
/linux/fs/exfat/ |
H A D | file.c | 254 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 D | binder.h | 177 binder_size_t write_size; /* bytes to write */ member
|
/linux/kernel/ |
H A D | ptrace.c | 979 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 D | pktcdvd.c | 1184 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 D | link.h | 180 uint32_t write_size,
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_debugfs.c | 1332 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()
|