Lines Matching refs:attr
243 struct device_attribute attr;
250 struct config_rom_attribute *attr =
251 container_of(dattr, struct config_rom_attribute, attr);
265 if (attr->key == key) {
282 struct config_rom_attribute *attr =
283 container_of(dattr, struct config_rom_attribute, attr);
303 ret = fw_csr_string(dir, attr->key, buf, bufsize);
336 struct device_attribute *attr;
339 for (j = 0; attrs[j].attr.name != NULL; j++)
340 group->attrs[j] = &attrs[j].attr;
343 attr = &config_rom_attributes[i].attr;
344 if (attr->show(dev, attr, NULL) < 0)
346 group->attrs[j++] = &attr->attr;
357 struct device_attribute *attr, char *buf)
369 struct device_attribute *attr, char *buf)
384 struct device_attribute *attr, char *buf)
398 struct device_attribute *attr, char *buf)
411 struct device_attribute *attr, char *buf)
441 struct device_attribute *attr, char *buf)