Home
last modified time | relevance | path

Searched refs:gpiomtd (Results 1 – 1 of 1) sorted by relevance

/drivers/mtd/nand/raw/
Dgpio.c30 struct gpiomtd { struct
43 static inline struct gpiomtd *gpio_nand_getpriv(struct mtd_info *mtd) in gpio_nand_getpriv() argument
45 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() argument
61 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() argument
78 struct gpiomtd *gpiomtd = gpio_nand_getpriv(nand_to_mtd(chip)); in gpio_nand_exec_instr() local
83 gpio_nand_dosync(gpiomtd); in gpio_nand_exec_instr()
84 gpiod_set_value(gpiomtd->cle, 1); in gpio_nand_exec_instr()
[all …]