Lines Matching +full:data +full:- +full:mirror
21 [struct cn_msg] - connector header.
22 Its length field is equal to size of the attached data
23 [struct w1_netlink_msg] - w1 netlink header.
24 __u8 type - message type.
37 __u8 status - error indication from kernel
38 __u16 len - size of data attached to this header data
40 __u8 id[8]; - slave unique device id
42 __u32 id; - master's id
43 __u32 res; - reserved
47 [struct w1_netlink_cmd] - command for given master or slave device.
48 __u8 cmd - command opcode.
49 W1_CMD_READ - read command
50 W1_CMD_WRITE - write command
51 W1_CMD_SEARCH - search command
52 W1_CMD_ALARM_SEARCH - alarm search command
53 W1_CMD_TOUCH - touch command
54 (write and sample data back to userspace)
55 W1_CMD_RESET - send bus reset
56 W1_CMD_SLAVE_ADD - add slave to kernel list
57 W1_CMD_SLAVE_REMOVE - remove slave from kernel list
58 W1_CMD_LIST_SLAVES - get slaves list from kernel
59 __u8 res - reserved
60 __u16 len - length of data for this command
61 For read command data must be allocated like for write command
62 __u8 data[0] - data for this command
77 read request. Replies are not combined when sent - i.e. typical reply
83 cmd->len;
84 w1_netlink_msg.len = sizeof(struct w1_netlink_cmd) + cmd->len;
85 w1_netlink_cmd.len = cmd->len;
116 [64bit-id0 ... 64bit-idN]
118 Length in each header corresponds to the size of the data behind it, so
119 w1_netlink_cmd->len = N * 8; where N is number of IDs in this message.
124 w1_netlink_msg->len = sizeof(struct w1_netlink_cmd) + N * 8;
125 cn_msg->len = sizeof(struct w1_netlink_msg) +
142 as request message except that length parameters do not account for data
144 data, so w1_netlink_cmd.len will be 0, w1_netlink_msg.len will be size
154 All other fields in every structure will mirror the same parameters in the
198 1. Documentation/driver-api/connector.rst