/linux-6.1.9/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() 488 char *in_mbox, u32 vpm_entries_count) in mlxsw_cmd_map_fa() argument 492 in_mbox, MLXSW_CMD_MBOX_SIZE); in mlxsw_cmd_map_fa() 571 char *in_mbox) in mlxsw_cmd_config_profile_set() argument 574 1, 0, in_mbox, MLXSW_CMD_MBOX_SIZE); in mlxsw_cmd_config_profile_set() 934 char *in_mbox, char *out_mbox) in mlxsw_cmd_access_reg() argument 938 in_mbox, MLXSW_CMD_MBOX_SIZE, in mlxsw_cmd_access_reg() 953 char *in_mbox, u32 dq_number, in __mlxsw_cmd_sw2hw_dq() argument [all …]
|
D | i2c.c | 136 static inline int mlxsw_i2c_get_reg_size(u8 *in_mbox) in mlxsw_i2c_get_reg_size() argument 138 u16 tmp = be16_to_cpup((__be16 *) (in_mbox + MLXSW_I2C_TLV_HDR_SIZE)); in mlxsw_i2c_get_reg_size() 330 mlxsw_i2c_write(struct device *dev, size_t in_mbox_size, u8 *in_mbox, int num, in mlxsw_i2c_write() argument 354 memcpy(&tran_buf[MLXSW_I2C_ADDR_BUF_SIZE], in_mbox + in mlxsw_i2c_write() 409 u8 *in_mbox, size_t out_mbox_size, u8 *out_mbox, u8 *status) in mlxsw_i2c_cmd() argument 424 if (in_mbox) { in mlxsw_i2c_cmd() 425 reg_size = mlxsw_i2c_get_reg_size(in_mbox); in mlxsw_i2c_cmd() 435 err = mlxsw_i2c_write(dev, reg_size, in_mbox, num, status); in mlxsw_i2c_cmd() 503 char *in_mbox, size_t in_mbox_size, in mlxsw_i2c_cmd_exec() argument 510 in_mbox, out_mbox_size, out_mbox, status); in mlxsw_i2c_cmd_exec()
|
D | pci.c | 117 struct mlxsw_pci_mem_item in_mbox; member 1770 char *in_mbox, size_t in_mbox_size, in mlxsw_pci_cmd_exec() argument 1787 if (in_mbox) { in mlxsw_pci_cmd_exec() 1788 memcpy(mlxsw_pci->cmd.in_mbox.buf, in_mbox, in_mbox_size); in mlxsw_pci_cmd_exec() 1789 in_mapaddr = mlxsw_pci->cmd.in_mbox.mapaddr; in mlxsw_pci_cmd_exec() 1915 err = mlxsw_pci_mbox_alloc(mlxsw_pci, &mlxsw_pci->cmd.in_mbox); in mlxsw_pci_cmd_init() 1926 mlxsw_pci_mbox_free(mlxsw_pci, &mlxsw_pci->cmd.in_mbox); in mlxsw_pci_cmd_init() 1935 mlxsw_pci_mbox_free(mlxsw_pci, &mlxsw_pci->cmd.in_mbox); in mlxsw_pci_cmd_fini()
|
D | core.c | 2852 char *in_mbox, *out_mbox, *tmp; in mlxsw_core_reg_access_cmd() local 2858 in_mbox = mlxsw_cmd_mbox_alloc(); in mlxsw_core_reg_access_cmd() 2859 if (!in_mbox) in mlxsw_core_reg_access_cmd() 2868 mlxsw_emad_pack_op_tlv(in_mbox, reg, type, in mlxsw_core_reg_access_cmd() 2870 tmp = in_mbox + MLXSW_EMAD_OP_TLV_LEN * sizeof(u32); in mlxsw_core_reg_access_cmd() 2882 err = mlxsw_cmd_access_reg(mlxsw_core, reset_ok, in_mbox, out_mbox); in mlxsw_core_reg_access_cmd() 2899 mlxsw_cmd_mbox_free(in_mbox); in mlxsw_core_reg_access_cmd() 3255 char *in_mbox, size_t in_mbox_size, in mlxsw_cmd_exec() argument 3267 if (in_mbox) { in mlxsw_cmd_exec() 3269 mlxsw_core_buf_dump_dbg(mlxsw_core, in_mbox, in_mbox_size); in mlxsw_cmd_exec() [all …]
|
D | core.h | 486 char *in_mbox, size_t in_mbox_size,
|
/linux-6.1.9/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
|