Lines Matching refs:plat
627 struct bf5xx_nand_platform *plat = info->platform; in bf5xx_nand_hw_init() local
632 (plat->data_width ? 16 : 8), in bf5xx_nand_hw_init()
633 plat->wr_dly, plat->rd_dly); in bf5xx_nand_hw_init()
636 (plat->data_width << NFC_NWIDTH_OFFSET) | in bf5xx_nand_hw_init()
637 (plat->rd_dly << NFC_RDDLY_OFFSET) | in bf5xx_nand_hw_init()
638 (plat->wr_dly << NFC_WRDLY_OFFSET); in bf5xx_nand_hw_init()
725 struct bf5xx_nand_platform *plat = to_nand_plat(pdev); in bf5xx_nand_probe() local
733 if (!plat) { in bf5xx_nand_probe()
755 info->platform = plat; in bf5xx_nand_probe()
760 if (plat->data_width) in bf5xx_nand_probe()
765 chip->read_buf = (plat->data_width) ? in bf5xx_nand_probe()
767 chip->write_buf = (plat->data_width) ? in bf5xx_nand_probe()