Home
last modified time | relevance | path

Searched refs:iim (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/drivers/nvmem/
H A Dimx-iim.c35 struct iim_priv *iim = context; in imx_iim_read() local
39 ret = clk_prepare_enable(iim->clk); in imx_iim_read()
50 clk_disable_unprepare(iim->clk); in imx_iim_read()
99 struct iim_priv *iim; in imx_iim_probe() local
104 iim = devm_kzalloc(dev, sizeof(*iim), GFP_KERNEL); in imx_iim_probe()
105 if (!iim) in imx_iim_probe()
109 if (IS_ERR(iim->base)) in imx_iim_probe()
110 return PTR_ERR(iim->base); in imx_iim_probe()
115 if (IS_ERR(iim->clk)) in imx_iim_probe()
116 return PTR_ERR(iim->clk); in imx_iim_probe()
[all …]
H A DMakefile17 obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o
18 nvmem-imx-iim-y := imx-iim.o
H A DKconfig72 will be called nvmem-imx-iim.
/openbmc/linux/Documentation/devicetree/bindings/nvmem/
H A Dimx-iim.yaml4 $id: http://devicetree.org/schemas/nvmem/imx-iim.yaml#
22 - fsl,imx25-iim
23 - fsl,imx27-iim
24 - fsl,imx31-iim
25 - fsl,imx35-iim
26 - fsl,imx51-iim
27 - fsl,imx53-iim
50 iim: efuse@63f98000 {
51 compatible = "fsl,imx53-iim";
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx25/
H A Dgeneric.c158 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_cpu_rev() local
159 srev = readl(&iim->iim_srev); in get_cpu_rev()
261 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in imx_get_mac_from_fuse() local
262 struct fuse_bank *bank = &iim->bank[0]; in imx_get_mac_from_fuse()
/openbmc/u-boot/arch/arm/mach-imx/mx5/
H A Dsoc.c77 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in imx_get_mac_from_fuse() local
78 struct fuse_bank *bank = &iim->bank[1]; in imx_get_mac_from_fuse()
/openbmc/u-boot/board/armadeus/apf27/
H A Dapf27.c35 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
37 return readl(&iim->bank[1].fuse_regs[8]); in get_board_rev()
49 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_num_ram_bank() local
53 nr_dram_banks += readl(&iim->bank[1].fuse_regs[9]) & 0x01; in get_num_ram_bank()
/openbmc/u-boot/arch/arm/cpu/arm1136/mx31/
H A Dgeneric.c172 struct iim_regs *iim = (struct iim_regs *)MX31_IIM_BASE_ADDR; in get_cpu_rev() local
173 srev = readl(&iim->iim_srev); in get_cpu_rev()
/openbmc/u-boot/board/beckhoff/mx53cx9020/
H A Dmx53cx9020.c63 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
64 struct fuse_bank *bank = &iim->bank[0]; in get_board_rev()
/openbmc/u-boot/board/freescale/mx53loco/
H A Dmx53loco.c35 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
36 struct fuse_bank *bank = &iim->bank[0]; in get_board_rev()
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx31.dtsi220 iim: efuse@5001c000 { label
221 compatible = "fsl,imx31-iim", "fsl,imx27-iim";
H A Dimx51.dtsi478 iim: efuse@83f98000 { label
479 compatible = "fsl,imx51-iim", "fsl,imx27-iim", "syscon";
H A Dimx53.dtsi670 iim: efuse@63f98000 { label
671 compatible = "fsl,imx53-iim", "fsl,imx27-iim", "syscon";
H A Dimx27.dtsi543 iim: efuse@10028000 { label
544 compatible = "fsl,imx27-iim";
H A Dimx25.dtsi545 iim: efuse@53ff0000 { label
546 compatible = "fsl,imx25-iim";
H A Dimx35.dtsi323 compatible = "fsl,imx35-iim";
/openbmc/linux/arch/ia64/include/asm/
H A Dmca.h100 unsigned long iim; member
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dgeneric.c332 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in imx_get_mac_from_fuse() local
333 struct fuse_bank *bank = &iim->bank[0]; in imx_get_mac_from_fuse()
/openbmc/linux/arch/ia64/include/asm/native/
H A Dinst.h27 mov reg = cr.iim
/openbmc/u-boot/arch/arm/cpu/arm1136/mx35/
H A Dgeneric.c55 struct iim_regs *iim = in get_cpu_rev() local
57 reg = readl(&iim->iim_srev); in get_cpu_rev()
/openbmc/linux/arch/ia64/kernel/
H A Dtraps.c417 unsigned long iim, unsigned long itir, long arg5, long arg6, in ia64_fault() argument
598 iip, ifa, isr, iim); in ia64_fault()
H A Dmca_asm.S499 mov r12=cr.iim
847 mov cr.iim=temp3
/openbmc/u-boot/board/inversepath/usbarmory/
H A Dusbarmory.c27 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
28 struct fuse_bank *bank = &iim->bank[0]; in get_board_rev()