Home
last modified time | relevance | path

Searched refs:hw_info (Results 1 – 13 of 13) sorted by relevance

/NextBSD/sys/dev/vxge/vxgehal/
HDvxgehal-mgmtaux.c1014 vxge_hal_vpath_stats_hw_info_t hw_info; in vxge_hal_aux_stats_vpath_hw_read() local
1024 status = vxge_hal_vpath_hw_stats_get(vpath_handle, &hw_info); in vxge_hal_aux_stats_vpath_hw_read()
1029 hw_info.ini_num_mwr_sent, "%u"); in vxge_hal_aux_stats_vpath_hw_read()
1031 hw_info.ini_num_mrd_sent, "%u"); in vxge_hal_aux_stats_vpath_hw_read()
1033 hw_info.ini_num_cpl_rcvd, "%u"); in vxge_hal_aux_stats_vpath_hw_read()
1035 hw_info.ini_num_mwr_byte_sent, "%llu"); in vxge_hal_aux_stats_vpath_hw_read()
1037 hw_info.ini_num_cpl_byte_rcvd, "%llu"); in vxge_hal_aux_stats_vpath_hw_read()
1039 hw_info.wrcrdtarb_xoff, "%u"); in vxge_hal_aux_stats_vpath_hw_read()
1041 hw_info.rdcrdtarb_xoff, "%u"); in vxge_hal_aux_stats_vpath_hw_read()
1043 hw_info.vpath_genstats_count0, "%u"); in vxge_hal_aux_stats_vpath_hw_read()
[all …]
HDvxgehal-device.c2498 vxge_hal_device_hw_info_t *hw_info) in vxge_hal_device_hw_info_get() argument
2516 (ptr_t) pdev, (ptr_t) regh0, (ptr_t) bar0, (ptr_t) hw_info); in vxge_hal_device_hw_info_get()
2518 vxge_assert((bar0 != NULL) && (hw_info != NULL)); in vxge_hal_device_hw_info_get()
2520 vxge_os_memzero(hw_info, sizeof(vxge_hal_device_hw_info_t)); in vxge_hal_device_hw_info_get()
2555 hw_info->vpath_mask = vxge_os_pio_mem_read64(pdev, regh0, in vxge_hal_device_hw_info_get()
2561 hw_info->host_type = (u32) in vxge_hal_device_hw_info_get()
2566 if (!((hw_info->vpath_mask) & mBIT(i))) in vxge_hal_device_hw_info_get()
2577 hw_info->func_id = (u32) in vxge_hal_device_hw_info_get()
2581 if (__hal_device_access_rights_get(hw_info->host_type, in vxge_hal_device_hw_info_get()
2582 hw_info->func_id) & VXGE_HAL_DEVICE_ACCESS_RIGHT_MRPCIM) { in vxge_hal_device_hw_info_get()
[all …]
/NextBSD/tools/tools/vxge/
HDvxge_log.c477 vxge_hal_device_hw_info_t *hw_info; in vxge_print_hw_info() local
485 hw_info = &(dev_hw_info->hw_info); in vxge_print_hw_info()
486 pmd_port = &(hw_info->pmd_port0); in vxge_print_hw_info()
493 hw_info->product_description); in vxge_print_hw_info()
495 VXGE_PRINT(fdAll, "Serial Number \t\t: %s", hw_info->serial_number); in vxge_print_hw_info()
496 VXGE_PRINT(fdAll, "Part Number \t\t: %s", hw_info->part_number); in vxge_print_hw_info()
499 hw_info->fw_version.version); in vxge_print_hw_info()
501 VXGE_PRINT(fdAll, "Firmware Date \t\t: %s", hw_info->fw_date.date); in vxge_print_hw_info()
504 vxge_func_mode[hw_info->function_mode]); in vxge_print_hw_info()
506 for (i = 0; i < hw_info->ports; i++) { in vxge_print_hw_info()
[all …]
HDvxge_cmn.h234 vxge_hal_device_hw_info_t hw_info; member
/NextBSD/sys/dev/nxge/xgehal/
HDxgehal-stats.c56 stats->hw_info = in __hal_stats_initialize()
64 if (stats->hw_info == NULL) { in __hal_stats_initialize()
68 xge_os_memzero(stats->hw_info, in __hal_stats_initialize()
79 stats->hw_info, in __hal_stats_initialize()
92 (unsigned long long)(ulong_t)stats->hw_info); in __hal_stats_initialize()
94 stats->hw_info, in __hal_stats_initialize()
162 (unsigned long long)(ulong_t)stats->hw_info); in __hal_stats_initialize()
198 xge_os_memcpy(&stats->hw_info_saved, stats->hw_info, in __hal_stats_save()
225 xge_assert(stats->hw_info); in __hal_stats_disable()
257 xge_assert(stats->hw_info); in __hal_stats_terminate()
[all …]
HDxgehal-mgmt.c236 xge_hal_stats_hw_info_t *hw_info; in xge_hal_mgmt_hw_stats() local
248 if ((status = xge_hal_stats_hw (devh, &hw_info)) != XGE_HAL_OK) { in xge_hal_mgmt_hw_stats()
252 xge_os_memcpy(hw_stats, hw_info, sizeof(xge_hal_stats_hw_info_t)); in xge_hal_mgmt_hw_stats()
275 xge_hal_stats_hw_info_t *hw_info; in xge_hal_mgmt_hw_stats_off() local
288 if ((status = xge_hal_stats_hw (devh, &hw_info)) != XGE_HAL_OK) { in xge_hal_mgmt_hw_stats_off()
292 xge_os_memcpy(out, (char*)hw_info + off, size); in xge_hal_mgmt_hw_stats_off()
/NextBSD/sys/dev/vxge/
HDvxge.c203 vdev->config.hw_info.function_mode, &vdev->no_of_func); in vxge_attach()
1250 vxge_hal_device_hw_info_t *hw_info; in vxge_link_up() local
1253 hw_info = &vdev->config.hw_info; in vxge_link_up()
1265 if (vdev->is_privilaged && (hw_info->ports > 1)) { in vxge_link_up()
1353 if (!bVAL1(vdev->config.hw_info.vpath_mask, i)) in vxge_ifp_setup()
1365 (u8 *) (vdev->config.hw_info.mac_addrs[i]), in vxge_ifp_setup()
2155 if (!bVAL1(vdev->config.hw_info.vpath_mask, i)) in vxge_vpath_config()
2325 func_id = vdev->config.hw_info.func_id; in vxge_vpath_open()
2359 func_id = vdev->config.hw_info.func_id; in vxge_tso_config()
2382 func_id = vdev->config.hw_info.func_id; in vxge_bw_priority_get()
[all …]
HDvxge.h364 vxge_hal_device_hw_info_t hw_info; member
388 vxge_hal_device_hw_info_t hw_info; member
/NextBSD/contrib/ofed/management/infiniband-diags/src/
HDvendstat.c94 is3_hw_info_t hw_info; member
256 printf("hw_dev_rev: 0x%04x\n", ntohs(gi->hw_info.hw_revision)); in main()
257 printf("hw_dev_id: 0x%04x\n", ntohs(gi->hw_info.device_id)); in main()
258 printf("hw_uptime: 0x%08x\n", ntohl(gi->hw_info.uptime)); in main()
271 if (ntohs(gi->hw_info.device_id) != IS3_DEVICE_ID) in main()
272 IBERROR("Unsupported device ID 0x%x", ntohs(gi->hw_info.device_id)); in main()
/NextBSD/sys/dev/nxge/include/
HDxgehal-stats.h1514 xge_hal_stats_hw_info_t *hw_info; member
1548 xge_hal_stats_hw_info_t **hw_info);
/NextBSD/sys/dev/sound/pcm/
HDsound.c1392 strlcpy(si->hw_info, d->status, sizeof(si->hw_info)); in sound_oss_card_info()
/NextBSD/sys/sys/
HDsoundcard.h1973 char hw_info[400]; member
/NextBSD/sys/dev/vxge/include/
HDvxgehal-ll.h3145 vxge_hal_device_hw_info_t *hw_info);