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

Lines Matching defs:kobj

29 #define to_dev(obj)     container_of(obj, struct device, kobj)
39 static ssize_t show_aggr_ogms(struct kobject *kobj, struct attribute *attr,
42 struct device *dev = to_dev(kobj->parent);
50 static ssize_t store_aggr_ogms(struct kobject *kobj, struct attribute *attr,
53 struct device *dev = to_dev(kobj->parent);
88 static ssize_t show_bond(struct kobject *kobj, struct attribute *attr,
91 struct device *dev = to_dev(kobj->parent);
99 static ssize_t store_bond(struct kobject *kobj, struct attribute *attr,
102 struct device *dev = to_dev(kobj->parent);
137 static ssize_t show_vis_mode(struct kobject *kobj, struct attribute *attr,
140 struct device *dev = to_dev(kobj->parent);
149 static ssize_t store_vis_mode(struct kobject *kobj, struct attribute *attr,
152 struct device *dev = to_dev(kobj->parent);
191 static ssize_t show_orig_interval(struct kobject *kobj, struct attribute *attr,
194 struct device *dev = to_dev(kobj->parent);
201 static ssize_t store_orig_interval(struct kobject *kobj, struct attribute *attr,
204 struct device *dev = to_dev(kobj->parent);
235 static ssize_t show_log_level(struct kobject *kobj, struct attribute *attr,
238 struct device *dev = to_dev(kobj->parent);
245 static ssize_t store_log_level(struct kobject *kobj, struct attribute *attr,
248 struct device *dev = to_dev(kobj->parent);
302 struct kobject *batif_kobject = &dev->dev.kobj;
359 static ssize_t show_mesh_iface(struct kobject *kobj, struct attribute *attr,
362 struct device *dev = to_dev(kobj->parent);
374 static ssize_t store_mesh_iface(struct kobject *kobj, struct attribute *attr,
377 struct device *dev = to_dev(kobj->parent);
413 static ssize_t show_iface_status(struct kobject *kobj, struct attribute *attr,
416 struct device *dev = to_dev(kobj->parent);
450 struct kobject *hardif_kobject = &dev->dev.kobj;