/linux-6.6.21/sound/usb/ |
D | quirks-table.h | 44 .ifnum = 0, 53 .ifnum = 1, 91 .ifnum = QUIRK_ANY_INTERFACE, 95 .ifnum = 2, 99 .ifnum = 3, 118 .ifnum = -1 134 .ifnum = QUIRK_ANY_INTERFACE, 139 .ifnum = 0, 144 .ifnum = 1, 149 .ifnum = 2, [all …]
|
D | implicit.c | 38 #define IMPLICIT_FB_FIXED_DEV(vend, prod, ep, ifnum) \ argument 40 .iface = (ifnum) } 41 #define IMPLICIT_FB_BOTH_DEV(vend, prod, ep, ifnum) \ argument 43 .iface = (ifnum) } 84 int ep, int ep_idx, int ifnum, in add_implicit_fb_sync_ep() argument 90 iface = usb_ifnum_to_if(chip->dev, ifnum); in add_implicit_fb_sync_ep() 97 fmt->sync_iface = ifnum; in add_implicit_fb_sync_ep() 112 unsigned int ifnum, in add_generic_uac2_implicit_fb() argument 118 alts = snd_usb_get_host_interface(chip, ifnum, altsetting); in add_generic_uac2_implicit_fb() 132 ifnum, alts); in add_generic_uac2_implicit_fb()
|
D | card.c | 749 static int try_to_register_card(struct snd_usb_audio *chip, int ifnum) in try_to_register_card() argument 751 if (check_delayed_register_option(chip) == ifnum || in try_to_register_card() 752 chip->last_iface == ifnum || in try_to_register_card() 777 int ifnum; in usb_audio_probe() local 781 ifnum = get_iface_desc(alts)->bInterfaceNumber; in usb_audio_probe() 786 if (quirk && quirk->ifnum >= 0 && ifnum != quirk->ifnum) in usb_audio_probe() 788 if (quirk && quirk->ifnum == QUIRK_NODEV_INTERFACE) in usb_audio_probe() 872 if (quirk && quirk->ifnum != QUIRK_NO_INTERFACE) { in usb_audio_probe() 881 err = snd_usb_create_streams(chip, ifnum); in usb_audio_probe() 884 err = snd_usb_create_mixer(chip, ifnum); in usb_audio_probe() [all …]
|
D | helper.c | 124 snd_usb_get_host_interface(struct snd_usb_audio *chip, int ifnum, int altsetting) in snd_usb_get_host_interface() argument 128 iface = usb_ifnum_to_if(chip->dev, ifnum); in snd_usb_get_host_interface()
|
D | helper.h | 18 snd_usb_get_host_interface(struct snd_usb_audio *chip, int ifnum, int altsetting);
|
/linux-6.6.21/drivers/usb/serial/ |
D | qcserial.c | 197 static int handle_quectel_ec20(struct device *dev, int ifnum) in handle_quectel_ec20() argument 209 switch (ifnum) { in handle_quectel_ec20() 235 __u8 ifnum; in qcprobe() local 245 ifnum = intf->desc.bInterfaceNumber; in qcprobe() 246 dev_dbg(dev, "This Interface = %d\n", ifnum); in qcprobe() 293 if (ifnum == 0) { in qcprobe() 296 } else if (ifnum == 2) in qcprobe() 304 altsetting = handle_quectel_ec20(dev, ifnum); in qcprobe() 321 switch (ifnum) { in qcprobe() 350 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 …]
|
/linux-6.6.21/tools/usb/ |
D | testusb.c | 126 unsigned ifnum : 8; member 242 int ifnum; in find_testdev() local 256 ifnum = testdev_ifnum(fd); in find_testdev() 258 if (ifnum < 0) in find_testdev() 273 entry->ifnum = ifnum; in find_testdev() 308 speed(dev->speed), dev->name, dev->ifnum); in handle_testdev() 316 status = usbdev_ioctl (fd, dev->ifnum, in handle_testdev()
|
/linux-6.6.21/drivers/usb/core/ |
D | devio.c | 100 unsigned int ifnum; member 683 unsigned int ifnum) in destroy_async_on_interface() argument 691 if (ifnum == list_entry(p, struct async, asynclist)->ifnum) in destroy_async_on_interface() 717 unsigned int ifnum = intf->altsetting->desc.bInterfaceNumber; in driver_disconnect() local 726 if (likely(ifnum < 8*sizeof(ps->ifclaimed))) in driver_disconnect() 727 clear_bit(ifnum, &ps->ifclaimed); in driver_disconnect() 730 ifnum); in driver_disconnect() 735 destroy_async_on_interface(ps, ifnum); in driver_disconnect() 779 static int claimintf(struct usb_dev_state *ps, unsigned int ifnum) in claimintf() argument 785 if (ifnum >= 8*sizeof(ps->ifclaimed)) in claimintf() [all …]
|
D | of.c | 91 usb_of_get_interface_node(struct usb_device *udev, u8 config, u8 ifnum) in usb_of_get_interface_node() argument 100 if (reg[0] == ifnum && reg[1] == config) in usb_of_get_interface_node()
|
/linux-6.6.21/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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/include/linux/usb/ |
D | of.h | 23 u8 config, u8 ifnum); 50 usb_of_get_interface_node(struct usb_device *udev, u8 config, u8 ifnum) in usb_of_get_interface_node() argument
|
/linux-6.6.21/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()
|
/linux-6.6.21/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() 698 priv->ifnum = ifacenum; in sierra_net_bind()
|
/linux-6.6.21/drivers/media/rc/ |
D | imon.c | 2126 int ifnum = iface_desc->desc.bInterfaceNumber; in imon_find_endpoints() local 2158 if (ifnum == 0) { in imon_find_endpoints() 2410 int ifnum, sysfs_err; in imon_probe() local 2417 ifnum = iface_desc->desc.bInterfaceNumber; in imon_probe() 2422 __func__, vendor, product, ifnum); in imon_probe() 2436 if (ifnum == 0) { in imon_probe() 2467 if (ifnum == 0) { in imon_probe() 2481 vendor, product, ifnum, in imon_probe() 2502 int ifnum; in imon_disconnect() local 2507 ifnum = interface->cur_altsetting->desc.bInterfaceNumber; in imon_disconnect() [all …]
|
/linux-6.6.21/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 264 dev->ifnum, dev->alt); in snd_em28xx_capture_open() 265 usb_set_interface(udev, dev->ifnum, dev->alt); in snd_em28xx_capture_open() 667 if (dev->ifnum) in em28xx_audio_urb_init() 672 intf = usb_ifnum_to_if(udev, dev->ifnum); in em28xx_audio_urb_init() 676 dev->ifnum, alt); in em28xx_audio_urb_init() 701 dev->ifnum, alt, interval, ep_size); in em28xx_audio_urb_init()
|
/linux-6.6.21/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()
|
/linux-6.6.21/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 130 .ifnum = 0, in usx2y_create_usbmidi() 143 .ifnum = 0, in usx2y_create_usbmidi()
|
/linux-6.6.21/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() 404 usbhid->cr->wIndex = cpu_to_le16(usbhid->ifnum); in hid_submit_ctrl() 655 static int hid_set_idle(struct usb_device *dev, int ifnum, int report, int idle) in hid_set_idle() argument 659 ifnum, NULL, 0, USB_CTRL_SET_TIMEOUT); in hid_set_idle() 662 static int hid_get_class_descriptor(struct usb_device *dev, int ifnum, in hid_get_class_descriptor() argument 672 (type << 8), ifnum, buf, size, USB_CTRL_GET_TIMEOUT); in hid_get_class_descriptor() 1306 int ifnum = interface->desc.bInterfaceNumber; in usbhid_idle() local 1311 return hid_set_idle(dev, ifnum, report, idle); in usbhid_idle() 1421 usbhid->ifnum = interface->desc.bInterfaceNumber; in usbhid_probe()
|
/linux-6.6.21/drivers/media/usb/au0828/ |
D | au0828-core.c | 646 int ifnum; in au0828_usb_probe() local 652 ifnum = interface->altsetting->desc.bInterfaceNumber; in au0828_usb_probe() 654 if (ifnum != 0) in au0828_usb_probe() 660 ifnum); in au0828_usb_probe()
|
/linux-6.6.21/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
|