Searched refs:n_attrs (Results 1 – 3 of 3) sorted by relevance
286 struct efx_mcdi_mon_attribute *attr = &hwmon->attrs[hwmon->n_attrs]; in efx_mcdi_mon_add_attr()300 hwmon->group.attrs[hwmon->n_attrs++] = &attr->dev_attr.attr; in efx_mcdi_mon_add_attr()309 unsigned int n_pages, n_sensors, n_attrs, page; in efx_mcdi_mon_probe() local352 n_attrs = 6 * n_sensors; in efx_mcdi_mon_probe()353 hwmon->attrs = kcalloc(n_attrs, sizeof(*hwmon->attrs), GFP_KERNEL); in efx_mcdi_mon_probe()358 hwmon->group.attrs = kcalloc(n_attrs + 1, sizeof(struct attribute *), in efx_mcdi_mon_probe()
100 unsigned int n_attrs; member
108 size_t n_attrs; member128 for (i = 0; i < attr_list->n_attrs; ++i) { in power_supply_hwmon_has_input()