Lines Matching refs:value

85 				   this value */
99 u8 gpio_value; /* pin value for outputs */
149 * the bcdDevice value is used to differentiate FT232BM and FT245BM from
1211 unsigned value;
1220 value = 0;
1222 value |= FTDI_SIO_SET_DTR_LOW;
1224 value |= FTDI_SIO_SET_RTS_LOW;
1226 value |= FTDI_SIO_SET_DTR_HIGH;
1228 value |= FTDI_SIO_SET_RTS_HIGH;
1233 value, priv->channel,
1359 u16 value;
1365 value = (u16)index_value;
1374 value, index,
1598 * type and the USB host capabilities. The value should be obtained from the
1617 * value of 64 for wMaxPacketSize.
1650 /* Write a new value of the latency timer, in units of milliseconds. */
1672 value is in the low 8 bits, with the enable bit in the 9th bit. */
1759 "bitmode request failed for value 0x%04x: %d\n",
1842 static void ftdi_gpio_set(struct gpio_chip *gc, unsigned int gpio, int value)
1849 if (value)
1914 int value)
1923 if (value)
2254 * If this value is not set in /etc/modprobe.d/ its value will be set
2275 dev_info(&udev->dev, "NDI device with a latency value of %d\n", latency);
2559 u16 value;
2567 value = priv->last_set_data_value | FTDI_SIO_SET_BREAK;
2569 value = priv->last_set_data_value;
2575 value, priv->channel,
2584 break_state, value);
2616 u16 value, index;
2678 value = 0;
2679 value |= (cflag & CSTOPB ? FTDI_SIO_SET_DATA_STOP_BITS_2 :
2683 value |= cflag & PARODD ?
2687 value |= cflag & PARODD ?
2691 value |= FTDI_SIO_SET_DATA_PARITY_NONE;
2698 value |= 7;
2703 value |= 8;
2709 - but is or'ed with this value */
2710 priv->last_set_data_value = value;
2715 value, priv->channel,
2748 value = 0;
2756 value = STOP_CHAR(tty) << 8 | START_CHAR(tty);
2767 value, index, NULL, 0, WDR_TIMEOUT);
2790 * The device returns a two byte value (the SIO a 1 byte value) in the