Lines Matching +full:gpio +full:- +full:bank
2 * Copyright (c) 2021-2023 IoT.bzh
4 * SPDX-License-Identifier: Apache-2.0
13 * Each IPSR bank can hold 8 cellules of 4 bits coded function.
15 * @param bank the IPSR register bank.
22 * IPSR bank [ 10 : 14 ]
25 #define IPSR(bank, shift, func) (((bank) << 10U) | ((shift) << 4U) | (func)) argument
27 /* Arbitrary number to encode non capable gpio pin */
31 * @brief Utility macro to encode a GPIO capable pin
33 * @param bank the GPIO bank
34 * @param pin the pin within the GPIO bank (0..31)
36 #define RCAR_GP_PIN(bank, pin) (((bank) * 32U) + (pin)) argument
39 * @brief Utility macro to encode a non capable GPIO pin
49 #define IPnSR(bank, reg, shift, func) \ argument
50 IPSR(((reg) << 5U) | (bank), shift, func)
88 * This macro is used to define a dummy IPSR flag for a pin in the R-Car PFC