Searched refs:block_attr (Results 1 – 2 of 2) sorted by relevance
450 struct edac_dev_sysfs_block_attribute *block_attr = in edac_dev_block_show() local453 if (block_attr->show) in edac_dev_block_show()454 return block_attr->show(kobj, attr, buffer); in edac_dev_block_show()463 struct edac_dev_sysfs_block_attribute *block_attr; in edac_dev_block_store() local465 block_attr = to_block_attr(attr); in edac_dev_block_store()467 if (block_attr->store) in edac_dev_block_store()468 return block_attr->store(kobj, attr, buffer, count); in edac_dev_block_store()
117 struct attribute *block_attr[MLXBF_PMC_MAX_ATTRS]; member1218 pmc->block[blk_num].block_attr[i] = &attr->dev_attr.attr; in mlxbf_pmc_init_perftype_counter()1230 pmc->block[blk_num].block_attr[++i] = &attr->dev_attr.attr; in mlxbf_pmc_init_perftype_counter()1256 pmc->block[blk_num].block_attr[++i] = &attr->dev_attr.attr; in mlxbf_pmc_init_perftype_counter()1267 pmc->block[blk_num].block_attr[++i] = &attr->dev_attr.attr; in mlxbf_pmc_init_perftype_counter()1299 pmc->block[blk_num].block_attr[i] = &attr->dev_attr.attr; in mlxbf_pmc_init_perftype_reg()1324 pmc->block[blk_num].block_attr_grp.attrs = pmc->block[blk_num].block_attr; in mlxbf_pmc_create_groups()