Zephyr API Documentation
4.2.0-rc3
A Scalable Open Source RTOS
4.2.0-rc3
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Zephyr API Documentation
Introduction
Deprecated List
Topics
Data Structures
Files
File List
doc
kernel
lib
modules
subsys
zephyr
acpi
app_memory
arch
audio
bluetooth
canbus
console
crypto
data
debug
devicetree
can.h
clocks.h
display.h
dma.h
fixed-partitions.h
gpio.h
interrupt_controller.h
io-channels.h
mbox.h
ordinals.h
pinctrl.h
port-endpoint.h
pwms.h
reset.h
spi.h
dfu
display
drivers
dsp
dt-bindings
fs
input
internal
ipc
kernel
linker
llext
logging
lorawan
math
mem_mgmt
mgmt
misc
modbus
modem
multi_heap
net
platform
pm
pmci
portability
posix
psa
random
retention
rtio
sd
sensing
settings
shell
sip_svc
stats
storage
sys
task_wdt
timing
toolchain
tracing
usb
usb_c
xen
zbus
zvfs
bindesc.h
cache.h
device.h
devicetree.h
fatal.h
fatal_types.h
init.h
irq.h
irq_multilevel.h
irq_nextlevel.h
irq_offload.h
kernel.h
kernel_includes.h
kernel_structs.h
kernel_version.h
net_buf.h
shared_irq.h
smf.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall.h
toolchain.h
types.h
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
dma.h
Go to the documentation of this file.
1
5
6
/*
7
* Copyright (c) 2020, Linaro Ltd.
8
*
9
* SPDX-License-Identifier: Apache-2.0
10
*/
11
12
#ifndef ZEPHYR_INCLUDE_DEVICETREE_DMAS_H_
13
#define ZEPHYR_INCLUDE_DEVICETREE_DMAS_H_
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
24
51
#define DT_DMAS_CTLR_BY_IDX(node_id, idx) DT_PHANDLE_BY_IDX(node_id, dmas, idx)
52
80
#define DT_DMAS_CTLR_BY_NAME(node_id, name) \
81
DT_PHANDLE_BY_NAME(node_id, dmas, name)
80
#define DT_DMAS_CTLR_BY_NAME(node_id, name) \
…
82
90
#define DT_DMAS_CTLR(node_id) DT_DMAS_CTLR_BY_IDX(node_id, 0)
91
102
#define DT_INST_DMAS_CTLR_BY_IDX(inst, idx) \
103
DT_DMAS_CTLR_BY_IDX(DT_DRV_INST(inst), idx)
102
#define DT_INST_DMAS_CTLR_BY_IDX(inst, idx) \
…
104
114
#define DT_INST_DMAS_CTLR_BY_NAME(inst, name) \
115
DT_DMAS_CTLR_BY_NAME(DT_DRV_INST(inst), name)
114
#define DT_INST_DMAS_CTLR_BY_NAME(inst, name) \
…
116
124
#define DT_INST_DMAS_CTLR(inst) DT_INST_DMAS_CTLR_BY_IDX(inst, 0)
125
165
#define DT_DMAS_CELL_BY_IDX(node_id, idx, cell) \
166
DT_PHA_BY_IDX(node_id, dmas, idx, cell)
165
#define DT_DMAS_CELL_BY_IDX(node_id, idx, cell) \
…
167
176
#define DT_INST_DMAS_CELL_BY_IDX(inst, idx, cell) \
177
DT_PHA_BY_IDX(DT_DRV_INST(inst), dmas, idx, cell)
176
#define DT_INST_DMAS_CELL_BY_IDX(inst, idx, cell) \
…
178
220
#define DT_DMAS_CELL_BY_NAME(node_id, name, cell) \
221
DT_PHA_BY_NAME(node_id, dmas, name, cell)
220
#define DT_DMAS_CELL_BY_NAME(node_id, name, cell) \
…
222
239
#define DT_DMAS_CELL_BY_NAME_OR(node_id, name, cell, default_value) \
240
DT_PHA_BY_NAME_OR(node_id, dmas, name, cell, default_value)
239
#define DT_DMAS_CELL_BY_NAME_OR(node_id, name, cell, default_value) \
…
241
251
#define DT_INST_DMAS_CELL_BY_NAME(inst, name, cell) \
252
DT_DMAS_CELL_BY_NAME(DT_DRV_INST(inst), name, cell)
251
#define DT_INST_DMAS_CELL_BY_NAME(inst, name, cell) \
…
253
260
#define DT_DMAS_HAS_IDX(node_id, idx) \
261
IS_ENABLED(DT_CAT4(node_id, _P_dmas_IDX_, idx, _EXISTS))
260
#define DT_DMAS_HAS_IDX(node_id, idx) \
…
262
269
#define DT_INST_DMAS_HAS_IDX(inst, idx) \
270
DT_DMAS_HAS_IDX(DT_DRV_INST(inst), idx)
269
#define DT_INST_DMAS_HAS_IDX(inst, idx) \
…
271
279
#define DT_DMAS_HAS_NAME(node_id, name) \
280
DT_PROP_HAS_NAME(node_id, dmas, name)
279
#define DT_DMAS_HAS_NAME(node_id, name) \
…
281
289
#define DT_INST_DMAS_HAS_NAME(inst, name) \
290
DT_DMAS_HAS_NAME(DT_DRV_INST(inst), name)
289
#define DT_INST_DMAS_HAS_NAME(inst, name) \
…
291
295
296
#ifdef __cplusplus
297
}
298
#endif
299
300
#endif
/* ZEPHYR_INCLUDE_DEVICETREE_DMAS_H_ */
zephyr
devicetree
dma.h
Generated on
for Zephyr API Documentation by
1.14.0