/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_cmd.c | 42 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 …]
|
H A D | hns_roce_hw_v2.c | 2945 struct hns_roce_mbox_msg *mbox_msg) in hns_roce_mbox_post() argument 2952 mb->in_param_l = cpu_to_le32(mbox_msg->in_param); in hns_roce_mbox_post() 2953 mb->in_param_h = cpu_to_le32(mbox_msg->in_param >> 32); in hns_roce_mbox_post() 2954 mb->out_param_l = cpu_to_le32(mbox_msg->out_param); in hns_roce_mbox_post() 2955 mb->out_param_h = cpu_to_le32(mbox_msg->out_param >> 32); in hns_roce_mbox_post() 2956 mb->cmd_tag = cpu_to_le32(mbox_msg->tag << 8 | mbox_msg->cmd); in hns_roce_mbox_post() 2957 mb->token_event_en = cpu_to_le32(mbox_msg->event_en << 16 | in hns_roce_mbox_post() 2958 mbox_msg->token); in hns_roce_mbox_post() 3015 struct hns_roce_mbox_msg *mbox_msg) in v2_post_mbox() argument 3031 ret = hns_roce_mbox_post(hr_dev, mbox_msg); in v2_post_mbox()
|
H A D | hns_roce_device.h | 883 struct hns_roce_mbox_msg *mbox_msg);
|
/openbmc/phosphor-mboxd/ |
H A D | mboxd_msg.h | 26 union mbox_regs *req, struct mbox_msg *resp); 28 union mbox_regs *req, struct mbox_msg *resp); 30 union mbox_regs *req, struct mbox_msg *resp); 32 union mbox_regs *req, struct mbox_msg *resp); 34 union mbox_regs *req, struct mbox_msg *resp); 36 union mbox_regs *req, struct mbox_msg *resp); 38 union mbox_regs *req, struct mbox_msg *resp); 40 union mbox_regs *req, struct mbox_msg *resp); 42 struct mbox_msg *resp); 44 union mbox_regs *req, struct mbox_msg *resp);
|
H A D | mboxd_msg.c | 123 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_reset() 172 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_mbox_info() 251 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_flash_info() 315 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_read_window() 388 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_write_window() 422 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_dirty_window() 481 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_erase_window() 534 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_flush_window() 630 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_close_window() 664 struct mbox_msg *resp) in mbox_handle_ack() [all …]
|
H A D | mbox.h | 121 struct mbox_msg { struct 130 struct mbox_msg msg; argument 136 struct mbox_msg *);
|
/openbmc/hiomapd/ |
H A D | transport_mbox.c | 155 struct mbox_msg *resp __attribute__((unused))) in mbox_handle_reset() 183 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_mbox_info() 227 struct mbox_msg *resp) in mbox_handle_flash_info() 277 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_create_window() 319 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_read_window() 344 union mbox_regs *req, struct mbox_msg *resp) in mbox_handle_write_window() 367 struct mbox_msg *resp __attribute__((unused))) in mbox_handle_dirty_window() 397 struct mbox_msg *resp __attribute__((unused))) in mbox_handle_erase_window() 431 struct mbox_msg *resp __attribute__((unused))) in mbox_handle_flush_window() 456 struct mbox_msg *resp __attribute__((unused))) in mbox_handle_close_window() [all …]
|
H A D | transport_mbox.h | 43 struct mbox_msg { struct 52 struct mbox_msg msg; argument
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_mbox.c | 60 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()
|
H A D | otx_cptpf_mbox.c | 59 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()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | coex.h | 137 ((le32_to_cpu((_notif)->mbox_msg[(_num)]) & BT_MBOX##_num##_##_field)\ 176 __le32 mbox_msg[4]; member
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_dev.h | 125 union mbox_msg { union 162 union mbox_msg msg;
|
H A D | nitrox_mbx.c | 59 union mbox_msg msg; in pf2vf_send_response()
|
/openbmc/phosphor-mboxd/vpnor/ |
H A D | mboxd_msg.hpp | 7 union mbox_regs *req, struct mbox_msg *resp);
|
H A D | mboxd_msg.cpp | 34 union mbox_regs* req, struct mbox_msg* resp) in vpnor_handle_write_window()
|
/openbmc/phosphor-mboxd/test/ |
H A D | mbox.h | 23 void mbox_rspcpy(struct mbox_context *context, struct mbox_msg *msg);
|
H A D | mbox.c | 90 void mbox_rspcpy(struct mbox_context *context, struct mbox_msg *msg) in mbox_rspcpy()
|
/openbmc/hiomapd/test/ |
H A D | mbox.h | 24 void mbox_rspcpy(struct mbox_context *context, struct mbox_msg *msg);
|
H A D | windows_equally_evictable.c | 68 struct mbox_msg _msg, *msg = &_msg; in main()
|
H A D | mbox.c | 94 void mbox_rspcpy(struct mbox_context *context, struct mbox_msg *msg) in mbox_rspcpy()
|
/openbmc/linux/drivers/soc/apple/ |
H A D | rtkit.c | 77 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()
|
/openbmc/phosphor-mboxd/vpnor/test/ |
H A D | dump_flash.cpp | 80 struct mbox_msg _msg, *msg = &_msg; in main()
|
/openbmc/hiomapd/vpnor/test/ |
H A D | dump_flash.cpp | 80 struct mbox_msg _msg, *msg = &_msg; in main()
|
/openbmc/linux/drivers/firmware/ |
H A D | ti_sci.c | 234 struct ti_msgmgr_message *mbox_msg = m; in ti_sci_rx_callback() local 235 struct ti_sci_msg_hdr *hdr = (struct ti_sci_msg_hdr *)mbox_msg->buf; in ti_sci_rx_callback() 253 if (mbox_msg->len > info->desc->max_msg_size) { in ti_sci_rx_callback() 255 mbox_msg->len, info->desc->max_msg_size); in ti_sci_rx_callback() 259 if (mbox_msg->len < xfer->rx_len) { in ti_sci_rx_callback() 261 mbox_msg->len, xfer->rx_len); in ti_sci_rx_callback() 268 memcpy(xfer->xfer_buf, mbox_msg->buf, xfer->rx_len); in ti_sci_rx_callback()
|