Home
last modified time | relevance | path

Searched refs:stats_size (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/firmware/arm_scmi/
Dpower.c22 __le32 stats_size; member
55 u32 stats_size; member
78 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_power_attributes_get()
Dperf.c42 __le32 stats_size; member
151 u32 stats_size; member
177 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_perf_attributes_get()
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c1063 size_t stats_size = sizeof(struct qlcnic_esw_stats_le); in qlcnic_get_port_stats() local
1081 stats_addr = dma_alloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_port_stats()
1087 arg1 |= rx_tx << 15 | stats_size << 16; in qlcnic_get_port_stats()
1117 dma_free_coherent(&adapter->pdev->dev, stats_size, stats_addr, in qlcnic_get_port_stats()
1129 size_t stats_size = sizeof(struct qlcnic_mac_statistics_le); in qlcnic_get_mac_stats() local
1137 stats_addr = dma_alloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_mac_stats()
1146 cmd.req.arg[1] = stats_size << 16; in qlcnic_get_mac_stats()
1179 dma_free_coherent(&adapter->pdev->dev, stats_size, stats_addr, in qlcnic_get_mac_stats()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c487 int err, stats_size; in nfp_flower_metadata_init() local
526 stats_size = FIELD_PREP(NFP_FL_STAT_ID_STAT, host_ctx_count) | in nfp_flower_metadata_init()
528 priv->stats = kvmalloc_array(stats_size, sizeof(struct nfp_fl_stats), in nfp_flower_metadata_init()
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dwmi.c1491 size_t stats_size, record_size, expected_size; in wmi_link_stats_parse() local
1501 stats_size = le16_to_cpu(hdr->record_size); in wmi_link_stats_parse()
1502 record_size = hdr_size + stats_size; in wmi_link_stats_parse()
1513 if (stats_size < expected_size) { in wmi_link_stats_parse()
1515 stats_size, expected_size); in wmi_link_stats_parse()
1534 if (stats_size < sizeof(struct wmi_link_stats_global)) { in wmi_link_stats_parse()
1536 stats_size, expected_size); in wmi_link_stats_parse()
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c989 stats_info.stats_size = sizeof(vport_stats); in hinic_get_vport_stats()
1021 stats_info.stats_size = sizeof(*port_stats); in hinic_get_phy_port_stats()
Dhinic_port.h490 u32 stats_size; member
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_glbl.h161 uint16_t stats_size, dma_addr_t stats_dma);
Dql4_os.c1035 int stats_size; in qla4xxx_get_host_stats() local
1055 stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); in qla4xxx_get_host_stats()
1057 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_get_host_stats()
1066 ret = qla4xxx_get_mgmt_data(ha, ddb_idx, stats_size, in qla4xxx_get_host_stats()
1785 int stats_size; in qla4xxx_conn_get_stats() local
1796 stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); in qla4xxx_conn_get_stats()
1798 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_conn_get_stats()
1806 ret = qla4xxx_get_mgmt_data(ha, ddb_entry->fw_ddb_index, stats_size, in qla4xxx_conn_get_stats()
1839 dma_free_coherent(&ha->pdev->dev, stats_size, ql_iscsi_stats, in qla4xxx_conn_get_stats()
Dql4_mbx.c2147 uint16_t stats_size, dma_addr_t stats_dma) in qla4xxx_get_mgmt_data() argument
2159 mbox_cmd[4] = stats_size; in qla4xxx_get_mgmt_data()