Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/
Dusb_handle_request.c223 (iface->subdev != NULL) && in usb_handle_iface_request()
224 device_is_attached(iface->subdev)) { in usb_handle_iface_request()
225 error = USB_HANDLE_REQUEST(iface->subdev, in usb_handle_iface_request()
241 (iface_parent->subdev != NULL) && in usb_handle_iface_request()
243 (iface_parent->subdev != iface->subdev) && in usb_handle_iface_request()
244 device_is_attached(iface_parent->subdev)) { in usb_handle_iface_request()
245 error = USB_HANDLE_REQUEST(iface_parent->subdev, in usb_handle_iface_request()
Dusb_device.c1114 usb_detach_device_sub(udev, &iface->subdev, in usb_detach_device()
1139 dev = iface->subdev; in usb_probe_and_attach_sub()
1150 iface->subdev = NULL; in usb_probe_and_attach_sub()
1178 iface->subdev = uaa->temp_dev; in usb_probe_and_attach_sub()
1180 if (device_probe_and_attach(iface->subdev) == 0) { in usb_probe_and_attach_sub()
1186 device_set_ivars(iface->subdev, NULL); in usb_probe_and_attach_sub()
1189 err = DEVICE_SUSPEND(iface->subdev); in usb_probe_and_attach_sub()
1191 device_printf(iface->subdev, "Suspend failed\n"); in usb_probe_and_attach_sub()
1196 iface->subdev = NULL; in usb_probe_and_attach_sub()
1435 usb_suspend_resume_sub(udev, iface->subdev, do_suspend); in usb_suspend_resume()
Dusb_generic.c736 if ((iface->subdev != NULL) && in ugen_get_iface_driver()
737 device_is_attached(iface->subdev) && in ugen_get_iface_driver()
738 (ptr = device_get_nameunit(iface->subdev)) && in ugen_get_iface_driver()
739 (desc = device_get_desc(iface->subdev))) { in ugen_get_iface_driver()
2390 if (iface && iface->subdev) in ugen_ioctl_post()
Dusbdi.h171 device_t subdev; member
Dusb_hub.c1729 (iface->subdev == child)) { in uhub_find_iface_index()
/third_party/alsa-lib/src/control/
Dcontrol_hw.c293 static int snd_ctl_hw_pcm_prefer_subdevice(snd_ctl_t *handle, int subdev) in snd_ctl_hw_pcm_prefer_subdevice() argument
296 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE, &subdev) < 0) in snd_ctl_hw_pcm_prefer_subdevice()
317 static int snd_ctl_hw_rawmidi_prefer_subdevice(snd_ctl_t *handle, int subdev) in snd_ctl_hw_rawmidi_prefer_subdevice() argument
320 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE, &subdev) < 0) in snd_ctl_hw_rawmidi_prefer_subdevice()
Dcontrol_local.h46 int (*pcm_prefer_subdevice)(snd_ctl_t *handle, int subdev);
49 int (*rawmidi_prefer_subdevice)(snd_ctl_t *handle, int subdev);
Dcontrol_shm.c301 static int snd_ctl_shm_pcm_prefer_subdevice(snd_ctl_t *ctl, int subdev) in snd_ctl_shm_pcm_prefer_subdevice() argument
305 ctrl->u.pcm_prefer_subdevice = subdev; in snd_ctl_shm_pcm_prefer_subdevice()
338 static int snd_ctl_shm_rawmidi_prefer_subdevice(snd_ctl_t *ctl, int subdev) in snd_ctl_shm_rawmidi_prefer_subdevice() argument
342 ctrl->u.rawmidi_prefer_subdevice = subdev; in snd_ctl_shm_rawmidi_prefer_subdevice()
Dcontrol_remap.c751 static int snd_ctl_remap_pcm_prefer_subdevice(snd_ctl_t *ctl, int subdev) in snd_ctl_remap_pcm_prefer_subdevice() argument
754 return snd_ctl_pcm_prefer_subdevice(priv->child, subdev); in snd_ctl_remap_pcm_prefer_subdevice()
769 static int snd_ctl_remap_rawmidi_prefer_subdevice(snd_ctl_t *ctl, int subdev) in snd_ctl_remap_rawmidi_prefer_subdevice() argument
772 return snd_ctl_rawmidi_prefer_subdevice(priv->child, subdev); in snd_ctl_remap_rawmidi_prefer_subdevice()
Dcontrol.c1227 int snd_ctl_pcm_prefer_subdevice(snd_ctl_t *ctl, int subdev) in snd_ctl_pcm_prefer_subdevice() argument
1230 return ctl->ops->pcm_prefer_subdevice(ctl, subdev); in snd_ctl_pcm_prefer_subdevice()
1263 int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t *ctl, int subdev) in snd_ctl_rawmidi_prefer_subdevice() argument
1266 return ctl->ops->rawmidi_prefer_subdevice(ctl, subdev); in snd_ctl_rawmidi_prefer_subdevice()
Dcontrol_ext.c379 int subdev ATTRIBUTE_UNUSED) in snd_ctl_ext_prefer_subdevice()
/third_party/alsa-lib/include/
Dcontrol.h411 int snd_ctl_pcm_prefer_subdevice(snd_ctl_t *ctl, int subdev);
416 int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t *ctl, int subdev);
Dpcm.h636 int subdev,
/third_party/alsa-lib/src/pcm/
Dpcm_hw.c1160 static void __fill_chmap_ctl_id(snd_ctl_elem_id_t *id, int dev, int subdev, in __fill_chmap_ctl_id() argument
1169 snd_ctl_elem_id_set_index(id, subdev); in __fill_chmap_ctl_id()
1201 snd_pcm_query_chmaps_from_hw(int card, int dev, int subdev, in snd_pcm_query_chmaps_from_hw() argument
1217 __fill_chmap_ctl_id(&id, dev, subdev, stream); in snd_pcm_query_chmaps_from_hw()