/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | cmd.h | 30 char *in_mbox, size_t in_mbox_size, 34 u8 opcode_mod, u32 in_mod, char *in_mbox, in mlxsw_cmd_exec_in() argument 38 false, in_mbox, in_mbox_size, NULL, 0); in mlxsw_cmd_exec_in() 500 char *in_mbox, u32 vpm_entries_count) in mlxsw_cmd_map_fa() argument 504 in_mbox, MLXSW_CMD_MBOX_SIZE); in mlxsw_cmd_map_fa() 583 char *in_mbox) in mlxsw_cmd_config_profile_set() argument 586 1, 0, in_mbox, MLXSW_CMD_MBOX_SIZE); in mlxsw_cmd_config_profile_set() 972 char *in_mbox, char *out_mbox) in mlxsw_cmd_access_reg() argument 976 in_mbox, MLXSW_CMD_MBOX_SIZE, in mlxsw_cmd_access_reg() 991 char *in_mbox, u32 dq_number, in __mlxsw_cmd_sw2hw_dq() argument [all …]
|
D | i2c.c | 137 static inline int mlxsw_i2c_get_reg_size(u8 *in_mbox) in mlxsw_i2c_get_reg_size() argument 139 u16 tmp = be16_to_cpup((__be16 *) (in_mbox + MLXSW_I2C_TLV_HDR_SIZE)); in mlxsw_i2c_get_reg_size() 331 mlxsw_i2c_write(struct device *dev, size_t in_mbox_size, u8 *in_mbox, int num, in mlxsw_i2c_write() argument 355 memcpy(&tran_buf[MLXSW_I2C_ADDR_BUF_SIZE], in_mbox + in mlxsw_i2c_write() 410 u8 *in_mbox, size_t out_mbox_size, u8 *out_mbox, u8 *status) in mlxsw_i2c_cmd() argument 425 if (in_mbox) { in mlxsw_i2c_cmd() 426 reg_size = mlxsw_i2c_get_reg_size(in_mbox); in mlxsw_i2c_cmd() 434 err = mlxsw_i2c_write(dev, reg_size, in_mbox, num, status); in mlxsw_i2c_cmd() 502 char *in_mbox, size_t in_mbox_size, in mlxsw_i2c_cmd_exec() argument 509 in_mbox, out_mbox_size, out_mbox, status); in mlxsw_i2c_cmd_exec()
|
D | pci.c | 124 struct mlxsw_pci_mem_item in_mbox; member 2193 char *in_mbox, size_t in_mbox_size, in mlxsw_pci_cmd_exec() argument 2210 if (in_mbox) { in mlxsw_pci_cmd_exec() 2211 memcpy(mlxsw_pci->cmd.in_mbox.buf, in_mbox, in_mbox_size); in mlxsw_pci_cmd_exec() 2212 in_mapaddr = mlxsw_pci->cmd.in_mbox.mapaddr; in mlxsw_pci_cmd_exec() 2345 err = mlxsw_pci_mbox_alloc(mlxsw_pci, &mlxsw_pci->cmd.in_mbox); in mlxsw_pci_cmd_init() 2356 mlxsw_pci_mbox_free(mlxsw_pci, &mlxsw_pci->cmd.in_mbox); in mlxsw_pci_cmd_init() 2365 mlxsw_pci_mbox_free(mlxsw_pci, &mlxsw_pci->cmd.in_mbox); in mlxsw_pci_cmd_fini()
|
D | core.c | 2838 char *in_mbox, *out_mbox, *tmp; in mlxsw_core_reg_access_cmd() local 2844 in_mbox = mlxsw_cmd_mbox_alloc(); in mlxsw_core_reg_access_cmd() 2845 if (!in_mbox) in mlxsw_core_reg_access_cmd() 2854 mlxsw_emad_pack_op_tlv(in_mbox, reg, type, in mlxsw_core_reg_access_cmd() 2856 tmp = in_mbox + MLXSW_EMAD_OP_TLV_LEN * sizeof(u32); in mlxsw_core_reg_access_cmd() 2868 err = mlxsw_cmd_access_reg(mlxsw_core, reset_ok, in_mbox, out_mbox); in mlxsw_core_reg_access_cmd() 2885 mlxsw_cmd_mbox_free(in_mbox); in mlxsw_core_reg_access_cmd() 3235 char *in_mbox, size_t in_mbox_size, in mlxsw_cmd_exec() argument 3247 if (in_mbox) { in mlxsw_cmd_exec() 3249 mlxsw_core_buf_dump_dbg(mlxsw_core, in_mbox, in_mbox_size); in mlxsw_cmd_exec() [all …]
|
D | core.h | 492 char *in_mbox, size_t in_mbox_size,
|
/linux-6.12.1/drivers/scsi/qla4xxx/ |
D | ql4_iocb.c | 463 uint32_t *in_mbox) in qla4xxx_send_mbox_iocb() argument 495 memcpy(mrb->mbox->in_mbox, in_mbox, 32); in qla4xxx_send_mbox_iocb() 496 mrb->mbox_cmd = in_mbox[0]; in qla4xxx_send_mbox_iocb() 509 uint32_t in_mbox[8]; in qla4xxx_ping_iocb() local 513 memset(in_mbox, 0, sizeof(in_mbox)); in qla4xxx_ping_iocb() 523 in_mbox[0] = MBOX_CMD_PING; in qla4xxx_ping_iocb() 524 in_mbox[1] = options; in qla4xxx_ping_iocb() 525 memcpy(&in_mbox[2], &ipaddr[0], 4); in qla4xxx_ping_iocb() 526 memcpy(&in_mbox[3], &ipaddr[4], 4); in qla4xxx_ping_iocb() 527 memcpy(&in_mbox[4], &ipaddr[8], 4); in qla4xxx_ping_iocb() [all …]
|
D | ql4_fw.h | 1270 uint32_t in_mbox[8]; /* 08-25 */ member
|