Searched refs:mei_buf (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/nfc/ |
H A D | mei_phy.c | 212 u8 *mei_buf; in mei_nfc_send() local 216 mei_buf = kzalloc(length + MEI_NFC_HEADER_SIZE, GFP_KERNEL); in mei_nfc_send() 217 if (!mei_buf) in mei_nfc_send() 220 hdr = (struct mei_nfc_hdr *)mei_buf; in mei_nfc_send() 229 memcpy(mei_buf + MEI_NFC_HEADER_SIZE, buf, length); in mei_nfc_send() 230 err = mei_cldev_send(phy->cldev, mei_buf, length + MEI_NFC_HEADER_SIZE); in mei_nfc_send() 242 kfree(mei_buf); in mei_nfc_send()
|
/kernel/linux/linux-6.6/drivers/nfc/ |
H A D | mei_phy.c | 208 u8 *mei_buf; in mei_nfc_send() local 212 mei_buf = kzalloc(length + MEI_NFC_HEADER_SIZE, GFP_KERNEL); in mei_nfc_send() 213 if (!mei_buf) in mei_nfc_send() 216 hdr = (struct mei_nfc_hdr *)mei_buf; in mei_nfc_send() 225 memcpy(mei_buf + MEI_NFC_HEADER_SIZE, buf, length); in mei_nfc_send() 226 err = mei_cldev_send(phy->cldev, mei_buf, length + MEI_NFC_HEADER_SIZE); in mei_nfc_send() 238 kfree(mei_buf); in mei_nfc_send()
|
Completed in 2 milliseconds