Searched refs:alt_idx (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/media/usb/gspca/ |
D | gspca.c | 762 int n, ret, xfer, alt, alt_idx; in gspca_init_transfer() local 792 alt_idx = 1; in gspca_init_transfer() 796 alt_idx = build_isoc_ep_tb(gspca_dev, intf, ep_tb); in gspca_init_transfer() 797 if (alt_idx <= 0) { in gspca_init_transfer() 807 gspca_dev->alt = ep_tb[--alt_idx].alt; in gspca_init_transfer() 886 if (alt_idx <= 0) { in gspca_init_transfer() 891 gspca_dev->alt = ep_tb[--alt_idx].alt; in gspca_init_transfer()
|
/linux-6.1.9/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 1919 int ifnum = iface->desc.bInterfaceNumber, i, idx, alt_idx, in hfcsusb_probe() local 1947 alt_idx = 0; in hfcsusb_probe() 1954 while (alt_idx < intf->num_altsetting) { in hfcsusb_probe() 1955 iface = intf->altsetting + alt_idx; in hfcsusb_probe() 2012 alt_idx++; in hfcsusb_probe()
|
/linux-6.1.9/arch/x86/events/intel/ |
D | core.c | 3152 int alt_idx = idx; in intel_alt_er() local 3158 alt_idx = EXTRA_REG_RSP_1; in intel_alt_er() 3161 alt_idx = EXTRA_REG_RSP_0; in intel_alt_er() 3163 if (config & ~extra_regs[alt_idx].valid_mask) in intel_alt_er() 3166 return alt_idx; in intel_alt_er()
|