Home
last modified time | relevance | path

Searched refs:sysfs_device (Results 1 – 21 of 21) sorted by path

/dports/audio/alsa-utils/alsa-utils-1.2.2/alsactl/init/
H A D00main5 CONFIG{sysfs_device}="/class/sound/card$cardinfo{card}/device"
6 ACCESS!="$sysfsroot$config{sysfs_device}", \
7 CONFIG{sysfs_device}="/class/sound/controlC$cardinfo{card}/device"
/dports/devel/directfb/DirectFB-1.4.17/systems/fbdev/
H A Dfbdev.c332 struct sysfs_device *device; in dfb_fbdev_get_pci_info()
/dports/devel/sysfsutils/sysfsutils-2.1.0/
H A DChangeLog2 * Add subsystem in sysfs_device
168 * Patched code to fill sysfs_device->driver_name correctly
185 * Fixed miscellaneous issues in sysfs_device/driver.c sources
284 * Added bus to struct sysfs_device
311 * Added "path" to device in sysfs_device structure
384 * Modified "name" field of sysfs_device to contain same
403 * Removed "bus_name" from struct sysfs_device
425 * Removed sysfs_driver reference from sysfs_device struct
478 * Added parent reference to sysfs_device
H A DNEWS19 * Populated sysfs_device->drivername field correctly.
32 sysfs_device and sysfs_class_device.
58 * Added parent reference in sysfs_device.
/dports/devel/sysfsutils/sysfsutils-2.1.0/cmd/
H A Dsystool.c58 static void show_device(struct sysfs_device *device, int level);
235 static void show_device_parent(struct sysfs_device *device, int level) in show_device_parent()
237 struct sysfs_device *parent; in show_device_parent()
252 static void show_device(struct sysfs_device *device, int level) in show_device()
352 struct sysfs_device *cur; in show_driver()
358 struct sysfs_device) { in show_driver()
380 struct sysfs_device *curdev; in show_sysfs_bus()
402 struct sysfs_device) { in show_sysfs_bus()
447 struct sysfs_device *device; in show_class_device()
/dports/devel/sysfsutils/sysfsutils-2.1.0/include/
H A Dlibsysfs.h82 struct sysfs_device { struct
92 struct sysfs_device *parent; argument
115 struct sysfs_device *sysdevice; /* NULL if virtual */ argument
174 extern void sysfs_close_device(struct sysfs_device *dev);
175 extern struct sysfs_device *sysfs_open_device
177 extern struct sysfs_device *sysfs_get_device_parent(struct sysfs_device *dev);
179 extern int sysfs_get_device_bus(struct sysfs_device *dev);
181 (struct sysfs_device *dev, const char *name);
183 (struct sysfs_device *dev);
197 extern struct sysfs_device *sysfs_get_classdev_device
[all …]
/dports/devel/sysfsutils/sysfsutils-2.1.0/lib/
H A DMakefile.am3 sysfs_device.c sysfs_driver.c sysfs_bus.c sysfs_module.c sysfs.h
H A DMakefile.in61 libsysfs_la-dlist.lo libsysfs_la-sysfs_device.lo \
184 sysfs_device.c sysfs_driver.c sysfs_bus.c sysfs_module.c sysfs.h
262 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsysfs_la-sysfs_device.Plo@am__quote@
316 libsysfs_la-sysfs_device.lo: sysfs_device.c
317sysfs_device.lo -MD -MP -MF "$(DEPDIR)/libsysfs_la-sysfs_device.Tpo" -c -o libsysfs_la-sysfs_devic…
321 …la_CFLAGS) $(CFLAGS) -c -o libsysfs_la-sysfs_device.lo `test -f 'sysfs_device.c' || echo '$(srcdir…
H A Dsysfs_attr.c337 if (!((struct sysfs_device *)dev)->attrlist) { in add_attribute()
362 if (((struct sysfs_device *)dev)->attrlist) { in get_attribute()
365 ((((struct sysfs_device *)dev)->attrlist), in get_attribute()
370 safestrcpymax(path, ((struct sysfs_device *)dev)->path, in get_attribute()
431 struct sysfs_device *newdev; in add_subdirectory()
442 sizeof(struct sysfs_device), sysfs_close_dev_tree); in add_subdirectory()
458 struct sysfs_device *dev = NULL; in sysfs_read_dir_subdirs()
600 safestrcpy(path, ((struct sysfs_device *)dev)->path); in get_dev_attributes_list()
616 if (((struct sysfs_device *)dev)->attrlist) { in get_dev_attributes_list()
620 ((((struct sysfs_device *)dev)->attrlist), in get_dev_attributes_list()
[all …]
H A Dsysfs_bus.c28 sysfs_close_device((struct sysfs_device *)dev); in sysfs_close_dev()
47 if (strcmp(((char *)a), ((struct sysfs_device *)b)->name) == 0) in name_equal()
86 struct sysfs_device *dev; in sysfs_get_bus_devices()
105 dev = (struct sysfs_device *) in sysfs_get_bus_devices()
126 (sizeof(struct sysfs_device), in sysfs_get_bus_devices()
236 struct sysfs_device *sysfs_get_bus_device(struct sysfs_bus *bus, in sysfs_get_bus_device()
239 struct sysfs_device *dev = NULL; in sysfs_get_bus_device()
248 dev = (struct sysfs_device *)dlist_find_custom in sysfs_get_bus_device()
270 (sizeof(struct sysfs_device), in sysfs_get_bus_device()
H A Dsysfs_class.c364 struct sysfs_device *sysfs_get_classdev_device in sysfs_get_classdev_device()
H A Dsysfs_device.c123 struct sysfs_device *child = NULL; in sysfs_close_device_tree()
126 struct sysfs_device) in sysfs_close_device_tree()
155 static struct sysfs_device *alloc_device(void) in alloc_device()
157 return (struct sysfs_device *) calloc(1, sizeof(struct sysfs_device)); in alloc_device()
167 struct sysfs_device *dev; in sysfs_open_device_path()
226 struct sysfs_device *cur = NULL; in sysfs_open_device_tree()
227 struct sysfs_device *devlist; in sysfs_open_device_tree()
242 struct sysfs_device) { in sysfs_open_device_tree()
252 (sizeof(struct sysfs_device), in sysfs_open_device_tree()
347 struct sysfs_device *device; in sysfs_open_device()
[all …]
H A Dsysfs_driver.c28 sysfs_close_device((struct sysfs_device *)device); in sysfs_close_driver_device()
228 struct sysfs_device *dev = NULL; in sysfs_get_driver_devices()
250 (sizeof(struct sysfs_device), in sysfs_get_driver_devices()
/dports/devel/sysfsutils/sysfsutils-2.1.0/test/
H A Dget_device.c35 struct sysfs_device *device = NULL; in main()
51 struct sysfs_device *parent = sysfs_get_device_parent(device); in main()
H A Dget_driver.c38 struct sysfs_device *device = NULL; in main()
69 dlist_for_each_data(devlist, device, struct sysfs_device) in main()
H A Dtest-defs.h52 extern void show_device(struct sysfs_device *device);
H A Dtest_bus.c147 struct sysfs_device *dev = NULL; in test_sysfs_get_bus_device()
H A Dtest_class.c255 struct sysfs_device *dev = NULL; in test_sysfs_get_classdev_device()
H A Dtest_device.c53 struct sysfs_device *dev = NULL; in test_sysfs_close_device()
95 struct sysfs_device *dev = NULL; in test_sysfs_open_device()
184 struct sysfs_device *pdev = NULL; in test_sysfs_get_device_parent()
185 struct sysfs_device *dev = NULL; in test_sysfs_get_device_parent()
250 struct sysfs_device *dev = NULL; in test_sysfs_open_device_path()
310 struct sysfs_device *dev = NULL; in test_sysfs_get_device_attr()
408 struct sysfs_device *device = NULL; in test_sysfs_get_device_attributes()
H A Dtestout.c37 void show_device(struct sysfs_device *device) in show_device()
54 struct sysfs_device *dev = NULL; in show_device_list()
56 dlist_for_each_data(devlist, dev, struct sysfs_device) in show_device_list()
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/m4adecoder/drms/
H A Ddrms.c1283 struct sysfs_device *curdev = NULL; in GetiPodID()
1292 dlist_for_each_data( devlist, curdev, struct sysfs_device ) in GetiPodID()