repo.or.cz
/
drm
/
drm-misc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git]
/
include
/
linux
/
fsl
/
netc_global.h
blob
fdecca8c90f0c1eebe06080f2bf916225d3b3dda
1
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2
/* Copyright 2024 NXP
3
*/
4
#ifndef __NETC_GLOBAL_H
5
#define __NETC_GLOBAL_H
6
7
#include <linux/io.h>
8
9
static
inline
u32
netc_read
(
void
__iomem
*
reg
)
10
{
11
return
ioread32
(
reg
);
12
}
13
14
static
inline
void
netc_write
(
void
__iomem
*
reg
,
u32 val
)
15
{
16
iowrite32
(
val
,
reg
);
17
}
18
19
#endif