/openbmc/libpldm/src/dsp/ |
H A D | base.c | 15 struct pldm_msg_hdr *msg) in pack_pldm_header_errno() argument 17 if (msg == NULL || hdr == NULL) { in pack_pldm_header_errno() 37 msg->request = PLDM_RESPONSE; in pack_pldm_header_errno() 40 msg->request = PLDM_REQUEST; in pack_pldm_header_errno() 42 msg->datagram = datagram; in pack_pldm_header_errno() 43 msg->reserved = 0; in pack_pldm_header_errno() 44 msg->instance_id = hdr->instance; in pack_pldm_header_errno() 45 msg->header_ver = PLDM_CURRENT_VERSION; in pack_pldm_header_errno() 46 msg->type = hdr->pldm_type; in pack_pldm_header_errno() 47 msg->command = hdr->command; in pack_pldm_header_errno() [all …]
|
/openbmc/u-boot/drivers/i2c/ |
H A D | mv_i2c.c | 125 static int i2c_transfer(struct mv_i2c *base, struct mv_i2c_msg *msg) in i2c_transfer() argument 129 if (!msg) in i2c_transfer() 132 switch (msg->direction) { in i2c_transfer() 141 writel(msg->data, &base->idbr); in i2c_transfer() 142 if (msg->condition == I2C_COND_START) in i2c_transfer() 144 if (msg->condition == I2C_COND_STOP) in i2c_transfer() 146 if (msg->acknack == I2C_ACKNAK_SENDNAK) in i2c_transfer() 148 if (msg->acknack == I2C_ACKNAK_SENDACK) in i2c_transfer() 161 if (msg->acknack == I2C_ACKNAK_WAITACK) in i2c_transfer() 175 if (msg->condition == I2C_COND_START) in i2c_transfer() [all …]
|
/openbmc/linux/include/linux/ |
H A D | skmsg.h | 115 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len, 119 void sk_msg_trim(struct sock *sk, struct sk_msg *msg, int len); 120 int sk_msg_free(struct sock *sk, struct sk_msg *msg); 121 int sk_msg_free_nocharge(struct sock *sk, struct sk_msg *msg); 122 void sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes); 123 void sk_msg_free_partial_nocharge(struct sock *sk, struct sk_msg *msg, 126 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes); 127 void sk_msg_return_zero(struct sock *sk, struct sk_msg *msg, int bytes); 130 struct sk_msg *msg, u32 bytes); 132 struct sk_msg *msg, u32 bytes); [all …]
|
/openbmc/ipmitool/src/plugins/open/ |
H A D | open.c | 195 fprintf(stderr, " netfn = 0x%x\n", req->msg.netfn ); in ipmi_openipmi_send_cmd() 196 fprintf(stderr, " cmd = 0x%x\n", req->msg.cmd); in ipmi_openipmi_send_cmd() 197 printbuf(req->msg.data, req->msg.data_len, "OpenIPMI Request Message Data"); in ipmi_openipmi_send_cmd() 212 ipmb_addr.lun = req->msg.lun; in ipmi_openipmi_send_cmd() 215 req->msg.cmd, in ipmi_openipmi_send_cmd() 235 fprintf(stderr, " netfn = 0x%x\n", req->msg.netfn ); in ipmi_openipmi_send_cmd() 236 fprintf(stderr, " cmd = 0x%x\n", req->msg.cmd); in ipmi_openipmi_send_cmd() 237 if (req->msg.data && req->msg.data_len) { in ipmi_openipmi_send_cmd() 238 fprintf(stderr, " data_len = %d\n", req->msg.data_len); in ipmi_openipmi_send_cmd() 240 buf2str(req->msg.data,req->msg.data_len)); in ipmi_openipmi_send_cmd() [all …]
|
/openbmc/linux/drivers/iio/common/ssp_sensors/ |
H A D | ssp_spi.c | 78 struct ssp_msg *msg; in ssp_create_msg() local 80 msg = kzalloc(sizeof(*msg), GFP_KERNEL); in ssp_create_msg() 81 if (!msg) in ssp_create_msg() 89 msg->buffer = kzalloc(SSP_HEADER_SIZE_ALIGNED + len, in ssp_create_msg() 91 if (!msg->buffer) { in ssp_create_msg() 92 kfree(msg); in ssp_create_msg() 96 msg->length = len; in ssp_create_msg() 97 msg->options = opt; in ssp_create_msg() 99 memcpy(msg->buffer, &h, SSP_HEADER_SIZE); in ssp_create_msg() 101 return msg; in ssp_create_msg() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | txrx_edma.h | 349 static inline __le16 wil_rx_status_get_length(void *msg) in wil_rx_status_get_length() argument 351 return ((struct wil_rx_status_compressed *)msg)->length; in wil_rx_status_get_length() 354 static inline u8 wil_rx_status_get_mcs(void *msg) in wil_rx_status_get_mcs() argument 356 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_mcs() 360 static inline u8 wil_rx_status_get_cb_mode(void *msg) in wil_rx_status_get_cb_mode() argument 362 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_cb_mode() 366 static inline u16 wil_rx_status_get_flow_id(void *msg) in wil_rx_status_get_flow_id() argument 368 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_flow_id() 372 static inline u8 wil_rx_status_get_mcast(void *msg) in wil_rx_status_get_mcast() argument 374 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_mcast() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | logrotate.py | 31 msg = ('Could not create/update /var/log/wtmp with touch') 32 self.assertEqual(status, 0, msg = msg) 35 msg = ('Could not create logrotate_dir. Output: %s' % output) 36 self.assertEqual(status, 0, msg = msg) 39 msg = ('Could not write to /tmp/logrotate-test.conf') 40 self.assertEqual(status, 0, msg = msg) 45 …msg = ("logrotate did not successfully rotate the wtmp log. Output from logrotate -vf: \n%s" % (lo… 46 self.assertEqual(status, 0, msg = msg) 52 msg = ('Could not create logrotate test file in /var/log') 53 self.assertEqual(status, 0, msg = msg) [all …]
|
H A D | rpm.py | 23 msg = 'status and output: %s and %s' % (status, output) 24 self.assertEqual(status, 0, msg=msg) 32 msg = 'status and output: %s and %s' % (status, output) 33 self.assertEqual(status, 0, msg=msg) 42 msg = 'Failed to create new user: %s' % output 43 self.assertTrue(status == 0, msg=msg) 47 msg = 'Failed to execute as new user' 48 self.assertTrue("({0})".format(u) in output, msg=msg) 51 msg = 'status: %s. Cannot run rpm -qa: %s' % (status, output) 52 self.assertEqual(status, 0, msg=msg) [all …]
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_msghandler.c | 48 struct ipmi_smi_msg *msg); 583 struct ipmi_recv_msg *msg); 683 struct ipmi_recv_msg *msg, *msg2; in free_recv_msg_list() local 685 list_for_each_entry_safe(msg, msg2, q, link) { in free_recv_msg_list() 686 list_del(&msg->link); in free_recv_msg_list() 687 ipmi_free_recv_msg(msg); in free_recv_msg_list() 693 struct ipmi_smi_msg *msg, *msg2; in free_smi_msg_list() local 695 list_for_each_entry_safe(msg, msg2, q, link) { in free_smi_msg_list() 696 list_del(&msg->link); in free_smi_msg_list() 697 ipmi_free_smi_msg(msg); in free_smi_msg_list() [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | transport_ipc.c | 230 struct ksmbd_ipc_msg *msg; in ipc_msg_alloc() local 233 msg = kvzalloc(msg_sz, GFP_KERNEL); in ipc_msg_alloc() 234 if (msg) in ipc_msg_alloc() 235 msg->sz = sz; in ipc_msg_alloc() 236 return msg; in ipc_msg_alloc() 239 static void ipc_msg_free(struct ksmbd_ipc_msg *msg) in ipc_msg_free() argument 241 kvfree(msg); in ipc_msg_free() 427 static int ipc_msg_send(struct ksmbd_ipc_msg *msg) in ipc_msg_send() argument 436 skb = genlmsg_new(msg->sz, GFP_KERNEL); in ipc_msg_send() 440 nlh = genlmsg_put(skb, 0, 0, &ksmbd_genl_family, 0, msg->type); in ipc_msg_send() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | nldev.c | 161 static int put_driver_name_print_type(struct sk_buff *msg, const char *name, in put_driver_name_print_type() argument 164 if (nla_put_string(msg, RDMA_NLDEV_ATTR_DRIVER_STRING, name)) in put_driver_name_print_type() 167 nla_put_u8(msg, RDMA_NLDEV_ATTR_DRIVER_PRINT_TYPE, print_type)) in put_driver_name_print_type() 173 static int _rdma_nl_put_driver_u32(struct sk_buff *msg, const char *name, in _rdma_nl_put_driver_u32() argument 177 if (put_driver_name_print_type(msg, name, print_type)) in _rdma_nl_put_driver_u32() 179 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_DRIVER_U32, value)) in _rdma_nl_put_driver_u32() 185 static int _rdma_nl_put_driver_u64(struct sk_buff *msg, const char *name, in _rdma_nl_put_driver_u64() argument 189 if (put_driver_name_print_type(msg, name, print_type)) in _rdma_nl_put_driver_u64() 191 if (nla_put_u64_64bit(msg, RDMA_NLDEV_ATTR_DRIVER_U64, value, in _rdma_nl_put_driver_u64() 198 int rdma_nl_put_driver_string(struct sk_buff *msg, const char *name, in rdma_nl_put_driver_string() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_ddc.c | 277 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bksv() 278 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_read_bksv() 284 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_bcaps() 285 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_read_bcaps() 294 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 298 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 299 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_read_bstatus() 306 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p, in mod_hdcp_read_r0p() 307 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_read_r0p() 317 hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_read_ksvlist() [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | keyspan.c | 861 struct keyspan_usa26_portStatusMessage *msg; in usa26_instat_callback() local 880 msg = (struct keyspan_usa26_portStatusMessage *)data; in usa26_instat_callback() 883 if (msg->port >= serial->num_ports) { in usa26_instat_callback() 884 dev_dbg(&urb->dev->dev, "%s - Unexpected port number %d\n", __func__, msg->port); in usa26_instat_callback() 887 port = serial->port[msg->port]; in usa26_instat_callback() 894 p_priv->cts_state = ((msg->hskia_cts) ? 1 : 0); in usa26_instat_callback() 895 p_priv->dsr_state = ((msg->dsr) ? 1 : 0); in usa26_instat_callback() 896 p_priv->dcd_state = ((msg->gpia_dcd) ? 1 : 0); in usa26_instat_callback() 897 p_priv->ri_state = ((msg->ri) ? 1 : 0); in usa26_instat_callback() 980 struct keyspan_usa28_portStatusMessage *msg; in usa28_instat_callback() local [all …]
|
/openbmc/ipmitool/src/plugins/serial/ |
H A D | serial_basic.c | 90 struct ipmb_msg_hdr msg; member 121 uint8_t * msg; member 374 serial_bm_send_msg(struct ipmi_intf * intf, uint8_t * msg, int msg_len) in serial_bm_send_msg() argument 381 fprintf(stderr, " rsSA = 0x%x\n", msg[0]); in serial_bm_send_msg() 382 fprintf(stderr, " NetFN/rsLUN = 0x%x\n", msg[1]); in serial_bm_send_msg() 383 fprintf(stderr, " rqSA = 0x%x\n", msg[3]); in serial_bm_send_msg() 384 fprintf(stderr, " rqSeq/rqLUN = 0x%x\n", msg[4]); in serial_bm_send_msg() 385 fprintf(stderr, " cmd = 0x%x\n", msg[5]); in serial_bm_send_msg() 389 buf2str(msg + 6, msg_len - 7)); in serial_bm_send_msg() 395 fprintf(stderr, " %s\n", buf2str(msg, msg_len)); in serial_bm_send_msg() [all …]
|
/openbmc/linux/net/devlink/ |
H A D | dev.c | 12 struct sk_buff *msg; member 57 static int devlink_reload_stat_put(struct sk_buff *msg, in devlink_reload_stat_put() argument 62 reload_stats_entry = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_STATS_ENTRY); in devlink_reload_stat_put() 66 if (nla_put_u8(msg, DEVLINK_ATTR_RELOAD_STATS_LIMIT, limit) || in devlink_reload_stat_put() 67 nla_put_u32(msg, DEVLINK_ATTR_RELOAD_STATS_VALUE, value)) in devlink_reload_stat_put() 69 nla_nest_end(msg, reload_stats_entry); in devlink_reload_stat_put() 73 nla_nest_cancel(msg, reload_stats_entry); in devlink_reload_stat_put() 78 devlink_reload_stats_put(struct sk_buff *msg, struct devlink *devlink, bool is_remote) in devlink_reload_stats_put() argument 85 reload_stats_attr = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_STATS); in devlink_reload_stats_put() 87 reload_stats_attr = nla_nest_start(msg, DEVLINK_ATTR_REMOTE_RELOAD_STATS); in devlink_reload_stats_put() [all …]
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_proto_test.c | 22 struct cros_ec_command *msg; member 30 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_legacy_normal() local 36 msg->command = EC_CMD_HELLO; in cros_ec_proto_test_prepare_tx_legacy_normal() 37 msg->outsize = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_proto_test_prepare_tx_legacy_normal() 38 msg->data[0] = 0xde; in cros_ec_proto_test_prepare_tx_legacy_normal() 39 msg->data[1] = 0xad; in cros_ec_proto_test_prepare_tx_legacy_normal() 40 msg->data[2] = 0xbe; in cros_ec_proto_test_prepare_tx_legacy_normal() 41 msg->data[3] = 0xef; in cros_ec_proto_test_prepare_tx_legacy_normal() 43 ret = cros_ec_prepare_tx(ec_dev, msg); in cros_ec_proto_test_prepare_tx_legacy_normal() 73 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize() local [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_netlink.c | 55 struct sk_buff *msg; member 113 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_create() 114 nla_put_string(p->msg, THERMAL_GENL_ATTR_TZ_NAME, p->name)) in thermal_genl_event_tz_create() 122 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_event_tz() 130 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_up() 131 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_up() 132 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TEMP, p->temp)) in thermal_genl_event_tz_trip_up() 140 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_add() 141 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_add() 142 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TYPE, p->trip_type) || in thermal_genl_event_tz_trip_add() [all …]
|
/openbmc/linux/io_uring/ |
H A D | msg_ring.c | 60 struct io_msg *msg = io_kiocb_to_cmd(req, struct io_msg); in io_msg_ring_cleanup() local 62 if (WARN_ON_ONCE(!msg->src_file)) in io_msg_ring_cleanup() 65 fput(msg->src_file); in io_msg_ring_cleanup() 66 msg->src_file = NULL; in io_msg_ring_cleanup() 79 struct io_msg *msg = io_kiocb_to_cmd(req, struct io_msg); in io_msg_exec_remote() local 85 init_task_work(&msg->tw, func); in io_msg_exec_remote() 86 if (task_work_add(ctx->submitter_task, &msg->tw, TWA_SIGNAL)) in io_msg_exec_remote() 94 struct io_msg *msg = container_of(head, struct io_msg, tw); in io_msg_tw_complete() local 95 struct io_kiocb *req = cmd_to_io_kiocb(msg); in io_msg_tw_complete() 104 if (msg->flags & IORING_MSG_RING_FLAGS_PASS) in io_msg_tw_complete() [all …]
|
/openbmc/linux/net/sctp/ |
H A D | chunk.c | 35 static void sctp_datamsg_init(struct sctp_datamsg *msg) in sctp_datamsg_init() argument 37 refcount_set(&msg->refcnt, 1); in sctp_datamsg_init() 38 msg->send_failed = 0; in sctp_datamsg_init() 39 msg->send_error = 0; in sctp_datamsg_init() 40 msg->can_delay = 1; in sctp_datamsg_init() 41 msg->abandoned = 0; in sctp_datamsg_init() 42 msg->expires_at = 0; in sctp_datamsg_init() 43 INIT_LIST_HEAD(&msg->chunks); in sctp_datamsg_init() 49 struct sctp_datamsg *msg; in sctp_datamsg_new() local 50 msg = kmalloc(sizeof(struct sctp_datamsg), gfp); in sctp_datamsg_new() [all …]
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | clk-bpmp.c | 63 struct tegra_bpmp_message msg; in tegra_bpmp_clk_transfer() local 79 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_transfer() 80 msg.mrq = MRQ_CLK; in tegra_bpmp_clk_transfer() 81 msg.tx.data = &request; in tegra_bpmp_clk_transfer() 82 msg.tx.size = sizeof(request); in tegra_bpmp_clk_transfer() 83 msg.rx.data = clk->rx.data; in tegra_bpmp_clk_transfer() 84 msg.rx.size = clk->rx.size; in tegra_bpmp_clk_transfer() 86 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_clk_transfer() 89 else if (msg.rx.ret < 0) in tegra_bpmp_clk_transfer() 98 struct tegra_bpmp_clk_message msg; in tegra_bpmp_clk_prepare() local [all …]
|
/openbmc/libpldm/src/oem/ibm/ |
H A D | file_io.c | 9 int decode_rw_file_memory_req(const struct pldm_msg *msg, size_t payload_length, in decode_rw_file_memory_req() argument 13 if (msg == NULL || file_handle == NULL || offset == NULL || in decode_rw_file_memory_req() 23 (struct pldm_read_write_file_memory_req *)msg->payload; in decode_rw_file_memory_req() 36 struct pldm_msg *msg) in encode_rw_file_memory_resp() argument 38 if (msg == NULL) { in encode_rw_file_memory_resp() 47 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_rw_file_memory_resp() 53 (struct pldm_read_write_file_memory_resp *)msg->payload; in encode_rw_file_memory_resp() 66 struct pldm_msg *msg) in encode_rw_file_memory_req() argument 68 if (msg == NULL) { in encode_rw_file_memory_req() 77 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_rw_file_memory_req() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | udp_tunnel_nic.sh | 161 err_cnt "ethtool table $1 on port $port: $pfx - $msg" 171 err_cnt "table $1 on port $port: $pfx - $msg" 204 err_cnt "ethtool static entry: $pfx - $msg" 274 msg="new NIC device created" 279 msg="VxLAN v4 devices" 284 msg="VxLAN v4 devices go down" 290 msg="VxLAN v6 devices" 300 msg="another VxLAN v6 devices" 304 msg="Geneve device" 308 msg="NIC device goes down" [all …]
|
/openbmc/linux/drivers/hsi/clients/ |
H A D | hsi_char.c | 116 static void hsc_add_tail(struct hsc_channel *channel, struct hsi_msg *msg, in hsc_add_tail() argument 122 list_add_tail(&msg->link, queue); in hsc_add_tail() 129 struct hsi_msg *msg = NULL; in hsc_get_first_msg() local 137 msg = list_first_entry(queue, struct hsi_msg, link); in hsc_get_first_msg() 138 list_del(&msg->link); in hsc_get_first_msg() 142 return msg; in hsc_get_first_msg() 145 static inline void hsc_msg_free(struct hsi_msg *msg) in hsc_msg_free() argument 147 kfree(sg_virt(msg->sgt.sgl)); in hsc_msg_free() 148 hsi_free_msg(msg); in hsc_msg_free() 153 struct hsi_msg *msg, *tmp; in hsc_free_list() local [all …]
|
/openbmc/linux/net/nfc/ |
H A D | netlink.c | 61 static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target, in nfc_genl_send_target() argument 66 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target() 73 if (nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target->idx) || in nfc_genl_send_target() 74 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) || in nfc_genl_send_target() 75 nla_put_u16(msg, NFC_ATTR_TARGET_SENS_RES, target->sens_res) || in nfc_genl_send_target() 76 nla_put_u8(msg, NFC_ATTR_TARGET_SEL_RES, target->sel_res)) in nfc_genl_send_target() 79 nla_put(msg, NFC_ATTR_TARGET_NFCID1, target->nfcid1_len, in nfc_genl_send_target() 83 nla_put(msg, NFC_ATTR_TARGET_SENSB_RES, target->sensb_res_len, in nfc_genl_send_target() 87 nla_put(msg, NFC_ATTR_TARGET_SENSF_RES, target->sensf_res_len, in nfc_genl_send_target() 92 if (nla_put_u8(msg, NFC_ATTR_TARGET_ISO15693_DSFID, in nfc_genl_send_target() [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | sof-client-probes-ipc4.c | 110 struct sof_ipc4_msg msg; in ipc4_probes_init() local 122 msg.primary = mentry->id; in ipc4_probes_init() 123 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_INIT_INSTANCE); in ipc4_probes_init() 124 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_init() 125 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_init() 126 msg.extension = SOF_IPC4_MOD_EXT_DST_MOD_INSTANCE(INVALID_PIPELINE_ID); in ipc4_probes_init() 127 msg.extension |= SOF_IPC4_MOD_EXT_CORE_ID(0); in ipc4_probes_init() 128 msg.extension |= SOF_IPC4_MOD_EXT_PARAM_SIZE(sizeof(cfg) / sizeof(uint32_t)); in ipc4_probes_init() 130 msg.data_size = sizeof(cfg); in ipc4_probes_init() 131 msg.data_ptr = &cfg; in ipc4_probes_init() [all …]
|