Searched refs:interfaces (Results 1 - 25 of 54) sorted by relevance

123

/linux-master/drivers/net/phy/
H A Dsfp-bus.c142 * @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 Dsfp.h13 unsigned long *interfaces);
H A Dmarvell10g.c155 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 Dphylink.c738 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 Dmarvell-88x2222.c478 DECLARE_PHY_INTERFACE_MASK(interfaces);
490 sfp_parse_support(phydev->sfp_bus, id, sfp_supported, interfaces);
/linux-master/include/linux/greybus/
H A Dmodule.h26 struct gb_interface *interfaces[]; member in struct:gb_module
/linux-master/drivers/greybus/
H A Dmodule.c30 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 Dutil.c33 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 Dmain.c91 INIT_LIST_HEAD(&local->interfaces);
173 BUG_ON(!list_empty(&local->interfaces));
H A Diface.c260 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 Drx.c349 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 Dieee802154_i.h49 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 Dpcs-xpcs.h44 void xpcs_get_interfaces(struct dw_xpcs *xpcs, unsigned long *interfaces);
/linux-master/drivers/net/dsa/
H A Dmv88e6060.c253 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 Dvitesse-vsc73xx-core.c1034 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 Dbcm_sf2.c725 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 Dmedia-device.h94 * @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 Dpm.c92 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 Diface.c180 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 Dtest_discoverable_devices.py159 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 Dsmc9194.h195 static const char * interfaces[ 2 ] = { "TP", "AUI" }; variable
/linux-master/drivers/block/aoe/
H A Daoechr.c56 { 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 Dbase.h20 * @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 Dclass.c190 INIT_LIST_HEAD(&cp->interfaces);
486 list_add_tail(&class_intf->node, &sp->interfaces);
H A Dbus.c535 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);

Completed in 220 milliseconds

123