Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 8 of 8) sorted by relevance

/arch/um/drivers/
Dmconsole_user.c40 static int mconsole_reply_v0(struct mc_request *req, char *reply) in mconsole_reply_v0() argument
45 iov.iov_base = reply; in mconsole_reply_v0()
46 iov.iov_len = strlen(reply); in mconsole_reply_v0()
136 struct mconsole_reply reply; in mconsole_reply_len() local
140 reply.err = err; in mconsole_reply_len()
147 if (len == total) reply.more = more; in mconsole_reply_len()
148 else reply.more = 1; in mconsole_reply_len()
150 memcpy(reply.data, str, len); in mconsole_reply_len()
151 reply.data[len] = '\0'; in mconsole_reply_len()
154 reply.len = len + 1; in mconsole_reply_len()
[all …]
Dvirtio_uml.c349 struct vhost_user_msg reply = { in vhost_user_reply() local
352 size_t size = sizeof(reply.header) + sizeof(reply.payload.integer); in vhost_user_reply()
355 reply.header = msg->header; in vhost_user_reply()
356 reply.header.flags &= ~VHOST_USER_FLAG_NEED_REPLY; in vhost_user_reply()
357 reply.header.flags |= VHOST_USER_FLAG_REPLY; in vhost_user_reply()
358 reply.header.size = sizeof(reply.payload.integer); in vhost_user_reply()
360 rc = full_sendmsg_fds(vu_dev->req_fd, &reply, size, NULL, 0); in vhost_user_reply()
Dmconsole.h72 extern int mconsole_reply_len(struct mc_request *req, const char *reply,
/arch/m68k/mac/
Diop.c335 msg->iop_num, msg->channel, IOP_MSG_LEN, msg->reply); in iop_complete_message()
340 iop_writeb(iop_base[iop_num], offset, msg->reply[i]); in iop_complete_message()
391 msg->reply[i] = iop_readb(iop, offset); in iop_handle_send()
394 iop_num, chan, IOP_MSG_LEN, msg->reply); in iop_handle_send()
437 memset(msg->reply, 0, IOP_MSG_LEN); in iop_handle_recv()
Dmisc.c51 return req.reply[3]; in cuda_pram_read_byte()
76 return req.reply[0]; in pmu_pram_read_byte()
/arch/powerpc/platforms/powermac/
Dlow_i2c.c719 req->reply[0] = 0xff; in pmu_i2c_xfer()
731 if (req->reply[0] == PMU_I2C_STATUS_OK) in pmu_i2c_xfer()
735 if (req->reply[0] != PMU_I2C_STATUS_OK) in pmu_i2c_xfer()
750 req->reply[0] = 0xff; in pmu_i2c_xfer()
759 if (req->reply[0] == PMU_I2C_STATUS_OK && !read) in pmu_i2c_xfer()
761 if (req->reply[0] == PMU_I2C_STATUS_DATAREAD && read) { in pmu_i2c_xfer()
770 memcpy(data, &req->reply[1], len); in pmu_i2c_xfer()
Dnvram.c207 return req.reply[0]; in pmu_nvram_read_byte()
/arch/m68k/include/asm/
Dmac_iop.h146 __u8 reply[IOP_MSG_LEN]; /* the reply to the message */ member