Lines Matching refs:plat
626 struct bf5xx_nand_platform *plat = info->platform; in bf5xx_nand_hw_init() local
631 (plat->data_width ? 16 : 8), in bf5xx_nand_hw_init()
632 plat->wr_dly, plat->rd_dly); in bf5xx_nand_hw_init()
635 (plat->data_width << NFC_NWIDTH_OFFSET) | in bf5xx_nand_hw_init()
636 (plat->rd_dly << NFC_RDDLY_OFFSET) | in bf5xx_nand_hw_init()
637 (plat->wr_dly << NFC_WRDLY_OFFSET); in bf5xx_nand_hw_init()
724 struct bf5xx_nand_platform *plat = to_nand_plat(pdev); in bf5xx_nand_probe() local
732 if (!plat) { in bf5xx_nand_probe()
754 info->platform = plat; in bf5xx_nand_probe()
759 if (plat->data_width) in bf5xx_nand_probe()
764 chip->read_buf = (plat->data_width) ? in bf5xx_nand_probe()
766 chip->write_buf = (plat->data_width) ? in bf5xx_nand_probe()