Searched refs:feature_buffer (Results 1 – 1 of 1) sorted by relevance
296 u8 *feature_buffer; in cypress_serial_control() local 305 feature_buffer = kcalloc(feature_len, sizeof(u8), GFP_KERNEL); in cypress_serial_control() 306 if (!feature_buffer) in cypress_serial_control() 325 /* fill the feature_buffer with new configuration */ in cypress_serial_control() 326 put_unaligned_le32(new_baudrate, feature_buffer); in cypress_serial_control() 327 feature_buffer[4] |= data_bits - 5; /* assign data bits in 2 bit space ( max 3 ) */ in cypress_serial_control() 329 feature_buffer[4] |= (stop_bits << 3); /* assign stop bits in 1 bit space */ in cypress_serial_control() 330 feature_buffer[4] |= (parity_enable << 4); /* assign parity flag in 1 bit space */ in cypress_serial_control() 331 feature_buffer[4] |= (parity_type << 5); /* assign parity type in 1 bit space */ in cypress_serial_control() 333 feature_buffer[ in cypress_serial_control() [all...]