Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/nfc/
Dmei_phy.c98 size_t if_version_length; in mei_nfc_if_version() local
114 if_version_length = sizeof(struct mei_nfc_reply) + in mei_nfc_if_version()
117 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()
121 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); in mei_nfc_if_version()
122 if (bytes_recv < 0 || bytes_recv < if_version_length) { in mei_nfc_if_version()
/linux-5.19.10/drivers/misc/mei/
Dbus-fixup.c352 size_t if_version_length; in mei_nfc_if_version() local
368 if_version_length = sizeof(*reply) + sizeof(*ver); in mei_nfc_if_version()
370 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()
375 bytes_recv = __mei_cl_recv(cl, (u8 *)reply, if_version_length, &vtag, in mei_nfc_if_version()
377 if (bytes_recv < 0 || (size_t)bytes_recv < if_version_length) { in mei_nfc_if_version()