Home
last modified time | relevance | path

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

12

/linux-4.1.27/drivers/uwb/i1480/dfu/
Dphy.c56 struct i1480_evt_confirm *reply = i1480->evt_buf; in i1480_mpi_write() local
64 reply->rceb.bEventType = i1480_CET_VS1; in i1480_mpi_write()
65 reply->rceb.wEvent = i1480_CMD_MPI_WRITE; in i1480_mpi_write()
66 result = i1480_cmd(i1480, "MPI-WRITE", sizeof(*cmd) + size, sizeof(*reply)); in i1480_mpi_write()
69 if (reply->bResultCode != UWB_RC_RES_SUCCESS) { in i1480_mpi_write()
71 reply->bResultCode); in i1480_mpi_write()
104 struct i1480_evt_mpi_read *reply = i1480->evt_buf; in i1480_mpi_read() local
110 BUG_ON(size > (i1480->buf_size - sizeof(*reply)) / 3); in i1480_mpi_read()
119 reply->rceb.bEventType = i1480_CET_VS1; in i1480_mpi_read()
120 reply->rceb.wEvent = i1480_CMD_MPI_READ; in i1480_mpi_read()
[all …]
Ddfu.c96 struct uwb_rceb *reply = i1480->evt_buf; in i1480_cmd() local
98 u16 expected_event = reply->wEvent; in i1480_cmd()
99 u8 expected_type = reply->bEventType; in i1480_cmd()
Dmac.c395 } __attribute__((packed)) *reply = (void *) i1480->evt_buf; in i1480_cmd_reset() local
400 reply->rceb.bEventType = UWB_RC_CET_GENERAL; in i1480_cmd_reset()
401 reply->rceb.wEvent = UWB_RC_CMD_RESET; in i1480_cmd_reset()
402 result = i1480_cmd(i1480, "RESET", sizeof(*cmd), sizeof(*reply)); in i1480_cmd_reset()
405 if (reply->bResultCode != UWB_RC_RES_SUCCESS) { in i1480_cmd_reset()
407 reply->bResultCode); in i1480_cmd_reset()
/linux-4.1.27/drivers/uwb/
Dreset.c120 struct uwb_rceb *reply; member
125 struct uwb_rceb *reply, ssize_t reply_size) in uwb_rc_cmd_done() argument
130 if (p->reply) in uwb_rc_cmd_done()
133 p->reply = kmalloc(reply_size, GFP_ATOMIC); in uwb_rc_cmd_done()
135 if (p->reply) in uwb_rc_cmd_done()
136 memcpy(p->reply, reply, reply_size); in uwb_rc_cmd_done()
173 struct uwb_rceb *reply, size_t reply_size, in __uwb_rc_cmd() argument
182 params.reply = reply; in __uwb_rc_cmd()
194 *preply = params.reply; in __uwb_rc_cmd()
229 struct uwb_rceb *reply, size_t reply_size) in uwb_rc_cmd() argument
[all …]
Dscan.c63 struct uwb_rc_evt_confirm reply; in uwb_rc_scan() local
75 reply.rceb.bEventType = UWB_RC_CET_GENERAL; in uwb_rc_scan()
76 reply.rceb.wEvent = UWB_RC_CMD_SCAN; in uwb_rc_scan()
78 &reply.rceb, sizeof(reply)); in uwb_rc_scan()
81 if (reply.bResultCode != UWB_RC_RES_SUCCESS) { in uwb_rc_scan()
84 uwb_rc_strerror(reply.bResultCode), reply.bResultCode); in uwb_rc_scan()
Die.c115 struct uwb_rceb *reply = NULL; in uwb_rc_get_ie() local
126 &reply); in uwb_rc_get_ie()
131 get_ie = container_of(reply, struct uwb_rc_evt_get_ie, rceb); in uwb_rc_get_ie()
159 struct uwb_rc_evt_set_ie reply; in uwb_rc_set_ie() local
161 reply.rceb.bEventType = UWB_RC_CET_GENERAL; in uwb_rc_set_ie()
162 reply.rceb.wEvent = UWB_RC_CMD_SET_IE; in uwb_rc_set_ie()
165 &reply.rceb, sizeof(reply)); in uwb_rc_set_ie()
168 else if (result != sizeof(reply)) { in uwb_rc_set_ie()
171 result, sizeof(reply)); in uwb_rc_set_ie()
173 } else if (reply.bResultCode != UWB_RC_RES_SUCCESS) { in uwb_rc_set_ie()
[all …]
Daddress.c61 struct uwb_rc_evt_dev_addr_mgmt *reply) in uwb_rc_dev_addr_mgmt() argument
82 reply->rceb.bEventType = UWB_RC_CET_GENERAL; in uwb_rc_dev_addr_mgmt()
83 reply->rceb.wEvent = UWB_RC_CMD_DEV_ADDR_MGMT; in uwb_rc_dev_addr_mgmt()
86 &reply->rceb, sizeof(*reply)); in uwb_rc_dev_addr_mgmt()
89 if (result < sizeof(*reply)) { in uwb_rc_dev_addr_mgmt()
92 "%d vs %zu bytes needed\n", result, sizeof(*reply)); in uwb_rc_dev_addr_mgmt()
94 } else if (reply->bResultCode != UWB_RC_RES_SUCCESS) { in uwb_rc_dev_addr_mgmt()
97 uwb_rc_strerror(reply->bResultCode), in uwb_rc_dev_addr_mgmt()
98 reply->bResultCode); in uwb_rc_dev_addr_mgmt()
131 struct uwb_rc_evt_dev_addr_mgmt reply; in uwb_rc_addr_set() local
[all …]
Dbeacon.c47 struct uwb_rc_evt_confirm reply; in uwb_rc_start_beacon() local
56 reply.rceb.bEventType = UWB_RC_CET_GENERAL; in uwb_rc_start_beacon()
57 reply.rceb.wEvent = UWB_RC_CMD_START_BEACON; in uwb_rc_start_beacon()
59 &reply.rceb, sizeof(reply)); in uwb_rc_start_beacon()
62 if (reply.bResultCode != UWB_RC_RES_SUCCESS) { in uwb_rc_start_beacon()
65 uwb_rc_strerror(reply.bResultCode), reply.bResultCode); in uwb_rc_start_beacon()
77 struct uwb_rc_evt_confirm reply; in uwb_rc_stop_beacon() local
84 reply.rceb.bEventType = UWB_RC_CET_GENERAL; in uwb_rc_stop_beacon()
85 reply.rceb.wEvent = UWB_RC_CMD_STOP_BEACON; in uwb_rc_stop_beacon()
87 &reply.rceb, sizeof(reply)); in uwb_rc_stop_beacon()
[all …]
Ddrp.c59 struct uwb_rceb *reply, ssize_t reply_size) in uwb_rc_set_drp_cmd_done() argument
61 struct uwb_rc_evt_set_drp_ie *r = (struct uwb_rc_evt_set_drp_ie *)reply; in uwb_rc_set_drp_cmd_done()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_rnic.c127 struct c2wr_rnic_query_rep *reply; in c2_rnic_query() local
150 reply = in c2_rnic_query()
152 if (!reply) in c2_rnic_query()
155 err = c2_errno(reply); in c2_rnic_query()
160 ((u64)be32_to_cpu(reply->fw_ver_major) << 32) | in c2_rnic_query()
161 ((be32_to_cpu(reply->fw_ver_minor) & 0xFFFF) << 16) | in c2_rnic_query()
162 (be32_to_cpu(reply->fw_ver_patch) & 0xFFFF); in c2_rnic_query()
166 props->vendor_id = be32_to_cpu(reply->vendor_id); in c2_rnic_query()
167 props->vendor_part_id = be32_to_cpu(reply->part_number); in c2_rnic_query()
168 props->hw_ver = be32_to_cpu(reply->hw_version); in c2_rnic_query()
[all …]
Dc2_cm.c139 struct c2wr_ep_listen_create_rep *reply; in c2_llp_service_create() local
193 reply = in c2_llp_service_create()
195 if (!reply) { in c2_llp_service_create()
200 if ((err = c2_errno(reply)) != 0) in c2_llp_service_create()
206 cm_id->provider_data = (void*)(unsigned long) reply->ep_handle; in c2_llp_service_create()
211 vq_repbuf_free(c2dev, reply); in c2_llp_service_create()
217 vq_repbuf_free(c2dev, reply); in c2_llp_service_create()
229 struct c2wr_ep_listen_destroy_rep *reply; in c2_llp_service_destroy() local
276 reply=(struct c2wr_ep_listen_destroy_rep *)(unsigned long)vq_req->reply_msg; in c2_llp_service_destroy()
277 if (!reply) { in c2_llp_service_destroy()
[all …]
Dc2_mm.c57 struct c2wr_nsmr_pbl_rep *reply; /* reply ptr */ in send_pbl_messages() local
158 reply = (struct c2wr_nsmr_pbl_rep *) (unsigned long) vq_req->reply_msg; in send_pbl_messages()
159 if (!reply) { in send_pbl_messages()
164 err = c2_errno(reply); in send_pbl_messages()
166 vq_repbuf_free(c2dev, reply); in send_pbl_messages()
181 struct c2wr_nsmr_register_rep *reply; in c2_nsmr_register_phys_kern() local
270 reply = in c2_nsmr_register_phys_kern()
272 if (!reply) { in c2_nsmr_register_phys_kern()
276 if ((err = c2_errno(reply))) { in c2_nsmr_register_phys_kern()
280 mr->ibmr.lkey = mr->ibmr.rkey = be32_to_cpu(reply->stag_index); in c2_nsmr_register_phys_kern()
[all …]
Dc2_qp.c138 struct c2wr_qp_modify_rep *reply; in c2_qp_modify() local
217 reply = (struct c2wr_qp_modify_rep *) (unsigned long) vq_req->reply_msg; in c2_qp_modify()
218 if (!reply) { in c2_qp_modify()
223 err = c2_errno(reply); in c2_qp_modify()
242 vq_repbuf_free(c2dev, reply); in c2_qp_modify()
257 struct c2wr_qp_modify_rep *reply; in c2_qp_set_read_limits() local
288 reply = (struct c2wr_qp_modify_rep *) (unsigned long) in c2_qp_set_read_limits()
290 if (!reply) { in c2_qp_set_read_limits()
295 err = c2_errno(reply); in c2_qp_set_read_limits()
296 vq_repbuf_free(c2dev, reply); in c2_qp_set_read_limits()
[all …]
Dc2_cq.c293 struct c2wr_cq_create_rep *reply; in c2_init_cq() local
342 reply = (struct c2wr_cq_create_rep *) (unsigned long) (vq_req->reply_msg); in c2_init_cq()
343 if (!reply) { in c2_init_cq()
348 if ((err = c2_errno(reply)) != 0) in c2_init_cq()
351 cq->adapter_handle = reply->cq_handle; in c2_init_cq()
352 cq->mq.index = be32_to_cpu(reply->mq_index); in c2_init_cq()
354 peer_pa = c2dev->pa + be32_to_cpu(reply->adapter_shared); in c2_init_cq()
361 vq_repbuf_free(c2dev, reply); in c2_init_cq()
378 vq_repbuf_free(c2dev, reply); in c2_init_cq()
394 struct c2wr_cq_destroy_rep *reply; in c2_free_cq() local
[all …]
Dc2_vq.c257 void vq_repbuf_free(struct c2_dev *c2dev, void *reply) in vq_repbuf_free() argument
259 kmem_cache_free(c2dev->host_msg_cache, reply); in vq_repbuf_free()
Dc2_vq.h60 extern void vq_repbuf_free(struct c2_dev *c2dev, void *reply);
Dc2.h434 static inline int c2_errno(void *reply) in c2_errno() argument
436 switch (c2_wr_get_result(reply)) { in c2_errno()
/linux-4.1.27/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,
/linux-4.1.27/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 …]
/linux-4.1.27/drivers/s390/crypto/
Dzcrypt_msgtype6.c512 struct ap_message *reply, in convert_type86_ica() argument
551 struct type86x_reply *msg = reply->message; in convert_type86_ica()
621 struct ap_message *reply, in convert_type86_xcrb() argument
624 struct type86_fmt2_msg *msg = reply->message; in convert_type86_xcrb()
625 char *data = reply->message; in convert_type86_xcrb()
652 struct ap_message *reply, in convert_type86_ep11_xcrb() argument
655 struct type86_fmt2_msg *msg = reply->message; in convert_type86_ep11_xcrb()
656 char *data = reply->message; in convert_type86_ep11_xcrb()
670 struct ap_message *reply, in convert_type86_rng() argument
677 } __packed * msg = reply->message; in convert_type86_rng()
[all …]
Dzcrypt_pcixcc.c172 char *reply; in zcrypt_pcixcc_mcl() local
175 reply = (void *) get_zeroed_page(GFP_KERNEL); in zcrypt_pcixcc_mcl()
176 if (!reply) in zcrypt_pcixcc_mcl()
186 rc = ap_recv(ap_dev->qid, &psmid, reply, 4096); in zcrypt_pcixcc_mcl()
197 cprbx = (struct CPRBX *) (reply + 48); in zcrypt_pcixcc_mcl()
203 free_page((unsigned long) reply); in zcrypt_pcixcc_mcl()
222 } __attribute__((packed)) *reply; in zcrypt_pcixcc_rng_supported() local
250 reply = ap_msg.message; in zcrypt_pcixcc_rng_supported()
251 if (reply->cprbx.ccp_rtcode == 0 && reply->cprbx.ccp_rscode == 0) in zcrypt_pcixcc_rng_supported()
330 ap_dev->reply = &zdev->reply; in zcrypt_pcixcc_probe()
Dzcrypt_pcica.c195 struct ap_message *reply, in convert_type84() argument
199 struct type84_hdr *t84h = reply->message; in convert_type84()
212 data = reply->message + t84h->len - outputdatalength; in convert_type84()
219 struct ap_message *reply, in convert_response() argument
224 switch (((unsigned char *) reply->message)[1]) { in convert_response()
227 return convert_error(zdev, reply); in convert_response()
229 return convert_type84(zdev, reply, in convert_response()
251 struct ap_message *reply) in zcrypt_pcica_receive() argument
261 if (IS_ERR(reply)) { in zcrypt_pcica_receive()
265 t84h = reply->message; in zcrypt_pcica_receive()
[all …]
Dzcrypt_pcicc.c316 struct ap_message *reply, in convert_type86() argument
355 struct type86_reply *msg = reply->message; in convert_type86()
416 struct ap_message *reply, in convert_response() argument
420 struct type86_reply *msg = reply->message; in convert_response()
426 return convert_error(zdev, reply); in convert_response()
429 return convert_error(zdev, reply); in convert_response()
431 return convert_type86(zdev, reply, in convert_response()
454 struct ap_message *reply) in zcrypt_pcicc_receive() argument
464 if (IS_ERR(reply)) { in zcrypt_pcicc_receive()
468 t86r = reply->message; in zcrypt_pcicc_receive()
[all …]
Dzcrypt_msgtype50.c328 struct ap_message *reply, in convert_type80() argument
332 struct type80_hdr *t80h = reply->message; in convert_type80()
349 data = reply->message + t80h->len - outputdatalength; in convert_type80()
356 struct ap_message *reply, in convert_response() argument
361 switch (((unsigned char *) reply->message)[1]) { in convert_response()
364 return convert_error(zdev, reply); in convert_response()
366 return convert_type80(zdev, reply, in convert_response()
388 struct ap_message *reply) in zcrypt_cex2a_receive() argument
398 if (IS_ERR(reply)) { in zcrypt_cex2a_receive()
402 t80h = reply->message; in zcrypt_cex2a_receive()
[all …]
Dzcrypt_error.h91 struct ap_message *reply) in convert_error() argument
93 struct error_hdr *ehdr = reply->message; in convert_error()
Dzcrypt_cex2a.c129 ap_dev->reply = &zdev->reply; in zcrypt_cex2a_probe()
Dap_bus.c1344 char *reply; in ap_probe_device_type() local
1347 reply = (void *) get_zeroed_page(GFP_KERNEL); in ap_probe_device_type()
1348 if (!reply) { in ap_probe_device_type()
1363 status = __ap_recv(ap_dev->qid, &psmid, reply, 4096); in ap_probe_device_type()
1370 if (reply[0] == 0x00 && reply[1] == 0x86) in ap_probe_device_type()
1379 free_page((unsigned long) reply); in ap_probe_device_type()
1567 status = __ap_recv(ap_dev->qid, &ap_dev->reply->psmid, in ap_poll_read()
1568 ap_dev->reply->message, ap_dev->reply->length); in ap_poll_read()
1574 if (ap_msg->psmid != ap_dev->reply->psmid) in ap_poll_read()
1578 ap_msg->receive(ap_dev, ap_msg, ap_dev->reply); in ap_poll_read()
Dzcrypt_cex4.c150 ap_dev->reply = &zdev->reply; in zcrypt_cex4_probe()
Dzcrypt_api.h118 struct ap_message reply; /* Per-device reply structure. */ member
Dap_bus.h179 struct ap_message *reply; /* Per device reply message. */ member
Dzcrypt_api.c224 zdev->reply.message = kmalloc(max_response_size, GFP_KERNEL); in zcrypt_device_alloc()
225 if (!zdev->reply.message) in zcrypt_device_alloc()
227 zdev->reply.length = max_response_size; in zcrypt_device_alloc()
241 kfree(zdev->reply.message); in zcrypt_device_free()
/linux-4.1.27/fs/afs/
Dcmservice.c436 } reply; in SRXAFSCB_ProbeUuid() local
442 reply.match = htonl(0); in SRXAFSCB_ProbeUuid()
444 reply.match = htonl(1); in SRXAFSCB_ProbeUuid()
446 afs_send_simple_reply(call, &reply, sizeof(reply)); in SRXAFSCB_ProbeUuid()
543 } reply; in SRXAFSCB_TellMeAboutYourself() local
558 memset(&reply, 0, sizeof(reply)); in SRXAFSCB_TellMeAboutYourself()
559 reply.ia.nifs = htonl(nifs); in SRXAFSCB_TellMeAboutYourself()
561 reply.ia.uuid[0] = htonl(afs_uuid.time_low); in SRXAFSCB_TellMeAboutYourself()
562 reply.ia.uuid[1] = htonl(afs_uuid.time_mid); in SRXAFSCB_TellMeAboutYourself()
563 reply.ia.uuid[2] = htonl(afs_uuid.time_hi_and_version); in SRXAFSCB_TellMeAboutYourself()
[all …]
Dfsclient.c241 struct afs_vnode *vnode = call->reply; in afs_deliver_fs_fetch_status()
294 call->reply = vnode; in afs_fs_fetch_file_status()
315 struct afs_vnode *vnode = call->reply; in afs_deliver_fs_fetch_data()
468 call->reply = vnode; in afs_fs_fetch_data64()
513 call->reply = vnode; in afs_fs_fetch_data()
623 struct afs_vnode *vnode = call->reply; in afs_deliver_fs_create_vnode()
686 call->reply = vnode; in afs_fs_create()
722 struct afs_vnode *vnode = call->reply; in afs_deliver_fs_remove()
778 call->reply = vnode; in afs_fs_remove()
805 struct afs_vnode *dvnode = call->reply, *vnode = call->reply2; in afs_deliver_fs_link()
[all …]
Dvlclient.c79 entry = call->reply; in afs_deliver_vl_get_entry_by_xxx()
171 call->reply = entry; in afs_vl_get_entry_by_name()
207 call->reply = entry; in afs_vl_get_entry_by_id()
Dinternal.h65 void (*async_complete)(void *reply, int error);
89 void *reply; /* reply buffer (first part) */ member
Drxrpc.c649 call->wait_mode->async_complete(call->reply, in afs_process_async_call()
651 call->reply = NULL; in afs_process_async_call()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dmemx.c48 u32 reply[2]; in nvkm_memx_init() local
51 ret = pmu->message(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_init()
60 memx->base = reply[0]; in nvkm_memx_init()
61 memx->size = reply[1]; in nvkm_memx_init()
76 u32 finish, reply[2]; in nvkm_memx_fini() local
87 pmu->message(pmu, reply, PROC_MEMX, MEMX_MSG_EXEC, in nvkm_memx_fini()
92 reply[0], reply[1]); in nvkm_memx_fini()
165 u32 reply[2], base, size, i; in nvkm_memx_train_result() local
168 ret = pmu->message(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_train_result()
173 base = reply[0]; in nvkm_memx_train_result()
[all …]
Dbase.c37 nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], in nvkm_pmu_send()
52 if (reply) { in nvkm_pmu_send()
76 if (reply) { in nvkm_pmu_send()
78 reply[0] = pmu->recv.data[0]; in nvkm_pmu_send()
79 reply[1] = pmu->recv.data[1]; in nvkm_pmu_send()
/linux-4.1.27/net/openvswitch/
Ddatapath.c870 struct sk_buff *reply; in ovs_flow_cmd_new() local
922 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
924 if (IS_ERR(reply)) { in ovs_flow_cmd_new()
925 error = PTR_ERR(reply); in ovs_flow_cmd_new()
951 if (unlikely(reply)) { in ovs_flow_cmd_new()
954 reply, info->snd_portid, in ovs_flow_cmd_new()
993 if (unlikely(reply)) { in ovs_flow_cmd_new()
996 reply, info->snd_portid, in ovs_flow_cmd_new()
1008 if (reply) in ovs_flow_cmd_new()
1009 ovs_notify(&dp_flow_genl_family, reply, info); in ovs_flow_cmd_new()
[all …]
/linux-4.1.27/tools/usb/usbip/src/
Dusbip_attach.c124 struct op_import_reply reply; in query_import_device() local
128 memset(&reply, 0, sizeof(reply)); in query_import_device()
154 rc = usbip_net_recv(sockfd, (void *) &reply, sizeof(reply)); in query_import_device()
160 PACK_OP_IMPORT_REPLY(0, &reply); in query_import_device()
163 if (strncmp(reply.udev.busid, busid, SYSFS_BUS_ID_SIZE)) { in query_import_device()
164 err("recv different busid %s", reply.udev.busid); in query_import_device()
169 return import_device(sockfd, &reply.udev); in query_import_device()
Dusbip_list.c52 struct op_devlist_reply reply; in get_exported_devices() local
71 memset(&reply, 0, sizeof(reply)); in get_exported_devices()
72 rc = usbip_net_recv(sockfd, &reply, sizeof(reply)); in get_exported_devices()
77 PACK_OP_DEVLIST_REPLY(0, &reply); in get_exported_devices()
78 dbg("exportable devices: %d\n", reply.ndev); in get_exported_devices()
80 if (reply.ndev == 0) { in get_exported_devices()
89 for (i = 0; i < reply.ndev; i++) { in get_exported_devices()
Dusbip_network.h81 #define PACK_OP_IMPORT_REPLY(pack, reply) do {\ argument
82 usbip_net_pack_usb_device(pack, &(reply)->udev);\
104 #define PACK_OP_EXPORT_REPLY(pack, reply) do {\ argument
125 #define PACK_OP_UNEXPORT_REPLY(pack, reply) do {\ argument
166 #define PACK_OP_DEVLIST_REPLY(pack, reply) do {\ argument
167 usbip_net_pack_uint32_t(pack, &(reply)->ndev);\
Dusbipd.c163 struct op_devlist_reply reply; in send_reply_devlist() local
167 reply.ndev = 0; in send_reply_devlist()
170 reply.ndev += 1; in send_reply_devlist()
172 info("exportable devices: %d", reply.ndev); in send_reply_devlist()
179 PACK_OP_DEVLIST_REPLY(1, &reply); in send_reply_devlist()
181 rc = usbip_net_send(connfd, &reply, sizeof(reply)); in send_reply_devlist()
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dframework.c369 sfw_get_stats(srpc_stat_reqst_t *request, srpc_stat_reply_t *reply) in sfw_get_stats() argument
372 sfw_counters_t *cnt = &reply->str_fw; in sfw_get_stats()
376 reply->str_sid = (sn == NULL) ? LST_INVALID_SID : sn->sn_id; in sfw_get_stats()
379 reply->str_status = EINVAL; in sfw_get_stats()
384 reply->str_status = ESRCH; in sfw_get_stats()
388 lnet_counters_get(&reply->str_lnet); in sfw_get_stats()
389 srpc_get_counters(&reply->str_rpc); in sfw_get_stats()
407 reply->str_status = 0; in sfw_get_stats()
412 sfw_make_session(srpc_mksn_reqst_t *request, srpc_mksn_reply_t *reply) in sfw_make_session() argument
420 reply->mksn_sid = (sn == NULL) ? LST_INVALID_SID : sn->sn_id; in sfw_make_session()
[all …]
Dping_test.c126 srpc_ping_reply_t *reply = &rpc->crpc_replymsg.msg_body.ping_reply; in ping_client_done_rpc() local
141 __swab32s(&reply->pnr_seq); in ping_client_done_rpc()
142 __swab32s(&reply->pnr_magic); in ping_client_done_rpc()
143 __swab32s(&reply->pnr_status); in ping_client_done_rpc()
146 if (reply->pnr_magic != LST_PING_TEST_MAGIC) { in ping_client_done_rpc()
150 reply->pnr_magic, libcfs_id2str(rpc->crpc_dest), in ping_client_done_rpc()
155 if (reply->pnr_seq != reqst->pnr_seq) { in ping_client_done_rpc()
159 reply->pnr_seq, libcfs_id2str(rpc->crpc_dest), in ping_client_done_rpc()
165 CDEBUG(D_NET, "%d reply in %u usec\n", reply->pnr_seq, in ping_client_done_rpc()
Dbrw_test.c318 srpc_brw_reply_t *reply = &msg->msg_body.brw_reply; in brw_client_done_rpc() local
333 __swab32s(&reply->brw_status); in brw_client_done_rpc()
336 CDEBUG(reply->brw_status ? D_WARNING : D_NET, in brw_client_done_rpc()
338 libcfs_id2str(rpc->crpc_dest), reply->brw_status); in brw_client_done_rpc()
340 if (reply->brw_status != 0) { in brw_client_done_rpc()
342 rpc->crpc_status = -(int)reply->brw_status; in brw_client_done_rpc()
384 srpc_brw_reply_t *reply = &rpc->srpc_replymsg.msg_body.brw_reply; in brw_bulk_ready() local
410 reply->brw_status = EBADMSG; in brw_bulk_ready()
422 srpc_brw_reply_t *reply = &replymsg->msg_body.brw_reply; in brw_server_handle() local
440 reply->brw_status = 0; in brw_server_handle()
[all …]
Drpc.c993 srpc_generic_reply_t *reply; in srpc_handle_rpc() local
996 reply = &rpc->srpc_replymsg.msg_body.reply; in srpc_handle_rpc()
1009 reply->status = EPROTO; in srpc_handle_rpc()
1012 reply->status = 0; in srpc_handle_rpc()
1014 LASSERT(reply->status == 0 || !rpc->srpc_bulk); in srpc_handle_rpc()
1178 srpc_msg_t *reply; in srpc_send_rpc() local
1188 reply = &rpc->crpc_replymsg; in srpc_send_rpc()
1243 srpc_unpack_msg_hdr(reply); in srpc_send_rpc()
1244 if (reply->msg_type != type || in srpc_send_rpc()
1245 (reply->msg_magic != SRPC_MSG_MAGIC && in srpc_send_rpc()
[all …]
Dconrpc.c411 rep = &(*msgpp)->msg_body.reply; in lstcon_rpc_get_reply()
523 rep = (srpc_generic_reply_t *)&msg->msg_body.reply; in lstcon_rpc_trans_interpreter()
920 lstcon_node_t *nd, srpc_msg_t *reply) in lstcon_sesnew_stat_reply() argument
922 srpc_mksn_reply_t *mksn_rep = &reply->msg_body.mksn_reply; in lstcon_sesnew_stat_reply()
926 (reply->msg_ses_feats & ~LST_FEATS_MASK) != 0) { in lstcon_sesnew_stat_reply()
934 reply->msg_ses_feats); in lstcon_sesnew_stat_reply()
942 trans->tas_features = reply->msg_ses_feats; in lstcon_sesnew_stat_reply()
945 if (reply->msg_ses_feats != trans->tas_features) { in lstcon_sesnew_stat_reply()
947 reply->msg_ses_feats, libcfs_nid2str(nd->nd_id.nid), in lstcon_sesnew_stat_reply()
Drpc.h262 srpc_generic_reply_t reply; member
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dvendor.c37 struct sk_buff *reply; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local
91 reply = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, payload); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
92 if (NULL == reply) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
97 if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || in brcmf_cfg80211_vndr_cmds_dcmd_handler()
98 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
99 kfree_skb(reply); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
104 ret = cfg80211_vendor_cmd_reply(reply); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/linux-4.1.27/drivers/media/firewire/
Dfiredtv-ci.c79 struct ca_msg *reply = arg; in fdtv_ca_app_info() local
81 return avc_ca_app_info(fdtv, reply->msg, &reply->length); in fdtv_ca_app_info()
86 struct ca_msg *reply = arg; in fdtv_ca_info() local
88 return avc_ca_info(fdtv, reply->msg, &reply->length); in fdtv_ca_info()
93 struct ca_msg *reply = arg; in fdtv_ca_get_mmi() local
95 return avc_ca_get_mmi(fdtv, reply->msg, &reply->length); in fdtv_ca_get_mmi()
/linux-4.1.27/net/atm/
Dsignaling.c45 msg->reply = -EOPNOTSUPP; in modify_qos()
48 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos()
49 msg->reply); in modify_qos()
50 if (!msg->reply) in modify_qos()
77 sk->sk_err = -msg->reply; in sigd_send()
98 sk->sk_err = -msg->reply; in sigd_send()
120 vcc_release_async(vcc, msg->reply); in sigd_send()
127 sk->sk_err_soft = msg->reply; in sigd_send()
144 int reply) in sigd_enq2() argument
158 msg->reply = reply; in sigd_enq2()
Dsignaling.h24 const struct sockaddr_atmsvc *svc,const struct atm_qos *qos,int reply);
/linux-4.1.27/include/trace/events/
Dhswadsp.h200 __entry->stream_id = stream->reply.stream_hw_id;
201 __entry->mixer_id = stream->reply.mixer_hw_id;
202 __entry->peak0 = stream->reply.peak_meter_register_address[0];
203 __entry->peak1 = stream->reply.peak_meter_register_address[1];
204 __entry->vol0 = stream->reply.volume_register_address[0];
205 __entry->vol1 = stream->reply.volume_register_address[1];
216 TP_PROTO(struct sst_hsw_ipc_stream_info_reply *reply),
218 TP_ARGS(reply),
229 __entry->mixer_id = reply->mixer_hw_id;
230 __entry->peak0 = reply->peak_meter_register_address[0];
[all …]
/linux-4.1.27/drivers/macintosh/
Dvia-pmu68k.c290 req->reply[0] = ADB_RET_OK; in pmu_send_request()
304 req->reply[0] = CUDA_PACKET; in pmu_send_request()
305 req->reply[1] = 0; in pmu_send_request()
306 req->reply[2] = CUDA_GET_TIME; in pmu_send_request()
317 req->reply[0] = CUDA_PACKET; in pmu_send_request()
318 req->reply[1] = 0; in pmu_send_request()
319 req->reply[2] = CUDA_SET_TIME; in pmu_send_request()
330 req->reply[0] = CUDA_PACKET; in pmu_send_request()
331 req->reply[1] = 0; in pmu_send_request()
332 req->reply[2] = CUDA_GET_PRAM; in pmu_send_request()
[all …]
Dvia-pmu.c572 pmu_version = req.reply[0]; in init_pmu()
580 if (req.reply[1] & PMU_PWR_WAKEUP_AC_INSERT) in init_pmu()
610 req.reply[0], PMU_PWR_WAKEUP_AC_INSERT); in pmu_set_server_mode()
614 req.reply[0], PMU_PWR_WAKEUP_AC_INSERT); in pmu_set_server_mode()
649 if (req->reply[0] & 0x01) in done_battery_state_ohare()
666 if (req->reply[0] & 0x04) { in done_battery_state_ohare()
668 if (req->reply[0] & 0x02) in done_battery_state_ohare()
670 vb = (req->reply[1] << 8) | req->reply[2]; in done_battery_state_ohare()
672 amperage = req->reply[5]; in done_battery_state_ohare()
673 if ((req->reply[0] & 0x01) == 0) { in done_battery_state_ohare()
[all …]
Dadb-iop.c130 msg->reply[0] = ADB_IOP_TIMEOUT | ADB_IOP_AUTOPOLL; in adb_iop_listen()
131 msg->reply[1] = 0; in adb_iop_listen()
132 msg->reply[2] = 0; in adb_iop_listen()
143 memcpy(req->reply, &amsg->cmd, req->reply_len); in adb_iop_listen()
148 memcpy(msg->reply, msg->message, IOP_MSG_LEN); in adb_iop_listen()
Dadbhid.c1054 (req.reply[1] == 0x9a) && ((req.reply[2] == 0x21) in adbhid_probe()
1055 || (req.reply[2] == 0x20))) { in adbhid_probe()
1060 (req.reply[1] == 0x74) && (req.reply[2] == 0x70) && in adbhid_probe()
1061 (req.reply[3] == 0x61) && (req.reply[4] == 0x64)) { in adbhid_probe()
1066 (req.reply[1] == 0x4b) && (req.reply[2] == 0x4d) && in adbhid_probe()
1067 (req.reply[3] == 0x4c) && (req.reply[4] == 0x31)) { in adbhid_probe()
1072 (req.reply[1] == 0x4b) && (req.reply[2] == 0x4f) && in adbhid_probe()
1073 (req.reply[3] == 0x49) && (req.reply[4] == 0x54)) { in adbhid_probe()
1103 memcpy(r1_buffer, &req.reply[1], 8); in init_trackpad()
Dadb.c122 printk(" %x", req->reply[i]);
215 adb_handler[i].handler_id = req.reply[2]; in adb_scan_bus()
572 if (req.reply[2] != new_id) in try_handler_change()
574 adb_handler[address].handler_id = req.reply[2]; in try_handler_change()
656 req->reply[0] = adb_handler[req->data[2]].original_address; in do_adb_query()
657 req->reply[1] = adb_handler[req->data[2]].handler_id; in do_adb_query()
728 if (count > sizeof(req->reply)) in adb_read()
729 count = sizeof(req->reply); in adb_read()
770 if (ret > 0 && copy_to_user(buf, req->reply, ret)) in adb_read()
Dvia-maciisi.c482 reply_ptr = current_req->reply; in maciisi_interrupt()
585 req->reply_len = reply_ptr - req->reply; in maciisi_interrupt()
588 if (req->reply_len <= 2 || (req->reply[1] & 2) != 0) { in maciisi_interrupt()
594 memmove(req->reply, req->reply + 2, req->reply_len); in maciisi_interrupt()
602 printk(" %.2x", req->reply[i]); in maciisi_interrupt()
Dvia-cuda.c497 reply_ptr = current_req->reply; in cuda_interrupt()
559 req->reply_len = reply_ptr - req->reply; in cuda_interrupt()
562 if (req->reply_len <= 2 || (req->reply[1] & 2) != 0) { in cuda_interrupt()
568 memmove(req->reply, req->reply + 2, req->reply_len); in cuda_interrupt()
Dvia-pmu-backlight.c180 (req.reply[0] >> 4) * in pmu_backlight_init()
Dmacio-adb.c242 req->reply[i] = in_8(&adb->data[i].r); in macio_adb_interrupt()
/linux-4.1.27/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()
/linux-4.1.27/drivers/usb/gadget/function/
Df_mass_storage.c1831 int reply = -EINVAL; in do_scsi_command() local
1853 reply = check_command(common, 6, DATA_DIR_TO_HOST, in do_scsi_command()
1856 if (reply == 0) in do_scsi_command()
1857 reply = do_inquiry(common, bh); in do_scsi_command()
1862 reply = check_command(common, 6, DATA_DIR_FROM_HOST, in do_scsi_command()
1865 if (reply == 0) in do_scsi_command()
1866 reply = do_mode_select(common, bh); in do_scsi_command()
1872 reply = check_command(common, 10, DATA_DIR_FROM_HOST, in do_scsi_command()
1875 if (reply == 0) in do_scsi_command()
1876 reply = do_mode_select(common, bh); in do_scsi_command()
[all …]
/linux-4.1.27/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()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_bsg.c21 bsg_job->reply->result = res; in qla2x00_bsg_job_done()
148 bsg_job->reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
151 bsg_job->reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
163 bsg_job->reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
166 bsg_job->reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
176 bsg_job->reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
180 bsg_job->reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
181 bsg_job->reply->reply_payload_rcv_len = in qla24xx_proc_fcp_prio_cfg_cmd()
192 bsg_job->reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
203 bsg_job->reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
[all …]
Dqla_isr.c1333 bsg_job->reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla2x00_ct_entry()
1339 bsg_job->reply->reply_payload_rcv_len = in qla2x00_ct_entry()
1346 bsg_job->reply->reply_payload_rcv_len); in qla2x00_ct_entry()
1352 bsg_job->reply->reply_payload_rcv_len = 0; in qla2x00_ct_entry()
1358 bsg_job->reply->reply_payload_rcv_len = in qla2x00_ct_entry()
1406 bsg_job->reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla24xx_els_ct_entry()
1412 bsg_job->reply->reply_payload_rcv_len = in qla24xx_els_ct_entry()
1434 bsg_job->reply->reply_payload_rcv_len = 0; in qla24xx_els_ct_entry()
1443 bsg_job->reply->reply_payload_rcv_len = bsg_job->reply_payload.payload_len; in qla24xx_els_ct_entry()
1898 bsg_job->reply->reply_payload_rcv_len = in qla25xx_process_bidir_status_iocb()
[all …]
/linux-4.1.27/drivers/usb/storage/
Ddatafab.c232 unsigned char *reply = us->iobuf; in datafab_write_data() local
298 result = datafab_bulk_read(us, reply, 2); in datafab_write_data()
302 if (reply[0] != 0x50 && reply[1] != 0) { in datafab_write_data()
304 reply[0], reply[1]); in datafab_write_data()
398 unsigned char *reply; in datafab_id_device() local
411 reply = kmalloc(512, GFP_NOIO); in datafab_id_device()
412 if (!reply) in datafab_id_device()
425 rc = datafab_bulk_read(us, reply, 512); in datafab_id_device()
429 info->sectors = ((u32)(reply[117]) << 24) | in datafab_id_device()
430 ((u32)(reply[116]) << 16) | in datafab_id_device()
[all …]
Djumpshot.c334 unsigned char *reply; in jumpshot_id_device() local
342 reply = kmalloc(512, GFP_NOIO); in jumpshot_id_device()
343 if (!reply) in jumpshot_id_device()
357 rc = jumpshot_bulk_read(us, reply, 512); in jumpshot_id_device()
363 info->sectors = ((u32)(reply[117]) << 24) | in jumpshot_id_device()
364 ((u32)(reply[116]) << 16) | in jumpshot_id_device()
365 ((u32)(reply[115]) << 8) | in jumpshot_id_device()
366 ((u32)(reply[114]) ); in jumpshot_id_device()
371 kfree(reply); in jumpshot_id_device()
Dshuttle_usbat.c324 unsigned char *reply = us->iobuf; in usbat_check_status() local
327 rc = usbat_get_status(us, reply); in usbat_check_status()
332 if (*reply & 0x01 && *reply != 0x51) in usbat_check_status()
336 if (*reply & 0x20) in usbat_check_status()
1067 unsigned char *reply; in usbat_flash_get_sector_count() local
1074 reply = kmalloc(512, GFP_NOIO); in usbat_flash_get_sector_count()
1075 if (!reply) in usbat_flash_get_sector_count()
1095 rc = usbat_read_block(us, reply, 512, 0); in usbat_flash_get_sector_count()
1099 info->sectors = ((u32)(reply[117]) << 24) | in usbat_flash_get_sector_count()
1100 ((u32)(reply[116]) << 16) | in usbat_flash_get_sector_count()
[all …]
/linux-4.1.27/drivers/s390/net/
Dlcs.c775 lcs_get_reply(struct lcs_reply *reply) in lcs_get_reply() argument
777 WARN_ON(atomic_read(&reply->refcnt) <= 0); in lcs_get_reply()
778 atomic_inc(&reply->refcnt); in lcs_get_reply()
782 lcs_put_reply(struct lcs_reply *reply) in lcs_put_reply() argument
784 WARN_ON(atomic_read(&reply->refcnt) <= 0); in lcs_put_reply()
785 if (atomic_dec_and_test(&reply->refcnt)) { in lcs_put_reply()
786 kfree(reply); in lcs_put_reply()
794 struct lcs_reply *reply; in lcs_alloc_reply() local
798 reply = kzalloc(sizeof(struct lcs_reply), GFP_ATOMIC); in lcs_alloc_reply()
799 if (!reply) in lcs_alloc_reply()
[all …]
Dqeth_core_main.c554 struct qeth_reply *reply; in qeth_alloc_reply() local
556 reply = kzalloc(sizeof(struct qeth_reply), GFP_ATOMIC); in qeth_alloc_reply()
557 if (reply) { in qeth_alloc_reply()
558 atomic_set(&reply->refcnt, 1); in qeth_alloc_reply()
559 atomic_set(&reply->received, 0); in qeth_alloc_reply()
560 reply->card = card; in qeth_alloc_reply()
562 return reply; in qeth_alloc_reply()
565 static void qeth_get_reply(struct qeth_reply *reply) in qeth_get_reply() argument
567 WARN_ON(atomic_read(&reply->refcnt) <= 0); in qeth_get_reply()
568 atomic_inc(&reply->refcnt); in qeth_get_reply()
[all …]
Dqeth_l2_main.c282 struct qeth_reply *reply, unsigned long data) in qeth_l2_send_setdelvlan_cb() argument
1692 struct qeth_reply *reply, unsigned long data) in qeth_bridgeport_query_support_cb() argument
1695 struct _qeth_sbp_cbctl *cbctl = (struct _qeth_sbp_cbctl *)reply->param; in qeth_bridgeport_query_support_cb()
1745 struct qeth_reply *reply, unsigned long data) in qeth_bridgeport_query_ports_cb() argument
1749 struct _qeth_sbp_cbctl *cbctl = (struct _qeth_sbp_cbctl *)reply->param; in qeth_bridgeport_query_ports_cb()
1819 struct qeth_reply *reply, unsigned long data) in qeth_bridgeport_set_cb() argument
1822 struct _qeth_sbp_cbctl *cbctl = (struct _qeth_sbp_cbctl *)reply->param; in qeth_bridgeport_set_cb()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dwmi.c805 u16 reply_id, void *reply, u8 reply_size, int to_msec) in wmi_call() argument
817 wil->reply_buf = reply; in wmi_call()
875 } __packed reply; in wmi_pcp_start() local
893 WMI_PCP_STARTED_EVENTID, &reply, sizeof(reply), 5000); in wmi_pcp_start()
897 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) in wmi_pcp_start()
929 } __packed reply; in wmi_get_ssid() local
933 &reply, sizeof(reply), 20); in wmi_get_ssid()
937 len = le32_to_cpu(reply.cmd.ssid_len); in wmi_get_ssid()
938 if (len > sizeof(reply.cmd.ssid)) in wmi_get_ssid()
942 memcpy(ssid, reply.cmd.ssid, len); in wmi_get_ssid()
[all …]
Dcfg80211.c118 } __packed reply; in wil_cid_fill_sinfo() local
123 WMI_NOTIFY_REQ_DONE_EVENTID, &reply, sizeof(reply), 20); in wil_cid_fill_sinfo()
132 cid, le16_to_cpu(reply.evt.bf_mcs), in wil_cid_fill_sinfo()
133 le64_to_cpu(reply.evt.tsf), reply.evt.status, in wil_cid_fill_sinfo()
134 le32_to_cpu(reply.evt.snr_val), in wil_cid_fill_sinfo()
135 reply.evt.sqi, in wil_cid_fill_sinfo()
136 le32_to_cpu(reply.evt.tx_tpt), in wil_cid_fill_sinfo()
137 le32_to_cpu(reply.evt.tx_goodput), in wil_cid_fill_sinfo()
138 le32_to_cpu(reply.evt.rx_goodput), in wil_cid_fill_sinfo()
139 le16_to_cpu(reply.evt.my_rx_sector), in wil_cid_fill_sinfo()
[all …]
Ddebugfs.c931 } __packed reply; in wil_bf_debugfs_show() local
938 WMI_NOTIFY_REQ_DONE_EVENTID, &reply, in wil_bf_debugfs_show()
939 sizeof(reply), 20); in wil_bf_debugfs_show()
941 if (rc || is_all_zeros(&reply.evt, sizeof(reply.evt))) in wil_bf_debugfs_show()
944 status = le32_to_cpu(reply.evt.status); in wil_bf_debugfs_show()
954 le64_to_cpu(reply.evt.tsf), in wil_bf_debugfs_show()
955 le16_to_cpu(reply.evt.bf_mcs), in wil_bf_debugfs_show()
956 le32_to_cpu(reply.evt.tx_tpt), in wil_bf_debugfs_show()
957 reply.evt.sqi, in wil_bf_debugfs_show()
959 le16_to_cpu(reply.evt.my_rx_sector), in wil_bf_debugfs_show()
[all …]
Dtxrx.c702 } __packed reply; in wil_vring_init_tx() local
728 WMI_VRING_CFG_DONE_EVENTID, &reply, sizeof(reply), 100); in wil_vring_init_tx()
732 if (reply.cmd.status != WMI_FW_STATUS_SUCCESS) { in wil_vring_init_tx()
734 reply.cmd.status); in wil_vring_init_tx()
738 vring->hwtail = le32_to_cpu(reply.cmd.tx_vring_tail_ptr); in wil_vring_init_tx()
770 } __packed reply; in wil_vring_init_bcast() local
796 WMI_VRING_CFG_DONE_EVENTID, &reply, sizeof(reply), 100); in wil_vring_init_bcast()
800 if (reply.cmd.status != WMI_FW_STATUS_SUCCESS) { in wil_vring_init_bcast()
802 reply.cmd.status); in wil_vring_init_bcast()
806 vring->hwtail = le32_to_cpu(reply.cmd.tx_vring_tail_ptr); in wil_vring_init_bcast()
/linux-4.1.27/drivers/misc/mei/
Dnfc.c206 struct mei_nfc_cmd *cmd, *reply; in mei_nfc_connect() local
226 reply = kzalloc(connect_resp_length, GFP_KERNEL); in mei_nfc_connect()
227 if (!reply) { in mei_nfc_connect()
232 connect_resp = (struct mei_nfc_connect_resp *)reply->data; in mei_nfc_connect()
246 bytes_recv = __mei_cl_recv(cl, (u8 *)reply, connect_resp_length); in mei_nfc_connect()
263 kfree(reply); in mei_nfc_connect()
275 struct mei_nfc_reply *reply = NULL; in mei_nfc_if_version() local
298 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()
299 if (!reply) in mei_nfc_if_version()
302 bytes_recv = __mei_cl_recv(cl, (u8 *)reply, if_version_length); in mei_nfc_if_version()
[all …]
Dhw-me.c654 goto reply; in mei_me_pg_exit_sync()
665 reply: in mei_me_pg_exit_sync()
/linux-4.1.27/fs/ncpfs/
Dsock.c391 struct ncp_reply_header reply; in ncpdgram_rcv_proc() local
394 result = _recv(sock, &reply, sizeof(reply), MSG_PEEK | MSG_DONTWAIT); in ncpdgram_rcv_proc()
398 if (result >= sizeof(reply)) { in ncpdgram_rcv_proc()
401 if (reply.type == NCP_WATCHDOG) { in ncpdgram_rcv_proc()
404 if (server->connection != get_conn_number(&reply)) { in ncpdgram_rcv_proc()
424 if (reply.type != NCP_POSITIVE_ACK && reply.type != NCP_REPLY) { in ncpdgram_rcv_proc()
434 if (req && (req->tx_type == NCP_ALLOC_SLOT_REQUEST || (server->sequence == reply.sequence && in ncpdgram_rcv_proc()
435 server->connection == get_conn_number(&reply)))) { in ncpdgram_rcv_proc()
436 if (reply.type == NCP_POSITIVE_ACK) { in ncpdgram_rcv_proc()
440 } else if (reply.type == NCP_REPLY) { in ncpdgram_rcv_proc()
[all …]
Dncp_fs.h74 void* reply, int max_reply_size);
/linux-4.1.27/net/netfilter/
Dnf_conntrack_sane.c76 struct sane_reply_net_start *reply; in help() local
127 reply = sb_ptr; in help()
128 if (reply->status != htonl(SANE_STATUS_SUCCESS)) { in help()
131 ntohl(reply->status)); in help()
136 if (reply->zero != 0) in help()
149 IPPROTO_TCP, NULL, &reply->port); in help()
Dnf_nat_core.c144 struct nf_conntrack_tuple reply; in nf_nat_used_tuple() local
146 nf_ct_invert_tuplepr(&reply, tuple); in nf_nat_used_tuple()
147 return nf_conntrack_tuple_taken(&reply, ignored_conntrack); in nf_nat_used_tuple()
404 struct nf_conntrack_tuple reply; in nf_nat_setup_info() local
407 nf_ct_invert_tuplepr(&reply, &new_tuple); in nf_nat_setup_info()
408 nf_conntrack_alter_reply(ct, &reply); in nf_nat_setup_info()
/linux-4.1.27/drivers/media/usb/dvb-usb/
Daf9005.c565 static int af9005_boot_packet(struct usb_device *udev, int type, u8 * reply) in af9005_boot_packet() argument
658 *reply = buf[6]; in af9005_boot_packet()
683 *reply = buf[6]; in af9005_boot_packet()
724 u8 reply; in af9005_download_firmware() local
726 ret = af9005_boot_packet(udev, FW_CONFIG, &reply); in af9005_download_firmware()
729 if (reply != 0x01) { in af9005_download_firmware()
730 err("before downloading firmware, FW_CONFIG expected 0x01, received 0x%x", reply); in af9005_download_firmware()
749 ret = af9005_boot_packet(udev, FW_CONFIRM, &reply); in af9005_download_firmware()
752 if (reply != (u8) (packets & 0xff)) { in af9005_download_firmware()
753 err("after downloading firmware, FW_CONFIRM expected 0x%x, received 0x%x", packets & 0xff, reply); in af9005_download_firmware()
[all …]
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_base.c722 u32 reply) in _base_display_reply_info() argument
727 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info()
757 u32 reply) in mpt2sas_base_done() argument
761 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_base_done()
771 memcpy(ioc->base_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt2sas_base_done()
788 _base_async_event(struct MPT2SAS_ADAPTER *ioc, u8 msix_index, u32 reply) in _base_async_event() argument
794 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in _base_async_event()
823 mpt2sas_scsih_event_callback(ioc, msix_index, reply); in _base_async_event()
826 mpt2sas_ctl_event_callback(ioc, msix_index, reply); in _base_async_event()
922 u32 reply; in _base_interrupt() local
[all …]
Dmpt2sas_base.h334 void *reply; member
975 u8 *reply; member
1021 u32 reply);
1061 u32 reply);
1063 u8 msix_index, u32 reply);
1085 u32 reply);
1107 u32 reply);
1167 u32 reply);
1170 u32 reply);
1179 u32 reply);
[all …]
Dmpt2sas_ctl.c276 u32 reply) in mpt2sas_ctl_done() argument
288 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_ctl_done()
290 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt2sas_ctl_done()
405 u32 reply) in mpt2sas_ctl_event_callback() argument
409 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_ctl_event_callback()
588 tm_reply = ioc->ctl_cmds.reply; in _ctl_set_task_mid()
596 if (copy_to_user(karg->reply_frame_buf_ptr, ioc->ctl_cmds.reply, in _ctl_set_task_mid()
712 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_do_mpt_command()
923 mpi_reply = ioc->ctl_cmds.reply; in _ctl_do_mpt_command()
954 if (copy_to_user(karg.reply_frame_buf_ptr, ioc->ctl_cmds.reply, in _ctl_do_mpt_command()
[all …]
Dmpt2sas_transport.c230 u32 reply) in mpt2sas_transport_done() argument
234 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_transport_done()
241 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt2sas_transport_done()
426 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_report_manufacture()
1217 mpi_reply = ioc->transport_cmds.reply; in _transport_get_expander_phy_error_log()
1547 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_phy_control()
2090 mpi_reply = ioc->transport_cmds.reply; in _transport_smp_handler()
Dmpt2sas_config.c242 u32 reply) in mpt2sas_config_done() argument
251 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_config_done()
254 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt2sas_config_done()
412 memcpy(mpi_reply, ioc->config_cmds.reply, in _config_request()
Dmpt2sas_scsih.c2236 _scsih_tm_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_tm_done() argument
2246 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in _scsih_tm_done()
2248 memcpy(ioc->tm_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in _scsih_tm_done()
2399 memset(ioc->tm_cmds.reply, 0, sizeof(Mpi2SCSITaskManagementReply_t)); in mpt2sas_scsih_issue_tm()
2425 mpi_reply = ioc->tm_cmds.reply; in mpt2sas_scsih_issue_tm()
3174 u8 msix_index, u32 reply) in _scsih_sas_control_complete() argument
3177 mpt2sas_base_get_reply_virt_addr(ioc, reply); in _scsih_sas_control_complete()
3254 u8 msix_index, u32 reply) in _scsih_tm_volume_tr_complete() argument
3259 mpt2sas_base_get_reply_virt_addr(ioc, reply); in _scsih_tm_volume_tr_complete()
3309 u32 reply) in _scsih_tm_tr_complete() argument
[all …]
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_dev_frontend.c309 void *reply; in xenbus_write_transaction() local
321 reply = xenbus_dev_request_and_reply(&u->u.msg); in xenbus_write_transaction()
322 if (IS_ERR(reply)) { in xenbus_write_transaction()
324 rc = PTR_ERR(reply); in xenbus_write_transaction()
332 trans->handle.id = simple_strtoul(reply, NULL, 0); in xenbus_write_transaction()
348 rc = queue_reply(&staging_q, reply, u->u.msg.len); in xenbus_write_transaction()
357 kfree(reply); in xenbus_write_transaction()
416 } __packed reply = { in xenbus_write_watch() local
419 .len = sizeof(reply.body) in xenbus_write_watch()
425 rc = queue_reply(&u->read_buffers, &reply, sizeof(reply)); in xenbus_write_watch()
Dxenbus_xs.c64 } reply; member
201 body = msg->u.reply.body; in read_reply()
336 static int xs_error(char *reply) in xs_error() argument
338 if (IS_ERR(reply)) in xs_error()
339 return PTR_ERR(reply); in xs_error()
340 kfree(reply); in xs_error()
920 msg->u.reply.body = body; in process_msg()
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_base.c700 u32 reply) in _base_display_reply_info() argument
706 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info()
743 u32 reply) in mpt3sas_base_done() argument
747 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_base_done()
757 memcpy(ioc->base_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_base_done()
775 _base_async_event(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, u32 reply) in _base_async_event() argument
781 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_async_event()
810 mpt3sas_scsih_event_callback(ioc, msix_index, reply); in _base_async_event()
813 mpt3sas_ctl_event_callback(ioc, msix_index, reply); in _base_async_event()
909 u32 reply; in _base_interrupt() local
[all …]
Dmpt3sas_base.h269 void *reply; member
917 u8 *reply; member
963 u32 reply);
1002 u32 reply);
1004 u8 msix_index, u32 reply);
1030 u32 reply);
1053 u32 reply);
1136 u32 reply);
1139 u8 msix_index, u32 reply);
1150 u32 reply);
Dmpt3sas_ctl.c274 u32 reply) in mpt3sas_ctl_done() argument
286 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_ctl_done()
288 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_ctl_done()
404 u32 reply) in mpt3sas_ctl_event_callback() argument
408 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_ctl_event_callback()
583 tm_reply = ioc->ctl_cmds.reply; in _ctl_set_task_mid()
591 if (copy_to_user(karg->reply_frame_buf_ptr, ioc->ctl_cmds.reply, in _ctl_set_task_mid()
708 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_do_mpt_command()
916 mpi_reply = ioc->ctl_cmds.reply; in _ctl_do_mpt_command()
947 if (copy_to_user(karg.reply_frame_buf_ptr, ioc->ctl_cmds.reply, in _ctl_do_mpt_command()
[all …]
Dmpt3sas_transport.c234 u32 reply) in mpt3sas_transport_done() argument
238 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_transport_done()
245 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt3sas_transport_done()
416 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_report_manufacture()
1199 mpi_reply = ioc->transport_cmds.reply; in _transport_get_expander_phy_error_log()
1529 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_phy_control()
2050 mpi_reply = ioc->transport_cmds.reply; in _transport_smp_handler()
Dmpt3sas_scsih.c1903 _scsih_tm_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_tm_done() argument
1913 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _scsih_tm_done()
1915 memcpy(ioc->tm_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in _scsih_tm_done()
2065 memset(ioc->tm_cmds.reply, 0, sizeof(Mpi2SCSITaskManagementReply_t)); in mpt3sas_scsih_issue_tm()
2092 mpi_reply = ioc->tm_cmds.reply; in mpt3sas_scsih_issue_tm()
2858 u32 reply) in _scsih_tm_tr_complete() argument
2863 mpt3sas_base_get_reply_virt_addr(ioc, reply); in _scsih_tm_tr_complete()
2946 u8 msix_index, u32 reply) in _scsih_sas_control_complete() argument
2949 mpt3sas_base_get_reply_virt_addr(ioc, reply); in _scsih_sas_control_complete()
3029 u8 msix_index, u32 reply) in _scsih_tm_volume_tr_complete() argument
[all …]
Dmpt3sas_config.c242 u32 reply) in mpt3sas_config_done() argument
251 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_config_done()
254 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt3sas_config_done()
414 memcpy(mpi_reply, ioc->config_cmds.reply, in _config_request()
/linux-4.1.27/sound/soc/intel/haswell/
Dsst-haswell-ipc.c221 struct sst_hsw_ipc_stream_alloc_reply reply; member
428 if (stream->reply.stream_hw_id == stream_id) in get_stream_by_id()
491 stream->reply.stream_hw_id); in hsw_notification_work()
501 stream->reply.stream_hw_id); in hsw_notification_work()
538 trace_ipc_notification("stream reset", stream->reply.stream_hw_id); in hsw_stream_update()
543 stream->reply.stream_hw_id); in hsw_stream_update()
548 stream->reply.stream_hw_id); in hsw_stream_update()
556 u32 reply = msg_get_global_reply(header); in hsw_process_reply() local
567 switch (reply) { in hsw_process_reply()
849 stream->reply.volume_register_address[channel], in sst_hsw_stream_get_volume()
[all …]
/linux-4.1.27/drivers/thunderbolt/
Dctl.c601 struct tb_cfg_header reply; in tb_cfg_reset() local
607 return tb_ctl_rx(ctl, &reply, sizeof(reply), timeout_msec, route, in tb_cfg_reset()
630 struct cfg_write_pkg reply; in tb_cfg_read_raw() local
636 res = tb_ctl_rx(ctl, &reply, 12 + 4 * length, timeout_msec, route, in tb_cfg_read_raw()
641 res.response_port = reply.addr.port; in tb_cfg_read_raw()
642 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_read_raw()
644 memcpy(buffer, &reply.data, 4 * length); in tb_cfg_read_raw()
667 struct cfg_read_pkg reply; in tb_cfg_write_raw() local
675 res = tb_ctl_rx(ctl, &reply, sizeof(reply), timeout_msec, route, in tb_cfg_write_raw()
680 res.response_port = reply.addr.port; in tb_cfg_write_raw()
[all …]
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_mad.c46 static int reply(struct ib_smp *smp) in reply() function
66 return reply(smp); in recv_subn_get_nodedescription()
119 return reply(smp); in recv_subn_get_nodeinfo()
147 return reply(smp); in recv_subn_get_guidinfo()
248 ret = reply(smp); in recv_subn_get_portinfo()
339 ret = reply(smp); in recv_subn_get_portinfo()
381 return reply(smp); in recv_subn_get_pkeytable()
819 return reply((struct ib_smp *) pmp); in recv_pma_get_classportinfo()
880 return reply((struct ib_smp *) pmp); in recv_pma_get_portsamplescontrol()
897 ret = reply((struct ib_smp *) pmp); in recv_pma_set_portsamplescontrol()
[all …]
/linux-4.1.27/Documentation/connector/
Ducon.c116 struct nlmsghdr *reply; in main() local
228 reply = (struct nlmsghdr *)buf; in main()
230 switch (reply->nlmsg_type) { in main()
236 data = (struct cn_msg *)NLMSG_DATA(reply); in main()
/linux-4.1.27/Documentation/w1/
Dw1.netlink72 command request. One reply is generated exactly for one w1_netlink_cmd
73 read request. Replies are not combined when sent - i.e. typical reply
103 reply:
129 structure) will be 'acked' by the w1 core. Format of the reply is the same
135 If reply is generated for master or root command (which do not have
136 w1_netlink_cmd attached), reply will contain only cn_msg and w1_netlink_msg
145 Status reply is generated for every w1_netlink_cmd embedded in the
147 reply will be generated for the w1_netlink_msg.
164 If command requires reply (like read command) it is sent on command completion.
179 Sequence number for reply is the same as was in request, and
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/
Dclient.c99 u8 index, reply; in nvkm_client_notify_new() local
118 req->v0.reply, req->v0.route, req->v0.token); in nvkm_client_notify_new()
124 reply = req->v0.reply; in nvkm_client_notify_new()
129 false, data, size, reply, &notify->n); in nvkm_client_notify_new()
Dnotify.c134 void *data, u32 size, u32 reply, in nvkm_notify_init() argument
141 if (ret == 0 && (ret = -EINVAL, notify->size == reply)) { in nvkm_notify_init()
149 notify->data = kmalloc(reply, GFP_KERNEL); in nvkm_notify_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvif/
Dnotify.c169 void *data, u32 size, u32 reply, struct nvif_notify *notify) in nvif_notify_init() argument
185 notify->size = reply; in nvif_notify_init()
201 args->req.reply = notify->size; in nvif_notify_init()
233 bool work, u8 type, void *data, u32 size, u32 reply, in nvif_notify_new() argument
239 type, data, size, reply, notify); in nvif_notify_new()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c514 struct ldlm_reply *reply; in ldlm_cli_enqueue_fini() local
538 reply = req_capsule_server_get(&req->rq_pill, &RMF_DLM_REP); in ldlm_cli_enqueue_fini()
539 if (reply == NULL) { in ldlm_cli_enqueue_fini()
581 &reply->lock_handle, in ldlm_cli_enqueue_fini()
584 lock->l_remote_handle = reply->lock_handle; in ldlm_cli_enqueue_fini()
587 *flags = ldlm_flags_from_wire(reply->lock_flags); in ldlm_cli_enqueue_fini()
588 lock->l_flags |= ldlm_flags_from_wire(reply->lock_flags & in ldlm_cli_enqueue_fini()
592 lock->l_flags |= ldlm_flags_from_wire(reply->lock_flags & in ldlm_cli_enqueue_fini()
597 lock, reply->lock_handle.cookie, *flags); in ldlm_cli_enqueue_fini()
603 int newmode = reply->lock_desc.l_req_mode; in ldlm_cli_enqueue_fini()
[all …]
/linux-4.1.27/fs/nfs/blocklayout/
Drpc_pipefs.c58 struct bl_dev_msg *reply = &nn->bl_mount_reply; in bl_resolve_deviceid() local
98 if (reply->status != BL_DEVICE_REQUEST_PROC) { in bl_resolve_deviceid()
100 __func__, reply->status); in bl_resolve_deviceid()
104 dev = MKDEV(reply->major, reply->minor); in bl_resolve_deviceid()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
Dnotify.h28 void *data, u32 size, u32 reply, struct nvif_notify *);
35 bool work, u8 type, void *data, u32 size, u32 reply,
Devent.h6 __u8 reply; member
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_mad.c40 static int reply(struct ib_smp *smp) in reply() function
273 return reply(smp); in subn_get_nodedescription()
309 return reply(smp); in subn_get_nodeinfo()
342 return reply(smp); in subn_get_guidinfo()
468 ret = reply(smp); in subn_get_portinfo()
566 ret = reply(smp); in subn_get_portinfo()
614 return reply(smp); in subn_get_pkeytable()
1070 return reply(smp); in subn_get_sl_to_vl()
1082 return reply(smp); in subn_set_sl_to_vl()
1114 return reply(smp); in subn_get_vl_arb()
[all …]
/linux-4.1.27/drivers/android/
Dbinder_trace.h107 TP_PROTO(bool reply, struct binder_transaction *t,
109 TP_ARGS(reply, t, target_node),
115 __field(int, reply)
124 __entry->reply = reply;
131 __entry->reply, __entry->flags, __entry->code)
/linux-4.1.27/drivers/staging/i2o/
Di2o_config.c530 u32 *reply = NULL; in i2o_cfg_passthru32() local
593 reply = kzalloc(reply_size, GFP_KERNEL); in i2o_cfg_passthru32()
594 if (!reply) { in i2o_cfg_passthru32()
668 reply[4] = ((u32) rcode) << 24; in i2o_cfg_passthru32()
729 if (copy_from_user(reply + 2, user_msg + 2, sizeof(u32) * 2)) { in i2o_cfg_passthru32()
735 if (copy_to_user(user_reply, reply, reply_size)) { in i2o_cfg_passthru32()
745 kfree(reply); in i2o_cfg_passthru32()
781 u32 *reply = NULL; in i2o_cfg_passthru() local
834 reply = kzalloc(reply_size, GFP_KERNEL); in i2o_cfg_passthru()
835 if (!reply) { in i2o_cfg_passthru()
[all …]
DREADME.ioctl147 ETIMEDOUT Timeout waiting for reply message
184 ETIMEDOUT Timeout waiting for reply message
229 ETIMEDOUT Timeout waiting for reply message
271 ETIMEDOUT Timeout waiting for reply message
308 ETIMEDOUT Timeout waiting for reply message
330 ETIMEDOUT Timeout waiting for reply message
343 void *resbuf; /* Buffer for reply HTML page */
344 u32 *reslen; /* Length in bytes of reply buffer */
357 should be set to NULL. The actual size of the reply received is written
369 ETIMEDOUT Timeout waiting for reply message
Ddriver.c245 if (unlikely(!drv->reply)) { in i2o_driver_dispatch()
251 return drv->reply(c, m, msg); in i2o_driver_dispatch()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_bsg.c353 job->reply->reply_payload_rcv_len = in lpfc_bsg_send_mgmt_cmd_cmp()
370 job->reply->result = rc; in lpfc_bsg_send_mgmt_cmd_cmp()
401 job->reply->reply_payload_rcv_len = 0; in lpfc_bsg_send_mgmt_cmd()
545 job->reply->result = rc; in lpfc_bsg_send_mgmt_cmd()
612 job->reply->reply_payload_rcv_len = in lpfc_bsg_rport_els_cmp()
618 job->reply->reply_payload_rcv_len = in lpfc_bsg_rport_els_cmp()
622 els_reply = &job->reply->reply_data.ctels_reply; in lpfc_bsg_rport_els_cmp()
640 job->reply->result = rc; in lpfc_bsg_rport_els_cmp()
667 job->reply->reply_payload_rcv_len = 0; in lpfc_bsg_rport_els()
774 job->reply->result = rc; in lpfc_bsg_rport_els()
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Ddebugfs-olpc11 CC is the (hex) command, N is the count of expected reply bytes, and A A A A
15 a command. Hex reply bytes will be returned, *whether or not* they came from
/linux-4.1.27/kernel/
Dtaskstats.c83 void *reply; in prepare_reply() local
95 reply = genlmsg_put(skb, 0, seq, &family, 0, cmd); in prepare_reply()
97 reply = genlmsg_put_reply(skb, info, &family, 0, cmd); in prepare_reply()
98 if (reply == NULL) { in prepare_reply()
113 void *reply = genlmsg_data(genlhdr); in send_reply() local
115 genlmsg_end(skb, reply); in send_reply()
129 void *reply = genlmsg_data(genlhdr); in send_cpu_listeners() local
132 genlmsg_end(skb, reply); in send_cpu_listeners()
Daudit.c571 struct audit_reply *reply = (struct audit_reply *)arg; in audit_send_reply_thread() local
572 struct net *net = reply->net; in audit_send_reply_thread()
580 netlink_unicast(aunet->nlsk , reply->skb, reply->portid, 0); in audit_send_reply_thread()
582 kfree(reply); in audit_send_reply_thread()
605 struct audit_reply *reply = kmalloc(sizeof(struct audit_reply), in audit_send_reply() local
608 if (!reply) in audit_send_reply()
615 reply->net = get_net(net); in audit_send_reply()
616 reply->portid = portid; in audit_send_reply()
617 reply->skb = skb; in audit_send_reply()
619 tsk = kthread_run(audit_send_reply_thread, reply, "audit_send_reply"); in audit_send_reply()
[all …]
/linux-4.1.27/drivers/message/fusion/
Dmptctl.c201 mptctl_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) in mptctl_reply() argument
212 req, reply)); in mptctl_reply()
223 if (!reply) in mptctl_reply()
227 sz = min(ioc->reply_sz, 4*reply->u.reply.MsgLength); in mptctl_reply()
228 memcpy(ioc->ioctl_cmds.reply, reply, sz); in mptctl_reply()
230 if (reply->u.reply.IOCStatus || reply->u.reply.IOCLogInfo) in mptctl_reply()
233 le16_to_cpu(reply->u.reply.IOCStatus), in mptctl_reply()
234 le32_to_cpu(reply->u.reply.IOCLogInfo))); in mptctl_reply()
240 if (reply->u.sreply.SCSIStatus || reply->u.sreply.SCSIState) in mptctl_reply()
244 reply->u.sreply.SCSIStatus, in mptctl_reply()
[all …]
Dmptscsih.c106 MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply);
1638 (SCSITaskMgmtReply_t *) ioc->taskmgmt_cmds.reply); in mptscsih_IssueTaskMgmt()
2071 memcpy(ioc->taskmgmt_cmds.reply, mr, in mptscsih_taskmgmt_complete()
2072 min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); in mptscsih_taskmgmt_complete()
2629 MPT_FRAME_HDR *reply) in mptscsih_scandv_complete() argument
2640 if (!reply) in mptscsih_scandv_complete()
2643 pReply = (SCSIIOReply_t *) reply; in mptscsih_scandv_complete()
2646 mptscsih_get_completion_code(ioc, req, reply); in mptscsih_scandv_complete()
2648 memcpy(ioc->internal_cmds.reply, reply, in mptscsih_scandv_complete()
2649 min(MPT_DEFAULT_FRAME_SIZE, 4 * reply->u.reply.MsgLength)); in mptscsih_scandv_complete()
[all …]
Dmptsas.c1230 memcpy(ioc->taskmgmt_cmds.reply, mr, in mptsas_taskmgmt_complete()
1231 min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); in mptsas_taskmgmt_complete()
2063 MPT_FRAME_HDR *reply) in mptsas_mgmt_done() argument
2066 if (reply != NULL) { in mptsas_mgmt_done()
2068 memcpy(ioc->sas_mgmt.reply, reply, in mptsas_mgmt_done()
2069 min(ioc->reply_sz, 4 * reply->u.reply.MsgLength)); in mptsas_mgmt_done()
2084 SasIoUnitControlReply_t *reply; in mptsas_phy_reset() local
2139 reply = (SasIoUnitControlReply_t *)ioc->sas_mgmt.reply; in mptsas_phy_reset()
2140 if (reply->IOCStatus != MPI_IOCSTATUS_SUCCESS) { in mptsas_phy_reset()
2142 ioc->name, __func__, reply->IOCStatus, reply->IOCLogInfo); in mptsas_phy_reset()
[all …]
Dmptbase.h326 MPIDefaultReply_t reply; member
451 u8 reply[MPT_DEFAULT_FRAME_SIZE]; /* reply frame data */ member
798 typedef int (*MPT_CALLBACK)(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply);
Dmptlan.c130 MPT_FRAME_HDR *reply);
168 lan_reply (MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *reply) in lan_reply() argument
180 u32 tmsg = CAST_PTR_TO_U32(reply); in lan_reply()
244 switch (reply->u.hdr.Function) { in lan_reply()
250 pSendRep = (LANSendReply_t *) reply; in lan_reply()
259 pRecvRep = (LANReceivePostReply_t *) reply; in lan_reply()
Dmptbase.c165 MPT_FRAME_HDR *reply);
543 ioc_stat = le16_to_cpu(mr->u.reply.IOCStatus); in mpt_reply()
545 u32 log_info = le32_to_cpu(mr->u.reply.IOCLogInfo); in mpt_reply()
632 mptbase_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) in mptbase_reply() argument
639 switch (reply->u.hdr.Function) { in mptbase_reply()
641 pEventReply = (EventNotificationReply_t *)reply; in mptbase_reply()
653 memcpy(ioc->mptbase_cmds.reply, reply, in mptbase_reply()
655 4 * reply->u.reply.MsgLength)); in mptbase_reply()
671 ioc->name, reply->u.hdr.Function); in mptbase_reply()
3561 u8 reply[sizeof(FWUploadReply_t)]; in mpt_do_upload() local
[all …]
/linux-4.1.27/drivers/gpu/drm/
Ddrm_dp_mst_topology.c1561 if (txmsg->reply.reply_type == 1) in drm_dp_send_link_address()
1564 DRM_DEBUG_KMS("link address reply: %d\n", txmsg->reply.u.link_addr.nports); in drm_dp_send_link_address()
1565 for (i = 0; i < txmsg->reply.u.link_addr.nports; i++) { in drm_dp_send_link_address()
1567 txmsg->reply.u.link_addr.ports[i].input_port, in drm_dp_send_link_address()
1568 txmsg->reply.u.link_addr.ports[i].peer_device_type, in drm_dp_send_link_address()
1569 txmsg->reply.u.link_addr.ports[i].port_number, in drm_dp_send_link_address()
1570 txmsg->reply.u.link_addr.ports[i].dpcd_revision, in drm_dp_send_link_address()
1571 txmsg->reply.u.link_addr.ports[i].mcs, in drm_dp_send_link_address()
1572 txmsg->reply.u.link_addr.ports[i].ddps, in drm_dp_send_link_address()
1573 txmsg->reply.u.link_addr.ports[i].legacy_device_plug_status, in drm_dp_send_link_address()
[all …]
Ddrm_dp_helper.c206 switch (msg.reply & DP_AUX_NATIVE_REPLY_MASK) { in drm_dp_dpcd_access()
456 switch (msg->reply & DP_AUX_NATIVE_REPLY_MASK) { in drm_dp_i2c_do_msg()
483 DRM_ERROR("invalid native reply %#04x\n", msg->reply); in drm_dp_i2c_do_msg()
487 switch (msg->reply & DP_AUX_I2C_REPLY_MASK) { in drm_dp_i2c_do_msg()
507 DRM_ERROR("invalid I2C reply %#04x\n", msg->reply); in drm_dp_i2c_do_msg()
Ddrm_ioc32.c984 struct drm_wait_vblank_reply32 reply; member
1009 if (__get_user(req32.reply.type, &request->reply.type) in compat_drm_wait_vblank()
1010 || __get_user(req32.reply.sequence, &request->reply.sequence) in compat_drm_wait_vblank()
1011 || __get_user(req32.reply.tval_sec, &request->reply.tval_sec) in compat_drm_wait_vblank()
1012 || __get_user(req32.reply.tval_usec, &request->reply.tval_usec)) in compat_drm_wait_vblank()
Ddrm_irq.c1508 vblwait->reply.sequence = vblwait->request.sequence; in drm_queue_vblank_event()
1521 vblwait->reply.sequence = seq; in drm_queue_vblank_event()
1525 vblwait->reply.sequence = vblwait->request.sequence; in drm_queue_vblank_event()
1631 vblwait->reply.sequence = drm_vblank_count_and_time(dev, crtc, &now); in drm_wait_vblank()
1632 vblwait->reply.tval_sec = now.tv_sec; in drm_wait_vblank()
1633 vblwait->reply.tval_usec = now.tv_usec; in drm_wait_vblank()
1636 vblwait->reply.sequence); in drm_wait_vblank()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_usif.c46 u16 reply; member
90 if (WARN_ON(!ntfy->p || ntfy->reply != (length + size))) in usif_notify()
146 ntfy->reply = sizeof(struct nvif_notify_rep_v0) + req->v0.reply; in usif_notify_new()
207 ntfy->p = kmalloc(sizeof(*ntfy->p) + ntfy->reply, GFP_KERNEL); in usif_notify_get()
215 ntfy->p->e.base.length = sizeof(ntfy->p->e.base) + ntfy->reply; in usif_notify_get()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
Dec168.c190 u8 reply; in ec168_identify_state() local
191 struct ec168_req req = {GET_CONFIG, 0, 1, sizeof(reply), &reply}; in ec168_identify_state()
198 dev_dbg(&d->udev->dev, "%s: reply=%02x\n", __func__, reply); in ec168_identify_state()
200 if (reply == 0x01) in ec168_identify_state()
Daf9015.c333 u8 reply; in af9015_identify_state() local
334 struct req_t req = {GET_CONFIG, 0, 0, 0, 0, 1, &reply}; in af9015_identify_state()
340 dev_dbg(&d->udev->dev, "%s: reply=%02x\n", __func__, reply); in af9015_identify_state()
342 if (reply == 0x02) in af9015_identify_state()
/linux-4.1.27/drivers/block/
Dnbd.c317 struct nbd_reply reply; in nbd_read_stat() local
320 reply.magic = 0; in nbd_read_stat()
321 result = sock_xmit(nbd, 0, &reply, sizeof(reply), MSG_WAITALL); in nbd_read_stat()
328 if (ntohl(reply.magic) != NBD_REPLY_MAGIC) { in nbd_read_stat()
330 (unsigned long)ntohl(reply.magic)); in nbd_read_stat()
335 req = nbd_find_request(nbd, *(struct request **)reply.handle); in nbd_read_stat()
342 reply.handle); in nbd_read_stat()
347 if (ntohl(reply.error)) { in nbd_read_stat()
349 ntohl(reply.error)); in nbd_read_stat()
/linux-4.1.27/net/sctp/
Dsm_statefuns.c960 struct sctp_chunk *reply; in sctp_sf_heartbeat() local
963 reply = sctp_make_heartbeat(asoc, transport); in sctp_sf_heartbeat()
964 if (!reply) in sctp_sf_heartbeat()
973 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_heartbeat()
1058 struct sctp_chunk *reply; in sctp_sf_beat_8_3() local
1084 reply = sctp_make_heartbeat_ack(asoc, chunk, param_hdr, paylen); in sctp_sf_beat_8_3()
1085 if (!reply) in sctp_sf_beat_8_3()
1088 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_beat_8_3()
2312 struct sctp_chunk *reply; in sctp_sf_do_5_2_6_stale() local
2349 reply = sctp_make_init(asoc, bp, GFP_ATOMIC, sizeof(bht)); in sctp_sf_do_5_2_6_stale()
[all …]
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddpaux.c204 msg->reply = DP_AUX_NATIVE_REPLY_ACK; in tegra_dpaux_transfer()
208 msg->reply = DP_AUX_NATIVE_REPLY_NACK; in tegra_dpaux_transfer()
212 msg->reply = DP_AUX_NATIVE_REPLY_DEFER; in tegra_dpaux_transfer()
216 msg->reply = DP_AUX_I2C_REPLY_NACK; in tegra_dpaux_transfer()
220 msg->reply = DP_AUX_I2C_REPLY_DEFER; in tegra_dpaux_transfer()
224 if ((msg->size > 0) && (msg->reply == DP_AUX_NATIVE_REPLY_ACK)) { in tegra_dpaux_transfer()
/linux-4.1.27/drivers/scsi/
Ddpt_i2o.c633 static u32 adpt_ioctl_to_context(adpt_hba * pHba, void *reply) in adpt_ioctl_to_context() argument
636 return (u32)(unsigned long)reply; in adpt_ioctl_to_context()
645 pHba->ioctl_reply_context[i] = reply; in adpt_ioctl_to_context()
651 kfree (reply); in adpt_ioctl_to_context()
1708 u32* reply = NULL; in adpt_i2o_passthru() local
1746 reply = kzalloc(REPLY_FRAME_SIZE*4, GFP_KERNEL); in adpt_i2o_passthru()
1747 if(reply == NULL) { in adpt_i2o_passthru()
1753 msg[3] = adpt_ioctl_to_context(pHba, reply); in adpt_i2o_passthru()
1764 kfree (reply); in adpt_i2o_passthru()
1812 rcode, reply); in adpt_i2o_passthru()
[all …]
Dscsi_transport_fc.c3592 err = job->req->errors = job->reply->result; in fc_bsg_jobdone()
3604 WARN_ON(job->reply->reply_payload_rcv_len > rsp->resid_len); in fc_bsg_jobdone()
3607 rsp->resid_len -= min(job->reply->reply_payload_rcv_len, in fc_bsg_jobdone()
3730 job->reply = req->sense; in fc_req_to_bsgjob()
3842 job->reply->reply_payload_rcv_len = 0; in fc_bsg_host_dispatch()
3843 job->reply->result = ret; in fc_bsg_host_dispatch()
3917 job->reply->reply_payload_rcv_len = 0; in fc_bsg_rport_dispatch()
3918 job->reply->result = ret; in fc_bsg_rport_dispatch()
3975 job->reply->reply_payload_rcv_len = 0; in fc_bsg_request_handler()
3976 job->reply->result = -ENOMSG; in fc_bsg_request_handler()
/linux-4.1.27/drivers/net/
Dvxlan.c1377 struct sk_buff *reply; in arp_reduce() local
1391 reply = arp_create(ARPOP_REPLY, ETH_P_ARP, sip, dev, tip, sha, in arp_reduce()
1396 if (reply == NULL) in arp_reduce()
1399 skb_reset_mac_header(reply); in arp_reduce()
1400 __skb_pull(reply, skb_network_offset(reply)); in arp_reduce()
1401 reply->ip_summed = CHECKSUM_UNNECESSARY; in arp_reduce()
1402 reply->pkt_type = PACKET_HOST; in arp_reduce()
1404 if (netif_rx_ni(reply) == NET_RX_DROP) in arp_reduce()
1424 struct sk_buff *reply; in vxlan_na_create() local
1437 reply = alloc_skb(len, GFP_ATOMIC); in vxlan_na_create()
[all …]
/linux-4.1.27/net/ceph/
Dmon_client.c460 if (req->reply) in release_generic_request()
461 ceph_msg_put(req->reply); in release_generic_request()
494 dout("get_generic_reply %lld got %p\n", tid, req->reply); in get_generic_reply()
496 m = ceph_msg_get(req->reply); in get_generic_reply()
550 struct ceph_mon_statfs_reply *reply = msg->front.iov_base; in handle_statfs_reply() local
553 if (msg->front.iov_len != sizeof(*reply)) in handle_statfs_reply()
560 *(struct ceph_statfs *)req->buf = reply->st; in handle_statfs_reply()
598 req->reply = ceph_msg_new(CEPH_MSG_STATFS_REPLY, 1024, GFP_NOFS, in ceph_monc_do_statfs()
600 if (!req->reply) in ceph_monc_do_statfs()
682 req->reply = ceph_msg_new(CEPH_MSG_MON_GET_VERSION_REPLY, 1024, in ceph_monc_do_get_version()
[all …]
Dauth_x.c602 struct ceph_x_authorize_reply reply; in ceph_x_verify_authorizer_reply() local
603 void *preply = &reply; in ceph_x_verify_authorizer_reply()
607 ret = ceph_x_decrypt(&au->session_key, &p, end, &preply, sizeof(reply)); in ceph_x_verify_authorizer_reply()
610 if (ret != sizeof(reply)) in ceph_x_verify_authorizer_reply()
613 if (au->nonce + 1 != le64_to_cpu(reply.nonce_plus_one)) in ceph_x_verify_authorizer_reply()
618 au->nonce, le64_to_cpu(reply.nonce_plus_one), ret); in ceph_x_verify_authorizer_reply()
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_bsg.c17 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_read_flash()
82 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_update_flash()
148 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_get_acb_state()
205 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_read_nvram()
277 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_update_nvram()
346 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_restore_defaults()
390 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_bsg_get_acb()
454 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in ql4xxx_execute_diag_cmd()
658 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_execute_diag_loopback_cmd()
812 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_process_vendor_specific()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dwmi.c1201 struct wmi_bit_rate_reply *reply; in ath6kl_wmi_bitrate_reply_rx() local
1208 reply = (struct wmi_bit_rate_reply *) datap; in ath6kl_wmi_bitrate_reply_rx()
1210 ath6kl_dbg(ATH6KL_DBG_WMI, "rateindex %d\n", reply->rate_index); in ath6kl_wmi_bitrate_reply_rx()
1212 if (reply->rate_index == (s8) RATE_AUTO) { in ath6kl_wmi_bitrate_reply_rx()
1215 index = reply->rate_index & 0x7f; in ath6kl_wmi_bitrate_reply_rx()
1219 sgi = (reply->rate_index & 0x80) ? 1 : 0; in ath6kl_wmi_bitrate_reply_rx()
1257 struct wmi_tx_pwr_reply *reply; in ath6kl_wmi_tx_pwr_reply_rx() local
1262 reply = (struct wmi_tx_pwr_reply *) datap; in ath6kl_wmi_tx_pwr_reply_rx()
1263 ath6kl_txpwr_rx_evt(wmi->parent_dev, reply->dbM); in ath6kl_wmi_tx_pwr_reply_rx()
1416 struct wmi_rssi_threshold_event *reply; in ath6kl_wmi_rssi_threshold_event_rx() local
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/edp/
Dedp_aux.c127 msg->reply = native ? in edp_aux_transfer()
170 msg->reply = native ? in edp_aux_transfer()
174 msg->reply = native ? in edp_aux_transfer()
/linux-4.1.27/drivers/block/mtip32xx/
Dmtip32xx.c992 struct host_to_dev_fis *reply; in mtip_pause_ncq() local
995 reply = port->rxfis + RX_FIS_D2H_REG; in mtip_pause_ncq()
1793 struct host_to_dev_fis *reply = (port->rxfis + RX_FIS_D2H_REG); in exec_drive_task() local
1832 command[0] = reply->command; /* Status*/ in exec_drive_task()
1833 command[1] = reply->features; /* Error*/ in exec_drive_task()
1834 command[4] = reply->cyl_low; in exec_drive_task()
1835 command[5] = reply->cyl_hi; in exec_drive_task()
1864 struct host_to_dev_fis *reply; in exec_drive_command() local
1903 reply = (port->rxfis + RX_FIS_PIO_SETUP); in exec_drive_command()
1905 reply = (port->rxfis + RX_FIS_D2H_REG); in exec_drive_command()
[all …]
/linux-4.1.27/drivers/media/usb/gspca/
Dkinect.c213 uint16_t reply[2]; in write_register() local
221 res = send_cmd(gspca_dev, 0x03, cmd, 4, reply, 4); in write_register()
226 res, reply[0], reply[1]); in write_register()
Dtouptek.c195 static int val_reply(struct gspca_dev *gspca_dev, const char *reply, int rc) in val_reply() argument
205 if (reply[0] != 0x08) { in val_reply()
206 PERR("Bad reply 0x%02X", reply[0]); in val_reply()
/linux-4.1.27/drivers/media/pci/bt8xx/
Ddst.c190 u8 reply; in dst_wait_dst_ready() local
194 if (dst_gpio_inb(state, &reply) < 0) { in dst_wait_dst_ready()
198 if ((reply & RDC_8820_PIO_0_ENABLE) == 0) { in dst_wait_dst_ready()
1083 u8 reply; in dst_get_device_id() local
1101 if (read_dst(state, &reply, GET_ACK)) in dst_get_device_id()
1103 if (reply != ACK) { in dst_get_device_id()
1104 dprintk(verbose, DST_INFO, 1, "Write not Acknowledged! [Reply=0x%02x]", reply); in dst_get_device_id()
1223 u8 reply; in dst_command() local
1244 if (read_dst(state, &reply, GET_ACK)) { in dst_command()
1252 if (reply != ACK) { in dst_command()
[all …]
Ddst_ca.c92 u8 reply; in dst_ci_command() local
107 if (read_dst(state, &reply, GET_ACK) < 0) { in dst_ci_command()
379 static int write_to_8820(struct dst_state *state, struct ca_msg *hw_buffer, u8 length, u8 reply) in write_to_8820() argument
381 if ((dst_put_ci(state, hw_buffer->msg, length, hw_buffer->msg, reply)) < 0) { in write_to_8820()
426 …struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer, u8 reply, u8 query) in ca_set_pmt() argument
440 write_to_8820(state, hw_buffer, (length + tag_length), reply); in ca_set_pmt()
/linux-4.1.27/fs/dlm/
Drcom.c551 int stop, reply = 0, names = 0, lookup = 0, lock = 0; in dlm_receive_rcom() local
557 reply = 1; in dlm_receive_rcom()
564 reply = 1; in dlm_receive_rcom()
571 reply = 1; in dlm_receive_rcom()
578 reply = 1; in dlm_receive_rcom()
591 if (reply && (rc->rc_seq_reply != seq)) in dlm_receive_rcom()
/linux-4.1.27/include/linux/
Dbsg-lib.h45 void *reply; member
Dadb.h13 unsigned char reply[32]; member
Duwb.h512 struct uwb_rceb *reply, ssize_t reply_size);
520 struct uwb_rceb *reply, size_t reply_size);
Datmdev.h284 void vcc_release_async(struct atm_vcc *vcc, int reply);
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/
Dnotify.h32 void *data, u32 size, u32 reply,
/linux-4.1.27/include/uapi/linux/
Datmsvc.h26 int reply; /* for okay and close: */ member
Dfd.h362 unsigned char reply[16]; member
/linux-4.1.27/drivers/media/dvb-frontends/
Dtda10071.c358 struct dvb_diseqc_slave_reply *reply) in tda10071_diseqc_recv_slave_reply() argument
393 reply->msg_len = tmp & 0x1f; /* [4:0] */ in tda10071_diseqc_recv_slave_reply()
394 if (reply->msg_len > sizeof(reply->msg)) in tda10071_diseqc_recv_slave_reply()
395 reply->msg_len = sizeof(reply->msg); /* truncate API max */ in tda10071_diseqc_recv_slave_reply()
405 ret = tda10071_rd_regs(priv, cmd.len, reply->msg, reply->msg_len); in tda10071_diseqc_recv_slave_reply()
Ds5h1420.c219 struct dvb_diseqc_slave_reply* reply) in s5h1420_recv_slave_reply() argument
234 timeout = jiffies + ((reply->timeout*HZ) / 1000); in s5h1420_recv_slave_reply()
255 if (length > sizeof(reply->msg)) { in s5h1420_recv_slave_reply()
259 reply->msg_len = length; in s5h1420_recv_slave_reply()
263 reply->msg[i] = s5h1420_readreg(state, 0x3d + i); in s5h1420_recv_slave_reply()
Dstb0899_drv.c747 static int stb0899_recv_slave_reply(struct dvb_frontend *fe, struct dvb_diseqc_slave_reply *reply) in stb0899_recv_slave_reply() argument
762 if (length > sizeof (reply->msg)) { in stb0899_recv_slave_reply()
766 reply->msg_len = length; in stb0899_recv_slave_reply()
770 reply->msg[i] = stb0899_read_reg(state, STB0899_DISFIFO); in stb0899_recv_slave_reply()
Dstv0900_core.c1772 struct dvb_diseqc_slave_reply *reply) in stv0900_recv_slave_reply() argument
1779 reply->msg_len = 0; in stv0900_recv_slave_reply()
1787 reply->msg_len = stv0900_get_bits(intp, FIFO_BYTENBR); in stv0900_recv_slave_reply()
1789 for (i = 0; i < reply->msg_len; i++) in stv0900_recv_slave_reply()
1790 reply->msg[i] = stv0900_read_reg(intp, DISRXDATA); in stv0900_recv_slave_reply()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Dlib-move.c1472 msg->msg_hdr.msg.reply.dst_wmd = reply_wmd; in lnet_parse_get()
1508 cpt = lnet_cpt_of_cookie(hdr->msg.reply.dst_wmd.wh_object_cookie); in lnet_parse_reply()
1515 md = lnet_wire_handle2md(&hdr->msg.reply.dst_wmd); in lnet_parse_reply()
1520 hdr->msg.reply.dst_wmd.wh_interface_cookie, in lnet_parse_reply()
1521 hdr->msg.reply.dst_wmd.wh_object_cookie); in lnet_parse_reply()
1539 rlength, hdr->msg.reply.dst_wmd.wh_object_cookie, in lnet_parse_reply()
1547 mlength, rlength, hdr->msg.reply.dst_wmd.wh_object_cookie); in lnet_parse_reply()
1705 hdr->msg.reply.dst_wmd.wh_interface_cookie, in lnet_print_hdr()
1706 hdr->msg.reply.dst_wmd.wh_object_cookie, in lnet_print_hdr()
2224 lnet_set_reply_msg_len(lnet_ni_t *ni, lnet_msg_t *reply, unsigned int len) in lnet_set_reply_msg_len() argument
[all …]
/linux-4.1.27/include/net/iucv/
Diucv.h398 u8 flags, void *reply, size_t size);
470 u8 flags, void *reply, size_t size);
/linux-4.1.27/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c155 struct sst_byt_alloc_response reply; member
427 struct sst_byt_alloc_response *reply = &stream->reply; in sst_byt_stream_commit() local
436 reply, sizeof(*reply)); in sst_byt_stream_commit()
/linux-4.1.27/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c717 uint8_t reply[20]; in cdv_intel_dp_aux_native_read() local
732 reply, reply_bytes); in cdv_intel_dp_aux_native_read()
737 ack = reply[0] >> 4; in cdv_intel_dp_aux_native_read()
739 memcpy(recv, reply + 1, ret - 1); in cdv_intel_dp_aux_native_read()
760 uint8_t reply[2]; in cdv_intel_dp_i2c_aux_ch() local
799 reply, reply_bytes); in cdv_intel_dp_i2c_aux_ch()
805 switch ((reply[0] >> 4) & DP_AUX_NATIVE_REPLY_MASK) { in cdv_intel_dp_i2c_aux_ch()
819 reply[0]); in cdv_intel_dp_i2c_aux_ch()
823 switch ((reply[0] >> 4) & DP_AUX_I2C_REPLY_MASK) { in cdv_intel_dp_i2c_aux_ch()
826 *read_byte = reply[1]; in cdv_intel_dp_i2c_aux_ch()
[all …]
Dpsb_intel_sdvo.c1546 uint32_t reply = 0, format_map = 0; in psb_intel_sdvo_get_tv_modes() local
1564 if (!psb_intel_sdvo_read_response(psb_intel_sdvo, &reply, 3)) in psb_intel_sdvo_get_tv_modes()
1568 if (reply & (1 << i)) { in psb_intel_sdvo_get_tv_modes()
2446 struct psb_intel_sdvo_enhancements_reply reply; in psb_intel_sdvo_create_enhance_property() member
2462 …ntel_sdvo_create_enhance_property_tv(psb_intel_sdvo, psb_intel_sdvo_connector, enhancements.reply); in psb_intel_sdvo_create_enhance_property()
2464 …el_sdvo_create_enhance_property_lvds(psb_intel_sdvo, psb_intel_sdvo_connector, enhancements.reply); in psb_intel_sdvo_create_enhance_property()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.c737 u32 reply[3]; in fm10k_tlv_msg_test() local
858 fm10k_tlv_msg_init(reply, FM10K_TLV_MSG_ID_TEST); in fm10k_tlv_msg_test()
859 fm10k_tlv_attr_put_s32(reply, FM10K_TEST_MSG_RESULT, err); in fm10k_tlv_msg_test()
862 return mbx->ops.enqueue_tx(hw, mbx, reply); in fm10k_tlv_msg_test()
/linux-4.1.27/include/linux/ceph/
Dmon_client.h55 struct ceph_msg *reply; /* and reply */ member
/linux-4.1.27/drivers/net/usb/
Dcx82310_eth.c61 static int cx82310_cmd(struct usbnet *dev, enum cx82310_cmd cmd, bool reply, in cx82310_cmd() argument
86 if (reply) { in cx82310_cmd()
Drndis_host.c241 void **reply, int *reply_len) in rndis_query() argument
276 *reply = (unsigned char *) &u.get_c->request_id + off; in rndis_query()
/linux-4.1.27/Documentation/blockdev/
Dnbd.txt10 request over TCP to the server, which will reply with the data read.
/linux-4.1.27/drivers/media/radio/
Dradio-mr800.c149 u8 *extra, u8 extralen, bool reply) in amradio_send_cmd() argument
161 radio->buffer[7] = extra || reply ? 8 : 0; in amradio_send_cmd()
172 if (!extra && !reply) in amradio_send_cmd()
/linux-4.1.27/arch/m68k/include/asm/
Dmac_iop.h145 __u8 reply[IOP_MSG_LEN]; /* the reply to the message */ member
/linux-4.1.27/drivers/gpu/drm/via/
Dvia_irq.c387 irqwait->reply.tval_sec = now.tv_sec; in via_wait_irq()
388 irqwait->reply.tval_usec = now.tv_usec; in via_wait_irq()
/linux-4.1.27/Documentation/networking/
Drxrpc.txt60 receives a blob (the reply), and the server receives the request and then
61 transmits the reply.
127 which the service receives; then the service transmits the reply data
155 (*) Reception of a reply data packet implicitly hard-ACK's all the data
158 (*) An call is complete when the request has been sent, the reply has been
159 received and the final hard-ACK on the last packet of the reply has
213 followed by the reply being received with one or more recvmsgs.
236 the reply is transmitted with one or more sendmsgs, and then the final ACK
549 (6) The reply data will then be posted to the server socket for recvmsg() to
550 pick up. MSG_MORE will be flagged by recvmsg() if there's more reply data
[all …]
/linux-4.1.27/drivers/macintosh/ams/
Dams-pmu.c77 return req.reply[0]; in ams_pmu_get_register()
/linux-4.1.27/drivers/scsi/libfc/
Dfc_lport.c1913 job->reply->result = (PTR_ERR(fp) == -FC_EX_CLOSED) ? in fc_lport_bsg_resp()
1934 job->reply->reply_data.ctels_reply.status = in fc_lport_bsg_resp()
1939 job->reply->reply_payload_rcv_len += in fc_lport_bsg_resp()
1946 if (job->reply->reply_payload_rcv_len > in fc_lport_bsg_resp()
1948 job->reply->reply_payload_rcv_len = in fc_lport_bsg_resp()
1950 job->reply->result = 0; in fc_lport_bsg_resp()
2095 job->reply->reply_payload_rcv_len = 0; in fc_lport_bsg_request()
/linux-4.1.27/net/mac80211/
Dmesh_hwmp.c521 bool reply = false; in hwmp_preq_frame_process() local
541 reply = true; in hwmp_preq_frame_process()
556 reply = true; in hwmp_preq_frame_process()
576 reply = true; in hwmp_preq_frame_process()
588 if (reply) { in hwmp_preq_frame_process()
/linux-4.1.27/drivers/usb/gadget/udc/
Ds3c-hsudc.c594 __le16 reply; in s3c_hsudc_process_req_status() local
599 reply = cpu_to_le16(0); in s3c_hsudc_process_req_status()
603 reply = cpu_to_le16(0); in s3c_hsudc_process_req_status()
609 reply = cpu_to_le16(hsep->stopped ? 1 : 0); in s3c_hsudc_process_req_status()
615 hsreq.req.buf = &reply; in s3c_hsudc_process_req_status()
/linux-4.1.27/include/uapi/drm/
Dvia_drm.h247 struct drm_wait_vblank_reply reply; member
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_dp_auxch.c202 msg->reply = ack >> 4; in radeon_dp_aux_transfer_native()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1139 unsigned int tid, int pg_idx, bool reply) in ddp_setup_conn_pgidx() argument
1155 req->reply = V_NO_REPLY(reply ? 0 : 1); in ddp_setup_conn_pgidx()
1176 int hcrc, int dcrc, int reply) in ddp_setup_conn_digest() argument
1192 req->reply = V_NO_REPLY(reply ? 0 : 1); in ddp_setup_conn_digest()
/linux-4.1.27/drivers/message/fusion/lsi/
Dmpi_history.txt119 * 12-04-00 01.01.02 Modified IOCFacts reply, added FWUpload messages, and
123 * Added ImageType to FwUpload reply.
155 * the IOCFacts reply.
156 * Added two new PortTypes for the PortFacts reply.
191 * Added MaxInitiators field to PortFacts reply.
628 * 01-25-01 01.01.04 Move InitiatorIndex in LinkServiceRsp reply to a larger
681 * 07-12-02 01.02.07 Added structures for Mailbox request and reply.
724 * reply.
/linux-4.1.27/block/
Dbsg-lib.c129 job->reply = req->sense; in bsg_create_job()
/linux-4.1.27/drivers/net/fddi/skfp/
Dpmf.c284 SMbuf *reply ; in smt_pmf_received_pack() local
299 reply = smt_build_pmf_response(smc,sm, in smt_pmf_received_pack()
301 if (reply) { in smt_pmf_received_pack()
302 sm = smtod(reply,struct smt_header *) ; in smt_pmf_received_pack()
306 smt_send_frame(smc,reply,FC_SMT_INFO,local) ; in smt_pmf_received_pack()
/linux-4.1.27/drivers/scsi/aacraid/
Dcommsup.c438 int priority, int wait, int reply, fib_callback callback, in aac_fib_send() argument
462 if (wait && !reply) { in aac_fib_send()
464 } else if (!wait && reply) { in aac_fib_send()
467 } else if (!wait && !reply) { in aac_fib_send()
470 } else if (wait && reply) { in aac_fib_send()
641 if (reply) in aac_fib_send()
Dcommctrl.c474 struct aac_srb_reply* reply; in aac_send_raw_srb() local
813 reply = (struct aac_srb_reply *) fib_data(srbfib); in aac_send_raw_srb()
814 if(copy_to_user(user_reply,reply,sizeof(struct aac_srb_reply))){ in aac_send_raw_srb()
/linux-4.1.27/Documentation/filesystems/
Dfuse.txt170 or may honor them by sending a reply to the _original_ request, with
184 should reply to the INTERRUPT request with an EAGAIN error. In case
186 reply will be ignored.
402 | | [create reply header before addr]
/linux-4.1.27/Documentation/scsi/
Darcmsr_spec.txt42 ** (outbount queue port) Request reply
44 ** => flag for reply
46 ** => real address (bit27--bit31) of reply arcmsr_cdb
47 ** bit31 : must be 0 (for this type of reply)
/linux-4.1.27/drivers/s390/char/
Dmonreader.c393 goto reply; in mon_read()
422 reply: in mon_read()
/linux-4.1.27/Documentation/
Dpi-futex.txt22 The short reply: user-space PI helps achieving/improving determinism for
28 The longer reply:
/linux-4.1.27/net/ipv4/
Dtcp_metrics.c1000 void *reply; in tcp_metrics_nl_cmd_get() local
1016 reply = genlmsg_put_reply(msg, info, &tcp_metrics_nl_family, 0, in tcp_metrics_nl_cmd_get()
1018 if (!reply) in tcp_metrics_nl_cmd_get()
1038 genlmsg_end(msg, reply); in tcp_metrics_nl_cmd_get()
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_bsg.c3177 job->reply->reply_payload_rcv_len = job->reply_payload.payload_len; in bfad_im_bsg_vendor_request()
3178 job->reply->result = rc; in bfad_im_bsg_vendor_request()
3186 job->reply->result = rc; in bfad_im_bsg_vendor_request()
3188 job->reply->reply_payload_rcv_len = 0; in bfad_im_bsg_vendor_request()
3371 job->reply->reply_payload_rcv_len = 0; in bfad_im_bsg_els_ct_request()
3519 job->reply->reply_payload_rcv_len = drv_fcxp->rsp_len; in bfad_im_bsg_els_ct_request()
3520 job->reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in bfad_im_bsg_els_ct_request()
3522 job->reply->reply_payload_rcv_len = in bfad_im_bsg_els_ct_request()
3525 job->reply->reply_data.ctels_reply.status = in bfad_im_bsg_els_ct_request()
3551 job->reply->result = rc; in bfad_im_bsg_els_ct_request()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/
Dsubmitting-patches.txt46 1) If you aren't comfortable reviewing a given binding, reply to it and ask
/linux-4.1.27/net/bridge/netfilter/
DKconfig161 tristate "ebt: arp reply target support"
164 This option adds the arp reply target, which allows
/linux-4.1.27/drivers/usb/usbip/
Dusbip_protocol.txt200 | | | otherwise the reply ends with the status field.
342 0 | 4 | 0x00000004 | command: reply for the URB unlink command
/linux-4.1.27/include/drm/
Ddrm_dp_mst_helper.h369 struct drm_dp_sideband_msg_reply_body reply; member

12