Home
last modified time | relevance | path

Searched refs:counter_array (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/include/linux/
H A Dcounter.h527 struct counter_array { struct
537 struct counter_array _name = { \
546 struct counter_array _name = { \
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
H A Dgve_main.c69 priv->counter_array = in gve_alloc_counter_array()
72 sizeof(*priv->counter_array), in gve_alloc_counter_array()
74 if (!priv->counter_array) in gve_alloc_counter_array()
82 if (!priv->counter_array) in gve_free_counter_array()
87 sizeof(*priv->counter_array), in gve_free_counter_array()
88 priv->counter_array, priv->counter_array_bus); in gve_free_counter_array()
89 priv->counter_array = NULL; in gve_free_counter_array()
H A Dgve_adminq.h90 __be64 counter_array; member
H A Dgve.h192 __be32 *counter_array; /* array of num_event_counters */ member
H A Dgve_tx.c575 return READ_ONCE(priv->counter_array[counter_index]); in gve_tx_load_event_counter()
H A Dgve_adminq.c297 .counter_array = cpu_to_be64(counter_array_bus_addr), in gve_adminq_configure_device_resources()
/kernel/linux/linux-6.6/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()

Completed in 28 milliseconds