Lines Matching +full:etheravb +full:- +full:r8a7795
1 // SPDX-License-Identifier: GPL-2.0
3 * R8A7796 (R-Car M3-W/W+) support - PFC hardware block.
5 * Copyright (C) 2016-2019 Renesas Electronics Corp.
7 * This file is based on the drivers/pinctrl/renesas/pfc-r8a7795.c
9 * R-Car Gen3 processor support - PFC hardware block.
258 … /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */
287 … /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */
318 … /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */
354 … /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */
384 … /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */
588 * that can be set, such as drive-strength or pull-up/pull-down enable.
1548 * pin to the list without an associated function. The sh-pfc
1570 /* - AUDIO CLOCK ------------------------------------------------------------ */
1692 /* - EtherAVB --------------------------------------------------------------- */
1779 /* - CAN ------------------------------------------------------------------ */
1802 /* - CAN Clock -------------------------------------------------------------- */
1811 /* - CAN FD --------------------------------------------------------------- */
1834 /* - DRIF0 --------------------------------------------------------------- */
1898 /* - DRIF1 --------------------------------------------------------------- */
1962 /* - DRIF2 --------------------------------------------------------------- */
2005 /* - DRIF3 --------------------------------------------------------------- */
2049 /* - DU --------------------------------------------------------------------- */
2130 /* - HSCIF0 ----------------------------------------------------------------- */
2152 /* - HSCIF1 ----------------------------------------------------------------- */
2196 /* - HSCIF2 ----------------------------------------------------------------- */
2262 /* - HSCIF3 ----------------------------------------------------------------- */
2306 /* - HSCIF4 ----------------------------------------------------------------- */
2337 /* - I2C -------------------------------------------------------------------- */
2416 /* - INTC-EX ---------------------------------------------------------------- */
2460 /* - MSIOF0 ----------------------------------------------------------------- */
2503 /* - MSIOF1 ----------------------------------------------------------------- */
2798 /* - MSIOF2 ----------------------------------------------------------------- */
2967 /* - MSIOF3 ----------------------------------------------------------------- */
3159 /* - PWM0 --------------------------------------------------------------------*/
3167 /* - PWM1 --------------------------------------------------------------------*/
3182 /* - PWM2 --------------------------------------------------------------------*/
3197 /* - PWM3 --------------------------------------------------------------------*/
3212 /* - PWM4 --------------------------------------------------------------------*/
3227 /* - PWM5 --------------------------------------------------------------------*/
3242 /* - PWM6 --------------------------------------------------------------------*/
3258 /* - SCIF0 ------------------------------------------------------------------ */
3280 /* - SCIF1 ------------------------------------------------------------------ */
3310 /* - SCIF2 ------------------------------------------------------------------ */
3332 /* - SCIF3 ------------------------------------------------------------------ */
3361 /* - SCIF4 ------------------------------------------------------------------ */
3425 /* - SCIF5 ------------------------------------------------------------------ */
3456 /* - SCIF Clock ------------------------------------------------------------- */
3472 /* - SDHI0 ------------------------------------------------------------------ */
3510 /* - SDHI1 ------------------------------------------------------------------ */
3548 /* - SDHI2 ------------------------------------------------------------------ */
3620 /* - SDHI3 ------------------------------------------------------------------ */
3679 /* - SSI -------------------------------------------------------------------- */
3856 /* - TMU -------------------------------------------------------------------- */
3886 /* - TPU ------------------------------------------------------------------- */
3916 /* - USB0 ------------------------------------------------------------------- */
3924 /* - USB1 ------------------------------------------------------------------- */
3933 /* - USB30 ------------------------------------------------------------------ */
3942 /* - VIN4 ------------------------------------------------------------------- */
4080 /* - VIN5 ------------------------------------------------------------------- */
5886 int bit = -EINVAL; in r8a7796_pin_to_pocctrl()
6151 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit))) in r8a7796_pinmux_get_bias()
6153 else if (sh_pfc_read(pfc, reg->pud) & BIT(bit)) in r8a7796_pinmux_get_bias()
6170 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit); in r8a7796_pinmux_set_bias()
6174 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit); in r8a7796_pinmux_set_bias()
6178 sh_pfc_write(pfc, reg->pud, updown); in r8a7796_pinmux_set_bias()
6179 sh_pfc_write(pfc, reg->puen, enable); in r8a7796_pinmux_set_bias()