Home
last modified time | relevance | path

Searched refs:if_num (Results 1 – 9 of 9) sorted by relevance

/drivers/char/ipmi/
Dipmi_poweroff.c46 static void ipmi_po_smi_gone(int if_num);
47 static void ipmi_po_new_smi(int if_num, struct device *device);
558 static void ipmi_po_new_smi(int if_num, struct device *device) in ipmi_po_new_smi() argument
568 if ((ifnum_to_use >= 0) && (ifnum_to_use != if_num)) in ipmi_po_new_smi()
571 rv = ipmi_create_user(if_num, &ipmi_poweroff_handler, NULL, in ipmi_po_new_smi()
579 ipmi_ifnum = if_num; in ipmi_po_new_smi()
639 static void ipmi_po_smi_gone(int if_num) in ipmi_po_smi_gone() argument
644 if (ipmi_ifnum != if_num) in ipmi_po_smi_gone()
Dipmi_devintf.c118 int if_num = iminor(inode); in ipmi_open() local
130 rv = ipmi_create_user(if_num, in ipmi_open()
887 static void ipmi_new_smi(int if_num, struct device *device) in ipmi_new_smi() argument
889 dev_t dev = MKDEV(ipmi_major, if_num); in ipmi_new_smi()
901 device_create(ipmi_class, device, dev, NULL, "ipmi%d", if_num); in ipmi_new_smi()
906 static void ipmi_smi_gone(int if_num) in ipmi_smi_gone() argument
908 dev_t dev = MKDEV(ipmi_major, if_num); in ipmi_smi_gone()
Dipmi_watchdog.c1207 static void ipmi_new_smi(int if_num, struct device *device) in ipmi_new_smi() argument
1209 ipmi_register_watchdog(if_num); in ipmi_new_smi()
1212 static void ipmi_smi_gone(int if_num) in ipmi_smi_gone() argument
1214 ipmi_unregister_watchdog(if_num); in ipmi_smi_gone()
Dipmi_msghandler.c885 int ipmi_create_user(unsigned int if_num, in ipmi_create_user() argument
929 if (intf->intf_num == if_num) in ipmi_create_user()
981 int ipmi_get_smi_info(int if_num, struct ipmi_smi_info *data) in ipmi_get_smi_info() argument
989 if (intf->intf_num == if_num) in ipmi_get_smi_info()
/drivers/media/dvb-core/
Ddvb_net.c1270 int if_num; local
1274 if ((if_num = get_if(dvbnet)) < 0)
1283 dvbnet->dvbdev->adapter->num, dvbnet->dvbdev->id, if_num);
1287 dvbnet->dvbdev->adapter->num, if_num);
1292 dvbnet->device[if_num] = net;
1311 dvbnet->device[if_num] = NULL;
1317 return if_num;
1378 dvbnetif->if_num=result;
1387 if (dvbnetif->if_num >= DVB_NET_DEVICES_MAX ||
1388 !dvbnet->state[dvbnetif->if_num]) {
[all …]
/drivers/net/usb/
Dhso.c1676 int if_num; in hso_serial_tiocmset() local
1688 if_num = serial->parent->interface->altsetting->desc.bInterfaceNumber; in hso_serial_tiocmset()
1710 0x21, val, if_num, NULL, 0, in hso_serial_tiocmset()
2820 u32 if_num = interface->altsetting->desc.bInterfaceNumber; in hso_get_config_data() local
2829 switch (config_data[if_num]) { in hso_get_config_data()
2883 int mux, i, if_num, port_spec; in hso_probe() local
2889 if_num = interface->altsetting->desc.bInterfaceNumber; in hso_probe()
2894 port_spec = ((u32 *)(id->driver_info))[if_num]; in hso_probe()
2905 usb_set_interface(interface_to_usbdev(interface), if_num, 1); in hso_probe()
/drivers/staging/ozwpan/
Dozusbsvc1.c208 u8 if_num = (u8)windex; in oz_usb_control_req() local
211 if_num, alt); in oz_usb_control_req()
Dozhcd.c874 u8 rcode, u8 if_num, u8 alt) in oz_hcd_complete_set_interface() argument
881 oz_trace("Set interface %d alt %d\n", if_num, alt); in oz_hcd_complete_set_interface()
882 oz_clean_endpoints_for_interface(hcd, port, if_num); in oz_hcd_complete_set_interface()
884 intf = &config->intf_cache[if_num]->altsetting[alt]; in oz_hcd_complete_set_interface()
889 port->iface[if_num].alt = alt; in oz_hcd_complete_set_interface()
/drivers/usb/misc/
Diowarrior.c564 info.if_num = dev->interface->cur_altsetting->desc.bInterfaceNumber; in iowarrior_ioctl()