Lines Matching +full:am65 +full:- +full:cpts
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
15 #include <linux/soc/ti/k3-ringacc.h>
17 #include "am65-cpsw-qos.h"
72 spinlock_t lock; /* protect TX rings in multi-port mode */
138 struct am65_cpts *cpts; member
167 #define am65_ndev_to_port(ndev) (am65_ndev_to_priv(ndev)->port)
168 #define am65_ndev_to_common(ndev) (am65_ndev_to_port(ndev)->common)
169 #define am65_ndev_to_slave(ndev) (&am65_ndev_to_port(ndev)->slave)
171 #define am65_common_get_host(common) (&(common)->host)
172 #define am65_common_get_port(common, id) (&(common)->ports[(id) - 1])
179 #define AM65_CPSW_DRV_NAME "am65-cpsw-nuss"
181 #define AM65_CPSW_IS_CPSW2G(common) ((common)->port_num == 1)