• Home
  • Raw
  • Download

Lines Matching full:function

109         - receive function is invoked
155 These slave network devices have custom net_device_ops and ethtool_ops function
165 ``ndo_start_xmit()`` function, since they contain the appropriate switch tag, the
228 function hooks should be invoked, information about the directly attached
236 - ``dsa_switch_ops``: structure referencing function pointers, see below for a
272 will not make us go through the switch tagging protocol transmit function, so
302 The PHY configuration is done by the ``dsa_slave_phy_setup()`` function and the
365 - ``setup``: setup function for the switch, this function is responsible for setting
367 interrupts, mutexes, locks etc.. This function is also expected to properly
372 platform should be disabled. Past this function, the switch is expected to be
374 to issue a software reset of the switch during this setup function in order to
383 on its own (e.g.: coming from switch memory mapped registers), this function
387 - ``phy_read``: Function invoked by the DSA slave MDIO bus when attempting to read
389 For builtin switch Ethernet PHYs, this function should allow reading the link
392 - ``phy_write``: Function invoked by the DSA slave MDIO bus when attempting to write
396 - ``adjust_link``: Function invoked by the PHY library when a slave network device
397 is attached to a PHY device. This function is responsible for appropriately
401 - ``fixed_link_update``: Function invoked by the PHY library, and specifically by
411 - ``get_strings``: ethtool function used to query the driver's strings, will
414 - ``get_ethtool_stats``: ethtool function used to query per-port statistics and
419 - ``get_sset_count``: ethtool function used to query the number of statistics items
421 - ``get_wol``: ethtool function used to obtain Wake-on-LAN settings per-port, this
422 function may, for certain implementations also query the master network device
425 - ``set_wol``: ethtool function used to configure Wake-on-LAN settings per-port,
428 - ``set_eee``: ethtool function which is used to configure a switch port EEE (Green
430 PHY level if relevant. This function should enable EEE at the switch port MAC
433 - ``get_eee``: ethtool function which is used to query a switch port EEE settings,
434 this function should return the EEE state of the switch port MAC controller
438 - ``get_eeprom_len``: ethtool function returning for a given switch the EEPROM
441 - ``get_eeprom``: ethtool function returning for a given switch the EEPROM contents
443 - ``set_eeprom``: ethtool function writing specified data to a given switch EEPROM
445 - ``get_regs_len``: ethtool function returning the register length for a given
448 - ``get_regs``: ethtool function returning the Ethernet switch internal register
449 contents. This function might require user-land code in ethtool to
455 - ``suspend``: function invoked by the DSA platform device when the system goes to
460 - ``resume``: function invoked by the DSA platform device when the system resumes,
464 - ``port_enable``: function invoked by the DSA slave network device ndo_open
465 function when a port is administratively brought up, this function should be
470 - ``port_disable``: function invoked by the DSA slave network device ndo_close
471 function when a port is administratively brought down, this function should be
479 - ``port_bridge_join``: bridge layer function invoked when a given switch port is
480 added to a bridge, this function should be doing the necessary at the switch
484 - ``port_bridge_leave``: bridge layer function invoked when a given switch port is
485 removed from a bridge, this function should be doing the necessary at the
491 - ``port_stp_state_set``: bridge layer function invoked when a given switch port STP
500 - ``port_vlan_filtering``: bridge layer function invoked when the bridge gets
510 - ``port_vlan_prepare``: bridge layer function invoked when the bridge prepares the
512 by the hardware, this function should return ``-EOPNOTSUPP`` to inform the bridge
514 in this function. See port_vlan_add for this and details.
516 - ``port_vlan_add``: bridge layer function invoked when a VLAN is configured
519 - ``port_vlan_del``: bridge layer function invoked when a VLAN is removed from the
522 - ``port_vlan_dump``: bridge layer function invoked with a switchdev callback
523 function that the driver has to call for each VLAN the given port is a member
526 - ``port_fdb_add``: bridge layer function invoked when the bridge wants to install a
530 function should return ``-EOPNOTSUPP`` to inform the bridge code to fallback to
536 - ``port_fdb_del``: bridge layer function invoked when the bridge wants to remove a
541 - ``port_fdb_dump``: bridge layer function invoked with a switchdev callback
542 function that the driver has to call for each MAC address known to be behind
545 - ``port_mdb_prepare``: bridge layer function invoked when the bridge prepares the
547 this function should return ``-EOPNOTSUPP`` to inform the bridge code to fallback
548 to a software implementation. No hardware setup must be done in this function.
551 - ``port_mdb_add``: bridge layer function invoked when the bridge wants to install
559 - ``port_mdb_del``: bridge layer function invoked when the bridge wants to remove a
564 - ``port_mdb_dump``: bridge layer function invoked with a switchdev callback
565 function that the driver has to call for each MAC address known to be behind