Lines Matching refs:data_gpiods
42 struct gpio_descs *data_gpiods; member
59 struct gpio_descs *data_gpiods = priv->data_gpiods; in gpio_nand_io_write() local
62 gpiod_set_raw_array_value(data_gpiods->ndescs, data_gpiods->desc, in gpio_nand_io_write()
63 data_gpiods->info, values); in gpio_nand_io_write()
70 struct gpio_descs *data_gpiods = priv->data_gpiods; in gpio_nand_dir_output() local
74 for (i = 0; i < data_gpiods->ndescs; i++) in gpio_nand_dir_output()
75 gpiod_direction_output_raw(data_gpiods->desc[i], in gpio_nand_dir_output()
86 struct gpio_descs *data_gpiods = priv->data_gpiods; in gpio_nand_io_read() local
92 gpiod_get_raw_array_value(data_gpiods->ndescs, data_gpiods->desc, in gpio_nand_io_read()
93 data_gpiods->info, values); in gpio_nand_io_read()
103 struct gpio_descs *data_gpiods = priv->data_gpiods; in gpio_nand_dir_input() local
106 for (i = 0; i < data_gpiods->ndescs; i++) in gpio_nand_dir_input()
107 gpiod_direction_input(data_gpiods->desc[i]); in gpio_nand_dir_input()
127 if (priv->data_gpiods && !priv->data_in) in gpio_nand_read_buf()
323 priv->data_gpiods = devm_gpiod_get_array_optional(&pdev->dev, "data", in gpio_nand_probe()
325 if (IS_ERR(priv->data_gpiods)) { in gpio_nand_probe()
326 err = PTR_ERR(priv->data_gpiods); in gpio_nand_probe()
330 if (priv->data_gpiods) { in gpio_nand_probe()