HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/lib/modules/6.8.0-1040-aws/build/include/linux/platform_data/hirschmann-hellcreek.h
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
/*
 * Hirschmann Hellcreek TSN switch platform data.
 *
 * Copyright (C) 2020 Linutronix GmbH
 * Author Kurt Kanzenbach <kurt@linutronix.de>
 */

#ifndef _HIRSCHMANN_HELLCREEK_H_
#define _HIRSCHMANN_HELLCREEK_H_

#include <linux/types.h>

struct hellcreek_platform_data {
	const char *name;	/* Switch name */
	int num_ports;		/* Amount of switch ports */
	int is_100_mbits;	/* Is it configured to 100 or 1000 mbit/s */
	int qbv_support;	/* Qbv support on front TSN ports */
	int qbv_on_cpu_port;	/* Qbv support on the CPU port */
	int qbu_support;	/* Qbu support on front TSN ports */
	u16 module_id;		/* Module identificaton */
};

#endif /* _HIRSCHMANN_HELLCREEK_H_ */