Home
last modified time | relevance | path

Searched full:mfp (Results 1 – 25 of 126) sorted by relevance

123456

/Linux-v6.1/Documentation/arm/pxa/
Dmfp.rst2 MFP Configuration for PXA2xx/PXA3xx Processors
7 MFP stands for Multi-Function Pin, which is the pin-mux logic on PXA3xx and
8 later PXA series processors. This document describes the existing MFP API,
14 Unlike the GPIO alternate function settings on PXA25x and PXA27x, a new MFP
16 out of the GPIO controller. In addition to pin-mux configurations, the MFP
19 the MFP logic and the remaining SoC peripherals::
28 | PWM2 |--(PWM_OUT)-------->| MFP |
48 to this new MFP mechanism, here are several key points:
54 see arch/arm/mach-pxa/mfp-pxa300.h)
63 3. Low power state for each pin is now controlled by MFP, this means the
[all …]
/Linux-v6.1/drivers/message/fusion/
Dmptdebug.h150 DBG_DUMP_FW_DOWNLOAD(MPT_ADAPTER *ioc, u32 *mfp, int numfrags) in DBG_DUMP_FW_DOWNLOAD() argument
158 printk(" %08x", le32_to_cpu(mfp[i])); in DBG_DUMP_FW_DOWNLOAD()
163 DBG_DUMP_PUT_MSG_FRAME(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_PUT_MSG_FRAME() argument
170 ioc->name, mfp); in DBG_DUMP_PUT_MSG_FRAME()
172 while (mfp[n] == 0) in DBG_DUMP_PUT_MSG_FRAME()
177 printk(" %08x", le32_to_cpu(mfp[ii])); in DBG_DUMP_PUT_MSG_FRAME()
183 DBG_DUMP_FW_REQUEST_FRAME(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_FW_REQUEST_FRAME() argument
192 printk(" %08x", le32_to_cpu(mfp[i])); in DBG_DUMP_FW_REQUEST_FRAME()
197 DBG_DUMP_REQUEST_FRAME(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_REQUEST_FRAME() argument
207 printk("%08x ", le32_to_cpu(mfp[i])); in DBG_DUMP_REQUEST_FRAME()
[all …]
/Linux-v6.1/arch/arm/mach-pxa/
Dpxa3xx-regs.h86 #define ADXER_MFP_WFLASH (1 << 15) /* MFP: Data flash busy */
87 #define ADXER_MFP_GEN12 (1 << 14) /* MFP: MMC3/GPIO/OST inputs */
88 #define ADXER_MFP_WMMC2 (1 << 13) /* MFP: MMC2 */
89 #define ADXER_MFP_WMMC1 (1 << 12) /* MFP: MMC1 */
90 #define ADXER_MFP_WI2C (1 << 11) /* MFP: I2C */
91 #define ADXER_MFP_WSSP4 (1 << 10) /* MFP: SSP4 */
92 #define ADXER_MFP_WSSP3 (1 << 9) /* MFP: SSP3 */
93 #define ADXER_MFP_WMAXTRIX (1 << 8) /* MFP: matrix keypad */
94 #define ADXER_MFP_WUART3 (1 << 7) /* MFP: UART3 */
95 #define ADXER_MFP_WUART2 (1 << 6) /* MFP: UART2 */
[all …]
Dmfp-pxa3xx.h5 #include <linux/soc/pxa/mfp.h>
9 /* PXA3xx common MFP configurations - processor specific ones defined
10 * in mfp-pxa300.h and mfp-pxa320.h
145 static inline unsigned long pxa3xx_mfp_read(int mfp) in pxa3xx_mfp_read() argument
147 return mfp_read(mfp); in pxa3xx_mfp_read()
150 static inline void pxa3xx_mfp_write(int mfp, unsigned long val) in pxa3xx_mfp_write() argument
152 mfp_write(mfp, val); in pxa3xx_mfp_write()
Dmfp-pxa3xx.c3 * linux/arch/arm/mach-pxa/mfp.c
19 #include "mfp-pxa3xx.h"
26 * entering - for instance, we might not want to place MFP pins in
40 /* clear RDH bit when MFP settings are restored in pxa3xx_mfp_resume()
Dmfp-pxa2xx.c3 * linux/arch/arm/mach-pxa/mfp-pxa2xx.c
8 * functions, this is by concept samilar to the MFP configuration
22 #include "mfp-pxa2xx.h"
120 static inline int __mfp_validate(int mfp) in __mfp_validate() argument
122 int gpio = mfp_to_gpio(mfp); in __mfp_validate()
124 if ((mfp > MFP_PIN_GPIO127) || !gpio_desc[gpio].valid) { in __mfp_validate()
153 void pxa2xx_mfp_set_lpm(int mfp, unsigned long lpm) in pxa2xx_mfp_set_lpm() argument
158 gpio = __mfp_validate(mfp); in pxa2xx_mfp_set_lpm()
Dmfp.h3 * arch/arm/mach-pxa/include/mach/mfp.h
16 #include <linux/soc/pxa/mfp.h>
DMakefile13 obj-$(CONFIG_PXA25x) += mfp-pxa2xx.o pxa2xx.o pxa25x.o
14 obj-$(CONFIG_PXA27x) += mfp-pxa2xx.o pxa2xx.o pxa27x.o
15 obj-$(CONFIG_PXA3xx) += mfp-pxa3xx.o pxa3xx.o smemc.o pxa3xx-ulpi.o
Dzylonite_pxa320.c166 /* save the original MFP settings of these pins and configure them in zylonite_detect_lcd_panel()
191 /* restore the original MFP settings */ in zylonite_detect_lcd_panel()
199 /* initialize MFP */ in zylonite_pxa320_init()
Dmfp-pxa2xx.h5 #include <linux/soc/pxa/mfp.h>
8 * the following MFP_xxx bit definitions in mfp.h are re-used for pxa2xx:
141 extern void pxa2xx_mfp_set_lpm(int mfp, unsigned long lpm);
Dzylonite_pxa300.c188 /* save the original MFP settings of these pins and configure in zylonite_detect_lcd_panel()
213 /* restore the original MFP settings */ in zylonite_detect_lcd_panel()
256 /* initialize MFP */ in zylonite_pxa300_init()
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-lantiq.c212 static int match_mux(const struct ltq_mfp_pin *mfp, unsigned mux) in match_mux() argument
216 if (mfp->func[i] == mux) in match_mux()
224 /* don't assume .mfp is linearly mapped. find the mfp with the correct .pin */
229 if (info->mfp[i].pin == pin) in match_mfp()
244 dev_err(info->dev, "could not find mfp for pin %d\n", in match_group_mux()
248 ret = match_mux(&info->mfp[pin], mux); in match_group_mux()
275 dev_err(info->dev, "could not find mfp for pin %d\n", in ltq_pmx_set()
279 pin_func = match_mux(&info->mfp[pin], pin_grp->mux); in ltq_pmx_set()
296 int mfp = match_mfp(info, pin); in ltq_pmx_gpio_request_enable() local
299 if (mfp < 0) { in ltq_pmx_gpio_request_enable()
[all …]
Dpinctrl-falcon.c378 int mfp, int mux) in falcon_mux_apply() argument
381 int port = PORT(info->mfp[mfp].pin); in falcon_mux_apply()
387 LTQ_PADC_MUX(PORT_PIN(info->mfp[mfp].pin))); in falcon_mux_apply()
481 falcon_info.mfp = falcon_mfp; in pinctrl_falcon_probe()
/Linux-v6.1/drivers/soc/pxa/
Dmfp.c3 * linux/arch/arm/plat-pxa/mfp.c
18 #include <linux/soc/pxa/mfp.h>
66 * The pullup and pulldown state of the MFP pin at run mode is by default
84 /* mfp_spin_lock is used to ensure that MFP register configuration
204 unsigned long mfp_read(int mfp) in mfp_read() argument
208 BUG_ON(mfp < 0 || mfp >= MFP_PIN_MAX); in mfp_read()
211 val = mfpr_readl(mfp_table[mfp].mfpr_off); in mfp_read()
217 void mfp_write(int mfp, unsigned long val) in mfp_write() argument
221 BUG_ON(mfp < 0 || mfp >= MFP_PIN_MAX); in mfp_write()
224 mfpr_writel(mfp_table[mfp].mfpr_off, val); in mfp_write()
[all …]
DMakefile3 obj-$(CONFIG_PXA3xx) += mfp.o
4 obj-$(CONFIG_ARCH_MMP) += mfp.o
/Linux-v6.1/arch/m68k/atari/
Dataints.c18 * interrupt sources if there were no TT MFP!
61 * <asm/atariints.h>): Autovector interrupts are 1..7, then follow ST-MFP,
62 * TT-MFP, SCC, and finally VME interrupts. Vector numbers for the latter can
127 * ST-MFP timer D chained interrupts - each driver gets its own timer
132 volatile struct MFP *mfp; member
138 .mfp = &st_mfp,
142 .name = "MFP Timer D"
273 /* Initialize the MFP(s) */ in atari_init_IRQ()
280 st_mfp.int_en_a = 0x00; /* turn off MFP-Ints */ in atari_init_IRQ()
291 tt_mfp.int_en_a = 0x00; /* turn off MFP-Ints */ in atari_init_IRQ()
[all …]
/Linux-v6.1/include/linux/soc/pxa/
Dmfp.h16 /* list of all the configurable MFP pins */
325 * a possible MFP configuration is represented by a 32-bit integer
327 * bit 0.. 9 - MFP Pin Number (1024 Pins Maximum)
336 * MFP_CFG_DEFAULT - default MFP configuration value, with
423 * each MFP pin will have a MFPR register, since the offset of the
428 * initialize the MFP table to a default state
431 * represents a range of MFP pins from "start" to "end", with the offset
463 unsigned long mfp_read(int mfp);
464 void mfp_write(int mfp, unsigned long mfpr_val);
/Linux-v6.1/drivers/scsi/mpt3sas/
Dmpt3sas_debug.h157 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_mf() local
163 pr_info("%08x ", le32_to_cpu(mfp[i])); in _debug_dump_mf()
176 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_reply() local
182 pr_info("%08x ", le32_to_cpu(mfp[i])); in _debug_dump_reply()
195 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_config() local
201 pr_info("%08x ", le32_to_cpu(mfp[i])); in _debug_dump_config()
/Linux-v6.1/arch/arm/mach-mmp/
Dmfp.h5 #include <linux/soc/pxa/mfp.h>
12 * To cope with this difference and re-use the pxa3xx mfp code as much as
18 * MFP_DRIVE_* macros are individually defined in mfp-pxa{168,910}.h
Davengers_lite.c18 #include "mfp-pxa168.h"
26 /* Avengers lite MFP configurations */
/Linux-v6.1/arch/m68k/include/asm/
Datariints.h43 /* ST-MFP interrupts */
64 /* TT-MFP interrupts */
92 /* shared MFP timer D interrupts - hires timer for EtherNEC et al. */
112 * the MFP. 'type' should be constant, if 'irq' is constant, too, code size is
154 * enabling. This is done with the MFP mask registers.
Datarihw.h93 ATARIHW_DECLARE(ST_MFP); /* The ST-MFP (there should be no Atari
95 ATARIHW_DECLARE(TT_MFP); /* 2nd MFP */
119 /* Reading the MFP port register gives a machine independent delay, since the
120 * MFP always has a 8 MHz clock. This avoids problems with the varying length
514 ** MFP 68901
518 struct MFP struct
568 # define st_mfp ((*(volatile struct MFP*)MFP_BAS)) argument
570 /* TT's second MFP */
573 # define tt_mfp ((*(volatile struct MFP*)TT_MFP_BAS))
/Linux-v6.1/drivers/scsi/mpi3mr/
Dmpi3mr_debug.h164 __le32 *mfp = (__le32 *)req; in dprint_dump() local
174 pr_info("%08x ", le32_to_cpu(mfp[i])); in dprint_dump()
188 __le32 *mfp = (__le32 *)req; in dprint_dump_req() local
194 pr_info("%08x ", le32_to_cpu(mfp[i])); in dprint_dump_req()
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
Dmrvl,intc.yaml91 mrvl,clr-mfp-irq:
93 Specifies the interrupt that needs to clear MFP edge detection first.
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfeature.h22 * MFP: 802.11w Management Frame Protection.
45 BRCMF_FEAT_DEF(MFP) \

123456