Home
last modified time | relevance | path

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

12

/linux-4.4.14/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.4.14/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.4.14/drivers/staging/rdma/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.4.14/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.4.14/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.4.14/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_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 (!reply) in zcrypt_cex2a_receive()
400 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()
Dzcrypt_cex4.c150 ap_dev->reply = &zdev->reply; in zcrypt_cex4_probe()
Dzcrypt_api.h119 struct ap_message reply; /* Per-device reply structure. */ member
Dap_bus.h203 struct ap_message *reply; /* Per device reply message. */ member
Dap_bus.c556 status = __ap_recv(ap_dev->qid, &ap_dev->reply->psmid, in ap_sm_recv()
557 ap_dev->reply->message, ap_dev->reply->length); in ap_sm_recv()
566 if (ap_msg->psmid != ap_dev->reply->psmid) in ap_sm_recv()
570 ap_msg->receive(ap_dev, ap_msg, ap_dev->reply); in ap_sm_recv()
Dzcrypt_api.c228 zdev->reply.message = kmalloc(max_response_size, GFP_KERNEL); in zcrypt_device_alloc()
229 if (!zdev->reply.message) in zcrypt_device_alloc()
231 zdev->reply.length = max_response_size; in zcrypt_device_alloc()
245 kfree(zdev->reply.message); in zcrypt_device_free()
/linux-4.4.14/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.4.14/net/openvswitch/
Ddatapath.c914 struct sk_buff *reply; in ovs_flow_cmd_new() local
966 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
968 if (IS_ERR(reply)) { in ovs_flow_cmd_new()
969 error = PTR_ERR(reply); in ovs_flow_cmd_new()
995 if (unlikely(reply)) { in ovs_flow_cmd_new()
998 reply, info->snd_portid, in ovs_flow_cmd_new()
1037 if (unlikely(reply)) { in ovs_flow_cmd_new()
1040 reply, info->snd_portid, in ovs_flow_cmd_new()
1052 if (reply) in ovs_flow_cmd_new()
1053 ovs_notify(&dp_flow_genl_family, reply, info); in ovs_flow_cmd_new()
[all …]
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Dframework.c368 sfw_get_stats(srpc_stat_reqst_t *request, srpc_stat_reply_t *reply) in sfw_get_stats() argument
371 sfw_counters_t *cnt = &reply->str_fw; in sfw_get_stats()
374 reply->str_sid = (sn == NULL) ? LST_INVALID_SID : sn->sn_id; in sfw_get_stats()
377 reply->str_status = EINVAL; in sfw_get_stats()
382 reply->str_status = ESRCH; in sfw_get_stats()
386 lnet_counters_get(&reply->str_lnet); in sfw_get_stats()
387 srpc_get_counters(&reply->str_rpc); in sfw_get_stats()
402 reply->str_status = 0; in sfw_get_stats()
407 sfw_make_session(srpc_mksn_reqst_t *request, srpc_mksn_reply_t *reply) in sfw_make_session() argument
415 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()
1177 srpc_msg_t *reply; in srpc_send_rpc() local
1187 reply = &rpc->crpc_replymsg; in srpc_send_rpc()
1242 srpc_unpack_msg_hdr(reply); in srpc_send_rpc()
1243 if (reply->msg_type != type || in srpc_send_rpc()
1244 (reply->msg_magic != SRPC_MSG_MAGIC && in srpc_send_rpc()
[all …]
Dconrpc.c410 rep = &(*msgpp)->msg_body.reply; in lstcon_rpc_get_reply()
522 rep = (srpc_generic_reply_t *)&msg->msg_body.reply; in lstcon_rpc_trans_interpreter()
923 lstcon_node_t *nd, srpc_msg_t *reply) in lstcon_sesnew_stat_reply() argument
925 srpc_mksn_reply_t *mksn_rep = &reply->msg_body.mksn_reply; in lstcon_sesnew_stat_reply()
929 (reply->msg_ses_feats & ~LST_FEATS_MASK) != 0) { in lstcon_sesnew_stat_reply()
937 reply->msg_ses_feats); in lstcon_sesnew_stat_reply()
945 trans->tas_features = reply->msg_ses_feats; in lstcon_sesnew_stat_reply()
948 if (reply->msg_ses_feats != trans->tas_features) { in lstcon_sesnew_stat_reply()
950 reply->msg_ses_feats, libcfs_nid2str(nd->nd_id.nid), in lstcon_sesnew_stat_reply()
Drpc.h254 srpc_generic_reply_t reply; member
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dmemx.c47 u32 reply[2]; in nvkm_memx_init() local
50 ret = nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_init()
59 memx->base = reply[0]; in nvkm_memx_init()
60 memx->size = reply[1]; in nvkm_memx_init()
77 u32 finish, reply[2]; in nvkm_memx_fini() local
88 nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_EXEC, in nvkm_memx_fini()
93 reply[0], reply[1]); in nvkm_memx_fini()
168 u32 reply[2], base, size, i; in nvkm_memx_train_result() local
171 ret = nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_train_result()
176 base = reply[0]; in nvkm_memx_train_result()
[all …]
Dbase.c36 nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], in nvkm_pmu_send()
56 if (reply) { in nvkm_pmu_send()
80 if (reply) { in nvkm_pmu_send()
82 reply[0] = pmu->recv.data[0]; in nvkm_pmu_send()
83 reply[1] = pmu->recv.data[1]; in nvkm_pmu_send()
/linux-4.4.14/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.4.14/drivers/nfc/
Dmei_phy.c108 struct mei_nfc_reply *reply = NULL; in mei_nfc_if_version() local
131 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()
132 if (!reply) in mei_nfc_if_version()
135 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); in mei_nfc_if_version()
142 version = (struct mei_nfc_if_version *)reply->data; in mei_nfc_if_version()
149 kfree(reply); in mei_nfc_if_version()
155 struct mei_nfc_cmd *cmd, *reply; in mei_nfc_connect() local
174 reply = kzalloc(connect_resp_length, GFP_KERNEL); in mei_nfc_connect()
175 if (!reply) { in mei_nfc_connect()
180 connect_resp = (struct mei_nfc_connect_resp *)reply->data; in mei_nfc_connect()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/net/wireless/ath/wil6210/
Dwmi.c810 u16 reply_id, void *reply, u8 reply_size, int to_msec) in wmi_call() argument
822 wil->reply_buf = reply; in wmi_call()
882 } __packed reply; in wmi_pcp_start() local
900 WMI_PCP_STARTED_EVENTID, &reply, sizeof(reply), 5000); in wmi_pcp_start()
904 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) in wmi_pcp_start()
936 } __packed reply; in wmi_get_ssid() local
940 &reply, sizeof(reply), 20); in wmi_get_ssid()
944 len = le32_to_cpu(reply.cmd.ssid_len); in wmi_get_ssid()
945 if (len > sizeof(reply.cmd.ssid)) in wmi_get_ssid()
949 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.c996 } __packed reply; in wil_bf_debugfs_show() local
1003 WMI_NOTIFY_REQ_DONE_EVENTID, &reply, in wil_bf_debugfs_show()
1004 sizeof(reply), 20); in wil_bf_debugfs_show()
1006 if (rc || is_all_zeros(&reply.evt, sizeof(reply.evt))) in wil_bf_debugfs_show()
1009 status = le32_to_cpu(reply.evt.status); in wil_bf_debugfs_show()
1019 le64_to_cpu(reply.evt.tsf), in wil_bf_debugfs_show()
1020 le16_to_cpu(reply.evt.bf_mcs), in wil_bf_debugfs_show()
1021 le32_to_cpu(reply.evt.tx_tpt), in wil_bf_debugfs_show()
1022 reply.evt.sqi, in wil_bf_debugfs_show()
1024 le16_to_cpu(reply.evt.my_rx_sector), in wil_bf_debugfs_show()
[all …]
Dtxrx.c746 } __packed reply; in wil_vring_init_tx() local
774 WMI_VRING_CFG_DONE_EVENTID, &reply, sizeof(reply), 100); in wil_vring_init_tx()
778 if (reply.cmd.status != WMI_FW_STATUS_SUCCESS) { in wil_vring_init_tx()
780 reply.cmd.status); in wil_vring_init_tx()
784 vring->hwtail = le32_to_cpu(reply.cmd.tx_vring_tail_ptr); in wil_vring_init_tx()
818 } __packed reply; in wil_vring_init_bcast() local
846 WMI_VRING_CFG_DONE_EVENTID, &reply, sizeof(reply), 100); in wil_vring_init_bcast()
850 if (reply.cmd.status != WMI_FW_STATUS_SUCCESS) { in wil_vring_init_bcast()
852 reply.cmd.status); in wil_vring_init_bcast()
856 vring->hwtail = le32_to_cpu(reply.cmd.tx_vring_tail_ptr); in wil_vring_init_bcast()
/linux-4.4.14/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.4.14/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.c1361 bsg_job->reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla2x00_ct_entry()
1367 bsg_job->reply->reply_payload_rcv_len = in qla2x00_ct_entry()
1374 bsg_job->reply->reply_payload_rcv_len); in qla2x00_ct_entry()
1380 bsg_job->reply->reply_payload_rcv_len = 0; in qla2x00_ct_entry()
1386 bsg_job->reply->reply_payload_rcv_len = in qla2x00_ct_entry()
1434 bsg_job->reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla24xx_els_ct_entry()
1440 bsg_job->reply->reply_payload_rcv_len = in qla24xx_els_ct_entry()
1462 bsg_job->reply->reply_payload_rcv_len = 0; in qla24xx_els_ct_entry()
1471 bsg_job->reply->reply_payload_rcv_len = bsg_job->reply_payload.payload_len; in qla24xx_els_ct_entry()
1926 bsg_job->reply->reply_payload_rcv_len = in qla25xx_process_bidir_status_iocb()
[all …]
/linux-4.4.14/drivers/usb/storage/
Ddatafab.c235 unsigned char *reply = us->iobuf; in datafab_write_data() local
301 result = datafab_bulk_read(us, reply, 2); in datafab_write_data()
305 if (reply[0] != 0x50 && reply[1] != 0) { in datafab_write_data()
307 reply[0], reply[1]); in datafab_write_data()
401 unsigned char *reply; in datafab_id_device() local
414 reply = kmalloc(512, GFP_NOIO); in datafab_id_device()
415 if (!reply) in datafab_id_device()
428 rc = datafab_bulk_read(us, reply, 512); in datafab_id_device()
432 info->sectors = ((u32)(reply[117]) << 24) | in datafab_id_device()
433 ((u32)(reply[116]) << 16) | in datafab_id_device()
[all …]
Djumpshot.c336 unsigned char *reply; in jumpshot_id_device() local
344 reply = kmalloc(512, GFP_NOIO); in jumpshot_id_device()
345 if (!reply) in jumpshot_id_device()
359 rc = jumpshot_bulk_read(us, reply, 512); in jumpshot_id_device()
365 info->sectors = ((u32)(reply[117]) << 24) | in jumpshot_id_device()
366 ((u32)(reply[116]) << 16) | in jumpshot_id_device()
367 ((u32)(reply[115]) << 8) | in jumpshot_id_device()
368 ((u32)(reply[114]) ); in jumpshot_id_device()
373 kfree(reply); in jumpshot_id_device()
Dshuttle_usbat.c327 unsigned char *reply = us->iobuf; in usbat_check_status() local
330 rc = usbat_get_status(us, reply); in usbat_check_status()
335 if (*reply & 0x01 && *reply != 0x51) in usbat_check_status()
339 if (*reply & 0x20) in usbat_check_status()
1070 unsigned char *reply; in usbat_flash_get_sector_count() local
1077 reply = kmalloc(512, GFP_NOIO); in usbat_flash_get_sector_count()
1078 if (!reply) in usbat_flash_get_sector_count()
1098 rc = usbat_read_block(us, reply, 512, 0); in usbat_flash_get_sector_count()
1102 info->sectors = ((u32)(reply[117]) << 24) | in usbat_flash_get_sector_count()
1103 ((u32)(reply[116]) << 16) | in usbat_flash_get_sector_count()
[all …]
/linux-4.4.14/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.c296 struct qeth_reply *reply, unsigned long data) in qeth_l2_send_setdelvlan_cb() argument
1873 struct qeth_reply *reply, unsigned long data) in qeth_bridgeport_query_support_cb() argument
1876 struct _qeth_sbp_cbctl *cbctl = (struct _qeth_sbp_cbctl *)reply->param; in qeth_bridgeport_query_support_cb()
1926 struct qeth_reply *reply, unsigned long data) in qeth_bridgeport_query_ports_cb() argument
1930 struct _qeth_sbp_cbctl *cbctl = (struct _qeth_sbp_cbctl *)reply->param; in qeth_bridgeport_query_ports_cb()
1999 struct qeth_reply *reply, unsigned long data) in qeth_bridgeport_set_cb() argument
2002 struct _qeth_sbp_cbctl *cbctl = (struct _qeth_sbp_cbctl *)reply->param; in qeth_bridgeport_set_cb()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dmad.c63 static int reply(struct ib_mad_hdr *smp) in reply() function
301 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc()
311 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc()
327 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo()
350 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo()
383 return reply((struct ib_mad_hdr *)smp); in subn_get_nodeinfo()
532 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo()
543 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo()
712 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo()
748 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_pkeytable()
[all …]
/linux-4.4.14/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.4.14/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.c143 struct nf_conntrack_tuple reply; in nf_nat_used_tuple() local
145 nf_ct_invert_tuplepr(&reply, tuple); in nf_nat_used_tuple()
146 return nf_conntrack_tuple_taken(&reply, ignored_conntrack); in nf_nat_used_tuple()
408 struct nf_conntrack_tuple reply; in nf_nat_setup_info() local
411 nf_ct_invert_tuplepr(&reply, &new_tuple); in nf_nat_setup_info()
412 nf_conntrack_alter_reply(ct, &reply); in nf_nat_setup_info()
/linux-4.4.14/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.4.14/drivers/misc/mei/
Dbus-fixup.c130 struct mei_nfc_reply *reply = NULL; in mei_nfc_if_version() local
148 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()
149 if (!reply) in mei_nfc_if_version()
153 bytes_recv = __mei_cl_recv(cl, (u8 *)reply, if_version_length); in mei_nfc_if_version()
160 memcpy(ver, reply->data, sizeof(struct mei_nfc_if_version)); in mei_nfc_if_version()
166 kfree(reply); in mei_nfc_if_version()
/linux-4.4.14/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.4.14/sound/soc/intel/haswell/
Dsst-haswell-ipc.c221 struct sst_hsw_ipc_stream_alloc_reply reply; member
432 if (stream->reply.stream_hw_id == stream_id) in get_stream_by_id()
495 stream->reply.stream_hw_id); in hsw_notification_work()
505 stream->reply.stream_hw_id); in hsw_notification_work()
542 trace_ipc_notification("stream reset", stream->reply.stream_hw_id); in hsw_stream_update()
547 stream->reply.stream_hw_id); in hsw_stream_update()
552 stream->reply.stream_hw_id); in hsw_stream_update()
560 u32 reply = msg_get_global_reply(header); in hsw_process_reply() local
571 switch (reply) { in hsw_process_reply()
853 stream->reply.volume_register_address[channel], in sst_hsw_stream_get_volume()
[all …]
/linux-4.4.14/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.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_base.c726 u32 reply) in _base_display_reply_info() argument
732 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info()
769 u32 reply) in mpt3sas_base_done() argument
773 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_base_done()
783 memcpy(ioc->base_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_base_done()
801 _base_async_event(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, u32 reply) in _base_async_event() argument
807 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_async_event()
836 mpt3sas_scsih_event_callback(ioc, msix_index, reply); in _base_async_event()
839 mpt3sas_ctl_event_callback(ioc, msix_index, reply); in _base_async_event()
935 u32 reply; in _base_interrupt() local
[all …]
Dmpt3sas_base.h421 void *reply; member
1116 u8 *reply; member
1171 u32 reply);
1223 u32 reply);
1225 u8 msix_index, u32 reply);
1251 u32 reply);
1278 u32 reply);
1363 u32 reply);
1366 u8 msix_index, u32 reply);
1378 u32 reply);
Dmpt3sas_ctl.c271 u32 reply) in mpt3sas_ctl_done() argument
283 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_ctl_done()
285 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_ctl_done()
399 u32 reply) in mpt3sas_ctl_event_callback() argument
403 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_ctl_event_callback()
594 tm_reply = ioc->ctl_cmds.reply; in _ctl_set_task_mid()
602 if (copy_to_user(karg->reply_frame_buf_ptr, ioc->ctl_cmds.reply, in _ctl_set_task_mid()
719 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_do_mpt_command()
925 mpi_reply = ioc->ctl_cmds.reply; in _ctl_do_mpt_command()
955 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()
1219 mpi_reply = ioc->transport_cmds.reply; in _transport_get_expander_phy_error_log()
1553 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_phy_control()
2074 mpi_reply = ioc->transport_cmds.reply; in _transport_smp_handler()
Dmpt3sas_scsih.c2089 _scsih_tm_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_tm_done() argument
2099 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _scsih_tm_done()
2101 memcpy(ioc->tm_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in _scsih_tm_done()
2251 memset(ioc->tm_cmds.reply, 0, sizeof(Mpi2SCSITaskManagementReply_t)); in mpt3sas_scsih_issue_tm()
2278 mpi_reply = ioc->tm_cmds.reply; in mpt3sas_scsih_issue_tm()
3180 u32 reply) in _scsih_tm_tr_complete() argument
3185 mpt3sas_base_get_reply_virt_addr(ioc, reply); in _scsih_tm_tr_complete()
3268 u8 msix_index, u32 reply) in _scsih_sas_control_complete() argument
3271 mpt3sas_base_get_reply_virt_addr(ioc, reply); in _scsih_sas_control_complete()
3351 u8 msix_index, u32 reply) in _scsih_tm_volume_tr_complete() argument
[all …]
Dmpt3sas_config.c240 u32 reply) in mpt3sas_config_done() argument
249 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_config_done()
252 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt3sas_config_done()
408 memcpy(mpi_reply, ioc->config_cmds.reply, in _config_request()
/linux-4.4.14/drivers/staging/rdma/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.4.14/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.4.14/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.4.14/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.4.14/drivers/infiniband/hw/qib/
Dqib_mad.c40 static int reply(struct ib_smp *smp) in reply() function
274 return reply(smp); in subn_get_nodedescription()
310 return reply(smp); in subn_get_nodeinfo()
343 return reply(smp); in subn_get_guidinfo()
469 ret = reply(smp); in subn_get_portinfo()
567 ret = reply(smp); in subn_get_portinfo()
615 return reply(smp); in subn_get_pkeytable()
1071 return reply(smp); in subn_get_sl_to_vl()
1083 return reply(smp); in subn_set_sl_to_vl()
1115 return reply(smp); in subn_get_vl_arb()
[all …]
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c341 struct ldlm_reply *reply; in ldlm_cli_enqueue_fini() local
365 reply = req_capsule_server_get(&req->rq_pill, &RMF_DLM_REP); in ldlm_cli_enqueue_fini()
366 if (reply == NULL) { in ldlm_cli_enqueue_fini()
408 &reply->lock_handle, in ldlm_cli_enqueue_fini()
411 lock->l_remote_handle = reply->lock_handle; in ldlm_cli_enqueue_fini()
414 *flags = ldlm_flags_from_wire(reply->lock_flags); in ldlm_cli_enqueue_fini()
415 lock->l_flags |= ldlm_flags_from_wire(reply->lock_flags & in ldlm_cli_enqueue_fini()
419 lock->l_flags |= ldlm_flags_from_wire(reply->lock_flags & in ldlm_cli_enqueue_fini()
424 lock, reply->lock_handle.cookie, *flags); in ldlm_cli_enqueue_fini()
430 int newmode = reply->lock_desc.l_req_mode; in ldlm_cli_enqueue_fini()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Dclient.c98 u8 index, reply; in nvkm_client_notify_new() local
117 req->v0.reply, req->v0.route, req->v0.token); in nvkm_client_notify_new()
123 reply = req->v0.reply; in nvkm_client_notify_new()
128 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.4.14/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.4.14/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.4.14/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.c588 struct audit_reply *reply = (struct audit_reply *)arg; in audit_send_reply_thread() local
589 struct net *net = reply->net; in audit_send_reply_thread()
597 netlink_unicast(aunet->nlsk , reply->skb, reply->portid, 0); in audit_send_reply_thread()
599 kfree(reply); in audit_send_reply_thread()
622 struct audit_reply *reply = kmalloc(sizeof(struct audit_reply), in audit_send_reply() local
625 if (!reply) in audit_send_reply()
632 reply->net = get_net(net); in audit_send_reply()
633 reply->portid = portid; in audit_send_reply()
634 reply->skb = skb; in audit_send_reply()
636 tsk = kthread_run(audit_send_reply_thread, reply, "audit_send_reply"); in audit_send_reply()
[all …]
/linux-4.4.14/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()
2062 MPT_FRAME_HDR *reply) in mptsas_mgmt_done() argument
2065 if (reply != NULL) { in mptsas_mgmt_done()
2067 memcpy(ioc->sas_mgmt.reply, reply, in mptsas_mgmt_done()
2068 min(ioc->reply_sz, 4 * reply->u.reply.MsgLength)); in mptsas_mgmt_done()
2083 SasIoUnitControlReply_t *reply; in mptsas_phy_reset() local
2138 reply = (SasIoUnitControlReply_t *)ioc->sas_mgmt.reply; in mptsas_phy_reset()
2139 if (reply->IOCStatus != MPI_IOCSTATUS_SUCCESS) { in mptsas_phy_reset()
2141 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
797 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.c161 MPT_FRAME_HDR *reply);
539 ioc_stat = le16_to_cpu(mr->u.reply.IOCStatus); in mpt_reply()
541 u32 log_info = le32_to_cpu(mr->u.reply.IOCLogInfo); in mpt_reply()
628 mptbase_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) in mptbase_reply() argument
635 switch (reply->u.hdr.Function) { in mptbase_reply()
637 pEventReply = (EventNotificationReply_t *)reply; in mptbase_reply()
649 memcpy(ioc->mptbase_cmds.reply, reply, in mptbase_reply()
651 4 * reply->u.reply.MsgLength)); in mptbase_reply()
667 ioc->name, reply->u.hdr.Function); in mptbase_reply()
3550 u8 reply[sizeof(FWUploadReply_t)]; in mpt_do_upload() local
[all …]
/linux-4.4.14/drivers/gpu/drm/
Ddrm_dp_mst_topology.c1562 if (txmsg->reply.reply_type == 1) in drm_dp_send_link_address()
1565 DRM_DEBUG_KMS("link address reply: %d\n", txmsg->reply.u.link_addr.nports); in drm_dp_send_link_address()
1566 for (i = 0; i < txmsg->reply.u.link_addr.nports; i++) { in drm_dp_send_link_address()
1568 txmsg->reply.u.link_addr.ports[i].input_port, in drm_dp_send_link_address()
1569 txmsg->reply.u.link_addr.ports[i].peer_device_type, in drm_dp_send_link_address()
1570 txmsg->reply.u.link_addr.ports[i].port_number, in drm_dp_send_link_address()
1571 txmsg->reply.u.link_addr.ports[i].dpcd_revision, in drm_dp_send_link_address()
1572 txmsg->reply.u.link_addr.ports[i].mcs, in drm_dp_send_link_address()
1573 txmsg->reply.u.link_addr.ports[i].ddps, in drm_dp_send_link_address()
1574 txmsg->reply.u.link_addr.ports[i].legacy_device_plug_status, in drm_dp_send_link_address()
[all …]
Ddrm_dp_helper.c208 switch (msg.reply & DP_AUX_NATIVE_REPLY_MASK) { in drm_dp_dpcd_access()
561 switch (msg->reply & DP_AUX_NATIVE_REPLY_MASK) { in drm_dp_i2c_do_msg()
588 DRM_ERROR("invalid native reply %#04x\n", msg->reply); in drm_dp_i2c_do_msg()
592 switch (msg->reply & DP_AUX_I2C_REPLY_MASK) { in drm_dp_i2c_do_msg()
622 DRM_ERROR("invalid I2C reply %#04x\n", msg->reply); in drm_dp_i2c_do_msg()
Ddrm_ioc32.c981 struct drm_wait_vblank_reply32 reply; member
1006 if (__get_user(req32.reply.type, &request->reply.type) in compat_drm_wait_vblank()
1007 || __get_user(req32.reply.sequence, &request->reply.sequence) in compat_drm_wait_vblank()
1008 || __get_user(req32.reply.tval_sec, &request->reply.tval_sec) in compat_drm_wait_vblank()
1009 || __get_user(req32.reply.tval_usec, &request->reply.tval_usec)) in compat_drm_wait_vblank()
Ddrm_irq.c1697 vblwait->reply.sequence = vblwait->request.sequence; in drm_queue_vblank_event()
1710 vblwait->reply.sequence = seq; in drm_queue_vblank_event()
1714 vblwait->reply.sequence = vblwait->request.sequence; in drm_queue_vblank_event()
1820 vblwait->reply.sequence = drm_vblank_count_and_time(dev, pipe, &now); in drm_wait_vblank()
1821 vblwait->reply.tval_sec = now.tv_sec; in drm_wait_vblank()
1822 vblwait->reply.tval_usec = now.tv_usec; in drm_wait_vblank()
1825 vblwait->reply.sequence); in drm_wait_vblank()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_usif.c47 u16 reply; member
91 if (WARN_ON(!ntfy->p || ntfy->reply != (length + size))) in usif_notify()
147 ntfy->reply = sizeof(struct nvif_notify_rep_v0) + req->v0.reply; in usif_notify_new()
208 ntfy->p = kmalloc(sizeof(*ntfy->p) + ntfy->reply, GFP_KERNEL); in usif_notify_get()
216 ntfy->p->e.base.length = sizeof(ntfy->p->e.base) + ntfy->reply; in usif_notify_get()
/linux-4.4.14/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.4.14/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.4.14/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()
Ddpti.h293 static s32 adpt_i2o_to_scsi(void __iomem *reply, struct scsi_cmnd* cmd);
/linux-4.4.14/net/ceph/
Dmon_client.c476 if (req->reply) in release_generic_request()
477 ceph_msg_put(req->reply); in release_generic_request()
510 dout("get_generic_reply %lld got %p\n", tid, req->reply); in get_generic_reply()
512 m = ceph_msg_get(req->reply); in get_generic_reply()
566 struct ceph_mon_statfs_reply *reply = msg->front.iov_base; in handle_statfs_reply() local
569 if (msg->front.iov_len != sizeof(*reply)) in handle_statfs_reply()
576 *(struct ceph_statfs *)req->buf = reply->st; in handle_statfs_reply()
614 req->reply = ceph_msg_new(CEPH_MSG_STATFS_REPLY, 1024, GFP_NOFS, in ceph_monc_do_statfs()
616 if (!req->reply) in ceph_monc_do_statfs()
698 req->reply = ceph_msg_new(CEPH_MSG_MON_GET_VERSION_REPLY, 1024, in ceph_monc_do_get_version()
[all …]
Dauth_x.c611 struct ceph_x_authorize_reply reply; in ceph_x_verify_authorizer_reply() local
612 void *preply = &reply; in ceph_x_verify_authorizer_reply()
616 ret = ceph_x_decrypt(&au->session_key, &p, end, &preply, sizeof(reply)); in ceph_x_verify_authorizer_reply()
619 if (ret != sizeof(reply)) in ceph_x_verify_authorizer_reply()
622 if (au->nonce + 1 != le64_to_cpu(reply.nonce_plus_one)) in ceph_x_verify_authorizer_reply()
627 au->nonce, le64_to_cpu(reply.nonce_plus_one), ret); in ceph_x_verify_authorizer_reply()
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/nouveau/nvif/
Dnotify.c168 bool work, u8 event, void *data, u32 size, u32 reply, in nvif_notify_init() argument
183 notify->size = reply; in nvif_notify_init()
199 args->req.reply = notify->size; in nvif_notify_init()
/linux-4.4.14/drivers/net/
Dvxlan.c1390 struct sk_buff *reply; in arp_reduce() local
1404 reply = arp_create(ARPOP_REPLY, ETH_P_ARP, sip, dev, tip, sha, in arp_reduce()
1409 if (reply == NULL) in arp_reduce()
1412 skb_reset_mac_header(reply); in arp_reduce()
1413 __skb_pull(reply, skb_network_offset(reply)); in arp_reduce()
1414 reply->ip_summed = CHECKSUM_UNNECESSARY; in arp_reduce()
1415 reply->pkt_type = PACKET_HOST; in arp_reduce()
1417 if (netif_rx_ni(reply) == NET_RX_DROP) in arp_reduce()
1437 struct sk_buff *reply; in vxlan_na_create() local
1450 reply = alloc_skb(len, GFP_ATOMIC); in vxlan_na_create()
[all …]
/linux-4.4.14/drivers/block/
Dnbd.c336 struct nbd_reply reply; in nbd_read_stat() local
339 reply.magic = 0; in nbd_read_stat()
340 result = sock_xmit(nbd, 0, &reply, sizeof(reply), MSG_WAITALL); in nbd_read_stat()
347 if (ntohl(reply.magic) != NBD_REPLY_MAGIC) { in nbd_read_stat()
349 (unsigned long)ntohl(reply.magic)); in nbd_read_stat()
353 req = nbd_find_request(nbd, *(struct request **)reply.handle); in nbd_read_stat()
360 reply.handle); in nbd_read_stat()
364 if (ntohl(reply.error)) { in nbd_read_stat()
366 ntohl(reply.error)); in nbd_read_stat()
/linux-4.4.14/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.4.14/drivers/gpu/drm/msm/edp/
Dedp_aux.c129 msg->reply = native ? in edp_aux_transfer()
174 msg->reply = native ? in edp_aux_transfer()
178 msg->reply = native ? in edp_aux_transfer()
/linux-4.4.14/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.4.14/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()
1085 u8 reply; in dst_get_device_id() local
1103 if (read_dst(state, &reply, GET_ACK)) in dst_get_device_id()
1105 if (reply != ACK) { in dst_get_device_id()
1106 dprintk(verbose, DST_INFO, 1, "Write not Acknowledged! [Reply=0x%02x]", reply); in dst_get_device_id()
1225 u8 reply; in dst_command() local
1246 if (read_dst(state, &reply, GET_ACK)) { in dst_command()
1254 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()
377 static int write_to_8820(struct dst_state *state, struct ca_msg *hw_buffer, u8 length, u8 reply) in write_to_8820() argument
379 if ((dst_put_ci(state, hw_buffer->msg, length, hw_buffer->msg, reply)) < 0) { in write_to_8820()
424 …struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer, u8 reply, u8 query) in ca_set_pmt() argument
438 write_to_8820(state, hw_buffer, (length + tag_length), reply); in ca_set_pmt()
/linux-4.4.14/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.4.14/drivers/block/mtip32xx/
Dmtip32xx.c983 struct host_to_dev_fis *reply; in mtip_pause_ncq() local
986 reply = port->rxfis + RX_FIS_D2H_REG; in mtip_pause_ncq()
1796 struct host_to_dev_fis *reply = (port->rxfis + RX_FIS_D2H_REG); in exec_drive_task() local
1835 command[0] = reply->command; /* Status*/ in exec_drive_task()
1836 command[1] = reply->features; /* Error*/ in exec_drive_task()
1837 command[4] = reply->cyl_low; in exec_drive_task()
1838 command[5] = reply->cyl_hi; in exec_drive_task()
1867 struct host_to_dev_fis *reply; in exec_drive_command() local
1906 reply = (port->rxfis + RX_FIS_PIO_SETUP); in exec_drive_command()
1908 reply = (port->rxfis + RX_FIS_D2H_REG); in exec_drive_command()
[all …]
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/include/nvif/
Dnotify.h27 bool work, u8 type, void *data, u32 size, u32 reply,
Devent.h6 __u8 reply; member
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
Dnotify.h32 void *data, u32 size, u32 reply,
/linux-4.4.14/include/uapi/linux/
Datmsvc.h26 int reply; /* for okay and close: */ member
Dfd.h362 unsigned char reply[16]; member
/linux-4.4.14/drivers/media/dvb-frontends/
Dtda10071.c253 struct dvb_diseqc_slave_reply *reply) in tda10071_diseqc_recv_slave_reply() argument
289 reply->msg_len = uitmp & 0x1f; /* [4:0] */ in tda10071_diseqc_recv_slave_reply()
290 if (reply->msg_len > sizeof(reply->msg)) in tda10071_diseqc_recv_slave_reply()
291 reply->msg_len = sizeof(reply->msg); /* truncate API max */ in tda10071_diseqc_recv_slave_reply()
301 ret = regmap_bulk_read(dev->regmap, cmd.len, reply->msg, in tda10071_diseqc_recv_slave_reply()
302 reply->msg_len); in tda10071_diseqc_recv_slave_reply()
Ds5h1420.c221 struct dvb_diseqc_slave_reply* reply) in s5h1420_recv_slave_reply() argument
236 timeout = jiffies + ((reply->timeout*HZ) / 1000); in s5h1420_recv_slave_reply()
257 if (length > sizeof(reply->msg)) { in s5h1420_recv_slave_reply()
261 reply->msg_len = length; in s5h1420_recv_slave_reply()
265 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.c1773 struct dvb_diseqc_slave_reply *reply) in stv0900_recv_slave_reply() argument
1780 reply->msg_len = 0; in stv0900_recv_slave_reply()
1788 reply->msg_len = stv0900_get_bits(intp, FIFO_BYTENBR); in stv0900_recv_slave_reply()
1790 for (i = 0; i < reply->msg_len; i++) in stv0900_recv_slave_reply()
1791 reply->msg[i] = stv0900_read_reg(intp, DISRXDATA); in stv0900_recv_slave_reply()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dlib-move.c1469 msg->msg_hdr.msg.reply.dst_wmd = reply_wmd; in lnet_parse_get()
1505 cpt = lnet_cpt_of_cookie(hdr->msg.reply.dst_wmd.wh_object_cookie); in lnet_parse_reply()
1512 md = lnet_wire_handle2md(&hdr->msg.reply.dst_wmd); in lnet_parse_reply()
1517 hdr->msg.reply.dst_wmd.wh_interface_cookie, in lnet_parse_reply()
1518 hdr->msg.reply.dst_wmd.wh_object_cookie); in lnet_parse_reply()
1536 rlength, hdr->msg.reply.dst_wmd.wh_object_cookie, in lnet_parse_reply()
1544 mlength, rlength, hdr->msg.reply.dst_wmd.wh_object_cookie); in lnet_parse_reply()
1702 hdr->msg.reply.dst_wmd.wh_interface_cookie, in lnet_print_hdr()
1703 hdr->msg.reply.dst_wmd.wh_object_cookie, in lnet_print_hdr()
2221 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.4.14/include/net/iucv/
Diucv.h398 u8 flags, void *reply, size_t size);
470 u8 flags, void *reply, size_t size);
/linux-4.4.14/sound/soc/intel/skylake/
Dskl-sst-ipc.c334 u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK; in skl_ipc_process_reply() local
344 switch (reply) { in skl_ipc_process_reply()
360 dev_err(ipc->dev, "Unknown ipc reply: 0x%x", reply); in skl_ipc_process_reply()
365 if (reply != IPC_GLB_REPLY_SUCCESS) { in skl_ipc_process_reply()
366 dev_err(ipc->dev, "ipc FW reply: reply=%d", reply); in skl_ipc_process_reply()
/linux-4.4.14/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.4.14/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c716 uint8_t reply[20]; in cdv_intel_dp_aux_native_read() local
731 reply, reply_bytes); in cdv_intel_dp_aux_native_read()
736 ack = reply[0] >> 4; in cdv_intel_dp_aux_native_read()
738 memcpy(recv, reply + 1, ret - 1); in cdv_intel_dp_aux_native_read()
759 uint8_t reply[2]; in cdv_intel_dp_i2c_aux_ch() local
798 reply, reply_bytes); in cdv_intel_dp_i2c_aux_ch()
804 switch ((reply[0] >> 4) & DP_AUX_NATIVE_REPLY_MASK) { in cdv_intel_dp_i2c_aux_ch()
818 reply[0]); in cdv_intel_dp_i2c_aux_ch()
822 switch ((reply[0] >> 4) & DP_AUX_I2C_REPLY_MASK) { in cdv_intel_dp_i2c_aux_ch()
825 *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.4.14/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.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dpmu.h26 int nvkm_pmu_send(struct nvkm_pmu *, u32 reply[2], u32 process,
/linux-4.4.14/include/linux/ceph/
Dmon_client.h55 struct ceph_msg *reply; /* and reply */ member
/linux-4.4.14/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.4.14/Documentation/blockdev/
Dnbd.txt10 request over TCP to the server, which will reply with the data read.
/linux-4.4.14/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.4.14/arch/m68k/include/asm/
Dmac_iop.h145 __u8 reply[IOP_MSG_LEN]; /* the reply to the message */ member
/linux-4.4.14/drivers/gpu/drm/via/
Dvia_irq.c388 irqwait->reply.tval_sec = now.tv_sec; in via_wait_irq()
389 irqwait->reply.tval_usec = now.tv_usec; in via_wait_irq()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c495 u32 param = 0, reply = 0, cmd; in qed_mcp_set_link() local
541 rc = qed_mcp_cmd(p_hwfn, p_ptt, cmd, 0, &reply, &param); in qed_mcp_set_link()
836 u32 param = 0, reply = 0, i; in qed_mcp_send_drv_version() local
852 rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_VERSION, 0, &reply, in qed_mcp_send_drv_version()
/linux-4.4.14/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.4.14/drivers/macintosh/ams/
Dams-pmu.c77 return req.reply[0]; in ams_pmu_get_register()
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/radeon/
Dradeon_dp_auxch.c202 msg->reply = ack >> 4; in radeon_dp_aux_transfer_native()
/linux-4.4.14/include/uapi/drm/
Dvia_drm.h247 struct drm_wait_vblank_reply reply; member
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1141 unsigned int tid, int pg_idx, bool reply) in ddp_setup_conn_pgidx() argument
1157 req->reply = V_NO_REPLY(reply ? 0 : 1); in ddp_setup_conn_pgidx()
1178 int hcrc, int dcrc, int reply) in ddp_setup_conn_digest() argument
1194 req->reply = V_NO_REPLY(reply ? 0 : 1); in ddp_setup_conn_digest()
/linux-4.4.14/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.4.14/block/
Dbsg-lib.c129 job->reply = req->sense; in bsg_create_job()
/linux-4.4.14/firmware/
DREADME.AddingFirmware45 Maintainers are really busy, so don't expect a prompt reply.
/linux-4.4.14/Documentation/DocBook/
D80211.xml.db94 API-cfg80211-testmode-alloc-reply-skb
95 API-cfg80211-testmode-reply
/linux-4.4.14/net/mac80211/
Dmesh_hwmp.c534 bool reply = false; in hwmp_preq_frame_process() local
553 reply = true; in hwmp_preq_frame_process()
568 reply = true; in hwmp_preq_frame_process()
588 reply = true; in hwmp_preq_frame_process()
598 if (reply) { in hwmp_preq_frame_process()
/linux-4.4.14/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.4.14/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.4.14/drivers/staging/lustre/include/linux/lnet/
Dtypes.h183 lnet_reply_t reply; member
/linux-4.4.14/net/ipv4/
Dtcp_metrics.c985 void *reply; in tcp_metrics_nl_cmd_get() local
1001 reply = genlmsg_put_reply(msg, info, &tcp_metrics_nl_family, 0, in tcp_metrics_nl_cmd_get()
1003 if (!reply) in tcp_metrics_nl_cmd_get()
1023 genlmsg_end(msg, reply); in tcp_metrics_nl_cmd_get()
/linux-4.4.14/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.4.14/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.4.14/drivers/s390/char/
Dmonreader.c393 goto reply; in mon_read()
422 reply: in mon_read()
/linux-4.4.14/Documentation/
Dpi-futex.txt22 The short reply: user-space PI helps achieving/improving determinism for
28 The longer reply:
/linux-4.4.14/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.4.14/Documentation/devicetree/bindings/
Dsubmitting-patches.txt46 1) If you aren't comfortable reviewing a given binding, reply to it and ask
/linux-4.4.14/net/bridge/netfilter/
DKconfig161 tristate "ebt: arp reply target support"
164 This option adds the arp reply target, which allows
/linux-4.4.14/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.4.14/drivers/media/dvb-core/
Ddvb_frontend.h457 int (*diseqc_recv_slave_reply)(struct dvb_frontend* fe, struct dvb_diseqc_slave_reply* reply);
/linux-4.4.14/include/drm/
Ddrm_dp_mst_helper.h369 struct drm_dp_sideband_msg_reply_body reply; member
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_sdvo.c1874 uint32_t reply = 0, format_map = 0; in intel_sdvo_get_tv_modes() local
1895 if (!intel_sdvo_read_response(intel_sdvo, &reply, 3)) in intel_sdvo_get_tv_modes()
1899 if (reply & (1 << i)) { in intel_sdvo_get_tv_modes()
2882 struct intel_sdvo_enhancements_reply reply; in intel_sdvo_create_enhance_property() member
2898 …return intel_sdvo_create_enhance_property_tv(intel_sdvo, intel_sdvo_connector, enhancements.reply); in intel_sdvo_create_enhance_property()
2900 …turn intel_sdvo_create_enhance_property_lvds(intel_sdvo, intel_sdvo_connector, enhancements.reply); in intel_sdvo_create_enhance_property()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_request.c2696 u64 *reply; in osc_get_info() local
2722 reply = req_capsule_server_get(&req->rq_pill, &RMF_OBD_ID); in osc_get_info()
2723 if (reply == NULL) { in osc_get_info()
2728 *((u64 *)val) = *reply; in osc_get_info()
2739 struct ll_user_fiemap *reply; in osc_get_info() local
2804 reply = req_capsule_server_get(&req->rq_pill, &RMF_FIEMAP_VAL); in osc_get_info()
2805 if (reply == NULL) { in osc_get_info()
2810 memcpy(val, reply, *vallen); in osc_get_info()

12