Lines Matching +full:reg +full:- +full:names

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2009-2011 Wind River Systems, Inc.
28 #define STA2X11_MFD_SCTL_NAME "sta2x11-sctl"
29 #define STA2X11_MFD_GPIO_NAME "sta2x11-gpio"
30 #define STA2X11_MFD_SCR_NAME "sta2x11-scr"
31 #define STA2X11_MFD_TIME_NAME "sta2x11-time"
32 #define STA2X11_MFD_APBREG_NAME "sta2x11-apbreg"
33 #define STA2X11_MFD_APB_SOC_REGS_NAME "sta2x11-apb-soc-regs"
34 #define STA2X11_MFD_VIC_NAME "sta2x11-vic"
47 /* Pinconfig is set by the board definition: altfunc, pull-up, pull-down */
61 /* Give names to GPIO pins, like PXA does, taken from the manual */
196 sta2x11_apbreg_mask(struct pci_dev *pdev, u32 reg, u32 mask, u32 val) in sta2x11_apbreg_mask() argument
198 return __sta2x11_mfd_mask(pdev, reg, mask, val, sta2x11_apbreg); in sta2x11_apbreg_mask()
202 #define APBREG_BSR 0x00 /* Bridge Status Reg */
203 #define APBREG_PAER 0x08 /* Peripherals Address Error Reg */
204 #define APBREG_PWAC 0x20 /* Peripheral Write Access Control reg */
205 #define APBREG_PRAC 0x40 /* Peripheral Read Access Control reg */
206 #define APBREG_PCG 0x60 /* Peripheral Clock Gating Reg */
207 #define APBREG_PUR 0x80 /* Peripheral Under Reset Reg */
208 #define APBREG_EMU_PCG 0xA0 /* Emulator Peripheral Clock Gating Reg */
214 #define APBREG_BSR_SARAC 0x100 /* Bridge Status Reg */
215 #define APBREG_PAER_SARAC 0x108 /* Peripherals Address Error Reg */
216 #define APBREG_PWAC_SARAC 0x120 /* Peripheral Write Access Control reg */
217 #define APBREG_PRAC_SARAC 0x140 /* Peripheral Read Access Control reg */
218 #define APBREG_PCG_SARAC 0x160 /* Peripheral Clock Gating Reg */
219 #define APBREG_PUR_SARAC 0x180 /* Peripheral Under Reset Reg */
220 #define APBREG_EMU_PCG_SARAC 0x1A0 /* Emulator Peripheral Clock Gating Reg */
229 u32 sta2x11_sctl_mask(struct pci_dev *pdev, u32 reg, u32 mask, u32 val) in sta2x11_sctl_mask() argument
231 return __sta2x11_mfd_mask(pdev, reg, mask, val, sta2x11_sctl); in sta2x11_sctl_mask()
365 * APB-SOC registers
368 u32 sta2x11_apb_soc_regs_mask(struct pci_dev *pdev, u32 reg, u32 mask, u32 val) in sta2x11_apb_soc_regs_mask() argument
370 return __sta2x11_mfd_mask(pdev, reg, mask, val, sta2x11_apb_soc_regs); in sta2x11_apb_soc_regs_mask()