felix.h (4353dd3b70783ebbc83fcf12d9c0af3fbab0223b) felix.h (21ce7f3e16fbf89faaf149cfe0f730edfc553914)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright 2019 NXP Semiconductors
3 */
4#ifndef _MSCC_FELIX_H
5#define _MSCC_FELIX_H
6
7#define ocelot_to_felix(o) container_of((o), struct felix, ocelot)
8
9/* Platform-specific information */
10struct felix_info {
11 struct resource *target_io_res;
12 struct resource *port_io_res;
13 struct resource *imdio_res;
14 const struct reg_field *regfields;
15 const u32 *const *map;
16 const struct ocelot_ops *ops;
17 int shared_queue_sz;
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright 2019 NXP Semiconductors
3 */
4#ifndef _MSCC_FELIX_H
5#define _MSCC_FELIX_H
6
7#define ocelot_to_felix(o) container_of((o), struct felix, ocelot)
8
9/* Platform-specific information */
10struct felix_info {
11 struct resource *target_io_res;
12 struct resource *port_io_res;
13 struct resource *imdio_res;
14 const struct reg_field *regfields;
15 const u32 *const *map;
16 const struct ocelot_ops *ops;
17 int shared_queue_sz;
18 int num_mact_rows;
18 const struct ocelot_stat_layout *stats_layout;
19 unsigned int num_stats;
20 int num_ports;
21 struct vcap_field *vcap_is2_keys;
22 struct vcap_field *vcap_is2_actions;
23 const struct vcap_props *vcap;
24 int switch_pci_bar;
25 int imdio_pci_bar;

--- 29 unchanged lines hidden ---
19 const struct ocelot_stat_layout *stats_layout;
20 unsigned int num_stats;
21 int num_ports;
22 struct vcap_field *vcap_is2_keys;
23 struct vcap_field *vcap_is2_actions;
24 const struct vcap_props *vcap;
25 int switch_pci_bar;
26 int imdio_pci_bar;

--- 29 unchanged lines hidden ---