• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/edac/

Lines Matching refs:kobject

116 static ssize_t edac_dev_ctl_info_show(struct kobject *kobj,
128 static ssize_t edac_dev_ctl_info_store(struct kobject *kobj,
180 * One 'main' kobject for each control structure allocated.
186 * bumps the 'main' kobject.
200 static void edac_device_ctrl_master_release(struct kobject *kobj)
215 /* ktype for the main (master) kobject */
248 /* Init the devices's kobject */
249 memset(&edac_dev->kobj, 0, sizeof(struct kobject));
276 debugf4("%s() Registered '.../edac/%s' kobject\n",
291 * the '..../edac/<name>' kobject
297 debugf4("%s() name of kobject is: %s\n",
301 * Unregister the edac device's kobject and
330 /* DEVICE instance kobject release() function */
331 static void edac_device_ctrl_instance_release(struct kobject *kobj)
352 static ssize_t edac_dev_instance_show(struct kobject *kobj,
364 static ssize_t edac_dev_instance_store(struct kobject *kobj,
420 static ssize_t block_ue_count_show(struct kobject *kobj,
428 static ssize_t block_ce_count_show(struct kobject *kobj,
436 /* DEVICE block kobject release() function */
437 static void edac_device_ctrl_block_release(struct kobject *kobj)
447 * now 'release' the block kobject
454 static ssize_t edac_dev_block_show(struct kobject *kobj,
466 static ssize_t edac_dev_block_store(struct kobject *kobj,
521 struct kobject *main_kobj;
528 /* init this block's kobject */
529 memset(&block->kobj, 0, sizeof(struct kobject));
531 /* bump the main kobject's reference count for this controller
540 /* Add this block's kobject */
553 * to the block kobject
606 /* unregister this block's kobject, SEE:
624 struct kobject *main_kobj;
628 /* Init the instance's kobject */
629 memset(&instance->kobj, 0, sizeof(struct kobject));
633 /* bump the main kobject's reference count for this controller
642 /* Formally register this instance's kobject under the edac_device */
669 debugf4("%s() Registered instance %d '%s' kobject\n",
698 /* unregister this instance's kobject, SEE:
747 * add some attributes to this instance's main kobject
776 * remove any attributes to this instance's main kobject
785 * removing each attribute listed from this device's instance's kobject
804 * the main attributes (if any) are connected to the main kobject of
814 struct kobject *edac_kobj = &edac_dev->kobj;
868 * given an edac_device struct, tear down the kobject resources
880 /* walk the instance/block kobject tree, deconstructing it */