Home
last modified time | relevance | path

Searched defs:dsa_switch_ops (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-4.19/include/net/
Ddsa.h331 struct dsa_switch_ops { struct
336 const char *(*probe)(struct device *dsa_dev,
341 enum dsa_tag_protocol (*get_tag_protocol)(struct dsa_switch *ds,
344 int (*setup)(struct dsa_switch *ds);
345 u32 (*get_phy_flags)(struct dsa_switch *ds, int port);
350 int (*phy_read)(struct dsa_switch *ds, int port, int regnum);
351 int (*phy_write)(struct dsa_switch *ds, int port,
357 void (*adjust_link)(struct dsa_switch *ds, int port,
359 void (*fixed_link_update)(struct dsa_switch *ds, int port,
365 void (*phylink_validate)(struct dsa_switch *ds, int port,
[all …]
/kernel/linux/linux-5.10/include/net/
Ddsa.h430 struct dsa_switch_ops { struct
431 enum dsa_tag_protocol (*get_tag_protocol)(struct dsa_switch *ds,
435 int (*setup)(struct dsa_switch *ds);
436 void (*teardown)(struct dsa_switch *ds);
437 u32 (*get_phy_flags)(struct dsa_switch *ds, int port);
442 int (*phy_read)(struct dsa_switch *ds, int port, int regnum);
443 int (*phy_write)(struct dsa_switch *ds, int port,
449 void (*adjust_link)(struct dsa_switch *ds, int port,
451 void (*fixed_link_update)(struct dsa_switch *ds, int port,
457 void (*phylink_validate)(struct dsa_switch *ds, int port,
[all …]