Lines Matching refs:ifnum
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()
148 dev_dbg(&serial->dev->dev, "Ignoring interface #%d\n", ifnum); in sierra_probe()
862 u8 ifnum; in sierra_port_probe() local
879 ifnum = sierra_interface_num(serial); in sierra_port_probe()
885 ifnum = port->port_number; in sierra_port_probe()
889 if (is_listed(ifnum, himemory_list)) { in sierra_port_probe()
896 ifnum, portdata->num_in_urbs, portdata->num_out_urbs); in sierra_port_probe()