HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-83-generic #83-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 5 21:46:54 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/modules/6.8.0-64-generic/build/include/dt-bindings/pinctrl/apple.h
/* SPDX-License-Identifier: GPL-2.0+ OR MIT */
/*
 * This header provides constants for Apple pinctrl bindings.
 */

#ifndef _DT_BINDINGS_PINCTRL_APPLE_H
#define _DT_BINDINGS_PINCTRL_APPLE_H

#define APPLE_PINMUX(pin, func) ((pin) | ((func) << 16))
#define APPLE_PIN(pinmux) ((pinmux) & 0xffff)
#define APPLE_FUNC(pinmux) ((pinmux) >> 16)

#endif /* _DT_BINDINGS_PINCTRL_APPLE_H */