Home
last modified time | relevance | path

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

/linux-5.19.10/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.c2911 struct hns_roce_mbox_msg *mbox_msg) in hns_roce_mbox_post() argument
2918 mb->in_param_l = cpu_to_le32(mbox_msg->in_param); in hns_roce_mbox_post()
2919 mb->in_param_h = cpu_to_le32(mbox_msg->in_param >> 32); in hns_roce_mbox_post()
2920 mb->out_param_l = cpu_to_le32(mbox_msg->out_param); in hns_roce_mbox_post()
2921 mb->out_param_h = cpu_to_le32(mbox_msg->out_param >> 32); in hns_roce_mbox_post()
2922 mb->cmd_tag = cpu_to_le32(mbox_msg->tag << 8 | mbox_msg->cmd); in hns_roce_mbox_post()
2923 mb->token_event_en = cpu_to_le32(mbox_msg->event_en << 16 | in hns_roce_mbox_post()
2924 mbox_msg->token); in hns_roce_mbox_post()
2981 struct hns_roce_mbox_msg *mbox_msg) in v2_post_mbox() argument
2997 ret = hns_roce_mbox_post(hr_dev, mbox_msg); in v2_post_mbox()
Dhns_roce_device.h869 struct hns_roce_mbox_msg *mbox_msg);
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/soc/apple/
Drtkit.c76 struct apple_mbox_msg mbox_msg; member
578 container_of(mssg, struct apple_rtkit_msg, mbox_msg); in apple_rtkit_tx_done()
610 msg->mbox_msg.msg0 = message; in apple_rtkit_send_message()
611 msg->mbox_msg.msg1 = ep; in apple_rtkit_send_message()
621 ret = mbox_send_message(rtk->mbox_chan, &msg->mbox_msg); in apple_rtkit_send_message()
/linux-5.19.10/drivers/firmware/
Dti_sci.c249 struct ti_msgmgr_message *mbox_msg = m; in ti_sci_rx_callback() local
250 struct ti_sci_msg_hdr *hdr = (struct ti_sci_msg_hdr *)mbox_msg->buf; in ti_sci_rx_callback()
268 if (mbox_msg->len > info->desc->max_msg_size) { in ti_sci_rx_callback()
270 mbox_msg->len, info->desc->max_msg_size); in ti_sci_rx_callback()
274 if (mbox_msg->len < xfer->rx_len) { in ti_sci_rx_callback()
276 mbox_msg->len, xfer->rx_len); in ti_sci_rx_callback()
283 memcpy(xfer->xfer_buf, mbox_msg->buf, xfer->rx_len); in ti_sci_rx_callback()