Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 141) sorted by relevance

123456

/include/uapi/linux/
Dcec-funcs.h14 static inline void cec_msg_active_source(struct cec_msg *msg, __u16 phys_addr) in cec_msg_active_source() argument
16 msg->len = 4; in cec_msg_active_source()
17 msg->msg[0] |= 0xf; /* broadcast */ in cec_msg_active_source()
18 msg->msg[1] = CEC_MSG_ACTIVE_SOURCE; in cec_msg_active_source()
19 msg->msg[2] = phys_addr >> 8; in cec_msg_active_source()
20 msg->msg[3] = phys_addr & 0xff; in cec_msg_active_source()
23 static inline void cec_ops_active_source(const struct cec_msg *msg, in cec_ops_active_source() argument
26 *phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_active_source()
29 static inline void cec_msg_image_view_on(struct cec_msg *msg) in cec_msg_image_view_on() argument
31 msg->len = 2; in cec_msg_image_view_on()
[all …]
Dcec.h64 __u8 msg[CEC_MAX_MSG_SIZE]; member
78 static inline __u8 cec_msg_initiator(const struct cec_msg *msg) in cec_msg_initiator() argument
80 return msg->msg[0] >> 4; in cec_msg_initiator()
87 static inline __u8 cec_msg_destination(const struct cec_msg *msg) in cec_msg_destination() argument
89 return msg->msg[0] & 0xf; in cec_msg_destination()
96 static inline int cec_msg_opcode(const struct cec_msg *msg) in cec_msg_opcode() argument
98 return msg->len > 1 ? msg->msg[1] : -1; in cec_msg_opcode()
105 static inline int cec_msg_is_broadcast(const struct cec_msg *msg) in cec_msg_is_broadcast() argument
107 return (msg->msg[0] & 0xf) == 0xf; in cec_msg_is_broadcast()
119 static inline void cec_msg_init(struct cec_msg *msg, in cec_msg_init() argument
[all …]
/include/trace/events/
Dspi.h104 TP_PROTO(struct spi_message *msg),
106 TP_ARGS(msg),
111 __field( struct spi_message *, msg )
115 __entry->bus_num = msg->spi->controller->bus_num;
116 __entry->chip_select = msg->spi->chip_select;
117 __entry->msg = msg;
122 (struct spi_message *)__entry->msg)
127 TP_PROTO(struct spi_message *msg),
129 TP_ARGS(msg)
135 TP_PROTO(struct spi_message *msg),
[all …]
Dnetlink.h11 TP_PROTO(const char *msg),
13 TP_ARGS(msg),
16 __string( msg, msg )
20 __assign_str(msg, msg);
23 TP_printk("msg=%s", __get_str(msg))
Di2c.h26 TP_PROTO(const struct i2c_adapter *adap, const struct i2c_msg *msg,
28 TP_ARGS(adap, msg, num),
35 __dynamic_array(__u8, buf, msg->len) ),
39 __entry->addr = msg->addr;
40 __entry->flags = msg->flags;
41 __entry->len = msg->len;
42 memcpy(__get_dynamic_array(buf), msg->buf, msg->len);
59 TP_PROTO(const struct i2c_adapter *adap, const struct i2c_msg *msg,
61 TP_ARGS(adap, msg, num),
72 __entry->addr = msg->addr;
[all …]
Dprintk.h16 __dynamic_array(char, msg, len + 1)
28 memcpy(__get_str(msg), text, len);
29 __get_str(msg)[len] = 0;
32 TP_printk("%s", __get_str(msg))
Dfsi_master_gpio.h12 TP_PROTO(const struct fsi_master_gpio *master, int bits, uint64_t msg),
13 TP_ARGS(master, bits, msg),
17 __field(uint64_t, msg)
22 __entry->msg = msg & ((1ull<<bits) - 1);
27 __entry->msg,
33 TP_PROTO(const struct fsi_master_gpio *master, int bits, uint64_t msg),
34 TP_ARGS(master, bits, msg),
38 __field(uint64_t, msg)
43 __entry->msg = msg & ((1ull<<bits) - 1);
48 __entry->msg,
Ddevlink.h53 TP_PROTO(const struct devlink *devlink, int err, const char *msg),
55 TP_ARGS(devlink, err, msg),
62 __string(msg, msg)
70 __assign_str(msg, msg);
75 __get_str(driver_name), __entry->err, __get_str(msg))
83 const char *msg),
85 TP_ARGS(devlink, reporter_name, msg),
91 __string(reporter_name, msg)
92 __string(msg, msg)
100 __assign_str(msg, msg);
[all …]
Dqla.h25 __dynamic_array(char, msg, QLA_MSG_MAX)
29 vsnprintf(__get_str(msg), QLA_MSG_MAX, vaf->fmt, *vaf->va);
32 TP_printk("%s %s", __get_str(buf), __get_str(msg))
/include/linux/
Dskmsg.h112 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len,
116 void sk_msg_trim(struct sock *sk, struct sk_msg *msg, int len);
117 int sk_msg_free(struct sock *sk, struct sk_msg *msg);
118 int sk_msg_free_nocharge(struct sock *sk, struct sk_msg *msg);
119 void sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes);
120 void sk_msg_free_partial_nocharge(struct sock *sk, struct sk_msg *msg,
123 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes);
124 void sk_msg_return_zero(struct sock *sk, struct sk_msg *msg, int bytes);
127 struct sk_msg *msg, u32 bytes);
129 struct sk_msg *msg, u32 bytes);
[all …]
Dbuild_bug.h39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument
78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) argument
Dipmi.h51 struct kernel_ipmi_msg msg; member
66 void (*done)(struct ipmi_recv_msg *msg);
76 void ipmi_free_recv_msg(struct ipmi_recv_msg *msg);
86 void (*ipmi_recv_hndl)(struct ipmi_recv_msg *msg,
169 struct kernel_ipmi_msg *msg,
187 struct kernel_ipmi_msg *msg,
Dcompiler_attributes.h134 # define __compiletime_error(msg) __attribute__((__error__(msg))) argument
136 # define __compiletime_error(msg) argument
307 # define __compiletime_warning(msg) __attribute__((__warning__(msg))) argument
309 # define __compiletime_warning(msg) argument
Dipmi_smi.h70 void (*done)(struct ipmi_smi_msg *msg);
108 struct ipmi_smi_msg *msg);
249 struct ipmi_smi_msg *msg);
255 static inline void ipmi_free_smi_msg(struct ipmi_smi_msg *msg) in ipmi_free_smi_msg() argument
257 msg->done(msg); in ipmi_free_smi_msg()
Dsocket.h118 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) argument
123 #define for_each_cmsghdr(cmsg, msg) \ argument
124 for (cmsg = CMSG_FIRSTHDR(msg); \
126 cmsg = CMSG_NXTHDR(msg, cmsg))
158 static inline size_t msg_data_left(struct msghdr *msg) in msg_data_left() argument
160 return iov_iter_count(&msg->msg_iter); in msg_data_left()
382 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss);
383 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
388 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg,
390 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg,
[all …]
/include/linux/can/dev/
Dpeak_canfd.h213 static inline int pucan_error_get_channel(const struct pucan_error_msg *msg) in pucan_error_get_channel() argument
215 return msg->channel_type_d & 0x0f; in pucan_error_get_channel()
232 static inline int pucan_status_get_channel(const struct pucan_status_msg *msg) in pucan_status_get_channel() argument
234 return msg->channel_p_w_b & 0x0f; in pucan_status_get_channel()
237 static inline int pucan_status_is_rx_barrier(const struct pucan_status_msg *msg) in pucan_status_is_rx_barrier() argument
239 return msg->channel_p_w_b & PUCAN_RX_BARRIER; in pucan_status_is_rx_barrier()
242 static inline int pucan_status_is_passive(const struct pucan_status_msg *msg) in pucan_status_is_passive() argument
244 return msg->channel_p_w_b & PUCAN_BUS_PASSIVE; in pucan_status_is_passive()
247 static inline int pucan_status_is_warning(const struct pucan_status_msg *msg) in pucan_status_is_warning() argument
249 return msg->channel_p_w_b & PUCAN_BUS_WARNING; in pucan_status_is_warning()
[all …]
/include/linux/mfd/
Dipaq-micro.h117 struct ipaq_micro_msg *msg; member
126 ipaq_micro_tx_msg(struct ipaq_micro *micro, struct ipaq_micro_msg *msg);
130 struct ipaq_micro_msg *msg) in ipaq_micro_tx_msg_sync() argument
134 init_completion(&msg->ack); in ipaq_micro_tx_msg_sync()
135 ret = ipaq_micro_tx_msg(micro, msg); in ipaq_micro_tx_msg_sync()
136 wait_for_completion(&msg->ack); in ipaq_micro_tx_msg_sync()
143 struct ipaq_micro_msg *msg) in ipaq_micro_tx_msg_async() argument
145 init_completion(&msg->ack); in ipaq_micro_tx_msg_async()
146 return ipaq_micro_tx_msg(micro, msg); in ipaq_micro_tx_msg_async()
/include/net/
Dscm.h40 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
41 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
42 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
78 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send() argument
87 if (msg->msg_controllen <= 0) in scm_send()
89 return __scm_send(sock, msg, scm); in scm_send()
93 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() argument
103 put_cmsg(msg, SOL_SOCKET, SCM_SECURITY, seclen, secdata); in scm_passec()
114 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() argument
123 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv() argument
[all …]
Dping.h30 int (*ipv6_recv_error)(struct sock *sk, struct msghdr *msg, int len,
33 struct msghdr *msg,
36 struct msghdr *msg,
58 struct msghdr *msg; member
74 int ping_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
76 int ping_common_sendmsg(int family, struct msghdr *msg, size_t len,
D6lowpan.h218 static inline void raw_dump_inline(const char *caller, char *msg, in raw_dump_inline() argument
221 if (msg) in raw_dump_inline()
222 pr_debug("%s():%s: ", caller, msg); in raw_dump_inline()
233 static inline void raw_dump_table(const char *caller, char *msg, in raw_dump_table() argument
236 if (msg) in raw_dump_table()
237 pr_debug("%s():%s:\n", caller, msg); in raw_dump_table()
242 static inline void raw_dump_table(const char *caller, char *msg, in raw_dump_table() argument
244 static inline void raw_dump_inline(const char *caller, char *msg, in raw_dump_inline() argument
Dtransp_v6.h37 void ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg,
39 void ip6_datagram_recv_common_ctl(struct sock *sk, struct msghdr *msg,
41 void ip6_datagram_recv_specific_ctl(struct sock *sk, struct msghdr *msg,
44 int ip6_datagram_send_ctl(struct net *net, struct sock *sk, struct msghdr *msg,
/include/net/iucv/
Diucv.h326 int iucv_message_purge(struct iucv_path *path, struct iucv_message *msg,
346 int iucv_message_receive(struct iucv_path *path, struct iucv_message *msg,
366 int __iucv_message_receive(struct iucv_path *path, struct iucv_message *msg,
381 int iucv_message_reject(struct iucv_path *path, struct iucv_message *msg);
398 int iucv_message_reply(struct iucv_path *path, struct iucv_message *msg,
418 int iucv_message_send(struct iucv_path *path, struct iucv_message *msg,
438 int __iucv_message_send(struct iucv_path *path, struct iucv_message *msg,
460 int iucv_message_send2way(struct iucv_path *path, struct iucv_message *msg,
465 int (*message_receive)(struct iucv_path *path, struct iucv_message *msg,
468 struct iucv_message *msg, u8 flags, void *buffer, size_t size,
[all …]
/include/rdma/
Drestrack.h146 int rdma_nl_put_driver_u32(struct sk_buff *msg, const char *name, u32 value);
147 int rdma_nl_put_driver_u32_hex(struct sk_buff *msg, const char *name,
149 int rdma_nl_put_driver_u64(struct sk_buff *msg, const char *name, u64 value);
150 int rdma_nl_put_driver_u64_hex(struct sk_buff *msg, const char *name,
152 int rdma_nl_put_driver_string(struct sk_buff *msg, const char *name,
154 int rdma_nl_stat_hwcounter_entry(struct sk_buff *msg, const char *name,
/include/linux/platform_data/
Dcros_ec_proto.h159 struct cros_ec_command *msg);
161 struct cros_ec_command *msg);
214 struct cros_ec_command *msg);
217 struct cros_ec_command *msg);
220 struct cros_ec_command *msg);
223 struct cros_ec_command *msg);
/include/linux/hsi/
Dhsi.h191 void (*complete)(struct hsi_msg *msg);
192 void (*destructor)(struct hsi_msg *msg);
202 void hsi_free_msg(struct hsi_msg *msg);
229 int (*async)(struct hsi_msg *msg);
319 int hsi_async(struct hsi_client *cl, struct hsi_msg *msg);
384 static inline int hsi_async_read(struct hsi_client *cl, struct hsi_msg *msg) in hsi_async_read() argument
386 msg->ttype = HSI_MSG_READ; in hsi_async_read()
387 return hsi_async(cl, msg); in hsi_async_read()
397 static inline int hsi_async_write(struct hsi_client *cl, struct hsi_msg *msg) in hsi_async_write() argument
399 msg->ttype = HSI_MSG_WRITE; in hsi_async_write()
[all …]

123456