Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 9 of 9) 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()
134 struct mconsole_reply reply; in mconsole_reply_len() local
138 reply.err = err; in mconsole_reply_len()
145 if (len == total) reply.more = more; in mconsole_reply_len()
146 else reply.more = 1; in mconsole_reply_len()
148 memcpy(reply.data, str, len); in mconsole_reply_len()
149 reply.data[len] = '\0'; in mconsole_reply_len()
152 reply.len = len + 1; in mconsole_reply_len()
[all …]
Dmconsole.h72 extern int mconsole_reply_len(struct mc_request *req, const char *reply,
/arch/um/os-Linux/
Daio.c103 struct aio_thread_reply reply; in aio_thread() local
117 reply = ((struct aio_thread_reply) in aio_thread()
120 reply_fd = ((struct aio_context *) reply.data)->reply_fd; in aio_thread()
121 err = write(reply_fd, &reply, sizeof(reply)); in aio_thread()
122 if (err != sizeof(reply)) in aio_thread()
172 struct aio_thread_reply reply; in not_aio_thread() local
192 reply = ((struct aio_thread_reply) { .data = req.aio, in not_aio_thread()
194 err = write(req.aio->reply_fd, &reply, sizeof(reply)); in not_aio_thread()
195 if (err != sizeof(reply)) in not_aio_thread()
268 struct aio_thread_reply reply; in submit_aio_26() local
[all …]
/arch/powerpc/platforms/powermac/
Dtime.c117 now = (req.reply[3] << 24) + (req.reply[4] << 16) in cuda_get_time()
118 + (req.reply[5] << 8) + req.reply[6]; in cuda_get_time()
160 now = (req.reply[0] << 24) + (req.reply[1] << 16) in pmu_get_time()
161 + (req.reply[2] << 8) + req.reply[3]; in pmu_get_time()
Dlow_i2c.c722 req->reply[0] = 0xff; in pmu_i2c_xfer()
734 if (req->reply[0] == PMU_I2C_STATUS_OK) in pmu_i2c_xfer()
738 if (req->reply[0] != PMU_I2C_STATUS_OK) in pmu_i2c_xfer()
753 req->reply[0] = 0xff; in pmu_i2c_xfer()
762 if (req->reply[0] == PMU_I2C_STATUS_OK && !read) in pmu_i2c_xfer()
764 if (req->reply[0] == PMU_I2C_STATUS_DATAREAD && read) { in pmu_i2c_xfer()
773 memcpy(data, &req->reply[1], len); in pmu_i2c_xfer()
Dnvram.c206 return req.reply[0]; in pmu_nvram_read_byte()
/arch/m68k/mac/
Dmisc.c47 time = (req.reply[3] << 24) | (req.reply[4] << 16) in cuda_read_time()
48 | (req.reply[5] << 8) | req.reply[6]; in cuda_read_time()
72 return req.reply[3]; in cuda_read_pram()
102 time = (req.reply[1] << 24) | (req.reply[2] << 16) in pmu_read_time()
103 | (req.reply[3] << 8) | req.reply[4]; in pmu_read_time()
127 return req.reply[3]; in pmu_read_pram()
158 time = (req.reply[3] << 24) | (req.reply[4] << 16)
159 | (req.reply[5] << 8) | req.reply[6];
178 return req.reply[3];
Diop.c359 iop_writeb(iop_base[iop_num], offset, msg->reply[i]); in iop_complete_message()
411 msg->reply[i] = iop_readb(iop, offset); in iop_handle_send()
/arch/m68k/include/asm/
Dmac_iop.h145 __u8 reply[IOP_MSG_LEN]; /* the reply to the message */ member