Lines Matching refs:config
595 dbg ("%s - Number of Interfaces = %d", __FUNCTION__, dev->config->bNumInterfaces); in TIChooseConfiguration()
596 dbg ("%s - MAX Power = %d", __FUNCTION__, dev->config->MaxPower*2); in TIChooseConfiguration()
598 if (dev->config->bNumInterfaces != 1) { in TIChooseConfiguration()
987 interface = serial->serial->dev->config->interface->altsetting; in TIDownloadFirmware()
2187 struct ump_uart_config *config; in change_port_settings() local
2204 config = kmalloc (sizeof (*config), GFP_KERNEL); in change_port_settings()
2205 if (!config) { in change_port_settings()
2212 config->wFlags = 0; in change_port_settings()
2215 config->wFlags |= UMP_MASK_UART_FLAGS_RECEIVE_MS_INT; in change_port_settings()
2216 config->wFlags |= UMP_MASK_UART_FLAGS_AUTO_START_ON_ERR; in change_port_settings()
2217 config->bUartMode = 0; in change_port_settings()
2221 config->bDataBits = UMP_UART_CHAR5BITS; in change_port_settings()
2225 config->bDataBits = UMP_UART_CHAR6BITS; in change_port_settings()
2229 config->bDataBits = UMP_UART_CHAR7BITS; in change_port_settings()
2234 config->bDataBits = UMP_UART_CHAR8BITS; in change_port_settings()
2241 config->wFlags |= UMP_MASK_UART_FLAGS_PARITY; in change_port_settings()
2242 config->bParity = UMP_UART_ODDPARITY; in change_port_settings()
2245 config->wFlags |= UMP_MASK_UART_FLAGS_PARITY; in change_port_settings()
2246 config->bParity = UMP_UART_EVENPARITY; in change_port_settings()
2250 config->bParity = UMP_UART_NOPARITY; in change_port_settings()
2255 config->bStopBits = UMP_UART_STOPBIT2; in change_port_settings()
2258 config->bStopBits = UMP_UART_STOPBIT1; in change_port_settings()
2264 config->wFlags |= UMP_MASK_UART_FLAGS_OUT_X_CTS_FLOW; in change_port_settings()
2265 config->wFlags |= UMP_MASK_UART_FLAGS_RTS_FLOW; in change_port_settings()
2273 config->cXon = START_CHAR(tty); in change_port_settings()
2274 config->cXoff = STOP_CHAR(tty); in change_port_settings()
2278 config->wFlags |= UMP_MASK_UART_FLAGS_IN_X; in change_port_settings()
2280 __FUNCTION__, config->cXon, config->cXoff); in change_port_settings()
2287 config->wFlags |= UMP_MASK_UART_FLAGS_OUT_X; in change_port_settings()
2289 __FUNCTION__, config->cXon, config->cXoff); in change_port_settings()
2301 config->wBaudRate = (__u16)(461550L / baud); in change_port_settings()
2303 if ((round - (config->wBaudRate * 10)) >= 5) in change_port_settings()
2304 config->wBaudRate++; in change_port_settings()
2306 dbg ("%s - baud rate = %d, wBaudRate = %d", __FUNCTION__, baud, config->wBaudRate); in change_port_settings()
2308 dbg ("wBaudRate: %d", (int)(461550L / config->wBaudRate)); in change_port_settings()
2309 dbg ("wFlags: 0x%x", config->wFlags); in change_port_settings()
2310 dbg ("bDataBits: %d", config->bDataBits); in change_port_settings()
2311 dbg ("bParity: %d", config->bParity); in change_port_settings()
2312 dbg ("bStopBits: %d", config->bStopBits); in change_port_settings()
2313 dbg ("cXon: %d", config->cXon); in change_port_settings()
2314 dbg ("cXoff: %d", config->cXoff); in change_port_settings()
2315 dbg ("bUartMode: %d", config->bUartMode); in change_port_settings()
2318 cpu_to_be16s (&config->wFlags); in change_port_settings()
2319 cpu_to_be16s (&config->wBaudRate); in change_port_settings()
2325 (__u8 *)config, in change_port_settings()
2326 sizeof(*config)); in change_port_settings()
2332 kfree (config); in change_port_settings()