Home
last modified time | relevance | path

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

/netbsd-src/share/examples/devpubd/hooks/
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
H A D99-ugen-perms-minipro102 devnode=$(readlink "/dev/${1}-${device_name}")
103 if [ x"$devnode" != x ]; then
104 chmod $orig_perms /dev/"${devnode}".*
105 chgrp $orig_group /dev/"${devnode}".*
134 devnode=$(get_ugen_devnode $1)
135 if [ x"$devnode" != x ]; then
136 set_permissions $device $devnode
/netbsd-src/sys/dev/i2c/
H A Di2cmux.c245 struct acpi_devnode *devnode, *ad; in iicmux_attach_acpi() local
248 devnode = acpi_match_node(hdl); in iicmux_attach_acpi()
249 KASSERT(devnode != NULL); in iicmux_attach_acpi()
253 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) { in iicmux_attach_acpi()
266 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) { in iicmux_attach_acpi()
/netbsd-src/sys/dev/acpi/
H A Dacpi_i2c.c92 printf("%s: no acpi devnode matching resource source '%s'\n", in acpi_enter_i2c_device()
164 acpi_enter_i2chid_devs(device_t dev, struct acpi_devnode *devnode,
190 i2cc.res_src == devnode) {
200 acpi_enter_i2c_devs(device_t dev, struct acpi_devnode *devnode)
208 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) {
217 acpi_claim_childdevs(dev, devnode, "_CRS");
218 acpi_claim_childdevs(dev, devnode, "_ADR");
219 acpi_enter_i2chid_devs(dev, devnode, array);
387 acpi_i2c_register(struct acpi_devnode *devnode, device_t dev, i2c_tag_t tag)
396 rv = AcpiInstallAddressSpaceHandler(devnode
117 acpi_enter_i2c_devs(device_t dev,struct acpi_devnode * devnode) acpi_enter_i2c_devs() argument
[all...]
H A Dacpi_util.c153 struct acpi_devnode *devnode, *ad; in acpi_device_enumerate_children() local
155 devnode = acpi_match_node(hdl); in acpi_device_enumerate_children()
156 KASSERT(devnode != NULL); in acpi_device_enumerate_children()
158 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) { in acpi_device_enumerate_children()
1215 acpi_claim_childdevs(device_t dev, struct acpi_devnode *devnode, in acpi_claim_childdevs() argument
1220 SIMPLEQ_FOREACH(ad, &devnode->ad_child_head, ad_child_list) { in acpi_claim_childdevs()
/netbsd-src/sys/dev/gpio/
H A Dgpiorfkill.c122 const struct sysctlnode *node, *devnode; in gpiorfkill_sysctl_init() local
125 error = sysctl_createv(&sc->sc_sysctllog, 0, NULL, &devnode, in gpiorfkill_sysctl_init()
131 error = sysctl_createv(&sc->sc_sysctllog, 0, &devnode, &node, in gpiorfkill_sysctl_init()
/netbsd-src/lib/libossaudio/
H A Doss4_mixer.c106 snprintf(tmpai->devnode, sizeof(tmpai->devnode), in _oss4_mixer_ioctl()
109 if ((newfd = open(tmpai->devnode, O_WRONLY)) < 0) { in _oss4_mixer_ioctl()
110 if ((newfd = open(tmpai->devnode, O_RDONLY)) < 0) { in _oss4_mixer_ioctl()
161 strlcpy(tmpai->handle, tmpai->devnode, in _oss4_mixer_ioctl()
254 strlcpy(mi->devnode, devname, sizeof(mi->devnode)); in _oss4_mixer_ioctl()
H A Dsoundcard.h477 char devnode[OSS_DEVNODE_SIZE]; member
592 oss_devnode_t devnode; member
/netbsd-src/usr.bin/audiocfg/
H A Ddrvctl.c55 drvctl_get_properties(int fd, const char *devnode, prop_dictionary_t *props) in drvctl_get_properties() argument
69 prop_dictionary_set_string_nocopy(args_dict, "device-name", devnode); in drvctl_get_properties()
/netbsd-src/sys/arch/arm/amlogic/
H A Dmeson_genfb.c520 const struct sysctlnode *node, *devnode; in meson_genfb_init() local
597 error = sysctl_createv(&sc->sc_sysctllog, 0, &node, &devnode, in meson_genfb_init()
602 error = sysctl_createv(&sc->sc_sysctllog, 0, &devnode, &node, in meson_genfb_init()
/netbsd-src/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_drv.c220 dev->devnode = make_dev(&drm_cdevsw, in drm_attach()
675 destroy_dev(dev->devnode); in drm_load()
696 destroy_dev(dev->devnode); in drm_unload()
H A Ddrm_sysctl.c240 DRM_SYSCTL_PRINT("%s 0x%x", dev->driver->name, dev2udev(dev->devnode));
H A Ddrm_bufs.c1116 VM_PROT_ALL, MAP_SHARED | MAP_NOSYNC, OBJT_DEVICE, dev->devnode, foff); in drm_mapbufs()
1119 VM_PROT_ALL, MAP_SHARED | MAP_NOSYNC, SLIST_FIRST(&dev->devnode->si_hlist), in drm_mapbufs()
H A DdrmP.h781 struct cdev *devnode; /* Device number for mknod */ member