Searched refs:write_len (Results 1 – 7 of 7) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-pmcmsp.c | 104 u8 write_len; /* Number of bytes in the write buffer */ member 436 (((cmd->write_len - 1) & 0x7) << 4) | in pmcmsptwi_cmd_to_reg() 449 if ((cmd->type == MSP_TWI_CMD_WRITE && cmd->write_len == 0) || in pmcmsptwi_xfer_cmd() 452 (cmd->read_len == 0 || cmd->write_len == 0))) { in pmcmsptwi_xfer_cmd() 467 tmp >>= (MSP_MAX_BYTES_PER_RW - cmd->write_len) * 8; in pmcmsptwi_xfer_cmd() 471 if (cmd->write_len > 4) in pmcmsptwi_xfer_cmd() 519 cmd.write_len = msg->len; in pmcmsptwi_master_xfer() 527 cmd.write_len = 0; in pmcmsptwi_master_xfer() 533 cmd.write_len = msg->len; in pmcmsptwi_master_xfer()
|
/drivers/media/usb/dvb-usb/ |
D | pctv452e.c | 103 unsigned int write_len, unsigned int read_len) in tt3650_ci_msg() argument 111 BUG_ON(NULL == data && 0 != (write_len | read_len)); in tt3650_ci_msg() 112 BUG_ON(write_len > 64 - 4); in tt3650_ci_msg() 120 buf[3] = write_len; in tt3650_ci_msg() 122 memcpy(buf + 4, data, write_len); in tt3650_ci_msg() 125 ret = dvb_usb_generic_rw(d, buf, 4 + write_len, in tt3650_ci_msg() 146 u8 cmd, u8 *data, unsigned int write_len, in tt3650_ci_msg_locked() argument 154 ret = tt3650_ci_msg(d, cmd, data, write_len, read_len); in tt3650_ci_msg_locked()
|
D | ttusb2.c | 123 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/ |
D | pvrusb2-hdw.c | 344 void *write_data,unsigned int write_len, 3622 void *write_data,unsigned int write_len, in pvr2_send_request_ex() argument 3650 if (!write_data) write_len = 0; in pvr2_send_request_ex() 3652 if (write_len > PVR2_CTL_BUFFSIZE) { in pvr2_send_request_ex() 3657 write_len,PVR2_CTL_BUFFSIZE); in pvr2_send_request_ex() 3665 write_len,PVR2_CTL_BUFFSIZE); in pvr2_send_request_ex() 3668 if ((!write_len) && (!read_len)) { in pvr2_send_request_ex() 3677 if (write_len) { in pvr2_send_request_ex() 3682 hdw->cmd_debug_write_len = write_len; in pvr2_send_request_ex() 3693 if (write_len) { in pvr2_send_request_ex() [all …]
|
D | pvrusb2-hdw.h | 248 void *write_ptr,unsigned int write_len,
|
/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 1414 __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/ |
D | ps3av.c | 220 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()
|