Lines Matching refs:bytes_recv
165 int bytes_recv, ret, i;
180 bytes_recv = __mei_cl_recv(cldev->cl, buf, sizeof(buf), 0,
182 if (bytes_recv < 0 || (size_t)bytes_recv < MKHI_FWVER_LEN(1)) {
187 dev_err(&cldev->dev, "Could not read FW version ret = %d\n", bytes_recv);
195 if ((size_t)bytes_recv < MKHI_FWVER_LEN(i + 1))
327 int bytes_recv, ret;
347 bytes_recv = __mei_cl_recv(cl, (u8 *)reply, if_version_length, 0, 0);
348 if (bytes_recv < 0 || (size_t)bytes_recv < if_version_length) {
349 dev_err(bus->dev, "Could not read IF version ret = %d\n", bytes_recv);