include/dt-bindings/pinctrl/pinctrl-cv18xx.h

Source file repositories/reference/linux-study-clean/include/dt-bindings/pinctrl/pinctrl-cv18xx.h

File Facts

System
Linux kernel
Corpus path
include/dt-bindings/pinctrl/pinctrl-cv18xx.h
Extension
.h
Size
475 bytes
Lines
20
Domain
Repository Root And Misc
Bucket
include
Inferred role
Repository Root And Misc: implementation source
Status
source implementation candidate

Why This File Exists

Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _DT_BINDINGS_PINCTRL_CV18XX_H
#define _DT_BINDINGS_PINCTRL_CV18XX_H

#define PIN_MUX_INVALD				0xff

#define PINMUX2(pin, mux, mux2)	\
	(((pin) & 0xffff) | (((mux) & 0xff) << 16) | (((mux2) & 0xff) << 24))

#define PINMUX(pin, mux) \
	PINMUX2(pin, mux, PIN_MUX_INVALD)

#endif /* _DT_BINDINGS_PINCTRL_CV18XX_H */

Annotation

Implementation Notes