Home
last modified time | relevance | path

Searched refs:block_attr (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/edac/
A Dedac_device_sysfs.c451 struct edac_dev_sysfs_block_attribute *block_attr = in edac_dev_block_show() local
454 if (block_attr->show) in edac_dev_block_show()
455 return block_attr->show(kobj, attr, buffer); in edac_dev_block_show()
464 struct edac_dev_sysfs_block_attribute *block_attr; in edac_dev_block_store() local
466 block_attr = to_block_attr(attr); in edac_dev_block_store()
468 if (block_attr->store) in edac_dev_block_store()
469 return block_attr->store(kobj, attr, buffer, count); in edac_dev_block_store()
/linux/drivers/platform/mellanox/
A Dmlxbf-pmc.c117 struct attribute *block_attr[MLXBF_PMC_MAX_ATTRS]; member
1218 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()

Completed in 9 milliseconds