Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-pmcmsp.c104 u8 write_len; /* Number of bytes in the write buffer */ member
434 (((cmd->write_len - 1) & 0x7) << 4) | in pmcmsptwi_cmd_to_reg()
447 if ((cmd->type == MSP_TWI_CMD_WRITE && cmd->write_len == 0) || in pmcmsptwi_xfer_cmd()
450 (cmd->read_len == 0 || cmd->write_len == 0))) { in pmcmsptwi_xfer_cmd()
465 tmp >>= (MSP_MAX_BYTES_PER_RW - cmd->write_len) * 8; in pmcmsptwi_xfer_cmd()
469 if (cmd->write_len > 4) in pmcmsptwi_xfer_cmd()
517 cmd.write_len = msg->len; in pmcmsptwi_master_xfer()
525 cmd.write_len = 0; in pmcmsptwi_master_xfer()
531 cmd.write_len = msg->len; in pmcmsptwi_master_xfer()
/drivers/media/usb/dvb-usb/
Dpctv452e.c103 unsigned int write_len, unsigned int read_len) in tt3650_ci_msg() argument
111 if (!data || (write_len > 64 - 4) || (read_len > 64 - 4)) { in tt3650_ci_msg()
125 buf[3] = write_len; in tt3650_ci_msg()
127 memcpy(buf + 4, data, write_len); in tt3650_ci_msg()
130 ret = dvb_usb_generic_rw(d, buf, 4 + write_len, in tt3650_ci_msg()
153 u8 cmd, u8 *data, unsigned int write_len, in tt3650_ci_msg_locked() argument
161 ret = tt3650_ci_msg(d, cmd, data, write_len, read_len); in tt3650_ci_msg_locked()
Dttusb2.c123 static int tt3650_ci_msg(struct dvb_usb_device *d, u8 cmd, u8 *data, unsigned int write_len, unsign… in tt3650_ci_msg() argument
127 ret = ttusb2_msg(d, cmd, data, write_len, rx, read_len); in tt3650_ci_msg()
133 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
140 ret = tt3650_ci_msg(d, cmd, data, write_len, read_len); in tt3650_ci_msg_locked()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c344 void *write_data,unsigned int write_len,
3615 void *write_data,unsigned int write_len, in pvr2_send_request_ex() argument
3643 if (!write_data) write_len = 0; in pvr2_send_request_ex()
3645 if (write_len > PVR2_CTL_BUFFSIZE) { in pvr2_send_request_ex()
3650 write_len,PVR2_CTL_BUFFSIZE); in pvr2_send_request_ex()
3658 write_len,PVR2_CTL_BUFFSIZE); in pvr2_send_request_ex()
3661 if ((!write_len) && (!read_len)) { in pvr2_send_request_ex()
3670 if (write_len && write_data) in pvr2_send_request_ex()
3674 hdw->cmd_debug_write_len = write_len; in pvr2_send_request_ex()
3685 if (write_len && write_data) { in pvr2_send_request_ex()
[all …]
Dpvrusb2-hdw.h247 void *write_ptr,unsigned int write_len,
/drivers/media/pci/ddbridge/
Dddbridge-core.c1414 __u32 write_len; member
1451 if (fio.write_len > 1028 || fio.read_len > 1028) in ddb_ioctl()
1453 if (fio.write_len + fio.read_len > 1028) in ddb_ioctl()
1457 rbuf = wbuf + fio.write_len; in ddb_ioctl()
1459 if (copy_from_user(wbuf, fio.write_buf, fio.write_len)) in ddb_ioctl()
1461 res = flashio(dev, wbuf, fio.write_len, rbuf, fio.read_len); in ddb_ioctl()
/drivers/ps3/
Dps3av.c220 struct ps3av_reply_hdr *recv_buf, int write_len, in ps3av_send_cmd_pkt() argument
231 res = ps3av_vuart_write(ps3av->dev, send_buf, write_len); in ps3av_send_cmd_pkt()
/drivers/input/touchscreen/
Dmelfas_mip4.c184 char *write_buf, unsigned int write_len, in mip4_i2c_xfer() argument
192 .len = write_len, in mip4_i2c_xfer()