Resguardo inicial

This commit is contained in:
lastdragon
2026-09-06 12:53:21 -06:00
parent 662efe3c2a
commit ad2088d178
94853 changed files with 43200404 additions and 0 deletions
@@ -0,0 +1,25 @@
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
/* Copyright 2024 NXP
*/
#ifndef __NETC_GLOBAL_H
#define __NETC_GLOBAL_H
#include <linux/io.h>
#include <linux/io-64-nonatomic-lo-hi.h>
static inline u32 netc_read(void __iomem *reg)
{
return ioread32(reg);
}
static inline void netc_write(void __iomem *reg, u32 val)
{
iowrite32(val, reg);
}
static inline u64 netc_read64(void __iomem *reg)
{
return ioread64(reg);
}
#endif