/kernel/linux/linux-5.10/sound/usb/ |
D | quirks-table.h | 44 .ifnum = 0, 53 .ifnum = 1, 89 .ifnum = QUIRK_ANY_INTERFACE, 93 .ifnum = 2, 97 .ifnum = 3, 116 .ifnum = -1 132 .ifnum = QUIRK_ANY_INTERFACE, 137 .ifnum = 0, 142 .ifnum = 1, 147 .ifnum = 2, [all …]
|
D | card.c | 707 int ifnum; in usb_audio_probe() local 711 ifnum = get_iface_desc(alts)->bInterfaceNumber; in usb_audio_probe() 716 if (quirk && quirk->ifnum >= 0 && ifnum != quirk->ifnum) in usb_audio_probe() 794 if (quirk && quirk->ifnum != QUIRK_NO_INTERFACE) { in usb_audio_probe() 803 err = snd_usb_create_streams(chip, ifnum); in usb_audio_probe() 806 err = snd_usb_create_mixer(chip, ifnum, ignore_ctl_error); in usb_audio_probe() 814 chip->usb_id, ifnum); in usb_audio_probe() 821 if (!snd_usb_registration_quirk(chip, ifnum) && in usb_audio_probe() 822 !check_delayed_register_option(chip, ifnum)) { in usb_audio_probe()
|
D | quirks.c | 41 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk() 42 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk() 45 if (quirk->ifnum != probed_ifnum && in create_composite_quirk() 53 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk() 54 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk() 57 if (quirk->ifnum != probed_ifnum && in create_composite_quirk() 375 int ifcount, ifnum, err; in create_autodetect_quirks() local 386 for (ifnum = 0; ifnum < ifcount; ifnum++) { in create_autodetect_quirks() 387 if (ifnum == probed_ifnum || quirk->ifnum >= 0) in create_autodetect_quirks() 389 iface = usb_ifnum_to_if(chip->dev, ifnum); in create_autodetect_quirks() [all …]
|
D | pcm.c | 287 static int search_roland_implicit_fb(struct usb_device *dev, int ifnum, in search_roland_implicit_fb() argument 296 iface = usb_ifnum_to_if(dev, ifnum); in search_roland_implicit_fb() 327 unsigned int ifnum; in set_sync_ep_implicit_fb_quirk() local 338 ifnum = 3; in set_sync_ep_implicit_fb_quirk() 343 ifnum = 2; in set_sync_ep_implicit_fb_quirk() 348 ifnum = 2; in set_sync_ep_implicit_fb_quirk() 352 ifnum = 2; in set_sync_ep_implicit_fb_quirk() 356 ifnum = 2; in set_sync_ep_implicit_fb_quirk() 361 ifnum = 1; in set_sync_ep_implicit_fb_quirk() 370 ifnum = 0; in set_sync_ep_implicit_fb_quirk() [all …]
|
D | usbaudio.h | 116 int16_t ifnum; member
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
D | qcserial.c | 192 static int handle_quectel_ec20(struct device *dev, int ifnum) in handle_quectel_ec20() argument 204 switch (ifnum) { in handle_quectel_ec20() 230 __u8 ifnum; in qcprobe() local 240 ifnum = intf->desc.bInterfaceNumber; in qcprobe() 241 dev_dbg(dev, "This Interface = %d\n", ifnum); in qcprobe() 288 if (ifnum == 0) { in qcprobe() 291 } else if (ifnum == 2) in qcprobe() 299 altsetting = handle_quectel_ec20(dev, ifnum); in qcprobe() 316 switch (ifnum) { in qcprobe() 345 switch (ifnum) { in qcprobe() [all …]
|
D | sierra.c | 88 u8 ifnum, numendpoints; in sierra_calc_num_ports() local 90 ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber; in sierra_calc_num_ports() 94 if (ifnum == 0x99) in sierra_calc_num_ports() 103 static bool is_listed(const u8 ifnum, const struct sierra_iface_list *list) in is_listed() argument 111 if (list->nums[i] == ifnum) in is_listed() 129 u8 ifnum; in sierra_probe() local 132 ifnum = sierra_interface_num(serial); in sierra_probe() 140 ifnum); in sierra_probe() 142 usb_set_interface(udev, ifnum, 1); in sierra_probe() 147 if (is_listed(ifnum, ignore_list)) { in sierra_probe() [all …]
|
/kernel/linux/linux-5.10/tools/usb/ |
D | testusb.c | 120 unsigned ifnum : 8; member 236 int ifnum; in find_testdev() local 250 ifnum = testdev_ifnum(fd); in find_testdev() 252 if (ifnum < 0) in find_testdev() 267 entry->ifnum = ifnum; in find_testdev() 302 speed(dev->speed), dev->name, dev->ifnum); in handle_testdev() 310 status = usbdev_ioctl (fd, dev->ifnum, in handle_testdev()
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
D | devio.c | 99 unsigned int ifnum; member 663 unsigned int ifnum) in destroy_async_on_interface() argument 671 if (ifnum == list_entry(p, struct async, asynclist)->ifnum) in destroy_async_on_interface() 697 unsigned int ifnum = intf->altsetting->desc.bInterfaceNumber; in driver_disconnect() local 706 if (likely(ifnum < 8*sizeof(ps->ifclaimed))) in driver_disconnect() 707 clear_bit(ifnum, &ps->ifclaimed); in driver_disconnect() 710 ifnum); in driver_disconnect() 715 destroy_async_on_interface(ps, ifnum); in driver_disconnect() 757 static int claimintf(struct usb_dev_state *ps, unsigned int ifnum) in claimintf() argument 763 if (ifnum >= 8*sizeof(ps->ifclaimed)) in claimintf() [all …]
|
D | of.c | 92 usb_of_get_interface_node(struct usb_device *udev, u8 config, u8 ifnum) in usb_of_get_interface_node() argument 101 if (reg[0] == ifnum && reg[1] == config) in usb_of_get_interface_node()
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-prodikeys.c | 54 unsigned short ifnum; member 538 if (pm->ifnum != 1) /* only set up ONCE for interace 1 */ in pcmidi_setup_extra_keys() 556 if (pm->ifnum != 1) in pcmidi_set_operational() 612 if (pm->ifnum != 1) in pcmidi_snd_initialise() 768 1 == pm->ifnum) { in pk_input_mapping() 783 if (1 == pk->pm->ifnum) { in pk_raw_event() 802 unsigned short ifnum; in pk_probe() local 811 ifnum = intf->cur_altsetting->desc.bInterfaceNumber; in pk_probe() 830 pm->ifnum = ifnum; in pk_probe()
|
D | hid-samsung.c | 100 unsigned short ifnum = intf->cur_altsetting->desc.bInterfaceNumber; in samsung_kbd_mouse_input_mapping() local 102 if (1 != ifnum || HID_UP_CONSUMER != (usage->hid & HID_USAGE_PAGE)) in samsung_kbd_mouse_input_mapping()
|
/kernel/linux/linux-5.10/drivers/media/usb/stk1160/ |
D | stk1160-core.c | 177 int i, e, sizedescr, size, ifnum; in stk1160_scan_usb() local 183 ifnum = intf->altsetting[0].desc.bInterfaceNumber; in stk1160_scan_usb() 239 ifnum, in stk1160_scan_usb() 246 you should use snd-usb-audio instead\n", ifnum); in stk1160_scan_usb() 250 ifnum); in stk1160_scan_usb()
|
/kernel/linux/linux-5.10/include/linux/usb/ |
D | of.h | 25 u8 config, u8 ifnum); 52 usb_of_get_interface_node(struct usb_device *udev, u8 config, u8 ifnum) in usb_of_get_interface_node() argument
|
/kernel/linux/linux-5.10/drivers/usb/atm/ |
D | xusbatm.c | 55 int ifnum = intf->altsetting->desc.bInterfaceNumber; in xusbatm_capture_intf() local 59 usb_err(usbatm, "%s: failed to claim interface %2d (%d)!\n", __func__, ifnum, ret); in xusbatm_capture_intf() 62 ret = usb_set_interface(usb_dev, ifnum, altsetting); in xusbatm_capture_intf() 64 …r(usbatm, "%s: altsetting %2d for interface %2d failed (%d)!\n", __func__, altsetting, ifnum, ret); in xusbatm_capture_intf()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | sierra_net.c | 73 u8 ifnum; /* interface number */ member 327 0, priv->ifnum, cmd, cmdlen); in sierra_net_send_cmd() 470 u8 ifnum; in sierra_net_kevent() local 480 ifnum = priv->ifnum; in sierra_net_kevent() 484 0, ifnum, buf, SIERRA_NET_USBCTL_BUF_LEN, in sierra_net_kevent() 697 priv->ifnum = ifacenum; in sierra_net_bind()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | imon.c | 2123 int ifnum = iface_desc->desc.bInterfaceNumber; in imon_find_endpoints() local 2155 if (ifnum == 0) { in imon_find_endpoints() 2405 int ifnum, sysfs_err; in imon_probe() local 2413 ifnum = iface_desc->desc.bInterfaceNumber; in imon_probe() 2418 __func__, vendor, product, ifnum); in imon_probe() 2431 if (ifnum == 0) { in imon_probe() 2459 if (ifnum == 0) { in imon_probe() 2477 vendor, product, ifnum, in imon_probe() 2500 int ifnum; in imon_disconnect() local 2507 ifnum = interface->cur_altsetting->desc.bInterfaceNumber; in imon_disconnect() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 274 dev->ifnum, dev->alt); in snd_em28xx_capture_open() 275 usb_set_interface(udev, dev->ifnum, dev->alt); in snd_em28xx_capture_open() 677 if (dev->ifnum) in em28xx_audio_urb_init() 682 intf = usb_ifnum_to_if(udev, dev->ifnum); in em28xx_audio_urb_init() 686 dev->ifnum, alt); in em28xx_audio_urb_init() 711 dev->ifnum, alt, interval, ep_size); in em28xx_audio_urb_init()
|
/kernel/linux/linux-5.10/drivers/usb/class/ |
D | usblp.c | 141 int ifnum; /* Interface number */ member 178 dev_dbg(dev, "ifnum=%d\n", usblp->ifnum); in usblp_dump() 253 int index = usblp->ifnum; in usblp_ctrl_msg() 259 index = (usblp->ifnum<<8)|usblp->protocol[usblp->current_protocol].alt_setting; in usblp_ctrl_msg() 1147 usblp->ifnum = intf->cur_altsetting->desc.bInterfaceNumber; in usblp_probe() 1219 usblp->ifnum, in usblp_probe() 1345 r = usb_set_interface(usblp->dev, usblp->ifnum, alts); in usblp_set_protocol() 1348 alts, usblp->ifnum); in usblp_set_protocol()
|
/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
D | usbhid.h | 60 int ifnum; /* USB interface number */ member
|
D | hid-core.c | 329 usbhid->ifnum, status); in hid_irq_in() 408 usbhid->cr->wIndex = cpu_to_le16(usbhid->ifnum); in hid_submit_ctrl() 657 static int hid_set_idle(struct usb_device *dev, int ifnum, int report, int idle) in hid_set_idle() argument 661 ifnum, NULL, 0, USB_CTRL_SET_TIMEOUT); in hid_set_idle() 664 static int hid_get_class_descriptor(struct usb_device *dev, int ifnum, in hid_get_class_descriptor() argument 674 (type << 8), ifnum, buf, size, USB_CTRL_GET_TIMEOUT); in hid_get_class_descriptor() 1308 int ifnum = interface->desc.bInterfaceNumber; in usbhid_idle() local 1313 return hid_set_idle(dev, ifnum, report, idle); in usbhid_idle() 1410 usbhid->ifnum = interface->desc.bInterfaceNumber; in usbhid_probe()
|
/kernel/linux/linux-5.10/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 138 .ifnum = 0, in usx2y_create_usbmidi() 151 .ifnum = 0, in usx2y_create_usbmidi()
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
D | net-remove-if.rst | 20 ``int ioctl(int fd, NET_REMOVE_IF, int ifnum)``
|
D | net-add-if.rst | 40 The struct :c:type:`dvb_net_if`::ifnum field will be
|
/kernel/linux/linux-5.10/drivers/media/usb/au0828/ |
D | au0828-core.c | 651 int ifnum; in au0828_usb_probe() local 657 ifnum = interface->altsetting->desc.bInterfaceNumber; in au0828_usb_probe() 659 if (ifnum != 0) in au0828_usb_probe() 665 ifnum); in au0828_usb_probe()
|