Searched refs:feature_buffer (Results 1 – 1 of 1) sorted by relevance
299 u8 *feature_buffer; in cypress_serial_control() local308 feature_buffer = kcalloc(feature_len, sizeof(u8), GFP_KERNEL); in cypress_serial_control()309 if (!feature_buffer) in cypress_serial_control()329 put_unaligned_le32(new_baudrate, feature_buffer); in cypress_serial_control()330 feature_buffer[4] |= data_bits - 5; /* assign data bits in 2 bit space ( max 3 ) */ in cypress_serial_control()332 feature_buffer[4] |= (stop_bits << 3); /* assign stop bits in 1 bit space */ in cypress_serial_control()333 feature_buffer[4] |= (parity_enable << 4); /* assign parity flag in 1 bit space */ in cypress_serial_control()334 feature_buffer[4] |= (parity_type << 5); /* assign parity type in 1 bit space */ in cypress_serial_control()336 feature_buffer[4] |= (reset << 7); /* assign reset at end of byte, 1 bit space */ in cypress_serial_control()340 feature_buffer[0], feature_buffer[1], in cypress_serial_control()[all …]