Home
last modified time | relevance | path

Searched refs:mbox_cmd (Results 1 – 25 of 40) sorted by relevance

12

/drivers/scsi/qla4xxx/
A Dql4_mbx.c290 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_get_minidump_template()
321 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_req_template_size()
637 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_initialize_fw_cb()
746 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_get_firmware_state()
777 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_get_firmware_status()
843 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_get_fwddb_entry()
921 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_conn_open()
955 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_set_ddb_entry()
981 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_session_logout_ddb()
1018 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_get_crash_record()
[all …]
A Dql4_bsg.c455 uint32_t mbox_cmd[MBOX_REG_COUNT]; in ql4xxx_execute_diag_cmd() local
474 __func__, mbox_cmd[0], mbox_cmd[1], mbox_cmd[2], in ql4xxx_execute_diag_cmd()
475 mbox_cmd[3], mbox_cmd[4], mbox_cmd[5], mbox_cmd[6], in ql4xxx_execute_diag_cmd()
476 mbox_cmd[7])); in ql4xxx_execute_diag_cmd()
557 uint32_t *mbox_cmd) in qla4_83xx_pre_loopback_config() argument
578 if (mbox_cmd[1] == QL_DIAG_CMD_TEST_INT_LOOPBACK) in qla4_83xx_pre_loopback_config()
608 uint32_t *mbox_cmd) in qla4_83xx_post_loopback_config() argument
659 uint32_t mbox_cmd[MBOX_REG_COUNT]; in qla4xxx_execute_diag_loopback_cmd() local
702 __func__, mbox_cmd[0], mbox_cmd[1], mbox_cmd[2], in qla4xxx_execute_diag_loopback_cmd()
703 mbox_cmd[3], mbox_cmd[4], mbox_cmd[5], mbox_cmd[6], in qla4xxx_execute_diag_loopback_cmd()
[all …]
A Dql4_nx.c3966 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4_8xxx_stop_firmware()
3969 mbox_cmd[0] = MBOX_CMD_STOP_FW; in qla4_8xxx_stop_firmware()
3971 &mbox_cmd[0], &mbox_sts[0]); in qla4_8xxx_stop_firmware()
4036 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4_8xxx_get_sys_info()
4040 mbox_cmd[1] = LSDW(sys_info_dma); in qla4_8xxx_get_sys_info()
4041 mbox_cmd[2] = MSDW(sys_info_dma); in qla4_8xxx_get_sys_info()
4042 mbox_cmd[4] = sizeof(*sys_info); in qla4_8xxx_get_sys_info()
4091 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4_8xxx_intr_enable()
4094 mbox_cmd[1] = INTR_ENABLE; in qla4_8xxx_intr_enable()
4112 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4_8xxx_intr_disable()
[all …]
A Dql4_glbl.h49 uint8_t qla4xxx_get_ifcb(struct scsi_qla_host *ha, uint32_t *mbox_cmd,
56 int qla4xxx_set_acb(struct scsi_qla_host *ha, uint32_t *mbox_cmd,
105 uint32_t *mbox_cmd,
269 int qla4xxx_set_acb(struct scsi_qla_host *ha, uint32_t *mbox_cmd,
/drivers/net/ethernet/cavium/liquidio/
A Docteon_mailbox.c246 mbox_cmd->msg.s.len = 2; in octeon_mbox_process_cmd()
276 mbox_cmd->msg.s.len = 1 + in octeon_mbox_process_cmd()
308 mbox_cmd.recv_status = 1; in octeon_mbox_process_message()
309 if (mbox_cmd.fn) in octeon_mbox_process_message()
310 mbox_cmd.fn(mbox->oct_dev, &mbox_cmd, in octeon_mbox_process_message()
311 mbox_cmd.fn_arg); in octeon_mbox_process_message()
327 mbox_cmd.recv_status = 0; in octeon_mbox_process_message()
328 if (mbox_cmd.fn) in octeon_mbox_process_message()
329 mbox_cmd.fn(mbox->oct_dev, &mbox_cmd, mbox_cmd.fn_arg); in octeon_mbox_process_message()
362 mbox_cmd = &mbox->mbox_resp; in octeon_mbox_cancel()
[all …]
A Dcn23xx_vf_device.c374 mbox_cmd.msg.u64 = 0; in cn23xx_vf_ask_pf_to_do_flr()
378 mbox_cmd.msg.s.len = 1; in cn23xx_vf_ask_pf_to_do_flr()
379 mbox_cmd.q_no = 0; in cn23xx_vf_ask_pf_to_do_flr()
380 mbox_cmd.recv_len = 0; in cn23xx_vf_ask_pf_to_do_flr()
382 mbox_cmd.fn = NULL; in cn23xx_vf_ask_pf_to_do_flr()
383 mbox_cmd.fn_arg = NULL; in cn23xx_vf_ask_pf_to_do_flr()
417 mbox_cmd.msg.u64 = 0; in cn23xx_octeon_pfvf_handshake()
421 mbox_cmd.msg.s.len = 2; in cn23xx_octeon_pfvf_handshake()
422 mbox_cmd.data[0] = 0; in cn23xx_octeon_pfvf_handshake()
429 mbox_cmd.q_no = 0; in cn23xx_octeon_pfvf_handshake()
[all …]
A Dcn23xx_pf_device.c1237 mbox_cmd.msg.u64 = 0; in cn23xx_tell_vf_its_macaddr_changed()
1241 mbox_cmd.msg.s.len = 1; in cn23xx_tell_vf_its_macaddr_changed()
1242 mbox_cmd.recv_len = 0; in cn23xx_tell_vf_its_macaddr_changed()
1243 mbox_cmd.recv_status = 0; in cn23xx_tell_vf_its_macaddr_changed()
1244 mbox_cmd.fn = NULL; in cn23xx_tell_vf_its_macaddr_changed()
1245 mbox_cmd.fn_arg = NULL; in cn23xx_tell_vf_its_macaddr_changed()
1277 mbox_cmd.msg.u64 = 0; in cn23xx_get_vf_stats()
1281 mbox_cmd.msg.s.len = 1; in cn23xx_get_vf_stats()
1283 mbox_cmd.recv_len = 0; in cn23xx_get_vf_stats()
1284 mbox_cmd.recv_status = 0; in cn23xx_get_vf_stats()
[all …]
A Docteon_mailbox.h121 struct octeon_mbox_cmd *mbox_cmd);
/drivers/platform/x86/intel/speed_select_if/
A Disst_if_mbox_pci.c40 struct isst_if_mbox_cmd *mbox_cmd) in isst_if_mbox_cmd() argument
71 mbox_cmd->req_data); in isst_if_mbox_cmd()
78 (mbox_cmd->sub_command << 8) | in isst_if_mbox_cmd()
79 mbox_cmd->command; in isst_if_mbox_cmd()
109 mbox_cmd->resp_data = data; in isst_if_mbox_cmd()
119 struct isst_if_mbox_cmd *mbox_cmd; in isst_if_mbox_proc_cmd() local
126 if (isst_if_mbox_cmd_invalid(mbox_cmd)) in isst_if_mbox_proc_cmd()
148 mbox_cmd->sub_command, in isst_if_mbox_proc_cmd()
149 mbox_cmd->logical_cpu, 1, in isst_if_mbox_proc_cmd()
150 mbox_cmd->parameter, in isst_if_mbox_proc_cmd()
[all …]
A Disst_if_mbox_msr.c90 struct isst_if_mbox_cmd *mbox_cmd; member
99 act->mbox_cmd->sub_command, in msrl_update_func()
100 act->mbox_cmd->parameter, in msrl_update_func()
101 act->mbox_cmd->req_data, in msrl_update_func()
102 &act->mbox_cmd->resp_data); in msrl_update_func()
112 if (isst_if_mbox_cmd_invalid(action.mbox_cmd)) in isst_if_mbox_proc_cmd()
115 if (isst_if_mbox_cmd_set_req(action.mbox_cmd) && in isst_if_mbox_proc_cmd()
133 action.mbox_cmd->sub_command, in isst_if_mbox_proc_cmd()
134 action.mbox_cmd->logical_cpu, 1, in isst_if_mbox_proc_cmd()
135 action.mbox_cmd->parameter, in isst_if_mbox_proc_cmd()
[all …]
A Disst_if_common.c164 struct isst_if_mbox_cmd mbox_cmd; in isst_mbox_resume_command() local
167 mbox_cmd.command = (sst_cmd->cmd & GENMASK_ULL(31, 16)) >> 16; in isst_mbox_resume_command()
168 mbox_cmd.sub_command = sst_cmd->cmd & GENMASK_ULL(15, 0); in isst_mbox_resume_command()
169 mbox_cmd.parameter = sst_cmd->param; in isst_mbox_resume_command()
170 mbox_cmd.req_data = sst_cmd->data; in isst_mbox_resume_command()
171 mbox_cmd.logical_cpu = sst_cmd->cpu; in isst_mbox_resume_command()
172 (cb->cmd_callback)((u8 *)&mbox_cmd, &wr_only, 1); in isst_mbox_resume_command()
A Disst_if_common.h77 bool isst_if_mbox_cmd_set_req(struct isst_if_mbox_cmd *mbox_cmd);
79 int isst_store_cmd(int cmd, int sub_command, u32 cpu, int mbox_cmd,
/drivers/cxl/core/
A Dmbox.c255 out_size = mbox_cmd->size_out; in cxl_internal_send_cmd()
256 min_out = mbox_cmd->min_out; in cxl_internal_send_cmd()
382 if (mbox_cmd->size_out) { in cxl_mbox_cmd_ctor()
383 mbox_cmd->payload_out = kvzalloc(mbox_cmd->size_out, GFP_KERNEL); in cxl_mbox_cmd_ctor()
384 if (!mbox_cmd->payload_out) { in cxl_mbox_cmd_ctor()
602 mbox_cmd->opcode, mbox_cmd->size_in); in handle_mailbox_cmd_from_user()
613 if (mbox_cmd->size_out) { in handle_mailbox_cmd_from_user()
617 mbox_cmd->payload_out, mbox_cmd->size_out)) { in handle_mailbox_cmd_from_user()
627 cxl_mbox_cmd_dtor(mbox_cmd); in handle_mailbox_cmd_from_user()
635 struct cxl_mbox_cmd mbox_cmd; in cxl_send_cmd() local
[all …]
A Dfeatures.c59 struct cxl_mbox_cmd mbox_cmd; in cxl_get_supported_features_count() local
65 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_get_supported_features_count()
88 struct cxl_mbox_cmd mbox_cmd; in get_supported_features() local
132 mbox_cmd = (struct cxl_mbox_cmd) { in get_supported_features()
144 if (mbox_cmd.size_out <= hdr_size) in get_supported_features()
230 struct cxl_mbox_cmd mbox_cmd; in cxl_get_feature() local
249 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_get_feature()
258 if (rc < 0 || !mbox_cmd.size_out) { in cxl_get_feature()
263 data_rcvd_size += mbox_cmd.size_out; in cxl_get_feature()
284 struct cxl_mbox_cmd mbox_cmd; in cxl_set_feature() local
[all …]
A Dmemdev.c284 struct cxl_mbox_cmd mbox_cmd; in cxl_inject_poison() local
304 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_inject_poison()
334 struct cxl_mbox_cmd mbox_cmd; in cxl_clear_poison() local
362 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_clear_poison()
725 struct cxl_mbox_cmd mbox_cmd; in cxl_mem_get_fw_info() local
728 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_mem_get_fw_info()
760 struct cxl_mbox_cmd mbox_cmd; in cxl_mem_activate_fw() local
765 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_mem_activate_fw()
792 struct cxl_mbox_cmd mbox_cmd; in cxl_mem_abort_fw_xfer() local
800 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_mem_abort_fw_xfer()
[all …]
/drivers/cxl/
A Dsecurity.c23 struct cxl_mbox_cmd mbox_cmd; in cxl_pmem_get_security_flags() local
27 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_pmem_get_security_flags()
75 struct cxl_mbox_cmd mbox_cmd; in cxl_pmem_security_change_key() local
85 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_pmem_security_change_key()
102 struct cxl_mbox_cmd mbox_cmd; in __cxl_pmem_security_disable() local
110 mbox_cmd = (struct cxl_mbox_cmd) { in __cxl_pmem_security_disable()
136 struct cxl_mbox_cmd mbox_cmd = { in cxl_pmem_security_freeze() local
150 struct cxl_mbox_cmd mbox_cmd; in cxl_pmem_security_unlock() local
154 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_pmem_security_unlock()
174 struct cxl_mbox_cmd mbox_cmd; in cxl_pmem_security_passphrase_erase() local
[all …]
A Dpci.c249 mbox_cmd->opcode); in __cxl_pci_mbox_send_cmd()
250 if (mbox_cmd->size_in) { in __cxl_pci_mbox_send_cmd()
255 mbox_cmd->size_in); in __cxl_pci_mbox_send_cmd()
256 memcpy_toio(payload, mbox_cmd->payload_in, mbox_cmd->size_in); in __cxl_pci_mbox_send_cmd()
278 mbox_cmd->return_code = in __cxl_pci_mbox_send_cmd()
318 mbox_cmd->opcode); in __cxl_pci_mbox_send_cmd()
337 mbox_cmd->return_code = in __cxl_pci_mbox_send_cmd()
342 mbox_cmd->opcode); in __cxl_pci_mbox_send_cmd()
369 mbox_cmd->size_out = n; in __cxl_pci_mbox_send_cmd()
371 mbox_cmd->size_out = 0; in __cxl_pci_mbox_send_cmd()
[all …]
A Dpmem.c194 struct cxl_mbox_cmd mbox_cmd; in cxl_pmem_get_config_data() local
206 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_pmem_get_config_data()
214 rc = cxl_internal_send_cmd(cxl_mbox, &mbox_cmd); in cxl_pmem_get_config_data()
226 struct cxl_mbox_cmd mbox_cmd; in cxl_pmem_set_config_data() local
245 mbox_cmd = (struct cxl_mbox_cmd) { in cxl_pmem_set_config_data()
251 rc = cxl_internal_send_cmd(cxl_mbox, &mbox_cmd); in cxl_pmem_set_config_data()
A Dcxlmem.h180 static inline const char *cxl_mbox_cmd_rc2str(struct cxl_mbox_cmd *mbox_cmd) in cxl_mbox_cmd_rc2str() argument
182 return cxl_mbox_cmd_rctable[mbox_cmd->return_code].desc; in cxl_mbox_cmd_rc2str()
185 static inline int cxl_mbox_cmd_rc2errno(struct cxl_mbox_cmd *mbox_cmd) in cxl_mbox_cmd_rc2errno() argument
187 return cxl_mbox_cmd_rctable[mbox_cmd->return_code].err; in cxl_mbox_cmd_rc2errno()
/drivers/net/ethernet/chelsio/cxgb4vf/
A Dt4vf_common.h276 struct mbox_cmd { struct
294 static inline struct mbox_cmd *mbox_cmd_log_entry(struct mbox_cmd_log *log, in mbox_cmd_log_entry() argument
297 return &((struct mbox_cmd *)&(log)[1])[entry_idx]; in mbox_cmd_log_entry()
/drivers/firmware/
A Dturris-mox-rwtm.c57 enum mbox_cmd { enum
143 static int mox_get_status(enum mbox_cmd cmd, u32 retval) in mox_get_status()
169 static int mox_rwtm_exec(struct mox_rwtm *rwtm, enum mbox_cmd cmd, in mox_rwtm_exec()
/drivers/net/ethernet/netronome/nfp/
A Dnfp_net.h1002 int nfp_net_mbox_reconfig(struct nfp_net *nn, u32 mbox_cmd);
1003 int nfp_net_mbox_reconfig_and_unlock(struct nfp_net *nn, u32 mbox_cmd);
A Dnfp_net_common.c314 int nfp_net_mbox_reconfig(struct nfp_net *nn, u32 mbox_cmd) in nfp_net_mbox_reconfig() argument
319 nn_writeq(nn, mbox + NFP_NET_CFG_MBOX_SIMPLE_CMD, mbox_cmd); in nfp_net_mbox_reconfig()
330 void nfp_net_mbox_reconfig_post(struct nfp_net *nn, u32 mbox_cmd) in nfp_net_mbox_reconfig_post() argument
334 nn_writeq(nn, mbox + NFP_NET_CFG_MBOX_SIMPLE_CMD, mbox_cmd); in nfp_net_mbox_reconfig_post()
348 int nfp_net_mbox_reconfig_and_unlock(struct nfp_net *nn, u32 mbox_cmd) in nfp_net_mbox_reconfig_and_unlock() argument
352 ret = nfp_net_mbox_reconfig(nn, mbox_cmd); in nfp_net_mbox_reconfig_and_unlock()
/drivers/net/ethernet/mellanox/mlxsw/
A Di2c.c308 struct i2c_msg mbox_cmd[] = in mlxsw_i2c_get_mbox() local
314 err = i2c_transfer(client->adapter, mbox_cmd, 2); in mlxsw_i2c_get_mbox()
/drivers/net/ethernet/chelsio/cxgb4/
A Dcudbg_entity.h19 struct mbox_cmd entry;

Completed in 79 milliseconds

12