Home
last modified time | relevance | path

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

/drivers/sbus/char/
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()
/drivers/iio/chemical/
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,
/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()
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()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_ddc.c523 uint32_t write_size, in dal_ddc_service_query_ddc_data() argument
533 (write_size + payload_size - 1) / payload_size; in dal_ddc_service_query_ddc_data()
541 if (write_size > EDID_SEGMENT_SIZE || read_size > EDID_SEGMENT_SIZE) in dal_ddc_service_query_ddc_data()
557 if (write_size != 0) { in dal_ddc_service_query_ddc_data()
563 payload.length = write_size; in dal_ddc_service_query_ddc_data()
593 &payloads, address, write_size, write_buf, true); in dal_ddc_service_query_ddc_data()
/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()
/drivers/mfd/
Dmt6360-core.c465 int write_size = val_size - MT6360_REGMAP_REG_BYTE_SIZE; in mt6360_regmap_write() local
486 memcpy(buf + MT6360_CRC_PREDATA_OFFSET, val + MT6360_REGMAP_REG_BYTE_SIZE, write_size); in mt6360_regmap_write()
490 write_size += (MT6360_CRC_CRC8_SIZE + MT6360_CRC_DUMMY_BYTE_SIZE); in mt6360_regmap_write()
493 ret = i2c_smbus_write_i2c_block_data(i2c, reg_addr, write_size, in mt6360_regmap_write()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c1011 uint32_t write_size = 36; in dp_sdp_message_debugfs_write() local
1021 r = copy_from_user(data, buf, write_size); in dp_sdp_message_debugfs_write()
1023 write_size -= r; in dp_sdp_message_debugfs_write()
1025 dc_stream_send_dp_sdp(acrtc_state->stream, data, write_size); in dp_sdp_message_debugfs_write()
1027 return write_size; in dp_sdp_message_debugfs_write()
1070 uint32_t write_size = connector->debugfs_dpcd_size; in dp_dpcd_data_write() local
1072 if (!write_size || size < write_size) in dp_dpcd_data_write()
1075 data = kzalloc(write_size, GFP_KERNEL); in dp_dpcd_data_write()
1079 r = copy_from_user(data, buf, write_size); in dp_dpcd_data_write()
1082 connector->debugfs_dpcd_address, data, write_size - r); in dp_dpcd_data_write()
[all …]
/drivers/gpu/drm/amd/display/dc/inc/
Ddc_link_ddc.h95 uint32_t write_size,
/drivers/block/
Dpktcdvd.c1161 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()
Damiflop.c182 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()
/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()
/drivers/staging/rtl8723bs/include/
Drtw_mp.h44 u32 buf_size, write_size; member
/drivers/staging/r8188eu/core/
Drtw_mp.c559 memcpy((u8 *)(pxmitframe->buf_addr + TXDESC_OFFSET), pmptx->buf, pmptx->write_size); in mp_xmit_packet_thread()
630 pmp_priv->tx.write_size = pkt_size; in SetPacketTx()
/drivers/staging/r8188eu/include/
Drtw_mp.h124 u32 buf_size, write_size; member
/drivers/i2c/busses/
Di2c-mlxbf.c1859 u8 write_size, pec_en, addr, byte, value, byte_cnt, desc_size; in mlxbf_smbus_irq_send() local
1931 write_size = (byte_cnt - 1) & 0x7f; in mlxbf_smbus_irq_send()
1941 control32 |= rol32(write_size, MLXBF_I2C_SLAVE_WRITE_BYTES_SHIFT); in mlxbf_smbus_irq_send()
/drivers/android/
Dbinder.c5299 (u64)bwr.write_size, (u64)bwr.write_buffer, in binder_ioctl_write_read()
5302 if (bwr.write_size > 0) { in binder_ioctl_write_read()
5305 bwr.write_size, in binder_ioctl_write_read()
5335 (u64)bwr.write_consumed, (u64)bwr.write_size, in binder_ioctl_write_read()