in_mbox 30 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *in_mbox, size_t in_mbox_size, in_mbox 34 drivers/net/ethernet/mellanox/mlxsw/cmd.h u8 opcode_mod, u32 in_mod, char *in_mbox, in_mbox 38 drivers/net/ethernet/mellanox/mlxsw/cmd.h false, in_mbox, in_mbox_size, NULL, 0); in_mbox 462 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *in_mbox, u32 vpm_entries_count) in_mbox 466 drivers/net/ethernet/mellanox/mlxsw/cmd.h in_mbox, MLXSW_CMD_MBOX_SIZE); in_mbox 545 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *in_mbox) in_mbox 548 drivers/net/ethernet/mellanox/mlxsw/cmd.h 1, 0, in_mbox, MLXSW_CMD_MBOX_SIZE); in_mbox 857 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *in_mbox, char *out_mbox) in_mbox 861 drivers/net/ethernet/mellanox/mlxsw/cmd.h in_mbox, MLXSW_CMD_MBOX_SIZE, in_mbox 876 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *in_mbox, u32 dq_number, in_mbox 881 drivers/net/ethernet/mellanox/mlxsw/cmd.h in_mbox, MLXSW_CMD_MBOX_SIZE); in_mbox 890 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *in_mbox, u32 dq_number) in_mbox 892 drivers/net/ethernet/mellanox/mlxsw/cmd.h return __mlxsw_cmd_sw2hw_dq(mlxsw_core, in_mbox, dq_number, in_mbox 897 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *in_mbox, u32 dq_number) in_mbox 899 drivers/net/ethernet/mellanox/mlxsw/cmd.h return __mlxsw_cmd_sw2hw_dq(mlxsw_core, in_mbox, dq_number, in_mbox 1034 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *in_mbox, u32 cq_number) in_mbox 1037 drivers/net/ethernet/mellanox/mlxsw/cmd.h 0, cq_number, in_mbox, MLXSW_CMD_MBOX_SIZE); in_mbox 1125 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *in_mbox, u32 eq_number) in_mbox 1128 drivers/net/ethernet/mellanox/mlxsw/cmd.h 0, eq_number, in_mbox, MLXSW_CMD_MBOX_SIZE); in_mbox 1660 drivers/net/ethernet/mellanox/mlxsw/core.c char *in_mbox, *out_mbox, *tmp; in_mbox 1666 drivers/net/ethernet/mellanox/mlxsw/core.c in_mbox = mlxsw_cmd_mbox_alloc(); in_mbox 1667 drivers/net/ethernet/mellanox/mlxsw/core.c if (!in_mbox) in_mbox 1676 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_emad_pack_op_tlv(in_mbox, reg, type, in_mbox 1678 drivers/net/ethernet/mellanox/mlxsw/core.c tmp = in_mbox + MLXSW_EMAD_OP_TLV_LEN * sizeof(u32); in_mbox 1690 drivers/net/ethernet/mellanox/mlxsw/core.c err = mlxsw_cmd_access_reg(mlxsw_core, reset_ok, in_mbox, out_mbox); in_mbox 1707 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_cmd_mbox_free(in_mbox); in_mbox 2031 drivers/net/ethernet/mellanox/mlxsw/core.c char *in_mbox, size_t in_mbox_size, in_mbox 2043 drivers/net/ethernet/mellanox/mlxsw/core.c if (in_mbox) { in_mbox 2045 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_buf_dump_dbg(mlxsw_core, in_mbox, in_mbox_size); in_mbox 2050 drivers/net/ethernet/mellanox/mlxsw/core.c in_mbox, in_mbox_size, in_mbox 368 drivers/net/ethernet/mellanox/mlxsw/core.h char *in_mbox, size_t in_mbox_size, in_mbox 119 drivers/net/ethernet/mellanox/mlxsw/i2c.c static inline int mlxsw_i2c_get_reg_size(u8 *in_mbox) in_mbox 121 drivers/net/ethernet/mellanox/mlxsw/i2c.c u16 tmp = be16_to_cpup((__be16 *) (in_mbox + MLXSW_I2C_TLV_HDR_SIZE)); in_mbox 313 drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c_write(struct device *dev, size_t in_mbox_size, u8 *in_mbox, int num, in_mbox 337 drivers/net/ethernet/mellanox/mlxsw/i2c.c memcpy(&tran_buf[MLXSW_I2C_ADDR_BUF_SIZE], in_mbox + in_mbox 392 drivers/net/ethernet/mellanox/mlxsw/i2c.c u8 *in_mbox, size_t out_mbox_size, u8 *out_mbox, u8 *status) in_mbox 407 drivers/net/ethernet/mellanox/mlxsw/i2c.c if (in_mbox) { in_mbox 408 drivers/net/ethernet/mellanox/mlxsw/i2c.c reg_size = mlxsw_i2c_get_reg_size(in_mbox); in_mbox 418 drivers/net/ethernet/mellanox/mlxsw/i2c.c err = mlxsw_i2c_write(dev, reg_size, in_mbox, num, status); in_mbox 486 drivers/net/ethernet/mellanox/mlxsw/i2c.c char *in_mbox, size_t in_mbox_size, in_mbox 493 drivers/net/ethernet/mellanox/mlxsw/i2c.c in_mbox, out_mbox_size, out_mbox, status); in_mbox 115 drivers/net/ethernet/mellanox/mlxsw/pci.c struct mlxsw_pci_mem_item in_mbox; in_mbox 1413 drivers/net/ethernet/mellanox/mlxsw/pci.c err = mlxsw_pci_mbox_alloc(mlxsw_pci, &mlxsw_pci->cmd.in_mbox); in_mbox 1529 drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_mbox_free(mlxsw_pci, &mlxsw_pci->cmd.in_mbox); in_mbox 1544 drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_mbox_free(mlxsw_pci, &mlxsw_pci->cmd.in_mbox); in_mbox 1636 drivers/net/ethernet/mellanox/mlxsw/pci.c char *in_mbox, size_t in_mbox_size, in_mbox 1653 drivers/net/ethernet/mellanox/mlxsw/pci.c if (in_mbox) { in_mbox 1654 drivers/net/ethernet/mellanox/mlxsw/pci.c memcpy(mlxsw_pci->cmd.in_mbox.buf, in_mbox, in_mbox_size); in_mbox 1655 drivers/net/ethernet/mellanox/mlxsw/pci.c in_mapaddr = mlxsw_pci->cmd.in_mbox.mapaddr; in_mbox 1272 drivers/scsi/qla4xxx/ql4_fw.h uint32_t in_mbox[8]; /* 08-25 */ in_mbox 464 drivers/scsi/qla4xxx/ql4_iocb.c uint32_t *in_mbox) in_mbox 496 drivers/scsi/qla4xxx/ql4_iocb.c memcpy(mrb->mbox->in_mbox, in_mbox, 32); in_mbox 497 drivers/scsi/qla4xxx/ql4_iocb.c mrb->mbox_cmd = in_mbox[0]; in_mbox 510 drivers/scsi/qla4xxx/ql4_iocb.c uint32_t in_mbox[8]; in_mbox 514 drivers/scsi/qla4xxx/ql4_iocb.c memset(in_mbox, 0, sizeof(in_mbox)); in_mbox 524 drivers/scsi/qla4xxx/ql4_iocb.c in_mbox[0] = MBOX_CMD_PING; in_mbox 525 drivers/scsi/qla4xxx/ql4_iocb.c in_mbox[1] = options; in_mbox 526 drivers/scsi/qla4xxx/ql4_iocb.c memcpy(&in_mbox[2], &ipaddr[0], 4); in_mbox 527 drivers/scsi/qla4xxx/ql4_iocb.c memcpy(&in_mbox[3], &ipaddr[4], 4); in_mbox 528 drivers/scsi/qla4xxx/ql4_iocb.c memcpy(&in_mbox[4], &ipaddr[8], 4); in_mbox 529 drivers/scsi/qla4xxx/ql4_iocb.c memcpy(&in_mbox[5], &ipaddr[12], 4); in_mbox 530 drivers/scsi/qla4xxx/ql4_iocb.c in_mbox[6] = payload_size; in_mbox 533 drivers/scsi/qla4xxx/ql4_iocb.c rval = qla4xxx_send_mbox_iocb(ha, mrb, in_mbox);