Lines Matching +full:r8a77995 +full:- +full:rpc +full:- +full:if

1 // SPDX-License-Identifier: GPL-2.0
3 * R8A77995 processor support - PFC hardware block.
7 * This file is based on the drivers/pinctrl/renesas/pfc-r8a7796.c
9 * R-Car Gen3 processor support - PFC hardware block.
209 /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */
243 /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */
277 /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */
311 /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */
958 /* - AUDIO CLOCK ------------------------------------------------------------- */
988 /* - EtherAVB --------------------------------------------------------------- */
1081 /* - CAN ------------------------------------------------------------------ */
1111 /* - CAN Clock -------------------------------------------------------------- */
1120 /* - CAN FD ----------------------------------------------------------------- */
1136 /* - DU --------------------------------------------------------------------- */
1217 /* - I2C -------------------------------------------------------------------- */
1261 /* - MLB+ ------------------------------------------------------------------- */
1269 /* - MMC ------------------------------------------------------------------- */
1291 /* - MSIOF0 ----------------------------------------------------------------- */
1346 /* - MSIOF1 ----------------------------------------------------------------- */
1401 /* - MSIOF2 ----------------------------------------------------------------- */
1465 /* - MSIOF3 ----------------------------------------------------------------- */
1574 /* - PWM0 ------------------------------------------------------------------ */
1602 /* - PWM1 ------------------------------------------------------------------ */
1630 /* - PWM2 ------------------------------------------------------------------ */
1658 /* - PWM3 ------------------------------------------------------------------ */
1686 /* - QSPI0 ------------------------------------------------------------------ */
1694 /* - QSPI1 ------------------------------------------------------------------ */
1703 /* - RPC -------------------------------------------------------------------- */
1705 /* Octal-SPI flash: C/SCLK */
1713 /* Octal-SPI flash: S#/CS, DQS */
1748 /* - SCIF0 ------------------------------------------------------------------ */
1784 /* - SCIF1 ------------------------------------------------------------------ */
1821 /* - SCIF2 ------------------------------------------------------------------ */
1836 /* - SCIF3 ------------------------------------------------------------------ */
1865 /* - SCIF4 ------------------------------------------------------------------ */
1894 /* - SCIF5 ------------------------------------------------------------------ */
1923 /* - SCIF Clock ------------------------------------------------------------- */
1932 /* - SSI ---------------------------------------------------------------*/
1976 /* - USB0 ------------------------------------------------------------------- */
1985 /* - VIN4 ------------------------------------------------------------------- */
2474 SH_PFC_FUNCTION(rpc),
2491 GROUP(-23, 1, 1, 1, 1, 1, 1, 1, 1, 1),
2573 GROUP(-22, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
2622 GROUP(-11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2649 GROUP(-18, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2804 GROUP(-24, 4, 4),
2816 GROUP(-1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, -1,
2817 1, 1, 1, 1, 1, 1, -4, 1, 1, 1, 1, 1, 1),
2846 GROUP(1, 1, 1, 1, 1, 1, -26),
2854 /* RESERVED 25-0 */ ))
2878 return 29 - (pin - RCAR_GP_PIN(3, 0)); in r8a77995_pin_to_pocctrl()
2885 return -EINVAL; in r8a77995_pin_to_pocctrl()
3104 reg = rcar_pin_to_bias_reg(pfc->info, pin, &bit); in r8a77995_pin_to_bias_reg()
3105 if (!reg) in r8a77995_pin_to_bias_reg()
3135 if (!reg) in r8a77995_pinmux_get_bias()
3138 if (!(sh_pfc_read(pfc, reg->puen) & BIT(puen_bit))) in r8a77995_pinmux_get_bias()
3140 else if (sh_pfc_read(pfc, reg->pud) & BIT(pud_bit)) in r8a77995_pinmux_get_bias()
3154 if (!reg) in r8a77995_pinmux_set_bias()
3157 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(puen_bit); in r8a77995_pinmux_set_bias()
3158 if (bias != PIN_CONFIG_BIAS_DISABLE) { in r8a77995_pinmux_set_bias()
3161 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(pud_bit); in r8a77995_pinmux_set_bias()
3162 if (bias == PIN_CONFIG_BIAS_PULL_UP) in r8a77995_pinmux_set_bias()
3165 sh_pfc_write(pfc, reg->pud, updown); in r8a77995_pinmux_set_bias()
3167 sh_pfc_write(pfc, reg->puen, enable); in r8a77995_pinmux_set_bias()