Lines Matching full:mosi
36 struct gpio_desc *mosi; member
48 * numbers used for MISO/MOSI/SCK, and issue procedure calls for
97 gpiod_set_value_cansleep(spi_gpio->mosi, is_on); in setmosi()
105 return !!gpiod_get_value_cansleep(spi_gpio->mosi); in getmiso()
175 * speed in the generic case (when both MISO and MOSI lines are
243 gpiod_set_value_cansleep(spi_gpio->mosi, in spi_gpio_set_mosi_idle()
275 return gpiod_direction_output(spi_gpio->mosi, 1); in spi_gpio_set_direction()
278 * Only change MOSI to an input if using 3WIRE mode. in spi_gpio_set_direction()
279 * Otherwise, MOSI could be left floating if there is in spi_gpio_set_direction()
286 ret = gpiod_direction_input(spi_gpio->mosi); in spi_gpio_set_direction()
324 spi_gpio->mosi = devm_gpiod_get_optional(dev, "mosi", GPIOD_OUT_LOW); in spi_gpio_request()
325 if (IS_ERR(spi_gpio->mosi)) in spi_gpio_request()
326 return PTR_ERR(spi_gpio->mosi); in spi_gpio_request()
402 if (!spi_gpio->mosi) { in spi_gpio_probe()
403 /* HW configuration without MOSI pin in spi_gpio_probe()
406 * a MOSI pin connected the host can still do RX by in spi_gpio_probe()