Home
last modified time | relevance | path

Searched refs:counter_array (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/counter/
H A Dcounter-sysfs.c367 const struct counter_array *const element = a->comp.priv; in counter_comp_array_u32_show()
389 const struct counter_array *const element = a->comp.priv; in counter_comp_array_u32_store()
417 const struct counter_array *const element = a->comp.priv; in counter_comp_array_u64_show()
449 const struct counter_array *const element = a->comp.priv; in counter_comp_array_u64_store()
573 const struct counter_array *const array = comp->priv; in counter_attr_create()
769 const struct counter_array *const array = comp->priv; in counter_array_attrs_create()
771 struct counter_array *element; in counter_array_attrs_create()
813 const struct counter_array *array; in counter_sysfs_exts_add()
H A Dcounter-chrdev.c243 struct counter_array *element; in counter_get_ext()
494 const struct counter_array *const element = comp->priv; in counter_get_array_data()
/openbmc/linux/include/linux/
H A Dcounter.h526 struct counter_array { struct
536 struct counter_array _name = { \ argument
545 struct counter_array _name = { \
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c131 priv->counter_array = in gve_alloc_counter_array()
134 sizeof(*priv->counter_array), in gve_alloc_counter_array()
136 if (!priv->counter_array) in gve_alloc_counter_array()
144 if (!priv->counter_array) in gve_free_counter_array()
149 sizeof(*priv->counter_array), in gve_free_counter_array()
150 priv->counter_array, priv->counter_array_bus); in gve_free_counter_array()
151 priv->counter_array = NULL; in gve_free_counter_array()
H A Dgve_adminq.h206 __be64 counter_array; member
H A Dgve.h643 __be32 *counter_array; /* array of num_event_counters */ member
H A Dgve_adminq.c483 .counter_array = cpu_to_be64(counter_array_bus_addr), in gve_adminq_configure_device_resources()
H A Dgve_tx.c884 __be32 counter = READ_ONCE(priv->counter_array[counter_index]); in gve_tx_load_event_counter()