/third_party/FreeBSD/sys/dev/usb/ |
D | usb_handle_request.c | 223 (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()
|
D | usb_device.c | 1114 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()
|
D | usb_generic.c | 736 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()
|
D | usbdi.h | 171 device_t subdev; member
|
D | usb_hub.c | 1729 (iface->subdev == child)) { in uhub_find_iface_index()
|
/third_party/alsa-lib/src/control/ |
D | control_hw.c | 293 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()
|
D | control_local.h | 46 int (*pcm_prefer_subdevice)(snd_ctl_t *handle, int subdev); 49 int (*rawmidi_prefer_subdevice)(snd_ctl_t *handle, int subdev);
|
D | control_shm.c | 301 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()
|
D | control_remap.c | 751 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()
|
D | control.c | 1227 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()
|
D | control_ext.c | 379 int subdev ATTRIBUTE_UNUSED) in snd_ctl_ext_prefer_subdevice()
|
/third_party/alsa-lib/include/ |
D | control.h | 411 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);
|
D | pcm.h | 636 int subdev,
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_hw.c | 1160 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()
|