Searched refs:vsd (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.h | 208 u8 vsd[MLXSW_CMD_BOARDINFO_VSD_LEN]; member
|
D | cmd.h | 378 MLXSW_ITEM_BUF(cmd_mbox, boardinfo, vsd, 0x20, MLXSW_CMD_BOARDINFO_VSD_LEN);
|
D | core.c | 767 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()
|
D | pci.c | 1276 mlxsw_cmd_mbox_boardinfo_vsd_memcpy_from(mbox, bus_info->vsd); in mlxsw_pci_boardinfo()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 1238 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/ |
D | fw.c | 1611 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()
|