Lines Matching refs:plat
85 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in ndregaddr() local
87 return drvdata->base + (reg << plat->shift); in ndregaddr()
135 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_cmd_ctrl() local
153 if (plat->flags & NDFMC_PLAT_FLAG_DUMMYWRITE) { in txx9ndfmc_cmd_ctrl()
221 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_initialize() local
225 if (plat->flags & NDFMC_PLAT_FLAG_NO_RSTR) in txx9ndfmc_initialize()
244 (plat->flags & NDFMC_PLAT_FLAG_USE_BSPRT) ? in txx9ndfmc_initialize()
281 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_probe() local
285 unsigned long gbusclk = plat->gbus_clock; in txx9ndfmc_probe()
294 hold = plat->hold ?: 20; /* tDH */ in txx9ndfmc_probe()
295 spw = plat->spw ?: 90; /* max(tREADID, tWP, tRP) */ in txx9ndfmc_probe()
299 if (plat->flags & NDFMC_PLAT_FLAG_HOLDADD) in txx9ndfmc_probe()
320 if (!(plat->ch_mask & (1 << i))) in txx9ndfmc_probe()
341 if (plat->ch_mask != 1) { in txx9ndfmc_probe()
355 if (plat->wide_mask & (1 << i)) in txx9ndfmc_probe()