host_info
setup_hostinfo(host_info, sizeof host_info);
static char host_info[(__NEW_UTS_LEN + 1) * 5];
seq_printf(m, "host\t\t: %s\n", host_info);
host_attr->host_info = dma_alloc_coherent(ena_dev->dmadev, SZ_4K,
if (unlikely(!host_attr->host_info))
host_attr->host_info->ena_spec_version = ((ENA_COMMON_SPEC_VERSION_MAJOR <<
if (host_attr->host_info) {
dma_free_coherent(ena_dev->dmadev, SZ_4K, host_attr->host_info,
host_attr->host_info = NULL;
struct ena_admin_host_info *host_info;
struct ena_admin_host_info *host_info;
host_info = ena_dev->host_attr.host_info;
host_info->bdf = pci_dev_id(pdev);
host_info->os_type = ENA_ADMIN_OS_LINUX;
host_info->kernel_ver = LINUX_VERSION_CODE;
ret = strscpy(host_info->kernel_ver_str, utsname()->version,
sizeof(host_info->kernel_ver_str));
host_info->os_dist = 0;
ret = strscpy(host_info->os_dist_str, utsname()->release,
sizeof(host_info->os_dist_str));
host_info->driver_version =
host_info->num_cpus = num_online_cpus();
host_info->driver_supported_features =
static void ena_update_host_info(struct ena_admin_host_info *host_info,
host_info->supported_network_features[0] =
host_info->supported_network_features[1] =
struct ena_admin_host_info *host_info =
adapter->ena_dev->host_attr.host_info;
if (host_info)
ena_update_host_info(host_info, adapter->netdev);
pl022->host_info->dma_filter,
pl022->host_info->dma_tx_param);
&& ((pl022->host_info)->enable_dma)) {
pl022->host_info = platform_info;
if (pl022->host_info->enable_dma)
struct pl022_ssp_controller *host_info;
pl022->host_info->dma_filter,
pl022->host_info->dma_rx_param);
.info = host_info,