Searched refs:reply (Results 1 - 25 of 129) sorted by relevance

123456

/drivers/uwb/i1480/dfu/
H A Dphy.c56 struct i1480_evt_confirm *reply = i1480->evt_buf; local
64 reply->rceb.bEventType = i1480_CET_VS1;
65 reply->rceb.wEvent = i1480_CMD_MPI_WRITE;
66 result = i1480_cmd(i1480, "MPI-WRITE", sizeof(*cmd) + size, sizeof(*reply));
69 if (reply->bResultCode != UWB_RC_RES_SUCCESS) {
71 reply->bResultCode);
94 * We use the i1480->cmd_buf for the command, i1480->evt_buf for the reply.
96 * As the reply has to fit in 512 bytes (i1480->evt_buffer), the max amount
97 * of values we can read is (512 - sizeof(*reply)) / 3
104 struct i1480_evt_mpi_read *reply local
[all...]
/drivers/uwb/
H A Dreset.c119 struct uwb_rceb *reply; member in struct:uwb_rc_cmd_done_params
124 struct uwb_rceb *reply, ssize_t reply_size)
129 if (p->reply)
132 p->reply = kmalloc(reply_size, GFP_ATOMIC);
134 if (p->reply)
135 memcpy(p->reply, reply, reply_size);
153 * @reply: Pointer to where to store the reply
154 * @reply_size: @reply'
123 uwb_rc_cmd_done(struct uwb_rc *rc, void *arg, struct uwb_rceb *reply, ssize_t reply_size) argument
170 __uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, struct uwb_rceb *reply, size_t reply_size, u8 expected_type, u16 expected_event, struct uwb_rceb **preply) argument
226 uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, struct uwb_rceb *reply, size_t reply_size) argument
293 struct uwb_rc_evt_confirm reply; local
[all...]
H A Dscan.c54 * USB from the stack. The reply event is copied from an stage buffer,
63 struct uwb_rc_evt_confirm reply; local
75 reply.rceb.bEventType = UWB_RC_CET_GENERAL;
76 reply.rceb.wEvent = UWB_RC_CMD_SCAN;
78 &reply.rceb, sizeof(reply));
81 if (reply.bResultCode != UWB_RC_RES_SUCCESS) {
84 uwb_rc_strerror(reply.bResultCode), reply.bResultCode);
H A Die.c115 struct uwb_rceb *reply = NULL; local
126 &reply);
131 get_ie = container_of(reply, struct uwb_rc_evt_get_ie, rceb);
159 struct uwb_rc_evt_set_ie reply; local
161 reply.rceb.bEventType = UWB_RC_CET_GENERAL;
162 reply.rceb.wEvent = UWB_RC_CMD_SET_IE;
165 &reply.rceb, sizeof(reply));
168 else if (result != sizeof(reply)) {
169 dev_err(dev, "SET-IE: not enough data to decode reply "
[all...]
H A Daddress.c52 * @reply: Pointer to reply buffer (can be stack allocated)
61 struct uwb_rc_evt_dev_addr_mgmt *reply)
82 reply->rceb.bEventType = UWB_RC_CET_GENERAL;
83 reply->rceb.wEvent = UWB_RC_CMD_DEV_ADDR_MGMT;
86 &reply->rceb, sizeof(*reply));
89 if (result < sizeof(*reply)) {
92 "%d vs %zu bytes needed\n", result, sizeof(*reply));
94 } else if (reply
59 uwb_rc_dev_addr_mgmt(struct uwb_rc *rc, u8 bmOperationType, const u8 *baAddr, struct uwb_rc_evt_dev_addr_mgmt *reply) argument
131 struct uwb_rc_evt_dev_addr_mgmt reply; local
[all...]
/drivers/infiniband/hw/amso1100/
H A Dc2_mm.c43 * Wait for the adapter's reply on the last one.
57 struct c2wr_nsmr_pbl_rep *reply; /* reply ptr */ local
81 * Only the last PBL message will generate a reply from the verbs,
83 * handler blocked awaiting this reply.
96 * vq request struct cuz we're gonna wait for a reply.
110 * wait for the reply.
148 * Now wait for the reply...
156 * Process reply
158 reply
181 struct c2wr_nsmr_register_rep *reply; local
320 struct c2wr_stag_dealloc_rep *reply; /* WR reply */ local
[all...]
H A Dc2_cm.c110 * Send WR to adapter. NOTE: There is no synch reply from
135 struct c2wr_ep_listen_create_rep *reply; local
176 * Wait for reply from adapter
183 * Process reply
185 reply =
187 if (!reply) {
192 if ((err = c2_errno(reply)) != 0)
198 cm_id->provider_data = (void*)(unsigned long) reply->ep_handle;
203 vq_repbuf_free(c2dev, reply);
209 vq_repbuf_free(c2dev, reply);
221 struct c2wr_ep_listen_destroy_rep *reply; local
290 struct c2wr_cr_accept_rep *reply; /* VQ Reply msg ptr. */ local
394 struct c2wr_cr_reject_rep *reply; local
[all...]
H A Dc2_rnic.c127 struct c2wr_rnic_query_rep *reply; local
150 reply =
152 if (!reply)
155 err = c2_errno(reply);
160 ((u64)be32_to_cpu(reply->fw_ver_major) << 32) |
161 ((be32_to_cpu(reply->fw_ver_minor) & 0xFFFF) << 16) |
162 (be32_to_cpu(reply->fw_ver_patch) & 0xFFFF);
166 props->vendor_id = be32_to_cpu(reply->vendor_id);
167 props->vendor_part_id = be32_to_cpu(reply->part_number);
168 props->hw_ver = be32_to_cpu(reply
216 struct c2wr_rnic_setconfig_rep *reply; local
278 struct c2wr_rnic_setconfig_rep *reply; local
341 struct c2wr_rnic_open_rep *reply; local
395 struct c2wr_rnic_close_rep *reply; local
[all...]
H A Dc2_cq.c290 struct c2wr_cq_create_rep *reply; local
339 reply = (struct c2wr_cq_create_rep *) (unsigned long) (vq_req->reply_msg);
340 if (!reply) {
345 if ((err = c2_errno(reply)) != 0)
348 cq->adapter_handle = reply->cq_handle;
349 cq->mq.index = be32_to_cpu(reply->mq_index);
351 peer_pa = c2dev->pa + be32_to_cpu(reply->adapter_shared);
358 vq_repbuf_free(c2dev, reply);
375 vq_repbuf_free(c2dev, reply);
391 struct c2wr_cq_destroy_rep *reply; local
[all...]
H A Dc2_qp.c138 struct c2wr_qp_modify_rep *reply; local
217 reply = (struct c2wr_qp_modify_rep *) (unsigned long) vq_req->reply_msg;
218 if (!reply) {
223 err = c2_errno(reply);
242 vq_repbuf_free(c2dev, reply);
257 struct c2wr_qp_modify_rep *reply; local
288 reply = (struct c2wr_qp_modify_rep *) (unsigned long)
290 if (!reply) {
295 err = c2_errno(reply);
296 vq_repbuf_free(c2dev, reply);
306 struct c2wr_qp_destroy_rep *reply; local
418 struct c2wr_qp_create_rep *reply; local
[all...]
H A Dc2_vq.h41 u64 reply_msg; /* ptr to reply msg */
43 atomic_t reply_ready; /* set when reply is ready */
60 extern void vq_repbuf_free(struct c2_dev *c2dev, void *reply);
/drivers/staging/usbip/userspace/src/
H A Dusbip_attach.c113 struct op_import_reply reply; local
117 memset(&reply, 0, sizeof(reply));
136 /* recieve a reply */
143 rc = usbip_net_recv(sockfd, (void *) &reply, sizeof(reply));
149 PACK_OP_IMPORT_REPLY(0, &reply);
151 /* check the reply */
152 if (strncmp(reply.udev.busid, busid, SYSFS_BUS_ID_SIZE)) {
153 err("recv different busid %s", reply
[all...]
H A Dusbip_network.h32 uint32_t status; /* op_code status (for reply) */
81 #define PACK_OP_IMPORT_REPLY(pack, reply) do {\
82 usbip_net_pack_usb_device(pack, &(reply)->udev);\
104 #define PACK_OP_EXPORT_REPLY(pack, reply) do {\
125 #define PACK_OP_UNEXPORT_REPLY(pack, reply) do {\
166 #define PACK_OP_DEVLIST_REPLY(pack, reply) do {\
167 usbip_net_pack_uint32_t(pack, &(reply)->ndev);\
H A Dusbip_list.c52 struct op_devlist_reply reply; local
71 memset(&reply, 0, sizeof(reply));
72 rc = usbip_net_recv(sockfd, &reply, sizeof(reply));
77 PACK_OP_DEVLIST_REPLY(0, &reply);
78 dbg("exportable devices: %d\n", reply.ndev);
80 if (reply.ndev == 0) {
89 for (i = 0; i < reply.ndev; i++) {
/drivers/media/dvb/firewire/
H A Dfiredtv-ci.c79 struct ca_msg *reply = arg; local
81 return avc_ca_app_info(fdtv, reply->msg, &reply->length);
86 struct ca_msg *reply = arg; local
88 return avc_ca_info(fdtv, reply->msg, &reply->length);
93 struct ca_msg *reply = arg; local
95 return avc_ca_get_mmi(fdtv, reply->msg, &reply->length);
/drivers/block/drbd/
H A Ddrbd_nl.c481 struct drbd_nl_cfg_reply *reply)
487 reply->ret_code = ERR_MANDATORY_TAG;
491 reply->ret_code =
498 struct drbd_nl_cfg_reply *reply)
500 reply->ret_code = drbd_set_role(mdev, R_SECONDARY, 0);
923 * interesting return code is in reply->ret_code */
925 struct drbd_nl_cfg_reply *reply)
1303 reply->ret_code = retcode;
1324 reply->ret_code = retcode;
1335 struct drbd_nl_cfg_reply *reply)
480 drbd_nl_primary(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
497 drbd_nl_secondary(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
924 drbd_nl_disk_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
1334 drbd_nl_detach(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
1353 drbd_nl_net_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
1606 drbd_nl_disconnect(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
1682 drbd_nl_resize(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
1743 drbd_nl_syncer_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
1937 drbd_nl_invalidate(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
1976 drbd_nl_invalidate_peer(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2006 drbd_nl_pause_sync(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2018 drbd_nl_resume_sync(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2038 drbd_nl_suspend_io(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2046 drbd_nl_resume_io(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2066 drbd_nl_outdate(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2073 drbd_nl_get_config(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2096 drbd_nl_get_state(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2119 drbd_nl_get_uuids(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2142 drbd_nl_get_timeout_flag(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2159 drbd_nl_start_ov(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2182 drbd_nl_new_c_uuid(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, struct drbd_nl_cfg_reply *reply) argument
2288 struct drbd_nl_cfg_reply *reply; local
2420 struct drbd_nl_cfg_reply *reply = local
2453 struct drbd_nl_cfg_reply *reply = local
2484 struct drbd_nl_cfg_reply *reply; local
2564 struct drbd_nl_cfg_reply *reply = local
2631 struct drbd_nl_cfg_reply *reply = local
[all...]
/drivers/s390/crypto/
H A Dzcrypt_error.h36 * Error reply messages are of two types:
41 * Request reply messages are of three known types:
51 unsigned char reply_code; /* reply code */
91 struct ap_message *reply)
93 struct error_hdr *ehdr = reply->message;
90 convert_error(struct zcrypt_device *zdev, struct ap_message *reply) argument
H A Dzcrypt_cex2a.c241 * Copy results from a type 80 reply message back to user space.
244 * @reply: reply AP message.
251 struct ap_message *reply,
255 struct type80_hdr *t80h = reply->message;
267 data = reply->message + t80h->len - outputdatalength;
274 struct ap_message *reply,
279 switch (((unsigned char *) reply->message)[1]) {
282 return convert_error(zdev, reply);
284 return convert_type80(zdev, reply,
250 convert_type80(struct zcrypt_device *zdev, struct ap_message *reply, char __user *outputdata, unsigned int outputdatalength) argument
273 convert_response(struct zcrypt_device *zdev, struct ap_message *reply, char __user *outputdata, unsigned int outputdatalength) argument
300 zcrypt_cex2a_receive(struct ap_device *ap_dev, struct ap_message *msg, struct ap_message *reply) argument
[all...]
H A Dzcrypt_pcica.c185 * Copy results from a type 84 reply message back to user space.
188 * @reply: reply AP message.
195 struct ap_message *reply,
199 struct type84_hdr *t84h = reply->message;
208 data = reply->message + t84h->len - outputdatalength;
215 struct ap_message *reply,
220 switch (((unsigned char *) reply->message)[1]) {
223 return convert_error(zdev, reply);
225 return convert_type84(zdev, reply,
194 convert_type84(struct zcrypt_device *zdev, struct ap_message *reply, char __user *outputdata, unsigned int outputdatalength) argument
214 convert_response(struct zcrypt_device *zdev, struct ap_message *reply, char __user *outputdata, unsigned int outputdatalength) argument
241 zcrypt_pcica_receive(struct ap_device *ap_dev, struct ap_message *msg, struct ap_message *reply) argument
[all...]
H A Dzcrypt_pcixcc.c56 #define PCIXCC_MAX_ICA_RESPONSE_SIZE 0x77c /* max size type86 v2 reply */
382 * Copy results from a type 86 ICA reply message back to user space.
385 * @reply: reply AP message.
401 struct ap_message *reply,
440 struct type86x_reply *msg = reply->message;
496 * Copy results from a type 86 XCRB reply message back to user space.
499 * @reply: reply AP message.
505 struct ap_message *reply,
400 convert_type86_ica(struct zcrypt_device *zdev, struct ap_message *reply, char __user *outputdata, unsigned int outputdatalength) argument
504 convert_type86_xcrb(struct zcrypt_device *zdev, struct ap_message *reply, struct ica_xcRB *xcRB) argument
526 convert_type86_rng(struct zcrypt_device *zdev, struct ap_message *reply, char *buffer) argument
543 convert_response_ica(struct zcrypt_device *zdev, struct ap_message *reply, char __user *outputdata, unsigned int outputdatalength) argument
578 convert_response_xcrb(struct zcrypt_device *zdev, struct ap_message *reply, struct ica_xcRB *xcRB) argument
606 convert_response_rng(struct zcrypt_device *zdev, struct ap_message *reply, char *data) argument
637 zcrypt_pcixcc_receive(struct ap_device *ap_dev, struct ap_message *msg, struct ap_message *reply) argument
932 char *reply; local
982 } __attribute__((packed)) *reply; local
[all...]
/drivers/macintosh/
H A Dadb-iop.c124 /* we've gotten a valid reply to a TALK, so I'm assuming that */
130 msg->reply[0] = ADB_IOP_TIMEOUT | ADB_IOP_AUTOPOLL;
131 msg->reply[1] = 0;
132 msg->reply[2] = 0;
143 memcpy(req->reply, &amsg->cmd, req->reply_len);
148 memcpy(msg->reply, msg->message, IOP_MSG_LEN);
H A Dvia-pmu68k.c290 req->reply[0] = ADB_RET_OK;
304 req->reply[0] = CUDA_PACKET;
305 req->reply[1] = 0;
306 req->reply[2] = CUDA_GET_TIME;
317 req->reply[0] = CUDA_PACKET;
318 req->reply[1] = 0;
319 req->reply[2] = CUDA_SET_TIME;
330 req->reply[0] = CUDA_PACKET;
331 req->reply[1] = 0;
332 req->reply[
[all...]
H A Dvia-pmu.c16 * - Cleanup atomically disabling reply to PMU events after
567 pmu_version = req.reply[0];
575 if (req.reply[1] & PMU_PWR_WAKEUP_AC_INSERT)
605 req.reply[0], PMU_PWR_WAKEUP_AC_INSERT);
609 req.reply[0], PMU_PWR_WAKEUP_AC_INSERT);
644 if (req->reply[0] & 0x01)
661 if (req->reply[0] & 0x04) {
663 if (req->reply[0] & 0x02)
665 vb = (req->reply[1] << 8) | req->reply[
[all...]
/drivers/scsi/qla2xxx/
H A Dqla_bsg.c21 bsg_job->reply->result = res;
131 bsg_job->reply->result = DID_OK;
134 bsg_job->reply->result = (DID_ERROR << 16);
146 bsg_job->reply->result = DID_OK;
149 bsg_job->reply->result = (DID_ERROR << 16);
159 bsg_job->reply->result = (DID_ERROR << 16);
163 bsg_job->reply->result = DID_OK;
164 bsg_job->reply->reply_payload_rcv_len =
175 bsg_job->reply->result = (DID_ERROR << 16);
186 bsg_job->reply
[all...]
/drivers/usb/gadget/
H A Df_mass_storage.c99 * release Information used as a reply to INQUIRY
778 return -EIO; /* No default reply */
864 return -EIO; /* No default reply */
1054 return -EIO; /* No default reply */
1118 return -EIO; /* No default reply */
1819 * We can't reply at all until we know the correct data direction
1943 int reply = -EINVAL; local
1965 reply = check_command(common, 6, DATA_DIR_TO_HOST,
1968 if (reply == 0)
1969 reply
[all...]

Completed in 387 milliseconds

123456