Home
last modified time | relevance | path

Searched refs:lpddr (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/mtd/lpddr/
H A Dqinfo_probe.c20 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr);
24 struct lpddr_private *lpddr);
91 static int lpddr_pfow_present(struct map_info *map, struct lpddr_private *lpddr) in lpddr_pfow_present() argument
120 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr) in lpddr_chip_setup() argument
123 lpddr->qinfo = kzalloc(sizeof(struct qinfo_chip), GFP_KERNEL); in lpddr_chip_setup()
124 if (!lpddr->qinfo) in lpddr_chip_setup()
128 lpddr->ManufactId = CMDVAL(map_read(map, map->pfow_base + PFOW_MANUFACTURER_ID)); in lpddr_chip_setup()
130 lpddr->DevId = CMDVAL(map_read(map, map->pfow_base + PFOW_DEVICE_ID)); in lpddr_chip_setup()
132 lpddr->qinfo->DevSizeShift = lpddr_info_query(map, "DevSizeShift"); in lpddr_chip_setup()
133 lpddr->qinfo->TotalBlocksNum = lpddr_info_query(map, "TotalBlocksNum"); in lpddr_chip_setup()
[all …]
H A Dlpddr_cmds.c37 struct lpddr_private *lpddr = map->fldrv_priv; in lpddr_cmdset() local
64 mtd->size = 1ULL << lpddr->qinfo->DevSizeShift; in lpddr_cmdset()
65 mtd->erasesize = 1 << lpddr->qinfo->UniformBlockSizeShift; in lpddr_cmdset()
66 mtd->writesize = 1 << lpddr->qinfo->BufSizeShift; in lpddr_cmdset()
68 shared = kmalloc_array(lpddr->numchips, sizeof(struct flchip_shared), in lpddr_cmdset()
75 chip = &lpddr->chips[0]; in lpddr_cmdset()
76 numchips = lpddr->numchips / lpddr->qinfo->HWPartsNum; in lpddr_cmdset()
80 for (j = 0; j < lpddr->qinfo->HWPartsNum; j++) { in lpddr_cmdset()
81 *chip = lpddr->chips[i]; in lpddr_cmdset()
82 chip->start += j << lpddr->chipshift; in lpddr_cmdset()
[all …]
/linux/drivers/mtd/
H A DMakefile29 obj-y += chips/ lpddr/ maps/ devices/ nand/ tests/
H A DKconfig217 source "drivers/mtd/lpddr/Kconfig"
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-a64-sopine.dtsi114 regulator-name = "vdd-1v8-lpddr";
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-gru.dtsi52 pp1200_lpddr: regulator-pp1200-lpddr {