Home
last modified time | relevance | path

Searched refs:write_len (Results 1 – 14 of 14) sorted by relevance

/drivers/i2c/busses/
Di2c-cp2615.c53 u8 tag, i2caddr, read_len, write_len; member
98 return cp2615_init_iop_msg(ret, iop_DoI2cTransfer, data, 4 + data->write_len); in cp2615_init_i2c_msg()
230 i2c_w.write_len = 0; in cp2615_i2c_master_xfer()
233 i2c_w.write_len = msg->len; in cp2615_i2c_master_xfer()
234 memcpy(&i2c_w.data, msg->buf, i2c_w.write_len); in cp2615_i2c_master_xfer()
Di2c-mlxbf.c707 u8 op_idx, data_idx, data_len, write_len, read_len; in mlxbf_i2c_smbus_start_transaction() local
721 write_len = 0; in mlxbf_i2c_smbus_start_transaction()
762 write_len += operation->length; in mlxbf_i2c_smbus_start_transaction()
787 data_len = write_len + 1; /* Add one byte of the slave address. */ in mlxbf_i2c_smbus_start_transaction()
796 ret = mlxbf_i2c_smbus_enable(priv, slave, write_len, block_en, in mlxbf_i2c_smbus_start_transaction()
/drivers/fsi/
Dfsi-core.c610 size_t total_len, write_len; in fsi_slave_sysfs_raw_write() local
619 for (total_len = 0; total_len < count; total_len += write_len) { in fsi_slave_sysfs_raw_write()
620 write_len = aligned_access_size(off, count - total_len); in fsi_slave_sysfs_raw_write()
622 rc = fsi_slave_write(slave, off, buf + total_len, write_len); in fsi_slave_sysfs_raw_write()
626 off += write_len; in fsi_slave_sysfs_raw_write()
734 size_t total_len, write_len; in cfam_write() local
745 for (total_len = 0; total_len < count; total_len += write_len) { in cfam_write()
748 write_len = min_t(size_t, count, 4); in cfam_write()
749 write_len -= off & 0x3; in cfam_write()
751 rc = copy_from_user(&data, buf + total_len, write_len); in cfam_write()
[all …]
/drivers/media/usb/dvb-usb/
Dpctv452e.c107 unsigned int write_len, unsigned int read_len) in tt3650_ci_msg() argument
115 if (!data || (write_len > 64 - 4) || (read_len > 64 - 4)) { in tt3650_ci_msg()
129 buf[3] = write_len; in tt3650_ci_msg()
131 memcpy(buf + 4, data, write_len); in tt3650_ci_msg()
134 ret = dvb_usb_generic_rw(d, buf, 4 + write_len, in tt3650_ci_msg()
157 u8 cmd, u8 *data, unsigned int write_len, in tt3650_ci_msg_locked() argument
165 ret = tt3650_ci_msg(d, cmd, data, write_len, read_len); in tt3650_ci_msg_locked()
Dttusb2.c120 static int tt3650_ci_msg(struct dvb_usb_device *d, u8 cmd, u8 *data, unsigned int write_len, unsign… in tt3650_ci_msg() argument
124 ret = ttusb2_msg(d, cmd, data, write_len, rx, read_len); in tt3650_ci_msg()
130 static int tt3650_ci_msg_locked(struct dvb_ca_en50221 *ca, u8 cmd, u8 *data, unsigned int write_len in tt3650_ci_msg_locked() argument
137 ret = tt3650_ci_msg(d, cmd, data, write_len, read_len); in tt3650_ci_msg_locked()
/drivers/input/touchscreen/
Dilitek_ts_i2c.c93 u8 *cmd, int write_len, int delay, in ilitek_i2c_write_and_read() argument
102 .len = write_len, in ilitek_i2c_write_and_read()
113 if (delay == 0 && write_len > 0 && read_len > 0) { in ilitek_i2c_write_and_read()
118 if (write_len > 0) { in ilitek_i2c_write_and_read()
Dmelfas_mip4.c180 char *write_buf, unsigned int write_len, in mip4_i2c_xfer() argument
188 .len = write_len, in mip4_i2c_xfer()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c332 void *write_data,unsigned int write_len,
3579 void *write_data,unsigned int write_len, in pvr2_send_request_ex() argument
3607 if (!write_data) write_len = 0; in pvr2_send_request_ex()
3609 if (write_len > PVR2_CTL_BUFFSIZE) { in pvr2_send_request_ex()
3613 write_len,PVR2_CTL_BUFFSIZE); in pvr2_send_request_ex()
3620 write_len,PVR2_CTL_BUFFSIZE); in pvr2_send_request_ex()
3623 if ((!write_len) && (!read_len)) { in pvr2_send_request_ex()
3632 if (write_len && write_data) in pvr2_send_request_ex()
3636 hdw->cmd_debug_write_len = write_len; in pvr2_send_request_ex()
3647 if (write_len && write_data) { in pvr2_send_request_ex()
[all …]
Dpvrusb2-hdw.h234 void *write_ptr,unsigned int write_len,
/drivers/spi/
Dspi-cadence-quadspi.c570 size_t write_len; in cqspi_command_write() local
613 write_len = (n_tx > 4) ? 4 : n_tx; in cqspi_command_write()
614 memcpy(&data, txbuf, write_len); in cqspi_command_write()
615 txbuf += write_len; in cqspi_command_write()
620 write_len = n_tx - 4; in cqspi_command_write()
621 memcpy(&data, txbuf, write_len); in cqspi_command_write()
/drivers/iommu/
Dvirtio-iommu.c157 size_t write_len; in __viommu_sync_req() local
175 write_len = req->len - req->write_offset; in __viommu_sync_req()
176 if (req->writeback && len == write_len) in __viommu_sync_req()
178 write_len); in __viommu_sync_req()
/drivers/net/wireless/rsi/
Drsi_91x_hal.c650 u32 write_addr, write_len; in bl_write_header() local
664 write_len = sizeof(struct bl_header); in bl_write_header()
669 (u8 *)bl_hdr, write_len); in bl_write_header()
688 (u8 *)bl_hdr, write_len); in bl_write_header()
/drivers/base/regmap/
Dregmap.c2138 size_t write_len; in regmap_noinc_write() local
2161 write_len = map->max_raw_write; in regmap_noinc_write()
2163 write_len = val_len; in regmap_noinc_write()
2164 ret = _regmap_raw_write(map, reg, val, write_len, true); in regmap_noinc_write()
2167 val = ((u8 *)val) + write_len; in regmap_noinc_write()
2168 val_len -= write_len; in regmap_noinc_write()
/drivers/ps3/
Dps3av.c207 struct ps3av_reply_hdr *recv_buf, int write_len, in ps3av_send_cmd_pkt() argument
218 res = ps3av_vuart_write(ps3av->dev, send_buf, write_len); in ps3av_send_cmd_pkt()