Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
npcx_espi.h File Reference

Go to the source code of this file.

Macros

#define ESPI_NPCX_VW_EX_VAL(dir, group, index)
 
#define ESPI_NPCX_VW_EX_INDEX(e)
 
#define ESPI_NPCX_VW_EX_GROUP_NUM(e)
 
#define ESPI_NPCX_VW_EX_DIR(e)
 
#define NPCX_VWEVMS0   0
 
#define NPCX_VWEVMS1   1
 
#define NPCX_VWEVMS2   2
 
#define NPCX_VWEVMS3   3
 
#define NPCX_VWEVMS4   4
 
#define NPCX_VWEVMS5   5
 
#define NPCX_VWEVMS6   6
 
#define NPCX_VWEVMS7   7
 
#define NPCX_VWEVMS8   8
 
#define NPCX_VWEVMS9   9
 
#define NPCX_VWEVMS10   10
 
#define NPCX_VWEVMS11   11
 
#define NPCX_VWEVMS_MAX   12
 
#define NPCX_VWEVSM0   0
 
#define NPCX_VWEVSM1   1
 
#define NPCX_VWEVSM2   2
 
#define NPCX_VWEVSM3   3
 
#define NPCX_VWEVSM4   4
 
#define NPCX_VWEVSM5   5
 
#define NPCX_VWEVSM6   6
 
#define NPCX_VWEVSM7   7
 
#define NPCX_VWEVSM8   8
 
#define NPCX_VWEVSM9   9
 
#define NPCX_VWEVSM_MAX   10
 
#define NPCX_VWGPSM0   0
 
#define NPCX_VWGPSM1   1
 
#define NPCX_VWGPSM2   2
 
#define NPCX_VWGPSM3   3
 
#define NPCX_VWGPSM4   4
 
#define NPCX_VWGPSM5   5
 
#define NPCX_VWGPSM6   6
 
#define NPCX_VWGPSM7   7
 
#define NPCX_VWGPSM8   8
 
#define NPCX_VWGPSM9   9
 
#define NPCX_VWGPSM10   10
 
#define NPCX_VWGPSM11   11
 
#define NPCX_VWGPSM12   12
 
#define NPCX_VWGPSM13   13
 
#define NPCX_VWGPSM14   14
 
#define NPCX_VWGPSM15   15
 

Macro Definition Documentation

◆ ESPI_NPCX_VW_EX_DIR

#define ESPI_NPCX_VW_EX_DIR ( e)
Value:
(((e) >> 12) & 0x1)

◆ ESPI_NPCX_VW_EX_GROUP_NUM

#define ESPI_NPCX_VW_EX_GROUP_NUM ( e)
Value:
(((e) >> 8) & 0xf)

◆ ESPI_NPCX_VW_EX_INDEX

#define ESPI_NPCX_VW_EX_INDEX ( e)
Value:
((e) & 0xff)

◆ ESPI_NPCX_VW_EX_VAL

#define ESPI_NPCX_VW_EX_VAL ( dir,
group,
index )
Value:
(((dir & 0x1) << 12) + ((group & 0xf) << 8) + (index & 0xff))
Group structure.
Definition grp.h:18

◆ NPCX_VWEVMS0

#define NPCX_VWEVMS0   0

◆ NPCX_VWEVMS1

#define NPCX_VWEVMS1   1

◆ NPCX_VWEVMS10

#define NPCX_VWEVMS10   10

◆ NPCX_VWEVMS11

#define NPCX_VWEVMS11   11

◆ NPCX_VWEVMS2

#define NPCX_VWEVMS2   2

◆ NPCX_VWEVMS3

#define NPCX_VWEVMS3   3

◆ NPCX_VWEVMS4

#define NPCX_VWEVMS4   4

◆ NPCX_VWEVMS5

#define NPCX_VWEVMS5   5

◆ NPCX_VWEVMS6

#define NPCX_VWEVMS6   6

◆ NPCX_VWEVMS7

#define NPCX_VWEVMS7   7

◆ NPCX_VWEVMS8

#define NPCX_VWEVMS8   8

◆ NPCX_VWEVMS9

#define NPCX_VWEVMS9   9

◆ NPCX_VWEVMS_MAX

#define NPCX_VWEVMS_MAX   12

◆ NPCX_VWEVSM0

#define NPCX_VWEVSM0   0

◆ NPCX_VWEVSM1

#define NPCX_VWEVSM1   1

◆ NPCX_VWEVSM2

#define NPCX_VWEVSM2   2

◆ NPCX_VWEVSM3

#define NPCX_VWEVSM3   3

◆ NPCX_VWEVSM4

#define NPCX_VWEVSM4   4

◆ NPCX_VWEVSM5

#define NPCX_VWEVSM5   5

◆ NPCX_VWEVSM6

#define NPCX_VWEVSM6   6

◆ NPCX_VWEVSM7

#define NPCX_VWEVSM7   7

◆ NPCX_VWEVSM8

#define NPCX_VWEVSM8   8

◆ NPCX_VWEVSM9

#define NPCX_VWEVSM9   9

◆ NPCX_VWEVSM_MAX

#define NPCX_VWEVSM_MAX   10

◆ NPCX_VWGPSM0

#define NPCX_VWGPSM0   0

◆ NPCX_VWGPSM1

#define NPCX_VWGPSM1   1

◆ NPCX_VWGPSM10

#define NPCX_VWGPSM10   10

◆ NPCX_VWGPSM11

#define NPCX_VWGPSM11   11

◆ NPCX_VWGPSM12

#define NPCX_VWGPSM12   12

◆ NPCX_VWGPSM13

#define NPCX_VWGPSM13   13

◆ NPCX_VWGPSM14

#define NPCX_VWGPSM14   14

◆ NPCX_VWGPSM15

#define NPCX_VWGPSM15   15

◆ NPCX_VWGPSM2

#define NPCX_VWGPSM2   2

◆ NPCX_VWGPSM3

#define NPCX_VWGPSM3   3

◆ NPCX_VWGPSM4

#define NPCX_VWGPSM4   4

◆ NPCX_VWGPSM5

#define NPCX_VWGPSM5   5

◆ NPCX_VWGPSM6

#define NPCX_VWGPSM6   6

◆ NPCX_VWGPSM7

#define NPCX_VWGPSM7   7

◆ NPCX_VWGPSM8

#define NPCX_VWGPSM8   8

◆ NPCX_VWGPSM9

#define NPCX_VWGPSM9   9