Searched refs:n_attrs (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dmcdi_mon.c289 struct efx_mcdi_mon_attribute *attr = &hwmon->attrs[hwmon->n_attrs]; efx_mcdi_mon_add_attr()
303 hwmon->group.attrs[hwmon->n_attrs++] = &attr->dev_attr.attr; efx_mcdi_mon_add_attr()
312 unsigned int n_pages, n_sensors, n_attrs, page; efx_mcdi_mon_probe() local
355 n_attrs = 6 * n_sensors; efx_mcdi_mon_probe()
356 hwmon->attrs = kcalloc(n_attrs, sizeof(*hwmon->attrs), GFP_KERNEL); efx_mcdi_mon_probe()
361 hwmon->group.attrs = kcalloc(n_attrs + 1, sizeof(struct attribute *), efx_mcdi_mon_probe()
H A Dmcdi.h87 unsigned int n_attrs; member in struct:efx_mcdi_mon

Completed in 99 milliseconds