Home
last modified time | relevance | path

Searched refs:rmsg (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/i2c/busses/
Di2c-viperboard.c71 struct vprbrd_i2c_read_msg *rmsg, int bytes_xfer) in vprbrd_i2c_receive() argument
78 usb_sndbulkpipe(usb_dev, VPRBRD_EP_OUT), rmsg, in vprbrd_i2c_receive()
90 usb_rcvbulkpipe(usb_dev, VPRBRD_EP_IN), rmsg, in vprbrd_i2c_receive()
122 struct vprbrd_i2c_read_msg *rmsg = in vprbrd_i2c_read() local
126 rmsg->header.cmd = VPRBRD_I2C_CMD_READ; in vprbrd_i2c_read()
128 rmsg->header.addr = cpu_to_le16(start + 0x4000); in vprbrd_i2c_read()
132 rmsg->header.len0 = remain_len; in vprbrd_i2c_read()
133 rmsg->header.len1 = 0x00; in vprbrd_i2c_read()
134 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
135 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
[all …]
/linux-4.1.27/drivers/staging/i2o/
Di2o_config.c673 u32 rmsg[I2O_OUTBOUND_MSG_FRAME_SIZE]; in i2o_cfg_passthru32() local
681 memset(&rmsg, 0, I2O_OUTBOUND_MSG_FRAME_SIZE * 4); in i2o_cfg_passthru32()
689 if (size > sizeof(rmsg)) { in i2o_cfg_passthru32()
695 if (copy_from_user(rmsg, user_msg, size)) { in i2o_cfg_passthru32()
703 sg = (struct sg_simple_element *)(rmsg + sg_offset); in i2o_cfg_passthru32()
913 u32 rmsg[I2O_OUTBOUND_MSG_FRAME_SIZE]; in i2o_cfg_passthru() local
921 memset(&rmsg, 0, I2O_OUTBOUND_MSG_FRAME_SIZE * 4); in i2o_cfg_passthru()
929 if (size > sizeof(rmsg)) { in i2o_cfg_passthru()
935 if (copy_from_user(rmsg, user_msg, size)) { in i2o_cfg_passthru()
943 sg = (struct sg_simple_element *)(rmsg + sg_offset); in i2o_cfg_passthru()