Home
last modified time | relevance | path

Searched refs:mbox_msg (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c42 struct hns_roce_mbox_msg *mbox_msg) in hns_roce_cmd_mbox_post_hw() argument
44 return hr_dev->hw->post_mbox(hr_dev, mbox_msg); in hns_roce_cmd_mbox_post_hw()
49 struct hns_roce_mbox_msg *mbox_msg) in __hns_roce_cmd_mbox_poll() argument
53 ret = hns_roce_cmd_mbox_post_hw(hr_dev, mbox_msg); in __hns_roce_cmd_mbox_poll()
57 mbox_msg->cmd, ret); in __hns_roce_cmd_mbox_poll()
65 struct hns_roce_mbox_msg *mbox_msg) in hns_roce_cmd_mbox_poll() argument
70 ret = __hns_roce_cmd_mbox_poll(hr_dev, mbox_msg); in hns_roce_cmd_mbox_poll()
95 struct hns_roce_mbox_msg *mbox_msg) in __hns_roce_cmd_mbox_wait() argument
116 mbox_msg->token = context->token; in __hns_roce_cmd_mbox_wait()
117 ret = hns_roce_cmd_mbox_post_hw(hr_dev, mbox_msg); in __hns_roce_cmd_mbox_wait()
[all …]
Dhns_roce_hw_v2.c2934 struct hns_roce_mbox_msg *mbox_msg) in hns_roce_mbox_post() argument
2941 mb->in_param_l = cpu_to_le32(mbox_msg->in_param); in hns_roce_mbox_post()
2942 mb->in_param_h = cpu_to_le32(mbox_msg->in_param >> 32); in hns_roce_mbox_post()
2943 mb->out_param_l = cpu_to_le32(mbox_msg->out_param); in hns_roce_mbox_post()
2944 mb->out_param_h = cpu_to_le32(mbox_msg->out_param >> 32); in hns_roce_mbox_post()
2945 mb->cmd_tag = cpu_to_le32(mbox_msg->tag << 8 | mbox_msg->cmd); in hns_roce_mbox_post()
2946 mb->token_event_en = cpu_to_le32(mbox_msg->event_en << 16 | in hns_roce_mbox_post()
2947 mbox_msg->token); in hns_roce_mbox_post()
3004 struct hns_roce_mbox_msg *mbox_msg) in v2_post_mbox() argument
3020 ret = hns_roce_mbox_post(hr_dev, mbox_msg); in v2_post_mbox()
Dhns_roce_device.h876 struct hns_roce_mbox_msg *mbox_msg);
/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptvf_mbox.c60 static void dump_mbox_msg(struct otx_cpt_mbox *mbox_msg, int vf_id) in dump_mbox_msg() argument
64 hex_dump_to_buffer(mbox_msg, sizeof(struct otx_cpt_mbox), 16, 8, in dump_mbox_msg()
68 get_mbox_opcode_str(mbox_msg->msg), vf_id, in dump_mbox_msg()
72 get_mbox_opcode_str(mbox_msg->msg), raw_data_str); in dump_mbox_msg()
Dotx_cptpf_mbox.c59 static void dump_mbox_msg(struct otx_cpt_mbox *mbox_msg, int vf_id) in dump_mbox_msg() argument
63 hex_dump_to_buffer(mbox_msg, sizeof(struct otx_cpt_mbox), 16, 8, in dump_mbox_msg()
67 get_mbox_opcode_str(mbox_msg->msg), vf_id, in dump_mbox_msg()
71 get_mbox_opcode_str(mbox_msg->msg), raw_data_str); in dump_mbox_msg()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dcoex.h137 ((le32_to_cpu((_notif)->mbox_msg[(_num)]) & BT_MBOX##_num##_##_field)\
176 __le32 mbox_msg[4]; member
/Linux-v6.6/drivers/crypto/cavium/nitrox/
Dnitrox_dev.h125 union mbox_msg { union
162 union mbox_msg msg;
Dnitrox_mbx.c59 union mbox_msg msg; in pf2vf_send_response()
/Linux-v6.6/drivers/soc/apple/
Drtkit.c77 struct apple_mbox_msg mbox_msg; member
591 container_of(mssg, struct apple_rtkit_msg, mbox_msg); in apple_rtkit_tx_done()
623 msg->mbox_msg.msg0 = message; in apple_rtkit_send_message()
624 msg->mbox_msg.msg1 = ep; in apple_rtkit_send_message()
634 ret = mbox_send_message(rtk->mbox_chan, &msg->mbox_msg); in apple_rtkit_send_message()
/Linux-v6.6/drivers/firmware/
Dti_sci.c247 struct ti_msgmgr_message *mbox_msg = m; in ti_sci_rx_callback() local
248 struct ti_sci_msg_hdr *hdr = (struct ti_sci_msg_hdr *)mbox_msg->buf; in ti_sci_rx_callback()
266 if (mbox_msg->len > info->desc->max_msg_size) { in ti_sci_rx_callback()
268 mbox_msg->len, info->desc->max_msg_size); in ti_sci_rx_callback()
272 if (mbox_msg->len < xfer->rx_len) { in ti_sci_rx_callback()
274 mbox_msg->len, xfer->rx_len); in ti_sci_rx_callback()
281 memcpy(xfer->xfer_buf, mbox_msg->buf, xfer->rx_len); in ti_sci_rx_callback()