Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
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
q
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
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
sip_svc_agilex_mailbox.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022-2023, Intel Corporation.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_SIP_SVC_AGILEX_MB_H_
8
#define ZEPHYR_INCLUDE_SIP_SVC_AGILEX_MB_H_
9
18
#define SIP_SVP_MB_MAX_WORD_SIZE 1024
19
#define SIP_SVP_MB_HEADER_TRANS_ID_OFFSET 24
20
#define SIP_SVP_MB_HEADER_TRANS_ID_MASK 0xFF
21
#define SIP_SVP_MB_HEADER_LENGTH_OFFSET 12
22
#define SIP_SVP_MB_HEADER_LENGTH_MASK 0x7FF
23
24
#define SIP_SVC_MB_HEADER_GET_CLIENT_ID(header) \
25
((header) >> SIP_SVP_MB_HEADER_CLIENT_ID_OFFSET & \
26
SIP_SVP_MB_HEADER_CLIENT_ID_MASK)
24
#define SIP_SVC_MB_HEADER_GET_CLIENT_ID(header) \
…
27
28
#define SIP_SVC_MB_HEADER_GET_TRANS_ID(header) \
29
((header) >> SIP_SVP_MB_HEADER_TRANS_ID_OFFSET & \
30
SIP_SVP_MB_HEADER_TRANS_ID_MASK)
28
#define SIP_SVC_MB_HEADER_GET_TRANS_ID(header) \
…
31
32
#define SIP_SVC_MB_HEADER_SET_TRANS_ID(header, id) \
33
(header) &= ~(SIP_SVP_MB_HEADER_TRANS_ID_MASK << \
34
SIP_SVP_MB_HEADER_TRANS_ID_OFFSET); \
35
(header) |= (((id) & SIP_SVP_MB_HEADER_TRANS_ID_MASK) << \
36
SIP_SVP_MB_HEADER_TRANS_ID_OFFSET);
32
#define SIP_SVC_MB_HEADER_SET_TRANS_ID(header, id) \
…
37
38
#define SIP_SVC_MB_HEADER_GET_LENGTH(header) \
39
((header) >> SIP_SVP_MB_HEADER_LENGTH_OFFSET & \
40
SIP_SVP_MB_HEADER_LENGTH_MASK)
38
#define SIP_SVC_MB_HEADER_GET_LENGTH(header) \
…
41
42
#endif
/* ZEPHYR_INCLUDE_SIP_SVC_AGILEX_MB_H_ */
zephyr
drivers
sip_svc
sip_svc_agilex_mailbox.h
Generated on Mon Mar 17 2025 15:04:39 for Zephyr API Documentation by
1.12.0