Searched refs:n_attrs (Results 1 - 5 of 5) sorted by relevance
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_mon.c | 286 struct efx_mcdi_mon_attribute *attr = &hwmon->attrs[hwmon->n_attrs]; 300 hwmon->group.attrs[hwmon->n_attrs++] = &attr->dev_attr.attr; 309 unsigned int n_pages, n_sensors, n_attrs, page; local 352 n_attrs = 6 * n_sensors; 353 hwmon->attrs = kcalloc(n_attrs, sizeof(*hwmon->attrs), GFP_KERNEL); 358 hwmon->group.attrs = kcalloc(n_attrs + 1, sizeof(struct attribute *),
|
H A D | mcdi.h | 100 unsigned int n_attrs; member in struct:efx_mcdi_mon
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mcdi_mon.c | 286 struct efx_mcdi_mon_attribute *attr = &hwmon->attrs[hwmon->n_attrs]; 300 hwmon->group.attrs[hwmon->n_attrs++] = &attr->dev_attr.attr; 309 unsigned int n_pages, n_sensors, n_attrs, page; local 352 n_attrs = 6 * n_sensors; 353 hwmon->attrs = kcalloc(n_attrs, sizeof(*hwmon->attrs), GFP_KERNEL); 358 hwmon->group.attrs = kcalloc(n_attrs + 1, sizeof(struct attribute *),
|
H A D | mcdi.h | 100 unsigned int n_attrs; member in struct:efx_mcdi_mon
|
/linux-master/drivers/power/supply/ |
H A D | power_supply_hwmon.c | 108 size_t n_attrs; member in struct:hwmon_type_attr_list 128 for (i = 0; i < attr_list->n_attrs; ++i) {
|
Completed in 186 milliseconds