| /linux-6.15/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-6.15/tools/perf/util/ |
| H A D | lzma.c | 73 ssize_t write_size = sizeof(buf_out) - strm.avail_out; in lzma_decompress_stream_to_file() local 75 if (writen(output_fd, buf_out, write_size) != write_size) { in lzma_decompress_stream_to_file()
|
| /linux-6.15/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-6.15/drivers/spi/ |
| H A D | spi-sprd.c | 405 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-6.15/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-6.15/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-6.15/drivers/rtc/ |
| H A D | rtc-meson.c | 273 unsigned int write_offset, write_size; in meson_rtc_regmem_write() local 276 write_size = bytes / 4; in meson_rtc_regmem_write() 278 return regmap_bulk_write(rtc->serial, write_offset, buf, write_size); in meson_rtc_regmem_write()
|
| /linux-6.15/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-6.15/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() 1490 const u8 *write_buf, u16 write_size, in __thp7312_flash_reg_read() argument 1706 u32 dest, u32 write_size) in thp7312_fw_write_to_flash() argument 1718 command[cmd_size + 3] = ((write_size - 1) & 0xff0000) >> 16; in thp7312_fw_write_to_flash() 1719 command[cmd_size + 4] = ((write_size - 1) & 0x00ff00) >> 8; in thp7312_fw_write_to_flash() [all …]
|
| /linux-6.15/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-6.15/include/uapi/sound/ |
| H A D | usb_stream.h | 30 unsigned write_size; member
|
| /linux-6.15/drivers/edac/ |
| H A D | scrub.c | 85 EDAC_SCRUB_ATTR_STORE(size, write_size, u64, kstrtou64) in EDAC_SCRUB_ATTR_STORE() 108 if (ops->write_size) in EDAC_SCRUB_ATTR_STORE()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_dbg.c | 120 u32 buff_capacity, write_size; in mlx5dr_dbg_dump_data_print() local 132 write_size = (remain_size > 0) ? size : buff_capacity; in mlx5dr_dbg_dump_data_print() 134 if (likely(write_size)) { in mlx5dr_dbg_dump_data_print() 135 ret = snprintf(buff->buff + buff->index, write_size + 1, "%s", str); in mlx5dr_dbg_dump_data_print() 139 buff->index += write_size; in mlx5dr_dbg_dump_data_print() 148 ret = snprintf(buff->buff, remain_size + 1, "%s", str + write_size); in mlx5dr_dbg_dump_data_print()
|
| /linux-6.15/include/linux/ |
| H A D | pktcdvd.h | 114 int write_size; /* Total size of all bios in the orig_bios */ member
|
| /linux-6.15/drivers/hid/intel-thc-hid/intel-thc/ |
| H A D | intel-thc-dev.h | 92 const u32 write_size, const u32 *write_buffer,
|
| H A D | intel-thc-dev.c | 425 const u32 write_size, const u32 *write_buffer, in thc_tic_pio_write_and_read() argument 440 i2c_ctrl = FIELD_PREP(THC_M_PRT_SW_SEQ_I2C_WR_CNTRL_THC_PIO_I2C_WBC, write_size); in thc_tic_pio_write_and_read() 454 pio_start(dev, write_size, write_buffer); in thc_tic_pio_write_and_read() 1561 u32 write_size = sizeof(u32); in thc_i2c_subip_regs_restore() local 1565 write_size, (u32 *)&dev->i2c_subip_regs + i); in thc_i2c_subip_regs_restore()
|
| /linux-6.15/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-6.15/include/uapi/linux/android/ |
| H A D | binder.h | 177 binder_size_t write_size; /* bytes to write */ member
|
| /linux-6.15/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-6.15/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()
|
| H A D | amiflop.c | 181 unsigned int write_size; /* raw write size for one track */ member 742 custom.dsklen = unit[drive].type->write_size/sizeof(short) | DSKLEN_DMAEN|DSKLEN_WRITE; in raw_write() 743 custom.dsklen = unit[drive].type->write_size/sizeof(short) | DSKLEN_DMAEN|DSKLEN_WRITE; in raw_write()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/inc/ |
| H A D | link.h | 180 uint32_t write_size,
|
| /linux-6.15/drivers/net/ethernet/sfc/ |
| H A D | mcdi.c | 1636 size_t write_size = 0; in efx_mcdi_nvram_info() local 1652 write_size = MCDI_DWORD(outbuf, NVRAM_INFO_V2_OUT_WRITESIZE); in efx_mcdi_nvram_info() 1654 write_size = EFX_MCDI_NVRAM_DEFAULT_WRITE_LEN; in efx_mcdi_nvram_info() 1656 *write_size_out = write_size; in efx_mcdi_nvram_info()
|