Home
last modified time | relevance | path

Searched refs:upm (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/include/asm/
Dfsl_lbc.h253 extern int fsl_upm_find(phys_addr_t addr_base, struct fsl_upm *upm);
263 static inline void fsl_upm_start_pattern(struct fsl_upm *upm, u8 pat_offset) in fsl_upm_start_pattern() argument
265 clrsetbits_be32(upm->mxmr, MxMR_MAD, MxMR_OP_RP | pat_offset); in fsl_upm_start_pattern()
274 static inline void fsl_upm_end_pattern(struct fsl_upm *upm) in fsl_upm_end_pattern() argument
276 clrbits32(upm->mxmr, MxMR_OP_RP); in fsl_upm_end_pattern()
278 while (in_be32(upm->mxmr) & MxMR_OP_RP) in fsl_upm_end_pattern()
302 extern int fsl_upm_run_pattern(struct fsl_upm *upm, void __iomem *io_base,
/arch/powerpc/sysdev/
Dfsl_lbc.c97 int fsl_upm_find(phys_addr_t addr_base, struct fsl_upm *upm) in fsl_upm_find() argument
115 upm->mxmr = &lbc->mamr; in fsl_upm_find()
118 upm->mxmr = &lbc->mbmr; in fsl_upm_find()
121 upm->mxmr = &lbc->mcmr; in fsl_upm_find()
129 upm->width = 8; in fsl_upm_find()
132 upm->width = 16; in fsl_upm_find()
135 upm->width = 32; in fsl_upm_find()
155 int fsl_upm_run_pattern(struct fsl_upm *upm, void __iomem *io_base, u32 mar) in fsl_upm_run_pattern() argument
167 switch (upm->width) { in fsl_upm_run_pattern()
/arch/powerpc/boot/dts/
Dtqm8548.dts415 upm@3,0 {
418 compatible = "tqc,tqm8548-upm-nand", "fsl,upm-nand";
420 fsl,upm-addr-offset = <0x10>;
421 fsl,upm-cmd-offset = <0x08>;
423 fsl,upm-addr-line-cs-offsets = <0x0 0x200>;
424 fsl,upm-wait-flags = <0x5>;
Dtqm8548-bigflash.dts415 upm@3,0 {
418 compatible = "tqc,tqm8548-upm-nand", "fsl,upm-nand";
420 fsl,upm-addr-offset = <0x10>;
421 fsl,upm-cmd-offset = <0x08>;
423 fsl,upm-addr-line-cs-offsets = <0x0 0x200>;
424 fsl,upm-wait-flags = <0x5>;
Dmpc836x_rdk.dts411 upm@1,0 {
412 compatible = "fsl,upm-nand";
414 fsl,upm-addr-offset = <16>;
415 fsl,upm-cmd-offset = <8>;