Searched refs:expected_len (Results 1 – 6 of 6) sorted by relevance
/drivers/char/tpm/ |
D | tpm_i2c_atmel.c | 77 u32 expected_len; in i2c_atmel_recv() local 86 expected_len = be32_to_cpu(hdr->length); in i2c_atmel_recv() 87 if (expected_len > count) in i2c_atmel_recv() 90 if (priv->len >= expected_len) { in i2c_atmel_recv() 93 (int)min_t(size_t, 64, expected_len), buf, count, in i2c_atmel_recv() 94 expected_len); in i2c_atmel_recv() 95 memcpy(buf, priv->buffer, expected_len); in i2c_atmel_recv() 96 return expected_len; in i2c_atmel_recv() 99 rc = i2c_master_recv(client, buf, expected_len); in i2c_atmel_recv() 102 (int)min_t(size_t, 64, expected_len), buf, count, in i2c_atmel_recv() [all …]
|
/drivers/net/usb/ |
D | kalmia.c | 61 u8 *buffer, u8 expected_len) in kalmia_send_init_packet() argument 86 buffer, expected_len, &act_len, KALMIA_USB_TIMEOUT); in kalmia_send_init_packet() 92 else if (act_len != expected_len) in kalmia_send_init_packet()
|
/drivers/pnp/pnpacpi/ |
D | rsparser.c | 138 int expected_len) in vendor_resource_matches() argument 151 if (expected_len && expected_len != actual_len) { in vendor_resource_matches() 154 expected_len, actual_len); in vendor_resource_matches()
|
/drivers/scsi/libfc/ |
D | fc_fcp.c | 827 u32 expected_len; in fc_fcp_resp() local 841 expected_len = fsp->data_len; in fc_fcp_resp() 894 expected_len -= fsp->scsi_resid; in fc_fcp_resp() 906 fsp->xfer_len != expected_len)) { in fc_fcp_resp() 907 if (fsp->xfer_len < expected_len) { in fc_fcp_resp() 920 fsp->xfer_len, expected_len, fsp->data_len); in fc_fcp_resp()
|
/drivers/net/wireless/ |
D | rndis_wlan.c | 2973 int list_len, expected_len, i; in rndis_wlan_pmkid_cand_list_indication() local 2984 expected_len = sizeof(struct ndis_80211_pmkid_cand_list) + list_len + in rndis_wlan_pmkid_cand_list_indication() 2987 if (len < expected_len) { in rndis_wlan_pmkid_cand_list_indication() 2989 len, expected_len); in rndis_wlan_pmkid_cand_list_indication()
|
/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 3341 u32 expected_len; in ath6kl_wmi_get_pmkid_list_event_rx() local 3347 expected_len = sizeof(reply->num_pmkid) + in ath6kl_wmi_get_pmkid_list_event_rx() 3350 if (len < expected_len) in ath6kl_wmi_get_pmkid_list_event_rx()
|