Searched refs:gpiomtd (Results 1 – 1 of 1) sorted by relevance
30 struct gpiomtd { struct43 static inline struct gpiomtd *gpio_nand_getpriv(struct mtd_info *mtd) in gpio_nand_getpriv() argument45 return container_of(mtd_to_nand(mtd), struct gpiomtd, nand_chip); in gpio_nand_getpriv()57 static void gpio_nand_dosync(struct gpiomtd *gpiomtd) in gpio_nand_dosync() argument61 if (gpiomtd->io_sync) { in gpio_nand_dosync()67 tmp = readl(gpiomtd->io_sync); in gpio_nand_dosync()72 static inline void gpio_nand_dosync(struct gpiomtd *gpiomtd) {} in gpio_nand_dosync() argument78 struct gpiomtd *gpiomtd = gpio_nand_getpriv(nand_to_mtd(chip)); in gpio_nand_exec_instr() local83 gpio_nand_dosync(gpiomtd); in gpio_nand_exec_instr()84 gpiod_set_value(gpiomtd->cle, 1); in gpio_nand_exec_instr()[all …]