drivers/net/dsa/mv88e6xxx/chip.c
1026
static int mv88e6xxx_stats_snapshot(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
1114
static uint64_t _mv88e6xxx_get_ethtool_stat(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1155
static void mv88e6xxx_stats_get_strings(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1168
static void mv88e6095_stats_get_strings(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1175
static void mv88e6250_stats_get_strings(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1181
static void mv88e6320_stats_get_strings(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1207
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
1225
static int mv88e6xxx_stats_get_sset_count(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1239
static int mv88e6095_stats_get_sset_count(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1245
static int mv88e6250_stats_get_sset_count(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1250
static int mv88e6320_stats_get_sset_count(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1258
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
126
int mv88e6xxx_wait_bit(struct mv88e6xxx_chip *chip, int addr, int reg,
drivers/net/dsa/mv88e6xxx/chip.c
1287
static size_t mv88e6095_stats_get_stat(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1296
static size_t mv88e6250_stats_get_stat(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1305
static size_t mv88e6320_stats_get_stat(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1315
static size_t mv88e6390_stats_get_stat(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1325
static size_t mv88e6xxx_stats_get_stat(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
133
struct mii_bus *mv88e6xxx_default_mdio_bus(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1343
static size_t mv88e6xxx_stats_get_stats(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1356
static void mv88e6xxx_atu_vtu_get_stats(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1366
static void mv88e6xxx_get_stats(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1386
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
1399
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
1447
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
147
struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d);
drivers/net/dsa/mv88e6xxx/chip.c
1477
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
1490
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
1523
static u16 mv88e6xxx_port_vlan(struct mv88e6xxx_chip *chip, int dev, int port)
drivers/net/dsa/mv88e6xxx/chip.c
155
struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d);
drivers/net/dsa/mv88e6xxx/chip.c
1588
static int mv88e6xxx_port_vlan_map(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
1601
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
161
static irqreturn_t mv88e6xxx_g1_irq_thread_work(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1612
static int mv88e6xxx_pri_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1631
static int mv88e6xxx_devmap_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1665
static int mv88e6xxx_trunk_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1674
static int mv88e6xxx_rmu_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1682
static int mv88e6xxx_pot_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1690
static int mv88e6xxx_rsvd2cpu_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1698
static int mv88e6xxx_atu_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1720
static int mv88e6xxx_irl_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1740
static int mv88e6xxx_mac_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1753
static int mv88e6xxx_pvt_map(struct mv88e6xxx_chip *chip, int dev, int port)
drivers/net/dsa/mv88e6xxx/chip.c
1785
static int mv88e6xxx_pvt_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1811
static int mv88e6xxx_port_fast_age_fid(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1826
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
1838
static int mv88e6xxx_vtu_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1846
static int mv88e6xxx_vtu_get(struct mv88e6xxx_chip *chip, u16 vid,
drivers/net/dsa/mv88e6xxx/chip.c
1867
int mv88e6xxx_vtu_walk(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1868
int (*cb)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1898
static int mv88e6xxx_vtu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1907
static int mv88e6xxx_atu_new(struct mv88e6xxx_chip *chip, u16 *fid)
drivers/net/dsa/mv88e6xxx/chip.c
1917
static int mv88e6xxx_stu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
1926
static int mv88e6xxx_stu_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
1944
static int mv88e6xxx_sid_get(struct mv88e6xxx_chip *chip, u8 *sid)
drivers/net/dsa/mv88e6xxx/chip.c
1959
static int mv88e6xxx_mst_put(struct mv88e6xxx_chip *chip, u8 sid)
drivers/net/dsa/mv88e6xxx/chip.c
1998
static int mv88e6xxx_mst_get(struct mv88e6xxx_chip *chip, struct net_device *br,
drivers/net/dsa/mv88e6xxx/chip.c
205
struct mv88e6xxx_chip *chip = dev_id;
drivers/net/dsa/mv88e6xxx/chip.c
2066
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
2111
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
212
struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d);
drivers/net/dsa/mv88e6xxx/chip.c
2148
static int mv88e6xxx_port_commit_pvid(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
2177
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
219
struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d);
drivers/net/dsa/mv88e6xxx/chip.c
2205
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
2221
static int mv88e6xxx_port_db_get(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
2256
static bool mv88e6xxx_port_db_find(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
2270
static int mv88e6xxx_port_db_load_purge(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2305
static int mv88e6xxx_policy_apply(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2353
static int mv88e6xxx_policy_insert(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2439
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
2486
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
251
struct mv88e6xxx_chip *chip = d->host_data;
drivers/net/dsa/mv88e6xxx/chip.c
2515
static int mv88e6xxx_port_add_broadcast(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2526
static int mv88e6xxx_broadcast_setup(struct mv88e6xxx_chip *chip, u16 vid)
drivers/net/dsa/mv88e6xxx/chip.c
2559
mv88e6xxx_port_broadcast_sync_vlan(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
2578
static int mv88e6xxx_port_broadcast_sync(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2600
static int mv88e6xxx_port_vlan_join(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2658
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
266
static void mv88e6xxx_g1_irq_free_common(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
2716
static int mv88e6xxx_port_vlan_leave(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
2767
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
2808
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
283
static void mv88e6xxx_g1_irq_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
2830
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
2876
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
2898
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
2908
static int mv88e6xxx_port_db_dump_fid(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
2949
static int mv88e6xxx_port_db_dump_vlan(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
2959
static int mv88e6xxx_port_db_dump(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
296
static int mv88e6xxx_g1_irq_setup_common(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
2985
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
2995
static int mv88e6xxx_bridge_map(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
3035
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
3045
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
3079
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
3112
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
3130
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
3142
static int mv88e6xxx_software_reset(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3150
static void mv88e6xxx_hardware_reset(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3185
static int mv88e6xxx_disable_ports(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3204
static int mv88e6xxx_switch_reset(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3217
static int mv88e6xxx_set_port_mode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
3240
static int mv88e6xxx_set_port_mode_normal(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
3247
static int mv88e6xxx_set_port_mode_dsa(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
3254
static int mv88e6xxx_set_port_mode_edsa(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
3262
static int mv88e6xxx_setup_port_mode(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
3280
static int mv88e6xxx_setup_message_port(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
3287
static int mv88e6xxx_setup_egress_floods(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
3305
static int mv88e6xxx_set_egress_port(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
3326
static int mv88e6xxx_setup_upstream_port(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
3364
static int mv88e6xxx_setup_port(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
346
static int mv88e6xxx_g1_irq_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3606
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
3617
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
3648
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
3658
static int mv88e6xxx_stats_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3672
static int mv88e6320_setup_errata(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3688
static bool mv88e6390_setup_errata_applied(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3712
static int mv88e6390_setup_errata(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3739
static int mv88e6352_reset(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3760
struct mv88e6xxx_chip *chip = mdio_bus->chip;
drivers/net/dsa/mv88e6xxx/chip.c
3787
struct mv88e6xxx_chip *chip = mdio_bus->chip;
drivers/net/dsa/mv88e6xxx/chip.c
379
struct mv88e6xxx_chip *chip = container_of(work,
drivers/net/dsa/mv88e6xxx/chip.c
380
struct mv88e6xxx_chip,
drivers/net/dsa/mv88e6xxx/chip.c
3804
struct mv88e6xxx_chip *chip = mdio_bus->chip;
drivers/net/dsa/mv88e6xxx/chip.c
3821
struct mv88e6xxx_chip *chip = mdio_bus->chip;
drivers/net/dsa/mv88e6xxx/chip.c
3834
static int mv88e6xxx_mdio_register(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
388
static int mv88e6xxx_irq_poll_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3907
static void mv88e6xxx_mdios_unregister(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3924
static int mv88e6xxx_mdios_register(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3959
static int mv88e6xxx_tcam_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
3969
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
3982
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
409
static void mv88e6xxx_irq_poll_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
4156
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
4171
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
4182
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
419
static int mv88e6xxx_port_config_interface(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
4190
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
4211
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
441
static int mv88e6xxx_port_setup_mac(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
476
static int mv88e6xxx_phy_is_internal(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
483
static int mv88e6xxx_port_ppu_updates(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
49
static void assert_reg_lock(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
515
static void mv88e6095_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
534
static void mv88e6185_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
57
int mv88e6xxx_read(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val)
drivers/net/dsa/mv88e6xxx/chip.c
573
mv88e6250_setup_supported_interfaces(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
622
static void mv88e6250_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
631
static void mv88e6351_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
643
static int mv88e63xx_get_port_serdes_cmode(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.c
6572
static int mv88e6xxx_detect(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
6601
static int mv88e6xxx_single_chip_detect(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.c
6627
static struct mv88e6xxx_chip *mv88e6xxx_alloc_chip(struct device *dev)
drivers/net/dsa/mv88e6xxx/chip.c
6629
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/chip.c
6650
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
6658
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
6711
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
673
static void mv88e6352_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
6733
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
6751
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
6789
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
6816
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
6838
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
6902
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
6942
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
6997
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
700
static void mv88e632x_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
7073
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
7087
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
7119
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
7132
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
7146
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
7168
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
723
static void mv88e6341_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
7251
static int mv88e6xxx_register_switch(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
7280
static void mv88e6xxx_unregister_switch(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.c
73
int mv88e6xxx_write(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val)
drivers/net/dsa/mv88e6xxx/chip.c
7319
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/chip.c
745
static void mv88e6390_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
7468
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/chip.c
767
static void mv88e6390x_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
802
static void mv88e6393x_phylink_get_caps(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.c
849
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
869
struct mv88e6xxx_chip *chip = dp->ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
883
struct mv88e6xxx_chip *chip = dp->ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
89
int mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg,
drivers/net/dsa/mv88e6xxx/chip.c
908
struct mv88e6xxx_chip *chip = dp->ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
932
struct mv88e6xxx_chip *chip = dp->ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
962
struct mv88e6xxx_chip *chip = dp->ds->priv;
drivers/net/dsa/mv88e6xxx/chip.c
994
struct mv88e6xxx_chip *chip = dp->ds->priv;
drivers/net/dsa/mv88e6xxx/chip.h
283
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/chip.h
489
int (*read)(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val);
drivers/net/dsa/mv88e6xxx/chip.h
490
int (*write)(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val);
drivers/net/dsa/mv88e6xxx/chip.h
491
int (*init)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
496
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/chip.h
505
int (*setup_errata)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
507
int (*ieee_pri_map)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
508
int (*ip_pri_map)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
511
int (*irl_init_all)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
513
int (*get_eeprom)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
515
int (*set_eeprom)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
518
int (*set_switch_mac)(struct mv88e6xxx_chip *chip, u8 *addr);
drivers/net/dsa/mv88e6xxx/chip.h
520
int (*phy_read)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
523
int (*phy_write)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
527
int (*phy_read_c45)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
530
int (*phy_write_c45)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
535
int (*pot_clear)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
538
int (*ppu_enable)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
539
int (*ppu_disable)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
544
int (*hardware_reset_pre)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
545
int (*hardware_reset_post)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
548
int (*reset)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
553
int (*port_set_rgmii_delay)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
564
int (*port_set_link)(struct mv88e6xxx_chip *chip, int port, int link);
drivers/net/dsa/mv88e6xxx/chip.h
568
int (*port_sync_link)(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup);
drivers/net/dsa/mv88e6xxx/chip.h
574
int (*port_set_pause)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
588
int (*port_set_speed_duplex)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
591
int (*port_tag_remap)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
593
int (*port_set_policy)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
597
int (*port_set_frame_mode)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
599
int (*port_set_ucast_flood)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
601
int (*port_set_mcast_flood)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
603
int (*port_set_ether_type)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
605
int (*port_set_jumbo_size)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
608
int (*port_egress_rate_limiting)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
609
int (*port_pause_limit)(struct mv88e6xxx_chip *chip, int port, u8 in,
drivers/net/dsa/mv88e6xxx/chip.h
611
int (*port_disable_learn_limit)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
612
int (*port_disable_pri_override)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
613
int (*port_setup_message_port)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
618
int (*port_set_cmode)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
620
int (*port_get_cmode)(struct mv88e6xxx_chip *chip, int port, u8 *cmode);
drivers/net/dsa/mv88e6xxx/chip.h
623
int (*port_setup_leds)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
628
int (*port_set_upstream_port)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
634
int (*stats_snapshot)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
639
int (*stats_set_histogram)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
642
int (*stats_get_sset_count)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
643
void (*stats_get_strings)(struct mv88e6xxx_chip *chip, uint8_t **data);
drivers/net/dsa/mv88e6xxx/chip.h
644
size_t (*stats_get_stat)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
647
int (*set_cpu_port)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
648
int (*set_egress_port)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
655
int (*set_cascade_port)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
659
int (*mgmt_rsvd2cpu)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
662
int (*serdes_get_lane)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
665
unsigned int (*serdes_irq_mapping)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
669
int (*serdes_get_sset_count)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
670
int (*serdes_get_strings)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
672
size_t (*serdes_get_stats)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
676
int (*serdes_get_regs_len)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
677
void (*serdes_get_regs)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
681
int (*atu_get_hash)(struct mv88e6xxx_chip *chip, u8 *hash);
drivers/net/dsa/mv88e6xxx/chip.h
682
int (*atu_set_hash)(struct mv88e6xxx_chip *chip, u8 hash);
drivers/net/dsa/mv88e6xxx/chip.h
685
int (*vtu_getnext)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
687
int (*vtu_loadpurge)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
691
int (*stu_getnext)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
693
int (*stu_loadpurge)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
703
int (*rmu_disable)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
709
void (*phylink_get_caps)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
715
int (*set_max_frame_size)(struct mv88e6xxx_chip *chip, int mtu);
drivers/net/dsa/mv88e6xxx/chip.h
717
int (*port_enable_tcam)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
725
int (*irq_action)(struct mv88e6xxx_chip *chip, int irq);
drivers/net/dsa/mv88e6xxx/chip.h
727
int (*irq_setup)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
729
void (*irq_free)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
734
int (*get_data)(struct mv88e6xxx_chip *chip, unsigned int pin);
drivers/net/dsa/mv88e6xxx/chip.h
735
int (*set_data)(struct mv88e6xxx_chip *chip, unsigned int pin,
drivers/net/dsa/mv88e6xxx/chip.h
739
int (*get_dir)(struct mv88e6xxx_chip *chip, unsigned int pin);
drivers/net/dsa/mv88e6xxx/chip.h
740
int (*set_dir)(struct mv88e6xxx_chip *chip, unsigned int pin,
drivers/net/dsa/mv88e6xxx/chip.h
744
int (*get_pctl)(struct mv88e6xxx_chip *chip, unsigned int pin,
drivers/net/dsa/mv88e6xxx/chip.h
746
int (*set_pctl)(struct mv88e6xxx_chip *chip, unsigned int pin,
drivers/net/dsa/mv88e6xxx/chip.h
752
int (*port_ptp_read)(struct mv88e6xxx_chip *chip, int port, int addr,
drivers/net/dsa/mv88e6xxx/chip.h
754
int (*port_ptp_write)(struct mv88e6xxx_chip *chip, int port, int addr,
drivers/net/dsa/mv88e6xxx/chip.h
758
int (*ptp_read)(struct mv88e6xxx_chip *chip, int addr, u16 *data,
drivers/net/dsa/mv88e6xxx/chip.h
760
int (*ptp_write)(struct mv88e6xxx_chip *chip, int addr, u16 data);
drivers/net/dsa/mv88e6xxx/chip.h
763
int (*tai_read)(struct mv88e6xxx_chip *chip, int addr, u16 *data,
drivers/net/dsa/mv88e6xxx/chip.h
765
int (*tai_write)(struct mv88e6xxx_chip *chip, int addr, u16 data);
drivers/net/dsa/mv88e6xxx/chip.h
775
int (*port_enable)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
776
int (*port_disable)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
777
int (*global_enable)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
778
int (*global_disable)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
779
int (*set_ptp_cpu_port)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
788
int (*pcs_init)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
789
void (*pcs_teardown)(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/chip.h
790
struct phylink_pcs *(*pcs_select)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/chip.h
796
int (*entry_add)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
798
int (*flush_tcam)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
801
static inline bool mv88e6xxx_has_stu(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
808
static inline bool mv88e6xxx_has_pvt(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
813
static inline bool mv88e6xxx_has_lag(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
818
static inline bool mv88e6xxx_has_tcam(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
823
static inline unsigned int mv88e6xxx_num_databases(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
828
static inline unsigned int mv88e6xxx_num_macs(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
833
static inline unsigned int mv88e6xxx_num_ports(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
838
static inline unsigned int mv88e6xxx_max_vid(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
843
static inline unsigned int mv88e6xxx_max_sid(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
848
static inline u16 mv88e6xxx_port_mask(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
853
static inline unsigned int mv88e6xxx_num_gpio(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
858
static inline bool mv88e6xxx_is_invalid_port(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/chip.h
863
static inline void mv88e6xxx_port_set_mab(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
869
int mv88e6xxx_read(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val);
drivers/net/dsa/mv88e6xxx/chip.h
870
int mv88e6xxx_write(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val);
drivers/net/dsa/mv88e6xxx/chip.h
871
int mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg,
drivers/net/dsa/mv88e6xxx/chip.h
873
int mv88e6xxx_wait_bit(struct mv88e6xxx_chip *chip, int addr, int reg,
drivers/net/dsa/mv88e6xxx/chip.h
875
struct mii_bus *mv88e6xxx_default_mdio_bus(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/chip.h
877
static inline void mv88e6xxx_reg_lock(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
882
static inline void mv88e6xxx_reg_unlock(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/chip.h
887
int mv88e6xxx_vtu_walk(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/chip.h
888
int (*cb)(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/devlink.c
10
static int mv88e6xxx_atu_get_hash(struct mv88e6xxx_chip *chip, u8 *hash)
drivers/net/dsa/mv88e6xxx/devlink.c
102
static u64 mv88e6xxx_devlink_atu_bin_get(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/devlink.c
139
struct mv88e6xxx_chip *chip = priv;
drivers/net/dsa/mv88e6xxx/devlink.c
147
struct mv88e6xxx_chip *chip = priv;
drivers/net/dsa/mv88e6xxx/devlink.c
155
struct mv88e6xxx_chip *chip = priv;
drivers/net/dsa/mv88e6xxx/devlink.c
163
struct mv88e6xxx_chip *chip = priv;
drivers/net/dsa/mv88e6xxx/devlink.c
18
static int mv88e6xxx_atu_set_hash(struct mv88e6xxx_chip *chip, u8 hash)
drivers/net/dsa/mv88e6xxx/devlink.c
180
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
272
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
320
static int mv88e6xxx_region_atu_snapshot_fid(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/devlink.c
34
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
379
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
439
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
521
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
56
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
577
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
616
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
695
bool (*cond)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/devlink.c
728
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
738
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
745
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
762
bool (*cond)(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/devlink.c
763
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/devlink.c
810
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/global1.c
125
int mv88e6xxx_g1_wait_eeprom_done(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
143
int mv88e6250_g1_wait_eeprom_done_prereset(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
16
int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val)
drivers/net/dsa/mv88e6xxx/global1.c
171
int mv88e6xxx_g1_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr)
drivers/net/dsa/mv88e6xxx/global1.c
196
int mv88e6185_g1_reset(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
222
int mv88e6250_g1_reset(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
23
int mv88e6xxx_g1_write(struct mv88e6xxx_chip *chip, int reg, u16 val)
drivers/net/dsa/mv88e6xxx/global1.c
241
int mv88e6352_g1_reset(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
252
int mv88e6185_g1_ppu_enable(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
270
int mv88e6185_g1_ppu_disable(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
288
int mv88e6185_g1_set_max_frame_size(struct mv88e6xxx_chip *chip, int mtu)
drivers/net/dsa/mv88e6xxx/global1.c
30
int mv88e6xxx_g1_wait_bit(struct mv88e6xxx_chip *chip, int reg, int
drivers/net/dsa/mv88e6xxx/global1.c
317
int mv88e6085_g1_ip_pri_map(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
359
int mv88e6085_g1_ieee_pri_map(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
365
int mv88e6250_g1_ieee_pri_map(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
37
int mv88e6xxx_g1_wait_mask(struct mv88e6xxx_chip *chip, int reg,
drivers/net/dsa/mv88e6xxx/global1.c
374
int mv88e6095_g1_set_egress_port(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.c
407
int mv88e6095_g1_set_cpu_port(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global1.c
422
static int mv88e6390_g1_monitor_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.c
432
int mv88e6390_g1_set_egress_port(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.c
452
int mv88e6390_g1_set_cpu_port(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global1.c
46
static int mv88e6185_g1_wait_ppu_disabled(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
464
int mv88e6390_g1_set_ptp_cpu_port(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global1.c
476
int mv88e6390_g1_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
510
static int mv88e6xxx_g1_ctl2_mask(struct mv88e6xxx_chip *chip, u16 mask,
drivers/net/dsa/mv88e6xxx/global1.c
526
int mv88e6185_g1_set_cascade_port(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global1.c
53
static int mv88e6185_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
533
int mv88e6085_g1_rmu_disable(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
539
int mv88e6352_g1_rmu_disable(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
545
int mv88e6390_g1_rmu_disable(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
551
int mv88e6390_g1_stats_set_histogram(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
557
int mv88e6xxx_g1_set_device_number(struct mv88e6xxx_chip *chip, int index)
drivers/net/dsa/mv88e6xxx/global1.c
566
static int mv88e6xxx_g1_stats_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
573
int mv88e6095_g1_stats_set_histogram(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
589
int mv88e6xxx_g1_stats_snapshot(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global1.c
60
static int mv88e6352_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
605
int mv88e6320_g1_stats_snapshot(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global1.c
612
int mv88e6390_g1_stats_snapshot(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global1.c
629
void mv88e6xxx_g1_stats_read(struct mv88e6xxx_chip *chip, int stat, u32 *val)
drivers/net/dsa/mv88e6xxx/global1.c
660
int mv88e6xxx_g1_stats_clear(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
67
static int mv88e6xxx_g1_wait_init_ready(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
78
static int mv88e6250_g1_eeprom_reload(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.c
99
static int mv88e6xxx_g1_is_eeprom_done(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1.h
273
int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val);
drivers/net/dsa/mv88e6xxx/global1.h
274
int mv88e6xxx_g1_write(struct mv88e6xxx_chip *chip, int reg, u16 val);
drivers/net/dsa/mv88e6xxx/global1.h
275
int mv88e6xxx_g1_wait_bit(struct mv88e6xxx_chip *chip, int reg, int
drivers/net/dsa/mv88e6xxx/global1.h
277
int mv88e6xxx_g1_wait_mask(struct mv88e6xxx_chip *chip, int reg,
drivers/net/dsa/mv88e6xxx/global1.h
280
int mv88e6xxx_g1_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr);
drivers/net/dsa/mv88e6xxx/global1.h
282
int mv88e6185_g1_reset(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
283
int mv88e6352_g1_reset(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
284
int mv88e6250_g1_reset(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
285
int mv88e6xxx_g1_wait_eeprom_done(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
286
int mv88e6250_g1_wait_eeprom_done_prereset(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
288
int mv88e6185_g1_ppu_enable(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
289
int mv88e6185_g1_ppu_disable(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
291
int mv88e6185_g1_set_max_frame_size(struct mv88e6xxx_chip *chip, int mtu);
drivers/net/dsa/mv88e6xxx/global1.h
293
int mv88e6xxx_g1_stats_snapshot(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global1.h
294
int mv88e6320_g1_stats_snapshot(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global1.h
295
int mv88e6390_g1_stats_snapshot(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global1.h
296
int mv88e6095_g1_stats_set_histogram(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
297
int mv88e6390_g1_stats_set_histogram(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
298
void mv88e6xxx_g1_stats_read(struct mv88e6xxx_chip *chip, int stat, u32 *val);
drivers/net/dsa/mv88e6xxx/global1.h
299
int mv88e6xxx_g1_stats_clear(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
300
int mv88e6095_g1_set_egress_port(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
303
int mv88e6390_g1_set_egress_port(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
306
int mv88e6095_g1_set_cpu_port(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global1.h
307
int mv88e6390_g1_set_cpu_port(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global1.h
308
int mv88e6390_g1_set_ptp_cpu_port(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global1.h
309
int mv88e6390_g1_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
311
int mv88e6085_g1_ip_pri_map(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
313
int mv88e6085_g1_ieee_pri_map(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
314
int mv88e6250_g1_ieee_pri_map(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
316
int mv88e6185_g1_set_cascade_port(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global1.h
318
int mv88e6085_g1_rmu_disable(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
319
int mv88e6352_g1_rmu_disable(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
320
int mv88e6390_g1_rmu_disable(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
322
int mv88e6xxx_g1_set_device_number(struct mv88e6xxx_chip *chip, int index);
drivers/net/dsa/mv88e6xxx/global1.h
324
int mv88e6xxx_g1_atu_set_learn2all(struct mv88e6xxx_chip *chip, bool learn2all);
drivers/net/dsa/mv88e6xxx/global1.h
325
int mv88e6xxx_g1_atu_set_age_time(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
327
int mv88e6xxx_g1_atu_getnext(struct mv88e6xxx_chip *chip, u16 fid,
drivers/net/dsa/mv88e6xxx/global1.h
329
int mv88e6xxx_g1_atu_loadpurge(struct mv88e6xxx_chip *chip, u16 fid,
drivers/net/dsa/mv88e6xxx/global1.h
331
int mv88e6xxx_g1_atu_flush(struct mv88e6xxx_chip *chip, u16 fid, bool all);
drivers/net/dsa/mv88e6xxx/global1.h
332
int mv88e6xxx_g1_atu_remove(struct mv88e6xxx_chip *chip, u16 fid, int port,
drivers/net/dsa/mv88e6xxx/global1.h
334
int mv88e6xxx_g1_atu_prob_irq_setup(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
335
void mv88e6xxx_g1_atu_prob_irq_free(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
336
int mv88e6165_g1_atu_get_hash(struct mv88e6xxx_chip *chip, u8 *hash);
drivers/net/dsa/mv88e6xxx/global1.h
337
int mv88e6165_g1_atu_set_hash(struct mv88e6xxx_chip *chip, u8 hash);
drivers/net/dsa/mv88e6xxx/global1.h
339
int mv88e6xxx_g1_vtu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
341
int mv88e6185_g1_vtu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
343
int mv88e6185_g1_vtu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
345
int mv88e6352_g1_vtu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
347
int mv88e6352_g1_vtu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
349
int mv88e6390_g1_vtu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
351
int mv88e6390_g1_vtu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
353
int mv88e6xxx_g1_vtu_flush(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
354
int mv88e6xxx_g1_stu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
356
int mv88e6352_g1_stu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
358
int mv88e6352_g1_stu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
360
int mv88e6390_g1_stu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
362
int mv88e6390_g1_stu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1.h
364
int mv88e6xxx_g1_vtu_prob_irq_setup(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
365
void mv88e6xxx_g1_vtu_prob_irq_free(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global1.h
366
int mv88e6xxx_g1_atu_get_next(struct mv88e6xxx_chip *chip, u16 fid);
drivers/net/dsa/mv88e6xxx/global1_atu.c
112
static int mv88e6xxx_g1_atu_op_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1_atu.c
119
static int mv88e6xxx_g1_read_atu_violation(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1_atu.c
132
static int mv88e6xxx_g1_atu_op(struct mv88e6xxx_chip *chip, u16 fid, u16 op)
drivers/net/dsa/mv88e6xxx/global1_atu.c
172
int mv88e6xxx_g1_atu_get_next(struct mv88e6xxx_chip *chip, u16 fid)
drivers/net/dsa/mv88e6xxx/global1_atu.c
177
static int mv88e6xxx_g1_atu_fid_read(struct mv88e6xxx_chip *chip, u16 *fid)
drivers/net/dsa/mv88e6xxx/global1_atu.c
20
static int mv88e6xxx_g1_atu_fid_write(struct mv88e6xxx_chip *chip, u16 fid)
drivers/net/dsa/mv88e6xxx/global1_atu.c
214
static int mv88e6xxx_g1_atu_data_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_atu.c
233
static int mv88e6xxx_g1_atu_data_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_atu.c
253
static int mv88e6xxx_g1_atu_mac_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_atu.c
27
int mv88e6xxx_g1_atu_set_learn2all(struct mv88e6xxx_chip *chip, bool learn2all)
drivers/net/dsa/mv88e6xxx/global1_atu.c
271
static int mv88e6xxx_g1_atu_mac_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_atu.c
289
int mv88e6xxx_g1_atu_getnext(struct mv88e6xxx_chip *chip, u16 fid,
drivers/net/dsa/mv88e6xxx/global1_atu.c
316
int mv88e6xxx_g1_atu_loadpurge(struct mv88e6xxx_chip *chip, u16 fid,
drivers/net/dsa/mv88e6xxx/global1_atu.c
336
static int mv88e6xxx_g1_atu_flushmove(struct mv88e6xxx_chip *chip, u16 fid,
drivers/net/dsa/mv88e6xxx/global1_atu.c
364
int mv88e6xxx_g1_atu_flush(struct mv88e6xxx_chip *chip, u16 fid, bool all)
drivers/net/dsa/mv88e6xxx/global1_atu.c
373
static int mv88e6xxx_g1_atu_move(struct mv88e6xxx_chip *chip, u16 fid,
drivers/net/dsa/mv88e6xxx/global1_atu.c
393
int mv88e6xxx_g1_atu_remove(struct mv88e6xxx_chip *chip, u16 fid, int port,
drivers/net/dsa/mv88e6xxx/global1_atu.c
404
struct mv88e6xxx_chip *chip = dev_id;
drivers/net/dsa/mv88e6xxx/global1_atu.c
44
int mv88e6xxx_g1_atu_set_age_time(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_atu.c
475
int mv88e6xxx_g1_atu_prob_irq_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1_atu.c
497
void mv88e6xxx_g1_atu_prob_irq_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1_atu.c
78
int mv88e6165_g1_atu_get_hash(struct mv88e6xxx_chip *chip, u8 *hash)
drivers/net/dsa/mv88e6xxx/global1_atu.c
92
int mv88e6165_g1_atu_set_hash(struct mv88e6xxx_chip *chip, u8 hash)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
115
static int mv88e6xxx_g1_vtu_vid_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
133
static int mv88e6185_g1_vtu_stu_data_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
151
static int mv88e6185_g1_vtu_data_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
177
static int mv88e6185_g1_vtu_data_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
20
static int mv88e6xxx_g1_vtu_fid_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
208
static int mv88e6390_g1_vtu_data_read(struct mv88e6xxx_chip *chip, u8 *data)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
233
static int mv88e6390_g1_vtu_data_write(struct mv88e6xxx_chip *chip, u8 *data)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
260
int mv88e6xxx_g1_vtu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
289
int mv88e6185_g1_vtu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
319
int mv88e6352_g1_vtu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
346
int mv88e6390_g1_vtu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
35
static int mv88e6xxx_g1_vtu_fid_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
373
int mv88e6185_g1_vtu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
406
int mv88e6352_g1_vtu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
438
int mv88e6390_g1_vtu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
470
int mv88e6xxx_g1_vtu_flush(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
48
static int mv88e6xxx_g1_vtu_sid_read(struct mv88e6xxx_chip *chip, u8 *sid)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
486
int mv88e6xxx_g1_stu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
525
int mv88e6352_g1_stu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
540
int mv88e6390_g1_stu_getnext(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
555
int mv88e6352_g1_stu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
582
int mv88e6390_g1_stu_loadpurge(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global1_vtu.c
613
struct mv88e6xxx_chip *chip = dev_id;
drivers/net/dsa/mv88e6xxx/global1_vtu.c
62
static int mv88e6xxx_g1_vtu_sid_write(struct mv88e6xxx_chip *chip, u8 sid)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
657
int mv88e6xxx_g1_vtu_prob_irq_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
679
void mv88e6xxx_g1_vtu_prob_irq_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
71
static int mv88e6xxx_g1_vtu_op_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
78
static int mv88e6xxx_g1_vtu_op(struct mv88e6xxx_chip *chip, u16 op)
drivers/net/dsa/mv88e6xxx/global1_vtu.c
92
static int mv88e6xxx_g1_vtu_vid_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
1019
static int mv88e6xxx_g2_misc_5_bit_port(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
1037
int mv88e6xxx_g2_misc_4_bit_port(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
1044
struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d);
drivers/net/dsa/mv88e6xxx/global2.c
1052
struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d);
drivers/net/dsa/mv88e6xxx/global2.c
1060
struct mv88e6xxx_chip *chip = dev_id;
drivers/net/dsa/mv88e6xxx/global2.c
1086
struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d);
drivers/net/dsa/mv88e6xxx/global2.c
1093
struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d);
drivers/net/dsa/mv88e6xxx/global2.c
1115
struct mv88e6xxx_chip *chip = d->host_data;
drivers/net/dsa/mv88e6xxx/global2.c
1129
void mv88e6xxx_g2_irq_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
1146
int mv88e6xxx_g2_irq_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
115
int mv88e6xxx_g2_device_mapping_write(struct mv88e6xxx_chip *chip, int target,
drivers/net/dsa/mv88e6xxx/global2.c
1196
int mv88e6xxx_g2_irq_mdio_setup(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
1214
void mv88e6xxx_g2_irq_mdio_free(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
129
int mv88e6xxx_g2_trunk_mask_write(struct mv88e6xxx_chip *chip, int num,
drivers/net/dsa/mv88e6xxx/global2.c
143
int mv88e6xxx_g2_trunk_mapping_write(struct mv88e6xxx_chip *chip, int id,
drivers/net/dsa/mv88e6xxx/global2.c
153
int mv88e6xxx_g2_trunk_clear(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
179
static int mv88e6xxx_g2_irl_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
186
static int mv88e6xxx_g2_irl_op(struct mv88e6xxx_chip *chip, u16 op, int port,
drivers/net/dsa/mv88e6xxx/global2.c
19
int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val)
drivers/net/dsa/mv88e6xxx/global2.c
200
int mv88e6352_g2_irl_init_all(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global2.c
206
int mv88e6390_g2_irl_init_all(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global2.c
216
static int mv88e6xxx_g2_pvt_op_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
223
static int mv88e6xxx_g2_pvt_op(struct mv88e6xxx_chip *chip, int src_dev,
drivers/net/dsa/mv88e6xxx/global2.c
24
int mv88e6xxx_g2_write(struct mv88e6xxx_chip *chip, int reg, u16 val)
drivers/net/dsa/mv88e6xxx/global2.c
242
int mv88e6xxx_g2_pvt_read(struct mv88e6xxx_chip *chip, int src_dev,
drivers/net/dsa/mv88e6xxx/global2.c
259
int mv88e6xxx_g2_pvt_write(struct mv88e6xxx_chip *chip, int src_dev,
drivers/net/dsa/mv88e6xxx/global2.c
278
static int mv88e6xxx_g2_switch_mac_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
287
int mv88e6xxx_g2_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr)
drivers/net/dsa/mv88e6xxx/global2.c
29
int mv88e6xxx_g2_wait_bit(struct mv88e6xxx_chip *chip, int reg, int
drivers/net/dsa/mv88e6xxx/global2.c
302
int mv88e6xxx_g2_atu_stats_set(struct mv88e6xxx_chip *chip, u16 kind, u16 bin)
drivers/net/dsa/mv88e6xxx/global2.c
308
int mv88e6xxx_g2_atu_stats_get(struct mv88e6xxx_chip *chip, u16 *stats)
drivers/net/dsa/mv88e6xxx/global2.c
315
static int mv88e6xxx_g2_pot_write(struct mv88e6xxx_chip *chip, int pointer,
drivers/net/dsa/mv88e6xxx/global2.c
324
int mv88e6xxx_g2_pot_clear(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
343
int mv88e6xxx_g2_eeprom_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
357
static int mv88e6xxx_g2_eeprom_cmd(struct mv88e6xxx_chip *chip, u16 cmd)
drivers/net/dsa/mv88e6xxx/global2.c
369
static int mv88e6xxx_g2_eeprom_read8(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
38
static int mv88e6xxx_g2_int_source(struct mv88e6xxx_chip *chip, u16 *src)
drivers/net/dsa/mv88e6xxx/global2.c
396
static int mv88e6xxx_g2_eeprom_write8(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
414
static int mv88e6xxx_g2_eeprom_read16(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
431
static int mv88e6xxx_g2_eeprom_write16(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
448
int mv88e6xxx_g2_get_eeprom8(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
46
static int mv88e6xxx_g2_int_mask(struct mv88e6xxx_chip *chip, u16 mask)
drivers/net/dsa/mv88e6xxx/global2.c
471
int mv88e6xxx_g2_set_eeprom8(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
494
int mv88e6xxx_g2_get_eeprom16(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
53
static int mv88e6xxx_g2_mgmt_enable_2x(struct mv88e6xxx_chip *chip, u16 en2x)
drivers/net/dsa/mv88e6xxx/global2.c
544
int mv88e6xxx_g2_set_eeprom16(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
60
static int mv88e6xxx_g2_mgmt_enable_0x(struct mv88e6xxx_chip *chip, u16 en0x)
drivers/net/dsa/mv88e6xxx/global2.c
614
static int mv88e6xxx_g2_smi_phy_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
621
static int mv88e6xxx_g2_smi_phy_cmd(struct mv88e6xxx_chip *chip, u16 cmd)
drivers/net/dsa/mv88e6xxx/global2.c
633
static int mv88e6xxx_g2_smi_phy_access(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
656
static int mv88e6xxx_g2_smi_phy_access_c22(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
664
static int mv88e6xxx_g2_smi_phy_read_data_c22(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
67
static int mv88e6xxx_g2_switch_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
683
static int mv88e6xxx_g2_smi_phy_write_data_c22(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
701
static int mv88e6xxx_g2_smi_phy_access_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
709
static int mv88e6xxx_g2_smi_phy_write_addr_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
728
static int mv88e6xxx_g2_smi_phy_read_data_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
742
static int _mv88e6xxx_g2_smi_phy_read_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
758
static int mv88e6xxx_g2_smi_phy_write_data_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
772
static int _mv88e6xxx_g2_smi_phy_write_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
787
int mv88e6xxx_g2_smi_phy_read_c22(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
798
int mv88e6xxx_g2_smi_phy_read_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
809
int mv88e6xxx_g2_smi_phy_write_c22(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
820
int mv88e6xxx_g2_smi_phy_write_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.c
832
static int mv88e6097_watchdog_action(struct mv88e6xxx_chip *chip, int irq)
drivers/net/dsa/mv88e6xxx/global2.c
843
static void mv88e6097_watchdog_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
85
int mv88e6185_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
855
static int mv88e6097_watchdog_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
869
static void mv88e6250_watchdog_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
881
static int mv88e6250_watchdog_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
895
static int mv88e6390_watchdog_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
906
static int mv88e6390_watchdog_action(struct mv88e6xxx_chip *chip, int irq)
drivers/net/dsa/mv88e6xxx/global2.c
933
static void mv88e6390_watchdog_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
946
static int mv88e6393x_watchdog_action(struct mv88e6xxx_chip *chip, int irq)
drivers/net/dsa/mv88e6xxx/global2.c
968
struct mv88e6xxx_chip *chip = dev_id;
drivers/net/dsa/mv88e6xxx/global2.c
979
static void mv88e6xxx_g2_watchdog_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
99
int mv88e6352_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.c
990
static int mv88e6xxx_g2_watchdog_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2.h
309
int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val);
drivers/net/dsa/mv88e6xxx/global2.h
310
int mv88e6xxx_g2_write(struct mv88e6xxx_chip *chip, int reg, u16 val);
drivers/net/dsa/mv88e6xxx/global2.h
311
int mv88e6xxx_g2_wait_bit(struct mv88e6xxx_chip *chip, int reg,
drivers/net/dsa/mv88e6xxx/global2.h
314
int mv88e6352_g2_irl_init_all(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global2.h
315
int mv88e6390_g2_irl_init_all(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global2.h
317
int mv88e6xxx_g2_smi_phy_read_c22(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
320
int mv88e6xxx_g2_smi_phy_write_c22(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
323
int mv88e6xxx_g2_smi_phy_read_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
326
int mv88e6xxx_g2_smi_phy_write_c45(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
329
int mv88e6xxx_g2_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr);
drivers/net/dsa/mv88e6xxx/global2.h
331
int mv88e6xxx_g2_get_eeprom8(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
333
int mv88e6xxx_g2_set_eeprom8(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
336
int mv88e6xxx_g2_get_eeprom16(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
338
int mv88e6xxx_g2_set_eeprom16(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
341
int mv88e6xxx_g2_pvt_read(struct mv88e6xxx_chip *chip, int src_dev,
drivers/net/dsa/mv88e6xxx/global2.h
343
int mv88e6xxx_g2_pvt_write(struct mv88e6xxx_chip *chip, int src_dev,
drivers/net/dsa/mv88e6xxx/global2.h
345
int mv88e6xxx_g2_misc_4_bit_port(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global2.h
347
int mv88e6xxx_g2_irq_setup(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global2.h
348
void mv88e6xxx_g2_irq_free(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global2.h
350
int mv88e6xxx_g2_irq_mdio_setup(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
352
void mv88e6xxx_g2_irq_mdio_free(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
355
int mv88e6185_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global2.h
356
int mv88e6352_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global2.h
358
int mv88e6xxx_g2_pot_clear(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global2.h
360
int mv88e6xxx_g2_trunk_mask_write(struct mv88e6xxx_chip *chip, int num,
drivers/net/dsa/mv88e6xxx/global2.h
362
int mv88e6xxx_g2_trunk_mapping_write(struct mv88e6xxx_chip *chip, int id,
drivers/net/dsa/mv88e6xxx/global2.h
364
int mv88e6xxx_g2_trunk_clear(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global2.h
366
int mv88e6xxx_g2_device_mapping_write(struct mv88e6xxx_chip *chip, int target,
drivers/net/dsa/mv88e6xxx/global2.h
368
int mv88e6xxx_g2_eeprom_wait(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global2.h
381
int mv88e6390_g2_scratch_gpio_set_smi(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
383
int mv88e6393x_g2_scratch_gpio_set_smi(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2.h
385
int mv88e6352_g2_cache_global_scratch_config3(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/global2.h
386
int mv88e6352_g2_scratch_port_has_serdes(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/global2.h
387
int mv88e6xxx_g2_atu_stats_set(struct mv88e6xxx_chip *chip, u16 kind, u16 bin);
drivers/net/dsa/mv88e6xxx/global2.h
388
int mv88e6xxx_g2_atu_stats_get(struct mv88e6xxx_chip *chip, u16 *stats);
drivers/net/dsa/mv88e6xxx/global2_avb.c
104
static int mv88e6352_g2_avb_port_ptp_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_avb.c
113
static int mv88e6352_g2_avb_ptp_read(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
121
static int mv88e6352_g2_avb_ptp_write(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
129
static int mv88e6352_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
137
static int mv88e6352_g2_avb_tai_write(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
154
static int mv88e6165_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
162
static int mv88e6165_g2_avb_tai_write(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
179
static int mv88e6390_g2_avb_port_ptp_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_avb.c
191
static int mv88e6390_g2_avb_port_ptp_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_avb.c
200
static int mv88e6390_g2_avb_ptp_read(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
208
static int mv88e6390_g2_avb_ptp_write(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
216
static int mv88e6390_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
224
static int mv88e6390_g2_avb_tai_write(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/global2_avb.c
32
static int mv88e6xxx_g2_avb_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2_avb.c
39
static int mv88e6xxx_g2_avb_read(struct mv88e6xxx_chip *chip, u16 readop,
drivers/net/dsa/mv88e6xxx/global2_avb.c
73
static int mv88e6xxx_g2_avb_write(struct mv88e6xxx_chip *chip, u16 writeop,
drivers/net/dsa/mv88e6xxx/global2_avb.c
92
static int mv88e6352_g2_avb_port_ptp_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
106
static int mv88e6352_g2_scratch_gpio_get_data(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
127
static int mv88e6352_g2_scratch_gpio_set_data(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
15
static int mv88e6xxx_g2_scratch_read(struct mv88e6xxx_chip *chip, int reg,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
151
static int mv88e6352_g2_scratch_gpio_get_dir(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
172
static int mv88e6352_g2_scratch_gpio_set_dir(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
191
static int mv88e6352_g2_scratch_gpio_get_pctl(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
215
static int mv88e6352_g2_scratch_gpio_set_pctl(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
251
int mv88e6390_g2_scratch_gpio_set_smi(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
305
int mv88e6393x_g2_scratch_gpio_set_smi(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
335
int mv88e6352_g2_cache_global_scratch_config3(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/global2_scratch.c
35
static int mv88e6xxx_g2_scratch_write(struct mv88e6xxx_chip *chip, int reg,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
360
int mv88e6352_g2_scratch_port_has_serdes(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/global2_scratch.c
51
static int mv88e6xxx_g2_scratch_get_bit(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/global2_scratch.c
78
static int mv88e6xxx_g2_scratch_set_bit(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
175
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/hwtstamp.c
195
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/hwtstamp.c
209
static struct ptp_header *mv88e6xxx_should_tstamp(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
21
static int mv88e6xxx_port_ptp_read(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
248
static void mv88e6xxx_get_rxts(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
304
static void mv88e6xxx_rxtstamp_work(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
31
static int mv88e6xxx_port_ptp_write(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
331
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/hwtstamp.c
356
static int mv88e6xxx_txtstamp_work(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
41
static int mv88e6xxx_ptp_write(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
444
struct mv88e6xxx_chip *chip = ptp_to_chip(ptp);
drivers/net/dsa/mv88e6xxx/hwtstamp.c
466
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/hwtstamp.c
497
int mv88e6165_global_disable(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/hwtstamp.c
50
static int mv88e6xxx_ptp_read(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
510
int mv88e6165_global_enable(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/hwtstamp.c
524
int mv88e6352_hwtstamp_port_disable(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/hwtstamp.c
530
int mv88e6352_hwtstamp_port_enable(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/hwtstamp.c
536
static int mv88e6xxx_hwtstamp_port_setup(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/hwtstamp.c
552
int mv88e6xxx_hwtstamp_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/hwtstamp.c
609
void mv88e6xxx_hwtstamp_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/hwtstamp.c
70
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/hwtstamp.c
91
static int mv88e6xxx_set_hwtstamp_config(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
128
int mv88e6xxx_hwtstamp_setup(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/hwtstamp.h
129
void mv88e6xxx_hwtstamp_free(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/hwtstamp.h
130
int mv88e6352_hwtstamp_port_enable(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/hwtstamp.h
131
int mv88e6352_hwtstamp_port_disable(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/hwtstamp.h
132
int mv88e6165_global_enable(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/hwtstamp.h
133
int mv88e6165_global_disable(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/hwtstamp.h
170
static inline int mv88e6xxx_hwtstamp_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/hwtstamp.h
175
static inline void mv88e6xxx_hwtstamp_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/leds.c
12
static int mv88e6xxx_port_led_write(struct mv88e6xxx_chip *chip, int port, u16 reg)
drivers/net/dsa/mv88e6xxx/leds.c
19
static int mv88e6xxx_port_led_read(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/leds.c
745
int mv88e6xxx_port_setup_leds(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/pcs-6185.c
117
static int mv88e6185_pcs_init(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/pcs-6185.c
164
static void mv88e6185_pcs_teardown(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/pcs-6185.c
180
static struct phylink_pcs *mv88e6185_pcs_select(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/pcs-6185.c
20
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/pcs-6185.c
32
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/pcs-6185.c
62
struct mv88e6xxx_chip *chip = mpcs->chip;
drivers/net/dsa/mv88e6xxx/pcs-6352.c
306
struct mv88e6xxx_chip *chip = port->chip;
drivers/net/dsa/mv88e6xxx/pcs-6352.c
321
static int mv88e6352_pcs_init(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/pcs-6352.c
358
static void mv88e6352_pcs_teardown(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/pcs-6352.c
377
static struct phylink_pcs *mv88e6352_pcs_select(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
115
static void mv88e639x_pcs_teardown(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
449
mv88e639x_pcs_select(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
549
static int mv88e6390_pcs_init(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
927
static int mv88e6393x_pcs_init(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
97
struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/phy.c
111
int mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy,
drivers/net/dsa/mv88e6xxx/phy.c
129
int mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy,
drivers/net/dsa/mv88e6xxx/phy.c
150
static int mv88e6xxx_phy_ppu_disable(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/phy.c
158
static int mv88e6xxx_phy_ppu_enable(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/phy.c
16
int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
drivers/net/dsa/mv88e6xxx/phy.c
168
struct mv88e6xxx_chip *chip;
drivers/net/dsa/mv88e6xxx/phy.c
170
chip = container_of(ugly, struct mv88e6xxx_chip, ppu_work);
drivers/net/dsa/mv88e6xxx/phy.c
185
struct mv88e6xxx_chip *chip = timer_container_of(chip, t, ppu_timer);
drivers/net/dsa/mv88e6xxx/phy.c
190
static int mv88e6xxx_phy_ppu_access_get(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/phy.c
216
static void mv88e6xxx_phy_ppu_access_put(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/phy.c
22
int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
drivers/net/dsa/mv88e6xxx/phy.c
223
static void mv88e6xxx_phy_ppu_state_init(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/phy.c
230
static void mv88e6xxx_phy_ppu_state_destroy(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/phy.c
238
int mv88e6185_phy_ppu_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
drivers/net/dsa/mv88e6xxx/phy.c
252
int mv88e6185_phy_ppu_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
drivers/net/dsa/mv88e6xxx/phy.c
266
void mv88e6xxx_phy_init(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/phy.c
272
void mv88e6xxx_phy_destroy(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/phy.c
278
int mv88e6xxx_phy_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/phy.c
28
int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val)
drivers/net/dsa/mv88e6xxx/phy.c
43
int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val)
drivers/net/dsa/mv88e6xxx/phy.c
58
int mv88e6xxx_phy_read_c45(struct mv88e6xxx_chip *chip, int phy, int devad,
drivers/net/dsa/mv88e6xxx/phy.c
74
int mv88e6xxx_phy_write_c45(struct mv88e6xxx_chip *chip, int phy, int devad,
drivers/net/dsa/mv88e6xxx/phy.c
90
static int mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u8 page)
drivers/net/dsa/mv88e6xxx/phy.c
95
static void mv88e6xxx_phy_page_put(struct mv88e6xxx_chip *chip, int phy)
drivers/net/dsa/mv88e6xxx/phy.h
17
int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
drivers/net/dsa/mv88e6xxx/phy.h
19
int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
drivers/net/dsa/mv88e6xxx/phy.h
21
int mv88e6185_phy_ppu_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
drivers/net/dsa/mv88e6xxx/phy.h
23
int mv88e6185_phy_ppu_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
drivers/net/dsa/mv88e6xxx/phy.h
27
int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy,
drivers/net/dsa/mv88e6xxx/phy.h
29
int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy,
drivers/net/dsa/mv88e6xxx/phy.h
31
int mv88e6xxx_phy_read_c45(struct mv88e6xxx_chip *chip, int phy, int devad,
drivers/net/dsa/mv88e6xxx/phy.h
33
int mv88e6xxx_phy_write_c45(struct mv88e6xxx_chip *chip, int phy, int devad,
drivers/net/dsa/mv88e6xxx/phy.h
35
int mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy,
drivers/net/dsa/mv88e6xxx/phy.h
37
int mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy,
drivers/net/dsa/mv88e6xxx/phy.h
39
void mv88e6xxx_phy_init(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/phy.h
40
void mv88e6xxx_phy_destroy(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/phy.h
41
int mv88e6xxx_phy_setup(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/port.c
1008
int mv88e6xxx_port_get_fid(struct mv88e6xxx_chip *chip, int port, u16 *fid)
drivers/net/dsa/mv88e6xxx/port.c
1034
int mv88e6xxx_port_set_fid(struct mv88e6xxx_chip *chip, int port, u16 fid)
drivers/net/dsa/mv88e6xxx/port.c
1078
int mv88e6xxx_port_get_pvid(struct mv88e6xxx_chip *chip, int port, u16 *pvid)
drivers/net/dsa/mv88e6xxx/port.c
1093
int mv88e6xxx_port_set_pvid(struct mv88e6xxx_chip *chip, int port, u16 pvid)
drivers/net/dsa/mv88e6xxx/port.c
1125
int mv88e6185_port_set_default_forward(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.c
1143
int mv88e6095_port_set_upstream_port(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1159
int mv88e6xxx_port_set_mirror(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1196
int mv88e6xxx_port_set_lock(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
120
int mv88e6352_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1225
int mv88e6xxx_port_set_8021q_mode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1248
int mv88e6xxx_port_drop_untagged(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1269
int mv88e6xxx_port_set_map_da(struct mv88e6xxx_chip *chip, int port, bool map)
drivers/net/dsa/mv88e6xxx/port.c
1286
int mv88e6165_port_set_jumbo_size(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
129
int mv88e6390_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1314
int mv88e6095_port_egress_rate_limiting(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/port.c
1320
int mv88e6097_port_egress_rate_limiting(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/port.c
1328
int mv88e6xxx_port_set_assoc_vector(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1349
int mv88e6xxx_port_disable_learn_limit(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/port.c
1356
int mv88e6xxx_port_disable_pri_override(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/port.c
1371
int mv88e6xxx_port_enable_tcam(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/port.c
138
int mv88e6320_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1389
static int mv88e6393x_port_policy_read(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1410
static int mv88e6393x_port_policy_write(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1421
static int mv88e6393x_port_policy_write_all(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.c
1438
int mv88e6393x_set_egress_port(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.c
1463
int mv88e6393x_port_set_upstream_port(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
147
int mv88e6xxx_port_set_link(struct mv88e6xxx_chip *chip, int port, int link)
drivers/net/dsa/mv88e6xxx/port.c
1473
int mv88e6393x_port_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/port.c
1507
static int mv88e6393x_port_epc_wait_ready(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/port.c
1516
int mv88e6393x_port_set_ether_type(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1539
int mv88e6351_port_set_ether_type(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1549
int mv88e6095_port_tag_remap(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/port.c
1565
static int mv88e6xxx_port_ieeepmt_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.c
1578
int mv88e6390_port_tag_remap(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/port.c
1673
int mv88e6352_port_set_policy(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
1696
int mv88e6393x_port_set_policy(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
185
int mv88e6xxx_port_sync_link(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup)
drivers/net/dsa/mv88e6xxx/port.c
202
int mv88e6185_port_sync_link(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup)
drivers/net/dsa/mv88e6xxx/port.c
221
static int mv88e6xxx_port_set_speed_duplex(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.c
23
int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg,
drivers/net/dsa/mv88e6xxx/port.c
309
int mv88e6185_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
31
int mv88e6xxx_port_wait_bit(struct mv88e6xxx_chip *chip, int port, int reg,
drivers/net/dsa/mv88e6xxx/port.c
320
int mv88e6250_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
330
int mv88e6320_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
346
int mv88e6341_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
363
int mv88e6352_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
377
int mv88e6390_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
39
int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg,
drivers/net/dsa/mv88e6xxx/port.c
394
int mv88e6390x_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
411
int mv88e6393x_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
500
static int mv88e6xxx_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
52
int mv88e6185_port_set_pause(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
576
int mv88e6390x_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
585
int mv88e6390_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
605
int mv88e6393x_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
641
static int mv88e6341_port_set_cmode_writable(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.c
666
int mv88e6341_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
692
int mv88e6185_port_get_cmode(struct mv88e6xxx_chip *chip, int port, u8 *cmode)
drivers/net/dsa/mv88e6xxx/port.c
706
int mv88e6352_port_get_cmode(struct mv88e6xxx_chip *chip, int port, u8 *cmode)
drivers/net/dsa/mv88e6xxx/port.c
726
int mv88e6097_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in,
drivers/net/dsa/mv88e6xxx/port.c
733
int mv88e6390_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in,
drivers/net/dsa/mv88e6xxx/port.c
758
int mv88e6xxx_port_set_state(struct mv88e6xxx_chip *chip, int port, u8 state)
drivers/net/dsa/mv88e6xxx/port.c
79
static int mv88e6xxx_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
799
int mv88e6xxx_port_set_egress_mode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
831
int mv88e6085_port_set_frame_mode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
857
int mv88e6351_port_set_frame_mode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
889
int mv88e6185_port_set_forward_unknown(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.c
907
int mv88e6352_port_set_ucast_flood(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
925
int mv88e6352_port_set_mcast_flood(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
945
int mv88e6xxx_port_set_message_port(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
963
int mv88e6xxx_port_set_trunk(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.c
986
int mv88e6xxx_port_set_vlan_map(struct mv88e6xxx_chip *chip, int port, u16 map)
drivers/net/dsa/mv88e6xxx/port.h
471
int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg,
drivers/net/dsa/mv88e6xxx/port.h
473
int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg,
drivers/net/dsa/mv88e6xxx/port.h
475
int mv88e6xxx_port_wait_bit(struct mv88e6xxx_chip *chip, int port, int reg,
drivers/net/dsa/mv88e6xxx/port.h
478
int mv88e6185_port_set_pause(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
480
int mv88e6320_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
482
int mv88e6352_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
484
int mv88e6390_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
487
int mv88e6xxx_port_set_link(struct mv88e6xxx_chip *chip, int port, int link);
drivers/net/dsa/mv88e6xxx/port.h
489
int mv88e6xxx_port_sync_link(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup);
drivers/net/dsa/mv88e6xxx/port.h
490
int mv88e6185_port_sync_link(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup);
drivers/net/dsa/mv88e6xxx/port.h
492
int mv88e6185_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
494
int mv88e6250_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
496
int mv88e6320_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
498
int mv88e6341_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
500
int mv88e6352_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
502
int mv88e6390_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
504
int mv88e6390x_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
506
int mv88e6393x_port_set_speed_duplex(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
509
int mv88e6xxx_port_set_state(struct mv88e6xxx_chip *chip, int port, u8 state);
drivers/net/dsa/mv88e6xxx/port.h
511
int mv88e6xxx_port_set_vlan_map(struct mv88e6xxx_chip *chip, int port, u16 map);
drivers/net/dsa/mv88e6xxx/port.h
513
int mv88e6xxx_port_get_fid(struct mv88e6xxx_chip *chip, int port, u16 *fid);
drivers/net/dsa/mv88e6xxx/port.h
514
int mv88e6xxx_port_set_fid(struct mv88e6xxx_chip *chip, int port, u16 fid);
drivers/net/dsa/mv88e6xxx/port.h
516
int mv88e6xxx_port_get_pvid(struct mv88e6xxx_chip *chip, int port, u16 *pvid);
drivers/net/dsa/mv88e6xxx/port.h
517
int mv88e6xxx_port_set_pvid(struct mv88e6xxx_chip *chip, int port, u16 pvid);
drivers/net/dsa/mv88e6xxx/port.h
519
int mv88e6xxx_port_set_lock(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
522
int mv88e6xxx_port_set_8021q_mode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
524
int mv88e6095_port_tag_remap(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/port.h
525
int mv88e6390_port_tag_remap(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/port.h
526
int mv88e6xxx_port_set_egress_mode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
528
int mv88e6085_port_set_frame_mode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
530
int mv88e6351_port_set_frame_mode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
532
int mv88e6185_port_set_forward_unknown(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.h
534
int mv88e6185_port_set_default_forward(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.h
536
int mv88e6352_port_set_ucast_flood(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
538
int mv88e6352_port_set_mcast_flood(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
540
int mv88e6352_port_set_policy(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
543
int mv88e6393x_port_set_policy(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
546
int mv88e6351_port_set_ether_type(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
548
int mv88e6393x_set_egress_port(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.h
551
int mv88e6393x_port_set_upstream_port(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
553
int mv88e6393x_port_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/port.h
554
int mv88e6393x_port_set_ether_type(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
556
int mv88e6xxx_port_set_message_port(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
558
int mv88e6xxx_port_set_trunk(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
560
int mv88e6165_port_set_jumbo_size(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
562
int mv88e6095_port_egress_rate_limiting(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/port.h
563
int mv88e6097_port_egress_rate_limiting(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/port.h
564
int mv88e6xxx_port_set_assoc_vector(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
566
int mv88e6097_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in,
drivers/net/dsa/mv88e6xxx/port.h
568
int mv88e6390_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in,
drivers/net/dsa/mv88e6xxx/port.h
570
int mv88e6341_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
572
int mv88e6390_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
574
int mv88e6390x_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
576
int mv88e6393x_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
578
int mv88e6185_port_get_cmode(struct mv88e6xxx_chip *chip, int port, u8 *cmode);
drivers/net/dsa/mv88e6xxx/port.h
579
int mv88e6352_port_get_cmode(struct mv88e6xxx_chip *chip, int port, u8 *cmode);
drivers/net/dsa/mv88e6xxx/port.h
581
int mv88e6xxx_port_setup_leds(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/port.h
583
static inline int mv88e6xxx_port_setup_leds(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/port.h
589
int mv88e6xxx_port_drop_untagged(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
591
int mv88e6xxx_port_set_map_da(struct mv88e6xxx_chip *chip, int port, bool map);
drivers/net/dsa/mv88e6xxx/port.h
592
int mv88e6095_port_set_upstream_port(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
594
int mv88e6xxx_port_set_mirror(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/port.h
598
int mv88e6xxx_port_disable_learn_limit(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/port.h
599
int mv88e6xxx_port_disable_pri_override(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/port.h
601
int mv88e6xxx_port_hidden_write(struct mv88e6xxx_chip *chip, int block,
drivers/net/dsa/mv88e6xxx/port.h
603
int mv88e6xxx_port_hidden_wait(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/port.h
604
int mv88e6xxx_port_hidden_read(struct mv88e6xxx_chip *chip, int block, int port,
drivers/net/dsa/mv88e6xxx/port.h
607
int mv88e6xxx_port_enable_tcam(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/port_hidden.c
18
int mv88e6xxx_port_hidden_write(struct mv88e6xxx_chip *chip, int block,
drivers/net/dsa/mv88e6xxx/port_hidden.c
39
int mv88e6xxx_port_hidden_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/port_hidden.c
48
int mv88e6xxx_port_hidden_read(struct mv88e6xxx_chip *chip, int block, int port,
drivers/net/dsa/mv88e6xxx/ptp.c
115
mv88e6xxx_cc_coeff_get(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/ptp.c
143
struct mv88e6xxx_chip *chip = cc_to_chip(cc);
drivers/net/dsa/mv88e6xxx/ptp.c
157
struct mv88e6xxx_chip *chip = cc_to_chip(cc);
drivers/net/dsa/mv88e6xxx/ptp.c
174
static int mv88e6352_config_eventcap(struct mv88e6xxx_chip *chip, int rising)
drivers/net/dsa/mv88e6xxx/ptp.c
195
struct mv88e6xxx_chip *chip = dw_tai_event_to_chip(dw);
drivers/net/dsa/mv88e6xxx/ptp.c
245
struct mv88e6xxx_chip *chip = ptp_to_chip(ptp);
drivers/net/dsa/mv88e6xxx/ptp.c
272
struct mv88e6xxx_chip *chip = ptp_to_chip(ptp);
drivers/net/dsa/mv88e6xxx/ptp.c
284
struct mv88e6xxx_chip *chip = ptp_to_chip(ptp);
drivers/net/dsa/mv88e6xxx/ptp.c
299
struct mv88e6xxx_chip *chip = ptp_to_chip(ptp);
drivers/net/dsa/mv88e6xxx/ptp.c
311
static int mv88e6352_ptp_enable_extts(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/ptp.c
360
struct mv88e6xxx_chip *chip = ptp_to_chip(ptp);
drivers/net/dsa/mv88e6xxx/ptp.c
449
struct mv88e6xxx_chip *chip = cc_to_chip(cc);
drivers/net/dsa/mv88e6xxx/ptp.c
464
struct mv88e6xxx_chip *chip = dw_overflow_to_chip(dw);
drivers/net/dsa/mv88e6xxx/ptp.c
473
int mv88e6xxx_ptp_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/ptp.c
555
void mv88e6xxx_ptp_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/ptp.c
75
#define cc_to_chip(cc) container_of(cc, struct mv88e6xxx_chip, tstamp_cc)
drivers/net/dsa/mv88e6xxx/ptp.c
76
#define dw_overflow_to_chip(dw) container_of(dw, struct mv88e6xxx_chip, \
drivers/net/dsa/mv88e6xxx/ptp.c
78
#define dw_tai_event_to_chip(dw) container_of(dw, struct mv88e6xxx_chip, \
drivers/net/dsa/mv88e6xxx/ptp.c
81
static int mv88e6xxx_tai_read(struct mv88e6xxx_chip *chip, int addr,
drivers/net/dsa/mv88e6xxx/ptp.c
90
static int mv88e6xxx_tai_write(struct mv88e6xxx_chip *chip, int addr, u16 data)
drivers/net/dsa/mv88e6xxx/ptp.c
99
static int mv88e6352_set_gpio_func(struct mv88e6xxx_chip *chip, int pin,
drivers/net/dsa/mv88e6xxx/ptp.h
69
int mv88e6xxx_ptp_setup(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/ptp.h
70
void mv88e6xxx_ptp_free(struct mv88e6xxx_chip *chip);
drivers/net/dsa/mv88e6xxx/ptp.h
72
#define ptp_to_chip(ptp) container_of(ptp, struct mv88e6xxx_chip, \
drivers/net/dsa/mv88e6xxx/ptp.h
81
static inline int mv88e6xxx_ptp_setup(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/ptp.h
86
static inline void mv88e6xxx_ptp_free(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/serdes.c
105
int mv88e6352_serdes_get_lane(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
127
int mv88e6352_serdes_get_sset_count(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
138
int mv88e6352_serdes_get_strings(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/serdes.c
156
static uint64_t mv88e6352_serdes_get_stat(struct mv88e6xxx_chip *chip, int lane,
drivers/net/dsa/mv88e6xxx/serdes.c
183
size_t mv88e6352_serdes_get_stats(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/serdes.c
20
static int mv88e6352_serdes_read(struct mv88e6xxx_chip *chip, int lane,
drivers/net/dsa/mv88e6xxx/serdes.c
209
unsigned int mv88e6352_serdes_irq_mapping(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
214
int mv88e6352_serdes_get_regs_len(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
225
void mv88e6352_serdes_get_regs(struct mv88e6xxx_chip *chip, int port, void *_p)
drivers/net/dsa/mv88e6xxx/serdes.c
244
int mv88e6321_serdes_get_lane(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
262
int mv88e6341_serdes_get_lane(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
279
int mv88e6390_serdes_get_lane(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
28
static int mv88e6390_serdes_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/serdes.c
302
int mv88e6390x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
380
int mv88e6393x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
410
int mv88e6390_serdes_get_sset_count(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
418
int mv88e6390_serdes_get_strings(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/serdes.c
434
static uint64_t mv88e6390_serdes_get_stat(struct mv88e6xxx_chip *chip, int lane,
drivers/net/dsa/mv88e6xxx/serdes.c
452
size_t mv88e6390_serdes_get_stats(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/serdes.c
471
unsigned int mv88e6390_serdes_irq_mapping(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
504
int mv88e6390_serdes_get_regs_len(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/serdes.c
512
void mv88e6390_serdes_get_regs(struct mv88e6xxx_chip *chip, int port, void *_p)
drivers/net/dsa/mv88e6xxx/serdes.h
119
int mv88e6321_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
120
int mv88e6341_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
121
int mv88e6352_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
122
int mv88e6390_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
123
int mv88e6390x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
124
int mv88e6393x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
125
unsigned int mv88e6352_serdes_irq_mapping(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/serdes.h
127
unsigned int mv88e6390_serdes_irq_mapping(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/serdes.h
129
int mv88e6352_serdes_get_sset_count(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
130
int mv88e6352_serdes_get_strings(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/serdes.h
132
size_t mv88e6352_serdes_get_stats(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/serdes.h
134
int mv88e6390_serdes_get_sset_count(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
135
int mv88e6390_serdes_get_strings(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/serdes.h
137
size_t mv88e6390_serdes_get_stats(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/serdes.h
140
int mv88e6352_serdes_get_regs_len(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
141
void mv88e6352_serdes_get_regs(struct mv88e6xxx_chip *chip, int port, void *_p);
drivers/net/dsa/mv88e6xxx/serdes.h
142
int mv88e6390_serdes_get_regs_len(struct mv88e6xxx_chip *chip, int port);
drivers/net/dsa/mv88e6xxx/serdes.h
143
void mv88e6390_serdes_get_regs(struct mv88e6xxx_chip *chip, int port, void *_p);
drivers/net/dsa/mv88e6xxx/serdes.h
146
static inline int mv88e6xxx_serdes_get_lane(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/serdes.h
156
mv88e6xxx_serdes_irq_mapping(struct mv88e6xxx_chip *chip, int port)
drivers/net/dsa/mv88e6xxx/smi.c
109
static int mv88e6xxx_smi_indirect_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.c
132
static int mv88e6xxx_smi_indirect_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.c
155
static int mv88e6xxx_smi_indirect_init(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/smi.c
171
int mv88e6xxx_smi_init(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.c
29
static int mv88e6xxx_smi_direct_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.c
43
static int mv88e6xxx_smi_direct_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.c
55
static int mv88e6xxx_smi_direct_wait(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.c
88
static int mv88e6xxx_smi_dual_direct_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.c
94
static int mv88e6xxx_smi_dual_direct_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.h
34
int mv88e6xxx_smi_init(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.h
37
static inline int mv88e6xxx_smi_read(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/smi.h
46
static inline int mv88e6xxx_smi_write(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/switchdev.c
20
static int __mv88e6xxx_find_vid(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/switchdev.c
34
static int mv88e6xxx_find_vid(struct mv88e6xxx_chip *chip, u16 fid, u16 *vid)
drivers/net/dsa/mv88e6xxx/switchdev.c
53
int mv88e6xxx_handle_miss_violation(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/switchdev.h
15
int mv88e6xxx_handle_miss_violation(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/tcam.c
111
mv88e6xxx_tcam_entry_find(struct mv88e6xxx_chip *chip, unsigned long cookie)
drivers/net/dsa/mv88e6xxx/tcam.c
123
static int mv88e6xxx_tcam_insert_entry(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/tcam.c
161
int mv88e6xxx_tcam_entry_add(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/tcam.c
191
int mv88e6xxx_tcam_entry_del(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/tcam.c
228
static int mv88e6390_tcam_entry_add(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/tcam.c
315
static int mv88e6393_tcam_entry_add(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/tcam.c
44
static int mv88e6xxx_tcam_write(struct mv88e6xxx_chip *chip, int reg, u16 val)
drivers/net/dsa/mv88e6xxx/tcam.c
49
static int mv88e6xxx_tcam_wait(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/tcam.c
57
static int mv88e6xxx_tcam_read_page(struct mv88e6xxx_chip *chip, u8 page,
drivers/net/dsa/mv88e6xxx/tcam.c
72
static int mv88e6xxx_tcam_load_page(struct mv88e6xxx_chip *chip, u8 page,
drivers/net/dsa/mv88e6xxx/tcam.c
86
static int mv88e6xxx_tcam_flush_entry(struct mv88e6xxx_chip *chip, u8 entry)
drivers/net/dsa/mv88e6xxx/tcam.c
98
static int mv88e6xxx_tcam_flush_all(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/tcam.h
17
int mv88e6xxx_tcam_entry_add(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/tcam.h
19
int mv88e6xxx_tcam_entry_del(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/tcam.h
22
mv88e6xxx_tcam_entry_find(struct mv88e6xxx_chip *chip, unsigned long cookie);
drivers/net/dsa/mv88e6xxx/tcflower.c
146
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/tcflower.c
159
void mv88e6xxx_flower_teardown(struct mv88e6xxx_chip *chip)
drivers/net/dsa/mv88e6xxx/tcflower.c
17
static int mv88e6xxx_flower_parse_key(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/tcflower.c
77
struct mv88e6xxx_chip *chip = ds->priv;
drivers/net/dsa/mv88e6xxx/tcflower.h
13
void mv88e6xxx_flower_teardown(struct mv88e6xxx_chip *chip);