Searched refs:devnode (Results 1 - 14 of 14) sorted by relevance

/src/share/examples/devpubd/hooks/
H A D99-ugen-perms-minipro116 devnode=$(readlink "/dev/${1}-${device_name}")
117 if [ x"$devnode" != x ]; then
118 chmod $orig_perms /dev/"${devnode}".*
119 chgrp $orig_group /dev/"${devnode}".*
148 devnode=$(get_ugen_devnode $1)
149 if [ x"$devnode" != x ]; then
150 set_permissions $device $devnode
H A D99-ugen-perms-tigard63 devnode=$(readlink "/dev/${1}-${device_name}")
64 if [ x"$devnode" != x ]; then
65 chmod $orig_perms /dev/"${devnode}".*
66 chgrp $orig_group /dev/"${devnode}".*
95 devnode=$(get_ugen_devnode $1)
96 if [ x"$devnode" != x ]; then
97 set_permissions $device $devnode
/src/sys/dev/acpi/
H A Dacpi_i2c.c95 printf("%s: no acpi devnode matching resource source '%s'\n",
166 acpi_i2c_enumerate_hid_devs(device_t dev, struct acpi_devnode *devnode, argument
198 i2cc.res_src == devnode) {
213 struct acpi_devnode *ad, *devnode = acpi_match_node(hdl); local in function:acpi_i2c_enumerate_devices
217 if (devnode == NULL) {
218 aprint_error_dev(dev, "%s: no devnode matching handle\n",
223 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) {
232 acpi_claim_childdevs(dev, devnode, "_CRS");
233 acpi_claim_childdevs(dev, devnode, "_ADR");
239 acpi_i2c_enumerate_hid_devs(dev, devnode, arg
[all...]
H A Dacpi_util.c153 struct acpi_devnode *devnode, *ad; local in function:acpi_device_enumerate_children
155 devnode = acpi_match_node(hdl);
156 KASSERT(devnode != NULL);
158 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) {
1398 acpi_claim_childdevs(device_t dev, struct acpi_devnode *devnode, argument
1403 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) {
/src/sys/dev/i2c/
H A Di2cmux.c210 struct acpi_devnode *devnode, *ad; local in function:iicmux_attach_acpi
213 devnode = acpi_match_node(hdl);
214 KASSERT(devnode != NULL);
218 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) {
234 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) {
/src/sys/dev/gpio/
H A Dgpiorfkill.c122 const struct sysctlnode *node, *devnode; local in function:gpiorfkill_sysctl_init
125 error = sysctl_createv(&sc->sc_sysctllog, 0, NULL, &devnode,
131 error = sysctl_createv(&sc->sc_sysctllog, 0, &devnode, &node,
/src/usr.bin/audiocfg/
H A Ddrvctl.c55 drvctl_get_properties(int fd, const char *devnode, prop_dictionary_t *props) argument
69 prop_dictionary_set_string_nocopy(args_dict, "device-name", devnode);
/src/lib/libossaudio/
H A Doss4_mixer.c106 snprintf(tmpai->devnode, sizeof(tmpai->devnode),
109 if ((newfd = open(tmpai->devnode, O_WRONLY)) < 0) {
110 if ((newfd = open(tmpai->devnode, O_RDONLY)) < 0) {
161 strlcpy(tmpai->handle, tmpai->devnode,
254 strlcpy(mi->devnode, devname, sizeof(mi->devnode));
H A Dsoundcard.h477 char devnode[OSS_DEVNODE_SIZE]; member in struct:oss_audioinfo
592 oss_devnode_t devnode; member in struct:oss_mixerinfo
/src/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_sysctl.c240 DRM_SYSCTL_PRINT("%s 0x%x", dev->driver->name, dev2udev(dev->devnode));
H A Ddrm_drv.c220 dev->devnode = make_dev(&drm_cdevsw,
675 destroy_dev(dev->devnode);
696 destroy_dev(dev->devnode);
H A Ddrm_bufs.c1116 VM_PROT_ALL, MAP_SHARED | MAP_NOSYNC, OBJT_DEVICE, dev->devnode, foff);
1119 VM_PROT_ALL, MAP_SHARED | MAP_NOSYNC, SLIST_FIRST(&dev->devnode->si_hlist),
H A DdrmP.h781 struct cdev *devnode; /* Device number for mknod */ member in struct:drm_device
/src/sys/arch/arm/amlogic/
H A Dmeson_genfb.c520 const struct sysctlnode *node, *devnode; local in function:meson_genfb_init
597 error = sysctl_createv(&sc->sc_sysctllog, 0, &node, &devnode,
602 error = sysctl_createv(&sc->sc_sysctllog, 0, &devnode, &node,

Completed in 18 milliseconds