Home
last modified time | relevance | path

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

1234567

/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 = spi_get_chipselect(msg->spi, 0);
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 …]
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 …]
Dnetlink.h11 TP_PROTO(const char *msg),
13 TP_ARGS(msg),
16 __string( msg, msg )
20 __assign_str(msg);
23 TP_printk("msg=%s", __get_str(msg))
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,
Dsof_intel.h33 TP_ARGS(struct snd_sof_dev *sdev, u32 msg, u32 msg_ext),
34 TP_PROTO(sdev, msg, msg_ext),
37 __field(u32, msg)
42 __entry->msg = msg;
46 __get_str(device_name), __entry->msg, __entry->msg_ext)
50 TP_PROTO(struct snd_sof_dev *sdev, u32 msg, u32 msg_ext),
51 TP_ARGS(sdev, msg, msg_ext)
55 TP_PROTO(struct snd_sof_dev *sdev, u32 msg, u32 msg_ext),
56 TP_ARGS(sdev, msg, msg_ext)
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);
75 __get_str(driver_name), __entry->err, __get_str(msg))
83 const char *msg),
85 TP_ARGS(devlink, reporter_name, msg),
92 __string(msg, msg)
100 __assign_str(msg);
106 __get_str(msg))
[all …]
/include/linux/
Dskmsg.h124 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len,
128 void sk_msg_trim(struct sock *sk, struct sk_msg *msg, int len);
129 int sk_msg_free(struct sock *sk, struct sk_msg *msg);
130 int sk_msg_free_nocharge(struct sock *sk, struct sk_msg *msg);
131 void sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes);
132 void sk_msg_free_partial_nocharge(struct sock *sk, struct sk_msg *msg,
135 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes);
136 void sk_msg_return_zero(struct sock *sk, struct sk_msg *msg, int bytes);
139 struct sk_msg *msg, u32 bytes);
141 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);
81 void ipmi_free_recv_msg(struct ipmi_recv_msg *msg);
91 void (*ipmi_recv_hndl)(struct ipmi_recv_msg *msg,
174 struct kernel_ipmi_msg *msg,
192 struct kernel_ipmi_msg *msg,
Dnetlink.h14 void do_trace_netlink_extack(const char *msg);
97 #define NL_SET_ERR_MSG(extack, msg) do { \ argument
98 static const char __msg[] = msg; \
126 #define NL_SET_ERR_MSG_MOD(extack, msg) \ argument
127 NL_SET_ERR_MSG((extack), KBUILD_MODNAME ": " msg)
132 #define NL_SET_ERR_MSG_WEAK(extack, msg) do { \ argument
134 NL_SET_ERR_MSG((extack), msg); \
137 #define NL_SET_ERR_MSG_WEAK_MOD(extack, msg) do { \ argument
139 NL_SET_ERR_MSG_MOD((extack), msg); \
151 #define NL_SET_ERR_MSG_ATTR_POL(extack, attr, pol, msg) do { \ argument
[all …]
Dipmi_smi.h125 void (*done)(struct ipmi_smi_msg *msg);
173 struct ipmi_smi_msg *msg);
314 struct ipmi_smi_msg *msg);
320 static inline void ipmi_free_smi_msg(struct ipmi_smi_msg *msg) in ipmi_free_smi_msg() argument
322 msg->done(msg); in ipmi_free_smi_msg()
/include/net/
Dscm.h53 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
54 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
55 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
91 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send() argument
100 if (msg->msg_controllen <= 0) in scm_send()
102 return __scm_send(sock, msg, scm); in scm_send()
106 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() argument
116 put_cmsg(msg, SOL_SOCKET, SCM_SECURITY, seclen, secdata); in scm_passec()
127 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() argument
136 static __inline__ void scm_pidfd_recv(struct msghdr *msg, struct scm_cookie *scm) in scm_pidfd_recv() argument
[all …]
Dping.h23 int (*ipv6_recv_error)(struct sock *sk, struct msghdr *msg, int len,
26 struct msghdr *msg,
29 struct msghdr *msg,
51 struct msghdr *msg; member
67 int ping_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
69 int ping_common_sendmsg(int family, struct msghdr *msg, size_t len,
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,
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
/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/trace/hooks/
Dusb.h20 TP_PROTO(struct usb_device *udev, pm_message_t msg, bool *bypass),
21 TP_ARGS(udev, msg, bypass), 1);
24 TP_PROTO(struct usb_device *udev, pm_message_t msg, bool *bypass),
25 TP_ARGS(udev, msg, bypass));
/include/rdma/
Drestrack.h149 int rdma_nl_put_driver_u32(struct sk_buff *msg, const char *name, u32 value);
150 int rdma_nl_put_driver_u32_hex(struct sk_buff *msg, const char *name,
152 int rdma_nl_put_driver_u64(struct sk_buff *msg, const char *name, u64 value);
153 int rdma_nl_put_driver_u64_hex(struct sk_buff *msg, const char *name,
155 int rdma_nl_put_driver_string(struct sk_buff *msg, const char *name,
157 int rdma_nl_stat_hwcounter_entry(struct sk_buff *msg, const char *name,
/include/net/iucv/
Diucv.h332 int iucv_message_purge(struct iucv_path *path, struct iucv_message *msg,
352 int iucv_message_receive(struct iucv_path *path, struct iucv_message *msg,
372 int __iucv_message_receive(struct iucv_path *path, struct iucv_message *msg,
387 int iucv_message_reject(struct iucv_path *path, struct iucv_message *msg);
404 int iucv_message_reply(struct iucv_path *path, struct iucv_message *msg,
424 int iucv_message_send(struct iucv_path *path, struct iucv_message *msg,
444 int __iucv_message_send(struct iucv_path *path, struct iucv_message *msg,
466 int iucv_message_send2way(struct iucv_path *path, struct iucv_message *msg,
471 int (*message_receive)(struct iucv_path *path, struct iucv_message *msg,
474 struct iucv_message *msg, u8 flags, void *buffer, size_t size,
[all …]
/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 …]
/include/linux/platform_data/
Dcros_ec_proto.h179 struct cros_ec_command *msg);
181 struct cros_ec_command *msg);
238 struct cros_ec_command *msg);
241 struct cros_ec_command *msg);
244 struct cros_ec_command *msg);
247 struct cros_ec_command *msg);

1234567