Searched refs:if_num (Results 1 - 14 of 14) sorted by relevance

/linux-4.4.14/include/uapi/linux/dvb/
H A Dnet.h31 __u16 if_num; member in struct:dvb_net_if
46 __u16 if_num; member in struct:__dvb_net_if_old
/linux-4.4.14/include/linux/usb/
H A Diowarrior.h31 __u32 if_num; member in struct:iowarrior_info
/linux-4.4.14/drivers/char/ipmi/
H A 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) ipmi_po_new_smi() argument
568 if ((ifnum_to_use >= 0) && (ifnum_to_use != if_num)) ipmi_po_new_smi()
571 rv = ipmi_create_user(if_num, &ipmi_poweroff_handler, NULL, ipmi_po_new_smi()
579 ipmi_ifnum = if_num; ipmi_po_new_smi()
639 static void ipmi_po_smi_gone(int if_num) ipmi_po_smi_gone() argument
644 if (ipmi_ifnum != if_num) ipmi_po_smi_gone()
H A Dipmi_devintf.c118 int if_num = iminor(inode); ipmi_open() local
130 rv = ipmi_create_user(if_num, ipmi_open()
892 static void ipmi_new_smi(int if_num, struct device *device) ipmi_new_smi() argument
894 dev_t dev = MKDEV(ipmi_major, if_num); ipmi_new_smi()
906 device_create(ipmi_class, device, dev, NULL, "ipmi%d", if_num); ipmi_new_smi()
911 static void ipmi_smi_gone(int if_num) ipmi_smi_gone() argument
913 dev_t dev = MKDEV(ipmi_major, if_num); ipmi_smi_gone()
H A Dipmi_watchdog.c1213 static void ipmi_new_smi(int if_num, struct device *device) ipmi_new_smi() argument
1215 ipmi_register_watchdog(if_num); ipmi_new_smi()
1218 static void ipmi_smi_gone(int if_num) ipmi_smi_gone() argument
1220 ipmi_unregister_watchdog(if_num); ipmi_smi_gone()
H A Dipmi_msghandler.c919 int ipmi_create_user(unsigned int if_num, ipmi_create_user() argument
963 if (intf->intf_num == if_num) ipmi_create_user()
1020 int ipmi_get_smi_info(int if_num, struct ipmi_smi_info *data) ipmi_get_smi_info() argument
1028 if (intf->intf_num == if_num) ipmi_get_smi_info()
/linux-4.4.14/net/batman-adv/
H A Dbat_iv_ogm.c874 int if_num; batadv_iv_ogm_slide_own_bcast_window() local
882 word_index = hard_iface->if_num * BATADV_NUM_WORDS; hlist_for_each_entry_rcu()
886 if_num = hard_iface->if_num; hlist_for_each_entry_rcu()
887 w = &orig_node->bat_iv.bcast_own_sum[if_num]; hlist_for_each_entry_rcu()
985 int if_num; batadv_iv_ogm_orig_update() local
1091 if_num = router->if_incoming->if_num; batadv_iv_ogm_orig_update()
1092 sum_orig = orig_node_tmp->bat_iv.bcast_own_sum[if_num]; batadv_iv_ogm_orig_update()
1097 if_num = neigh_node->if_incoming->if_num; batadv_iv_ogm_orig_update()
1098 sum_neigh = orig_node_tmp->bat_iv.bcast_own_sum[if_num]; batadv_iv_ogm_orig_update()
1143 int tq_asym_penalty, inv_asym_penalty, if_num, ret = 0; batadv_iv_ogm_calc_tq() local
1183 if_num = if_incoming->if_num; batadv_iv_ogm_calc_tq()
1184 orig_eq_count = orig_neigh_node->bat_iv.bcast_own_sum[if_num]; batadv_iv_ogm_calc_tq()
1651 s16 if_num; batadv_iv_ogm_process() local
1666 if_num = if_incoming->if_num; batadv_iv_ogm_process()
1667 offset = if_num * BATADV_NUM_WORDS; batadv_iv_ogm_process()
1674 weight = &orig_neigh_node->bat_iv.bcast_own_sum[if_num]; batadv_iv_ogm_process()
H A Doriginator.c1105 * if_num batadv_orig_hash_add_if()
1142 * if_num batadv_orig_hash_del_if()
1153 hard_iface->if_num); hlist_for_each_entry_rcu()
1172 if (hard_iface_tmp->if_num > hard_iface->if_num)
1173 hard_iface_tmp->if_num--;
1177 hard_iface->if_num = -1;
H A Dhard-interface.c475 hard_iface->if_num = bat_priv->num_ifaces; batadv_hardif_enable_interface()
631 hard_iface->if_num = -1; batadv_hardif_add_interface()
H A Dtypes.h90 * @if_num: identificator of the interface
106 s16 if_num; member in struct:batadv_hard_iface
/linux-4.4.14/drivers/media/dvb-core/
H A Ddvb_net.c1236 int if_num; dvb_net_add_if() local
1240 if ((if_num = get_if(dvbnet)) < 0) dvb_net_add_if()
1250 dvbnet->dvbdev->adapter->num, dvbnet->dvbdev->id, if_num); dvb_net_add_if()
1254 dvbnet->dvbdev->adapter->num, if_num); dvb_net_add_if()
1259 dvbnet->device[if_num] = net; dvb_net_add_if()
1278 dvbnet->device[if_num] = NULL; dvb_net_add_if()
1284 return if_num; dvb_net_add_if()
1345 dvbnetif->if_num=result; dvb_net_do_ioctl()
1354 if (dvbnetif->if_num >= DVB_NET_DEVICES_MAX || dvb_net_do_ioctl()
1355 !dvbnet->state[dvbnetif->if_num]) { dvb_net_do_ioctl()
1360 netdev = dvbnet->device[dvbnetif->if_num]; dvb_net_do_ioctl()
1405 dvbnetif->if_num=result; dvb_net_do_ioctl()
1414 if (dvbnetif->if_num >= DVB_NET_DEVICES_MAX || dvb_net_do_ioctl()
1415 !dvbnet->state[dvbnetif->if_num]) { dvb_net_do_ioctl()
1420 netdev = dvbnet->device[dvbnetif->if_num]; dvb_net_do_ioctl()
/linux-4.4.14/include/linux/
H A Dipmi.h102 int ipmi_create_user(unsigned int if_num,
259 void (*new_smi)(int if_num, struct device *dev);
260 void (*smi_gone)(int if_num);
314 extern int ipmi_get_smi_info(int if_num, struct ipmi_smi_info *data);
/linux-4.4.14/drivers/net/usb/
H A Dhso.c1481 int if_num; tiocmget_intr_callback() local
1500 if_num = interface->cur_altsetting->desc.bInterfaceNumber; tiocmget_intr_callback()
1509 le16_to_cpu(serial_state_notification->wIndex) != if_num || tiocmget_intr_callback()
1679 int if_num; hso_serial_tiocmset() local
1693 if_num = interface->cur_altsetting->desc.bInterfaceNumber; hso_serial_tiocmset()
1715 0x21, val, if_num, NULL, 0, hso_serial_tiocmset()
2816 u32 if_num = interface->cur_altsetting->desc.bInterfaceNumber; hso_get_config_data() local
2828 switch (config_data[if_num]) { hso_get_config_data()
2883 int mux, i, if_num, port_spec; hso_probe() local
2894 if_num = interface->cur_altsetting->desc.bInterfaceNumber; hso_probe()
2899 port_spec = ((u32 *)(id->driver_info))[if_num]; hso_probe()
2906 usb_set_interface(interface_to_usbdev(interface), if_num, 1); hso_probe() local
/linux-4.4.14/drivers/usb/misc/
H A Diowarrior.c561 info.if_num = dev->interface->cur_altsetting->desc.bInterfaceNumber; iowarrior_ioctl()

Completed in 619 milliseconds