• Home
  • Raw
  • Download

Lines Matching refs:port

322 					    int port)  in dsa_towards_port()  argument
325 return port; in dsa_towards_port()
331 static inline unsigned int dsa_upstream_port(struct dsa_switch *ds, int port) in dsa_upstream_port() argument
333 const struct dsa_port *dp = dsa_to_port(ds, port); in dsa_upstream_port()
337 return port; in dsa_upstream_port()
356 int port);
360 u32 (*get_phy_flags)(struct dsa_switch *ds, int port);
365 int (*phy_read)(struct dsa_switch *ds, int port, int regnum);
366 int (*phy_write)(struct dsa_switch *ds, int port,
372 void (*adjust_link)(struct dsa_switch *ds, int port,
374 void (*fixed_link_update)(struct dsa_switch *ds, int port,
380 void (*phylink_validate)(struct dsa_switch *ds, int port,
383 int (*phylink_mac_link_state)(struct dsa_switch *ds, int port,
385 void (*phylink_mac_config)(struct dsa_switch *ds, int port,
388 void (*phylink_mac_an_restart)(struct dsa_switch *ds, int port);
389 void (*phylink_mac_link_down)(struct dsa_switch *ds, int port,
392 void (*phylink_mac_link_up)(struct dsa_switch *ds, int port,
396 void (*phylink_fixed_state)(struct dsa_switch *ds, int port,
401 void (*get_strings)(struct dsa_switch *ds, int port,
404 int port, uint64_t *data);
405 int (*get_sset_count)(struct dsa_switch *ds, int port, int sset);
407 int port, uint64_t *data);
412 void (*get_wol)(struct dsa_switch *ds, int port,
414 int (*set_wol)(struct dsa_switch *ds, int port,
420 int (*get_ts_info)(struct dsa_switch *ds, int port,
432 int (*port_enable)(struct dsa_switch *ds, int port,
434 void (*port_disable)(struct dsa_switch *ds, int port);
439 int (*set_mac_eee)(struct dsa_switch *ds, int port,
441 int (*get_mac_eee)(struct dsa_switch *ds, int port,
454 int (*get_regs_len)(struct dsa_switch *ds, int port);
455 void (*get_regs)(struct dsa_switch *ds, int port,
462 int (*port_bridge_join)(struct dsa_switch *ds, int port,
464 void (*port_bridge_leave)(struct dsa_switch *ds, int port,
466 void (*port_stp_state_set)(struct dsa_switch *ds, int port,
468 void (*port_fast_age)(struct dsa_switch *ds, int port);
469 int (*port_egress_floods)(struct dsa_switch *ds, int port,
475 int (*port_vlan_filtering)(struct dsa_switch *ds, int port,
477 int (*port_vlan_prepare)(struct dsa_switch *ds, int port,
479 void (*port_vlan_add)(struct dsa_switch *ds, int port,
481 int (*port_vlan_del)(struct dsa_switch *ds, int port,
486 int (*port_fdb_add)(struct dsa_switch *ds, int port,
488 int (*port_fdb_del)(struct dsa_switch *ds, int port,
490 int (*port_fdb_dump)(struct dsa_switch *ds, int port,
496 int (*port_mdb_prepare)(struct dsa_switch *ds, int port,
498 void (*port_mdb_add)(struct dsa_switch *ds, int port,
500 int (*port_mdb_del)(struct dsa_switch *ds, int port,
505 int (*get_rxnfc)(struct dsa_switch *ds, int port,
507 int (*set_rxnfc)(struct dsa_switch *ds, int port,
513 int (*port_mirror_add)(struct dsa_switch *ds, int port,
516 void (*port_mirror_del)(struct dsa_switch *ds, int port,
518 int (*port_setup_tc)(struct dsa_switch *ds, int port,
525 int port, struct net_device *br);
527 int port, struct net_device *br);
532 int (*port_hwtstamp_get)(struct dsa_switch *ds, int port,
534 int (*port_hwtstamp_set)(struct dsa_switch *ds, int port,
536 bool (*port_txtstamp)(struct dsa_switch *ds, int port,
538 bool (*port_rxtstamp)(struct dsa_switch *ds, int port,
544 netdev_tx_t (*port_deferred_xmit)(struct dsa_switch *ds, int port,
645 void dsa_port_phylink_mac_change(struct dsa_switch *ds, int port, bool up);