Searched refs:primary (Results 1 - 5 of 5) sorted by relevance

/u-boot/drivers/fwu-mdata/
H A Dfwu-mdata-uclass.c23 int fwu_read_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary) argument
32 return ops->read_mdata(dev, mdata, primary);
40 int fwu_write_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary) argument
49 return ops->write_mdata(dev, mdata, primary);
H A Dgpt_blk.c37 /* if primary and secondary partitions already found */
167 bool primary)
180 primary ? g_mdata_part[0] : g_mdata_part[1]);
184 bool primary)
197 primary ? g_mdata_part[0] : g_mdata_part[1]);
166 fwu_gpt_read_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary) argument
183 fwu_gpt_write_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary) argument
H A Draw_mtd.c100 static int fwu_mtd_read_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary) argument
104 u32 offs = primary ? mtd_priv->pri_offset : mtd_priv->sec_offset;
109 static int fwu_mtd_write_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary) argument
113 u32 offs = primary ? mtd_priv->pri_offset : mtd_priv->sec_offset;
179 /* Get the offset of primary and secondary mdata */
/u-boot/include/
H A Dfwu.h34 * @primary: If primary or secondary copy of metadata is to be read
38 int (*read_mdata)(struct udevice *dev, struct fwu_mdata *mdata, bool primary);
44 * @primary: If primary or secondary copy of metadata is to be written
48 int (*write_mdata)(struct udevice *dev, struct fwu_mdata *mdata, bool primary);
83 int fwu_read_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary);
88 int fwu_write_mdata(struct udevice *dev, struct fwu_mdata *mdata, bool primary);
/u-boot/arch/arm/mach-mediatek/mt7629/
H A Dlowlevel_init.S54 beq go @ Go if core0 on primary core tile

Completed in 116 milliseconds