Searched refs:alt_idx (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/media/usb/gspca/ |
D | gspca.c | 760 int n, ret, xfer, alt, alt_idx; in gspca_init_transfer() local 790 alt_idx = 1; in gspca_init_transfer() 794 alt_idx = build_isoc_ep_tb(gspca_dev, intf, ep_tb); in gspca_init_transfer() 795 if (alt_idx <= 0) { in gspca_init_transfer() 805 gspca_dev->alt = ep_tb[--alt_idx].alt; in gspca_init_transfer() 884 if (alt_idx <= 0) { in gspca_init_transfer() 889 gspca_dev->alt = ep_tb[--alt_idx].alt; in gspca_init_transfer()
|
/Linux-v5.4/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 1917 int ifnum = iface->desc.bInterfaceNumber, i, idx, alt_idx, in hfcsusb_probe() local 1945 alt_idx = 0; in hfcsusb_probe() 1952 while (alt_idx < intf->num_altsetting) { in hfcsusb_probe() 1953 iface = intf->altsetting + alt_idx; in hfcsusb_probe() 2010 alt_idx++; in hfcsusb_probe()
|
/Linux-v5.4/arch/x86/events/intel/ |
D | core.c | 2600 int alt_idx = idx; in intel_alt_er() local 2606 alt_idx = EXTRA_REG_RSP_1; in intel_alt_er() 2609 alt_idx = EXTRA_REG_RSP_0; in intel_alt_er() 2611 if (config & ~x86_pmu.extra_regs[alt_idx].valid_mask) in intel_alt_er() 2614 return alt_idx; in intel_alt_er()
|