Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dipmi.h111 int ipmi_create_user(unsigned int if_num,
277 void (*new_smi)(int if_num, struct device *dev);
278 void (*smi_gone)(int if_num);
334 extern int ipmi_get_smi_info(int if_num, struct ipmi_smi_info *data);
/Linux-v5.4/include/uapi/linux/dvb/
Dnet.h47 __u16 if_num; member
62 __u16 if_num; member
/Linux-v5.4/drivers/char/ipmi/
Dipmi_poweroff.c27 static void ipmi_po_smi_gone(int if_num);
28 static void ipmi_po_new_smi(int if_num, struct device *device);
556 static void ipmi_po_new_smi(int if_num, struct device *device) in ipmi_po_new_smi() argument
566 if ((ifnum_to_use >= 0) && (ifnum_to_use != if_num)) in ipmi_po_new_smi()
569 rv = ipmi_create_user(if_num, &ipmi_poweroff_handler, NULL, in ipmi_po_new_smi()
576 ipmi_ifnum = if_num; in ipmi_po_new_smi()
634 static void ipmi_po_smi_gone(int if_num) in ipmi_po_smi_gone() argument
639 if (ipmi_ifnum != if_num) in ipmi_po_smi_gone()
Dipmi_devintf.c89 int if_num = iminor(inode); in ipmi_open() local
97 rv = ipmi_create_user(if_num, in ipmi_open()
811 static void ipmi_new_smi(int if_num, struct device *device) in ipmi_new_smi() argument
813 dev_t dev = MKDEV(ipmi_major, if_num); in ipmi_new_smi()
824 device_create(ipmi_class, device, dev, NULL, "ipmi%d", if_num); in ipmi_new_smi()
829 static void ipmi_smi_gone(int if_num) in ipmi_smi_gone() argument
831 dev_t dev = MKDEV(ipmi_major, if_num); in ipmi_smi_gone()
Dipmi_watchdog.c1170 static void ipmi_new_smi(int if_num, struct device *device) in ipmi_new_smi() argument
1172 ipmi_register_watchdog(if_num); in ipmi_new_smi()
1175 static void ipmi_smi_gone(int if_num) in ipmi_smi_gone() argument
1177 ipmi_unregister_watchdog(if_num); in ipmi_smi_gone()
Dipmi_msghandler.c1174 int ipmi_create_user(unsigned int if_num, in ipmi_create_user() argument
1209 if (intf->intf_num == if_num) in ipmi_create_user()
1250 int ipmi_get_smi_info(int if_num, struct ipmi_smi_info *data) in ipmi_get_smi_info() argument
1257 if (intf->intf_num == if_num) in ipmi_get_smi_info()
/Linux-v5.4/drivers/media/dvb-core/
Ddvb_net.c1348 int if_num; local
1352 if ((if_num = get_if(dvbnet)) < 0)
1362 dvbnet->dvbdev->adapter->num, dvbnet->dvbdev->id, if_num);
1366 dvbnet->dvbdev->adapter->num, if_num);
1371 dvbnet->device[if_num] = net;
1390 dvbnet->device[if_num] = NULL;
1396 return if_num;
1457 dvbnetif->if_num=result;
1466 if (dvbnetif->if_num >= DVB_NET_DEVICES_MAX ||
1467 !dvbnet->state[dvbnetif->if_num]) {
[all …]
/Linux-v5.4/include/linux/usb/
Diowarrior.h32 __u32 if_num; member
/Linux-v5.4/drivers/net/usb/
Dhso.c1458 int if_num; in tiocmget_intr_callback() local
1477 if_num = interface->cur_altsetting->desc.bInterfaceNumber; in tiocmget_intr_callback()
1486 le16_to_cpu(serial_state_notification->wIndex) != if_num || in tiocmget_intr_callback()
1657 int if_num; in hso_serial_tiocmset() local
1671 if_num = interface->cur_altsetting->desc.bInterfaceNumber; in hso_serial_tiocmset()
1693 0x21, val, if_num, NULL, 0, in hso_serial_tiocmset()
2793 u32 if_num = interface->cur_altsetting->desc.bInterfaceNumber; in hso_get_config_data() local
2806 if (if_num > 16) { in hso_get_config_data()
2811 switch (config_data[if_num]) { in hso_get_config_data()
2866 int mux, i, if_num, port_spec; in hso_probe() local
[all …]
/Linux-v5.4/drivers/usb/misc/
Diowarrior.c546 info.if_num = dev->interface->cur_altsetting->desc.bInterfaceNumber; in iowarrior_ioctl()