Home
last modified time | relevance | path

Searched refs:if_version_length (Results 1 – 2 of 2) sorted by relevance

/drivers/nfc/
Dmei_phy.c98 size_t if_version_length; in mei_nfc_if_version() local
116 if_version_length = sizeof(struct mei_nfc_reply) + in mei_nfc_if_version()
119 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()
123 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); in mei_nfc_if_version()
124 if (bytes_recv < 0 || bytes_recv < if_version_length) { in mei_nfc_if_version()
/drivers/misc/mei/
Dbus-fixup.c326 size_t if_version_length; in mei_nfc_if_version() local
340 if_version_length = sizeof(*reply) + sizeof(*ver); in mei_nfc_if_version()
342 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()
347 bytes_recv = __mei_cl_recv(cl, (u8 *)reply, if_version_length, 0, 0); in mei_nfc_if_version()
348 if (bytes_recv < 0 || (size_t)bytes_recv < if_version_length) { in mei_nfc_if_version()