Searched refs:class_device (Results 1 - 25 of 162) sorted by relevance

1234567

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dattribute_container.h44 struct class_device *));
48 struct class_device *));
52 struct class_device *));
56 struct class_device *));
60 int attribute_container_add_attrs(struct class_device *classdev);
61 int attribute_container_add_class_device(struct class_device *classdev);
64 struct class_device *classdev);
65 void attribute_container_remove_attrs(struct class_device *classdev);
66 void attribute_container_class_device_del(struct class_device *classdev);
67 struct attribute_container *attribute_container_classdev_to_container(struct class_device *);
[all...]
H A Dhwmon.h19 struct class_device *hwmon_device_register(struct device *dev);
21 void hwmon_device_unregister(struct class_device *cdev);
H A Dvideo_output.h34 struct class_device class_dev;
H A Dtransport_class.h20 struct class_device *);
22 struct class_device *);
24 struct class_device *);
H A Ddevice.h36 struct class_device;
192 int (*uevent)(struct class_device *dev, char **envp,
197 void (*release)(struct class_device *dev);
224 ssize_t (*show)(struct class_device *, char * buf);
225 ssize_t (*store)(struct class_device *, const char * buf, size_t count);
232 extern int __must_check class_device_create_file(struct class_device *,
236 * struct class_device - class devices
246 * class_device. Use class_get_devdata() and class_set_devdata() to get and
248 * @parent: pointer to a struct class_device that is the parent of this struct
249 * class_device
260 struct class_device { struct
[all...]
H A Dleds.h19 struct class_device;
41 struct class_device *class_dev;
H A Draid_class.h56 struct class_device *cdev = \
65 struct class_device *cdev = \
H A Dbacklight.h73 struct class_device class_dev;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/leds/
H A Dleds.h40 ssize_t led_trigger_store(struct class_device *dev, const char *buf,
42 ssize_t led_trigger_show(struct class_device *dev, char *buf);
H A Dledtrig-timer.c55 static ssize_t led_delay_on_show(struct class_device *dev, char *buf)
65 static ssize_t led_delay_on_store(struct class_device *dev, const char *buf,
87 static ssize_t led_delay_off_show(struct class_device *dev, char *buf)
97 static ssize_t led_delay_off_store(struct class_device *dev, const char *buf,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/char/
H A Dtape_class.h28 struct class_device * class_device; member in struct:tape_class_device
H A Dtape_class.c72 tcd->class_device = class_device_create(
79 rc = IS_ERR(tcd->class_device) ? PTR_ERR(tcd->class_device) : 0;
84 &tcd->class_device->kobj,
109 &tcd->class_device->dev->kobj,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/Documentation/firmware_class/
H A Dfirmware_sample_firmware_class.c26 static inline struct class_device *to_class_dev(struct kobject *obj)
28 return container_of(obj,struct class_device,kobj);
47 static ssize_t firmware_loading_show(struct class_device *class_dev, char *buf)
52 static ssize_t firmware_loading_store(struct class_device *class_dev,
83 struct class_device *class_dev = to_class_dev(kobj);
93 struct class_device *class_dev = to_class_dev(kobj);
106 static int fw_setup_class_device(struct class_device *class_dev,
163 static void fw_remove_class_device(struct class_device *class_dev)
172 static struct class_device *class_dev;
183 class_dev = kmalloc(sizeof(struct class_device), GFP_KERNE
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/atm/
H A Datm_sysfs.c12 static ssize_t show_type(struct class_device *cdev, char *buf)
18 static ssize_t show_address(struct class_device *cdev, char *buf)
31 static ssize_t show_atmaddress(struct class_device *cdev, char *buf)
57 static ssize_t show_carrier(struct class_device *cdev, char *buf)
68 static ssize_t show_link_rate(struct class_device *cdev, char *buf)
108 static int atm_uevent(struct class_device *cdev, char **envp, int num_envp, char *buf, int size)
128 static void atm_release(struct class_device *cdev)
143 struct class_device *cdev = &adev->class_dev;
171 struct class_device *cdev = &adev->class_dev;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Ddrm_sysfs.c81 static ssize_t show_dri(struct class_device *class_device, char *buf) argument
83 drm_device_t * dev = ((drm_head_t *)class_get_devdata(class_device))->dev;
100 * A struct class_device will be created in sysfs, registered to the specified
102 * pointer to the struct class_device will be returned from the call. Any further
107 struct class_device *drm_sysfs_device_add(struct class *cs, drm_head_t *head)
109 struct class_device *class_dev;
149 void drm_sysfs_device_remove(struct class_device *class_dev)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/
H A Dattribute_container.c29 struct class_device classdev;
55 attribute_container_classdev_to_container(struct class_device *classdev)
112 static void attribute_container_release(struct class_device *classdev)
144 struct class_device *))
207 struct class_device *))
251 struct class_device *))
312 attribute_container_add_attrs(struct class_device *classdev)
341 attribute_container_add_class_device(struct class_device *classdev)
358 struct class_device *classdev)
370 attribute_container_remove_attrs(struct class_device *classde
[all...]
H A Dbase.h34 static inline struct class_device *to_class_dev(struct kobject *obj)
36 return container_of(obj, struct class_device, kobj);
H A Dclass.c175 static void class_device_create_release(struct class_device *class_dev)
182 static int class_device_create_uevent(struct class_device *class_dev,
245 int class_device_create_file(struct class_device * class_dev,
254 void class_device_remove_file(struct class_device * class_dev,
261 int class_device_create_bin_file(struct class_device *class_dev,
270 void class_device_remove_bin_file(struct class_device *class_dev,
282 struct class_device * cd = to_class_dev(kobj);
295 struct class_device * cd = to_class_dev(kobj);
310 struct class_device *cd = to_class_dev(kobj);
340 struct class_device *class_de
[all...]
H A Dtransport_class.c69 struct class_device *cdev)
117 struct class_device *classdev)
153 struct class_device *classdev)
185 struct class_device *cdev)
216 struct class_device *classdev)
255 struct class_device *classdev)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/arcmsr/
H A Darcmsr_attr.c65 struct class_device *cdev = container_of(kobj,struct class_device,kobj);
111 struct class_device *cdev = container_of(kobj,struct class_device,kobj);
158 struct class_device *cdev = container_of(kobj,struct class_device,kobj);
265 arcmsr_attr_host_driver_version(struct class_device *cdev, char *buf) {
272 arcmsr_attr_host_driver_posted_cmd(struct class_device *cdev, char *buf) {
281 arcmsr_attr_host_driver_reset(struct class_device *cdev, char *buf) {
290 arcmsr_attr_host_driver_abort(struct class_device *cde
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/hwmon/
H A Dhwmon.c39 struct class_device *hwmon_device_register(struct device *dev)
41 struct class_device *cdev;
75 void hwmon_device_unregister(struct class_device *cdev)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pvrusb2/
H A Dpvrusb2-sysfs.c36 struct class_device *class_dev;
83 static ssize_t show_name(int id,struct class_device *class_dev,char *buf)
102 static ssize_t show_type(int id,struct class_device *class_dev,char *buf)
129 static ssize_t show_min(int id,struct class_device *class_dev,char *buf)
146 static ssize_t show_max(int id,struct class_device *class_dev,char *buf)
163 static ssize_t show_val_norm(int id,struct class_device *class_dev,char *buf)
187 static ssize_t show_val_custom(int id,struct class_device *class_dev,char *buf)
211 static ssize_t show_enum(int id,struct class_device *class_dev,char *buf)
236 static ssize_t show_bits(int id,struct class_device *class_dev,char *buf)
281 static ssize_t store_val_norm(int id,struct class_device *class_de
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/scsi/
H A Dsd.h37 struct class_device cdev;
62 static void scsi_disk_release(struct class_device *cdev);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/backlight/
H A Dbacklight.c72 static ssize_t backlight_show_power(struct class_device *cdev, char *buf)
79 static ssize_t backlight_store_power(struct class_device *cdev, const char *buf, size_t count)
104 static ssize_t backlight_show_brightness(struct class_device *cdev, char *buf)
111 static ssize_t backlight_store_brightness(struct class_device *cdev, const char *buf, size_t count)
141 static ssize_t backlight_show_max_brightness(struct class_device *cdev, char *buf)
148 static ssize_t backlight_show_actual_brightness(struct class_device *cdev,
162 static void backlight_class_release(struct class_device *dev)
194 * @devdata: an optional pointer to be stored in the class_device. The
198 * Creates and registers new backlight class_device. Returns either an
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/
H A Doutput.c34 static ssize_t video_output_show_state(struct class_device *dev,char *buf)
43 static ssize_t video_output_store_state(struct class_device *dev,
63 static void video_output_class_release(struct class_device *dev)

Completed in 155 milliseconds

1234567