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()
176 * speed in the generic case (when both MISO and MOSI lines are
269 return gpiod_direction_output(spi_gpio->mosi, 1); in spi_gpio_set_direction()
271 ret = gpiod_direction_input(spi_gpio->mosi); in spi_gpio_set_direction()
308 spi_gpio->mosi = devm_gpiod_get_optional(dev, "mosi", GPIOD_OUT_LOW); in spi_gpio_request()
309 if (IS_ERR(spi_gpio->mosi)) in spi_gpio_request()
310 return PTR_ERR(spi_gpio->mosi); in spi_gpio_request()
406 if (!spi_gpio->mosi) { in spi_gpio_probe()
407 /* HW configuration without MOSI pin in spi_gpio_probe()
410 * a MOSI pin connected the host can still do RX by in spi_gpio_probe()