Home
last modified time | relevance | path

Searched refs:out_mbox (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dcmd.h31 char *out_mbox, size_t out_mbox_size);
44 char *out_mbox, size_t out_mbox_size) in mlxsw_cmd_exec_out() argument
48 out_mbox, out_mbox_size); in mlxsw_cmd_exec_out()
200 char *out_mbox) in mlxsw_cmd_query_fw() argument
203 0, 0, false, out_mbox, MLXSW_CMD_MBOX_SIZE); in mlxsw_cmd_query_fw()
366 char *out_mbox) in mlxsw_cmd_boardinfo() argument
369 0, 0, false, out_mbox, MLXSW_CMD_MBOX_SIZE); in mlxsw_cmd_boardinfo()
410 char *out_mbox) in mlxsw_cmd_query_aq_cap() argument
413 0, 0, false, out_mbox, MLXSW_CMD_MBOX_SIZE); in mlxsw_cmd_query_aq_cap()
537 char *out_mbox, int index) in mlxsw_cmd_query_resources() argument
[all …]
Di2c.c410 u8 *in_mbox, size_t out_mbox_size, u8 *out_mbox, u8 *status) in mlxsw_i2c_cmd() argument
441 if (!out_mbox) { in mlxsw_i2c_cmd()
462 read_tran[1].buf = out_mbox; in mlxsw_i2c_cmd()
505 char *out_mbox, size_t out_mbox_size, in mlxsw_i2c_cmd_exec() argument
511 in_mbox, out_mbox_size, out_mbox, status); in mlxsw_i2c_cmd_exec()
Dpci.c116 struct mlxsw_pci_mem_item out_mbox; member
1775 char *out_mbox, size_t out_mbox_size, in mlxsw_pci_cmd_exec() argument
1798 if (out_mbox) in mlxsw_pci_cmd_exec()
1799 out_mapaddr = mlxsw_pci->cmd.out_mbox.mapaddr; in mlxsw_pci_cmd_exec()
1842 if (!err && out_mbox && out_mbox_direct) { in mlxsw_pci_cmd_exec()
1852 memcpy(out_mbox, &tmp, sizeof(tmp)); in mlxsw_pci_cmd_exec()
1855 memcpy(out_mbox + sizeof(tmp), &tmp, sizeof(tmp)); in mlxsw_pci_cmd_exec()
1857 } else if (!err && out_mbox) { in mlxsw_pci_cmd_exec()
1858 memcpy(out_mbox, mlxsw_pci->cmd.out_mbox.buf, out_mbox_size); in mlxsw_pci_cmd_exec()
1923 err = mlxsw_pci_mbox_alloc(mlxsw_pci, &mlxsw_pci->cmd.out_mbox); in mlxsw_pci_cmd_init()
[all …]
Dcore.c2901 char *in_mbox, *out_mbox, *tmp; in mlxsw_core_reg_access_cmd() local
2911 out_mbox = mlxsw_cmd_mbox_alloc(); in mlxsw_core_reg_access_cmd()
2912 if (!out_mbox) { in mlxsw_core_reg_access_cmd()
2931 err = mlxsw_cmd_access_reg(mlxsw_core, reset_ok, in_mbox, out_mbox); in mlxsw_core_reg_access_cmd()
2933 err = mlxsw_emad_process_status(out_mbox, &status); in mlxsw_core_reg_access_cmd()
2943 memcpy(payload, mlxsw_emad_reg_payload_cmd(out_mbox), in mlxsw_core_reg_access_cmd()
2946 mlxsw_cmd_mbox_free(out_mbox); in mlxsw_core_reg_access_cmd()
3299 char *out_mbox, size_t out_mbox_size) in mlxsw_cmd_exec() argument
3318 out_mbox, out_mbox_size, &status); in mlxsw_cmd_exec()
3320 if (!err && out_mbox) { in mlxsw_cmd_exec()
[all …]
Dcore.h482 char *out_mbox, size_t out_mbox_size,
/Linux-v6.6/drivers/scsi/qla4xxx/
Dql4_isr.c443 mbox_sts_entry->out_mbox[0], in qla4xxx_mbox_status_entry()
444 mbox_sts_entry->out_mbox[6])); in qla4xxx_mbox_status_entry()
446 if (mbox_sts_entry->out_mbox[0] == MBOX_STS_COMMAND_COMPLETE) in qla4xxx_mbox_status_entry()
449 status = mbox_sts_entry->out_mbox[6]; in qla4xxx_mbox_status_entry()
451 data_size = sizeof(mbox_sts_entry->out_mbox); in qla4xxx_mbox_status_entry()
454 (uint8_t *) mbox_sts_entry->out_mbox); in qla4xxx_mbox_status_entry()
Dql4_fw.h1277 uint32_t out_mbox[8]; /* 08-25 */ member