qca8k.h (42ac0be18bfa09c03f52244f7c3e15c89b38532f) qca8k.h (d80a52335374e484a4ff2afdc9af843e73273945)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2009 Felix Fietkau <nbd@nbd.name>
4 * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
6 */
7
8#ifndef __QCA8K_H

--- 504 unchanged lines hidden (view full) ---

513
514/* Common ethtool stats function */
515void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data);
516void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port,
517 uint64_t *data);
518int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset);
519
520/* Common eee function */
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2009 Felix Fietkau <nbd@nbd.name>
4 * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
6 */
7
8#ifndef __QCA8K_H

--- 504 unchanged lines hidden (view full) ---

513
514/* Common ethtool stats function */
515void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data);
516void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port,
517 uint64_t *data);
518int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset);
519
520/* Common eee function */
521int qca8k_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *eee);
522int qca8k_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e);
521int qca8k_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *eee);
522int qca8k_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e);
523
524/* Common bridge function */
525void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state);
526int qca8k_port_pre_bridge_flags(struct dsa_switch *ds, int port,
527 struct switchdev_brport_flags flags,
528 struct netlink_ext_ack *extack);
529int qca8k_port_bridge_flags(struct dsa_switch *ds, int port,
530 struct switchdev_brport_flags flags,

--- 65 unchanged lines hidden ---
523
524/* Common bridge function */
525void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state);
526int qca8k_port_pre_bridge_flags(struct dsa_switch *ds, int port,
527 struct switchdev_brport_flags flags,
528 struct netlink_ext_ack *extack);
529int qca8k_port_bridge_flags(struct dsa_switch *ds, int port,
530 struct switchdev_brport_flags flags,

--- 65 unchanged lines hidden ---