Lines Matching +full:gpio +full:- +full:mosi
8 * SPDX-License-Identifier: GPL-2.0
13 #include <asm/gpio.h>
18 #define MOSI GPIO_GP_3_26 macro
34 gpio_set_value(MOSI, addr & 0x80); /* MSB first */ in cpld_read()
40 gpio_set_value(MOSI, 0); /* READ */ in cpld_read()
61 gpio_set_value(MOSI, data & (1 << 31)); /* MSB first */ in cpld_write()
68 gpio_set_value(MOSI, addr & 0x80); /* MSB first */ in cpld_write()
74 gpio_set_value(MOSI, 1); /* WRITE */ in cpld_write()
81 /* LSI pin pull-up control */
89 /* PULL-UP on MISO line */ in cpld_init()
96 gpio_request(MOSI, NULL); in cpld_init()
101 gpio_direction_output(MOSI, 0); in cpld_init()