Home
last modified time | relevance | path

Searched refs:expected_length (Results 1 – 4 of 4) sorted by relevance

/drivers/iio/chemical/
Dpms7003.c67 u16 expected_length; member
222 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()
/drivers/gpu/drm/mgag200/
Dmgag200_drv.c135 static const unsigned int expected_length[6] = { in mgag200_g200_interpret_bios() local
172 if (pins_len != expected_length[version]) { in mgag200_g200_interpret_bios()
174 pins_len, expected_length[version]); in mgag200_g200_interpret_bios()
/drivers/net/usb/
Dsierra_net.c360 u32 expected_length; in sierra_net_parse_lsi() local
386 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()
/drivers/pci/
Dpci-acpi.c591 u32 desc_count, expected_length, revision; in program_type3_hpx_record() local
600 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()