Home
last modified time | relevance | path

Searched refs:w1_netlink_cmd (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/w1/
Dw1_netlink.c55 struct w1_netlink_cmd *cmd = (struct w1_netlink_cmd *)(hdr + 1); in w1_send_slave()
69 sizeof(struct w1_netlink_cmd); in w1_send_slave()
70 hdr->len = sizeof(struct w1_netlink_cmd); in w1_send_slave()
86 struct w1_netlink_cmd *cmd = (struct w1_netlink_cmd *)(hdr + 1); in w1_process_search_command()
104 struct w1_netlink_cmd *cmd) in w1_send_read_reply()
108 struct w1_netlink_cmd *c; in w1_send_read_reply()
114 sizeof(struct w1_netlink_cmd) + in w1_send_read_reply()
121 c = (struct w1_netlink_cmd *)(h + 1); in w1_send_read_reply()
125 memcpy(c, cmd, sizeof(struct w1_netlink_cmd)); in w1_send_read_reply()
129 sizeof(struct w1_netlink_cmd) + cmd->len; in w1_send_read_reply()
[all …]
Dw1_netlink.h65 struct w1_netlink_cmd struct
/linux-3.4.99/Documentation/w1/
Dw1.netlink43 [struct w1_netlink_cmd] - command for given master or slave device.
58 zero or more attached w1_netlink_cmd messages.
60 For event messages there are no w1_netlink_cmd embedded structures,
68 command request. One reply is generated exactly for one w1_netlink_cmd
72 [cn_msg][w1_netlink_msg][w1_netlink_cmd]
74 sizeof(struct w1_netlink_cmd) +
76 w1_netlink_msg.len = sizeof(struct w1_netlink_cmd) + cmd->len;
77 w1_netlink_cmd.len = cmd->len;
98 [w1_netlink_cmd cmd = W1_CMD_SEARCH or W1_CMD_ALARM_SEARCH]
104 [w1_netlink_cmd cmd = W1_CMD_SEARCH or W1_CMD_ALARM_SEARCH
[all …]