Searched refs:expected_length (Results 1 – 4 of 4) sorted by relevance
67 u16 expected_length; member222 if (!frame->expected_length) { in pms7003_receive_buf()235 frame->expected_length = num; in pms7003_receive_buf()242 num = min(size, (size_t)(frame->expected_length - frame->length)); in pms7003_receive_buf()246 if (frame->length == frame->expected_length) { in pms7003_receive_buf()250 frame->expected_length = 0; in pms7003_receive_buf()
135 static const unsigned int expected_length[6] = { in mgag200_g200_interpret_bios() local172 if (pins_len != expected_length[version]) { in mgag200_g200_interpret_bios()174 pins_len, expected_length[version]); in mgag200_g200_interpret_bios()
360 u32 expected_length; in sierra_net_parse_lsi() local386 expected_length = SIERRA_NET_LSI_UMTS_STATUS_LEN; in sierra_net_parse_lsi()388 expected_length = SIERRA_NET_LSI_UMTS_DS_STATUS_LEN; in sierra_net_parse_lsi()395 if (be16_to_cpu(lsi->length) != expected_length) { in sierra_net_parse_lsi()397 __func__, be16_to_cpu(lsi->length), expected_length); in sierra_net_parse_lsi()
591 u32 desc_count, expected_length, revision; in program_type3_hpx_record() local600 expected_length = 3 + desc_count * 14; in program_type3_hpx_record()602 if (record->package.count != expected_length) in program_type3_hpx_record()605 for (i = 2; i < expected_length; i++) in program_type3_hpx_record()