Lines Matching +full:write +full:- +full:back
21 [struct cn_msg] - connector header.
23 [struct w1_netlink_msg] - w1 netlink header.
24 __u8 type - message type.
36 (read/write/touch)
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;
87 Replies to W1_LIST_MASTERS should send a message back to the userspace
116 [64bit-id0 ... 64bit-idN]
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) +
143 requested by the user, i.e. read/write/touch IO requests will not contain
198 1. Documentation/driver-api/connector.rst
202 read/write/search commands for all master/slave devices found on the bus.