Lines Matching refs:this
46 u8 (*io_read)(struct gpio_nand *this);
47 void (*io_write)(struct gpio_nand *this, u8 byte);
139 static int gpio_nand_exec_op(struct nand_chip *this, in gpio_nand_exec_op() argument
142 struct gpio_nand *priv = nand_get_controller_data(this); in gpio_nand_exec_op()
178 nand_gpio_waitrdy(this, priv->gpiod_rdy, in gpio_nand_exec_op()
180 nand_soft_waitrdy(this, in gpio_nand_exec_op()
194 static int gpio_nand_setup_interface(struct nand_chip *this, int csline, in gpio_nand_setup_interface() argument
197 struct gpio_nand *priv = nand_get_controller_data(this); in gpio_nand_setup_interface()
199 struct device *dev = &nand_to_mtd(this)->dev; in gpio_nand_setup_interface()
242 struct nand_chip *this; in gpio_nand_probe() local
258 this = &priv->nand_chip; in gpio_nand_probe()
260 mtd = nand_to_mtd(this); in gpio_nand_probe()
263 nand_set_controller_data(this, priv); in gpio_nand_probe()
264 nand_set_flash_node(this, pdev->dev.of_node); in gpio_nand_probe()
359 this->controller = &priv->base; in gpio_nand_probe()
377 this->ecc.engine_type = NAND_ECC_ENGINE_TYPE_SOFT; in gpio_nand_probe()
380 err = nand_scan(this, 1); in gpio_nand_probe()
392 nand_cleanup(this); in gpio_nand_probe()