Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/edac/
Dedac_device_sysfs.c450 struct edac_dev_sysfs_block_attribute *block_attr = in edac_dev_block_show() local
453 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() local
465 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()
/linux-6.1.9/drivers/platform/mellanox/
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()