/linux-master/drivers/net/phy/ |
H A D | sfp-bus.c | 142 * @interfaces: pointer to an array of unsigned long for phy interface modes 149 unsigned long *support, unsigned long *interfaces) 178 __set_bit(PHY_INTERFACE_MODE_10GBASER, interfaces); 182 __set_bit(PHY_INTERFACE_MODE_10GBASER, interfaces); 186 __set_bit(PHY_INTERFACE_MODE_10GBASER, interfaces); 190 __set_bit(PHY_INTERFACE_MODE_10GBASER, interfaces); 196 __set_bit(PHY_INTERFACE_MODE_1000BASEX, interfaces); 201 __set_bit(PHY_INTERFACE_MODE_1000BASEX, interfaces); 202 __set_bit(PHY_INTERFACE_MODE_SGMII, interfaces); 209 __set_bit(PHY_INTERFACE_MODE_1000BASEX, interfaces); 148 sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, unsigned long *support, unsigned long *interfaces) argument [all...] |
H A D | sfp.h | 13 unsigned long *interfaces);
|
H A D | marvell10g.c | 155 int (*select_mactype)(unsigned long *interfaces); 490 DECLARE_PHY_INTERFACE_MASK(interfaces); 493 sfp_parse_support(phydev->sfp_bus, id, support, interfaces); 648 static int mv2110_select_mactype(unsigned long *interfaces) argument 650 if (test_bit(PHY_INTERFACE_MODE_USXGMII, interfaces)) 652 else if (test_bit(PHY_INTERFACE_MODE_SGMII, interfaces) && 653 !test_bit(PHY_INTERFACE_MODE_10GBASER, interfaces)) 655 else if (test_bit(PHY_INTERFACE_MODE_10GBASER, interfaces)) 687 static int mv3310_select_mactype(unsigned long *interfaces) argument 689 if (test_bit(PHY_INTERFACE_MODE_USXGMII, interfaces)) [all...] |
H A D | phylink.c | 738 const unsigned long *interfaces) 744 for_each_set_bit(interface, interfaces, PHY_INTERFACE_MODE_MAX) 757 const unsigned long *interfaces = pl->config->supported_interfaces; local 761 interfaces); 763 if (!test_bit(state->interface, interfaces)) 1785 DECLARE_PHY_INTERFACE_MASK(interfaces); 1787 /* If the PHY provides a bitmap of the interfaces it will be using 1792 /* We only care about the union of the PHY's interfaces and 1795 phy_interface_and(interfaces, phy->possible_interfaces, 1798 if (phy_interface_empty(interfaces)) { 735 phylink_validate_mask(struct phylink *pl, struct phy_device *phy, unsigned long *supported, struct phylink_link_state *state, const unsigned long *interfaces) argument [all...] |
H A D | marvell-88x2222.c | 478 DECLARE_PHY_INTERFACE_MASK(interfaces); 490 sfp_parse_support(phydev->sfp_bus, id, sfp_supported, interfaces);
|
/linux-master/include/linux/greybus/ |
H A D | module.h | 26 struct gb_interface *interfaces[]; member in struct:gb_module
|
/linux-master/drivers/greybus/ |
H A D | module.c | 30 intf = module->interfaces[i]; 96 module = kzalloc(struct_size(module, interfaces, num_interfaces), 122 module->interfaces[i] = intf; 129 gb_interface_put(module->interfaces[i]); 195 /* Register a module and its interfaces. */ 210 gb_module_register_interface(module->interfaces[i]); 215 /* Deregister a module and its interfaces. */ 221 gb_module_deregister_interface(module->interfaces[i]); 233 gb_interface_put(module->interfaces[i]);
|
/linux-master/net/mac802154/ |
H A D | util.c | 33 list_for_each_entry_rcu(sdata, &local->interfaces, list) { 58 list_for_each_entry_rcu(sdata, &local->interfaces, list) { 92 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
|
H A D | main.c | 91 INIT_LIST_HEAD(&local->interfaces); 173 BUG_ON(!list_empty(&local->interfaces));
|
H A D | iface.c | 260 list_for_each_entry(nsdata, &local->interfaces, list) { 672 list_add_tail_rcu(&sdata->list, &local->interfaces); 699 list_for_each_entry_safe(sdata, tmp, &local->interfaces, list) {
|
H A D | rx.c | 349 list_for_each_entry_rcu(sdata, &local->interfaces, list) { 356 /* Do not deliver packets received on interfaces expecting 382 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
|
H A D | ieee802154_i.h | 49 struct list_head interfaces; member in struct:ieee802154_local 108 * Slaves represent typical network interfaces available from userspace.
|
/linux-master/include/linux/pcs/ |
H A D | pcs-xpcs.h | 44 void xpcs_get_interfaces(struct dw_xpcs *xpcs, unsigned long *interfaces);
|
/linux-master/drivers/net/dsa/ |
H A D | mv88e6060.c | 253 unsigned long *interfaces = config->supported_interfaces; local 279 __set_bit(PHY_INTERFACE_MODE_MII, interfaces); 280 __set_bit(PHY_INTERFACE_MODE_REVMII, interfaces); 281 __set_bit(PHY_INTERFACE_MODE_REVRMII, interfaces); 288 __set_bit(PHY_INTERFACE_MODE_INTERNAL, interfaces); 290 __set_bit(PHY_INTERFACE_MODE_GMII, interfaces);
|
H A D | vitesse-vsc73xx-core.c | 1034 unsigned long *interfaces = config->supported_interfaces; local 1040 __set_bit(PHY_INTERFACE_MODE_MII, interfaces); 1041 __set_bit(PHY_INTERFACE_MODE_REVMII, interfaces); 1042 __set_bit(PHY_INTERFACE_MODE_GMII, interfaces); 1043 __set_bit(PHY_INTERFACE_MODE_RGMII, interfaces); 1048 __set_bit(PHY_INTERFACE_MODE_INTERNAL, interfaces); 1050 __set_bit(PHY_INTERFACE_MODE_GMII, interfaces);
|
H A D | bcm_sf2.c | 725 unsigned long *interfaces = config->supported_interfaces; local 729 __set_bit(PHY_INTERFACE_MODE_INTERNAL, interfaces); 731 __set_bit(PHY_INTERFACE_MODE_MOCA, interfaces); 733 __set_bit(PHY_INTERFACE_MODE_MII, interfaces); 734 __set_bit(PHY_INTERFACE_MODE_REVMII, interfaces); 735 __set_bit(PHY_INTERFACE_MODE_GMII, interfaces); 736 phy_interface_set_rgmii(interfaces); 910 /* For MoCA interfaces, also force a link down notification
|
/linux-master/include/media/ |
H A D | media-device.h | 94 * @interfaces: List of registered interfaces 163 struct list_head interfaces; member in struct:media_device 385 /* Iterate over all interfaces. */ 387 list_for_each_entry(intf, &(mdev)->interfaces, graph_obj.list)
|
/linux-master/net/mac80211/ |
H A D | pm.c | 92 list_for_each_entry(sdata, &local->interfaces, list) { 135 * all interfaces, allow that to proceed properly 147 /* remove all interfaces that were created in the driver */ 148 list_for_each_entry(sdata, &local->interfaces, list) { 168 * We disconnected on all interfaces before suspend, all channel
|
H A D | iface.c | 180 list_for_each_entry(iter, &local->interfaces, list) { 338 list_for_each_entry(nsdata, &local->interfaces, list) { 355 * from setting the same SSID on different IBSS interfaces 370 * The remaining checks are only performed for interfaces 731 &tx_sdata->local->interfaces, list) { 750 /* close dependent VLAN and MBSSID interfaces before locking wiphy */ 1041 list_for_each_entry(vsdata, &local->interfaces, list) { 1059 list_for_each_entry(sdata, &local->interfaces, list) { 1407 * Enable QoS for anything but station interfaces. 1948 list_for_each_entry(sdata, &local->interfaces, lis [all...] |
/linux-master/tools/testing/selftests/devices/ |
H A D | test_discoverable_devices.py | 159 interfaces = [] 160 for i in current_node["interfaces"]: 161 interfaces.append((i, usb_intf_fmt.format(i))) 163 for intf_num, intf_dir_fmt in interfaces: 252 if device.get("interfaces"): 253 test_count += len(device["interfaces"])
|
/linux-master/drivers/net/ethernet/smsc/ |
H A D | smc9194.h | 195 static const char * interfaces[ 2 ] = { "TP", "AUI" }; variable
|
/linux-master/drivers/block/aoe/ |
H A D | aoechr.c | 56 { MINOR_INTERFACES, "interfaces" }, 79 interfaces(const char __user *str, size_t size) function 83 "aoe: could not set interface list: too many interfaces\n"); 182 ret = interfaces(buf, cnt);
|
/linux-master/drivers/base/ |
H A D | base.h | 20 * @interfaces - list of subsystem interfaces associated 21 * @mutex - protect the devices, and interfaces lists. 45 struct list_head interfaces; member in struct:subsys_private
|
H A D | class.c | 190 INIT_LIST_HEAD(&cp->interfaces); 486 list_add_tail(&class_intf->node, &sp->interfaces);
|
H A D | bus.c | 535 list_for_each_entry(sif, &sp->interfaces, node) 546 * - Remove device from all interfaces. 561 list_for_each_entry(sif, &sp->interfaces, node) 888 INIT_LIST_HEAD(&priv->interfaces); 1146 list_add_tail(&sif->node, &sp->interfaces);
|