Home
last modified time | relevance | path

Searched refs:vsd (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h208 u8 vsd[MLXSW_CMD_BOARDINFO_VSD_LEN]; member
Dcmd.h378 MLXSW_ITEM_BUF(cmd_mbox, boardinfo, vsd, 0x20, MLXSW_CMD_BOARDINFO_VSD_LEN);
Dcore.c767 mlxsw_core->dbg.vsd_blob.data = (void *) &bus_info->vsd; in mlxsw_core_debugfs_init()
768 mlxsw_core->dbg.vsd_blob.size = sizeof(bus_info->vsd); in mlxsw_core_debugfs_init()
Dpci.c1276 mlxsw_cmd_mbox_boardinfo_vsd_memcpy_from(mbox, bus_info->vsd); in mlxsw_pci_boardinfo()
/drivers/infiniband/hw/mthca/
Dmthca_cmd.c1238 static void get_board_id(void *vsd, char *board_id) in get_board_id() argument
1251 if (be16_to_cpup(vsd + VSD_OFFSET_SIG1) == VSD_SIGNATURE_TOPSPIN && in get_board_id()
1252 be16_to_cpup(vsd + VSD_OFFSET_SIG2) == VSD_SIGNATURE_TOPSPIN) { in get_board_id()
1253 strlcpy(board_id, vsd + VSD_OFFSET_TS_BOARD_ID, MTHCA_BOARD_ID_LEN); in get_board_id()
1262 swab32(*(u32 *) (vsd + VSD_OFFSET_MLX_BOARD_ID + i * 4)); in get_board_id()
/drivers/net/ethernet/mellanox/mlx4/
Dfw.c1611 static void get_board_id(void *vsd, char *board_id) in get_board_id() argument
1624 if (be16_to_cpup(vsd + VSD_OFFSET_SIG1) == VSD_SIGNATURE_TOPSPIN && in get_board_id()
1625 be16_to_cpup(vsd + VSD_OFFSET_SIG2) == VSD_SIGNATURE_TOPSPIN) { in get_board_id()
1626 strlcpy(board_id, vsd + VSD_OFFSET_TS_BOARD_ID, MLX4_BOARD_ID_LEN); in get_board_id()
1639 addr = (u32 *) (vsd + VSD_OFFSET_MLX_BOARD_ID + i * 4); in get_board_id()