Lines Matching full:mosi
37 struct gpio_desc *mosi; member
49 * numbers used for MISO/MOSI/SCK, and issue procedure calls for
98 gpiod_set_value_cansleep(spi_gpio->mosi, is_on); in setmosi()
106 return !!gpiod_get_value_cansleep(spi_gpio->mosi); in getmiso()
164 * speed in the generic case (when both MISO and MOSI lines are
245 return gpiod_direction_output(spi_gpio->mosi, 1); in spi_gpio_set_direction()
248 * Only change MOSI to an input if using 3WIRE mode. in spi_gpio_set_direction()
249 * Otherwise, MOSI could be left floating if there is in spi_gpio_set_direction()
256 ret = gpiod_direction_input(spi_gpio->mosi); in spi_gpio_set_direction()
294 spi_gpio->mosi = devm_gpiod_get_optional(dev, "mosi", GPIOD_OUT_LOW); in spi_gpio_request()
295 if (IS_ERR(spi_gpio->mosi)) in spi_gpio_request()
296 return PTR_ERR(spi_gpio->mosi); in spi_gpio_request()
392 if (!spi_gpio->mosi) { in spi_gpio_probe()
393 /* HW configuration without MOSI pin in spi_gpio_probe()
396 * a MOSI pin connected the host can still do RX by in spi_gpio_probe()