Home
last modified time | relevance | path

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

1234

/linux-4.19.296/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()
/linux-4.19.296/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 …]
/linux-4.19.296/drivers/thunderbolt/
Dicm.c316 struct icm_fr_pkg_driver_ready_response reply; in icm_fr_driver_ready() local
322 memset(&reply, 0, sizeof(reply)); in icm_fr_driver_ready()
323 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready()
329 *security_level = reply.security_level & ICM_FR_SLEVEL_MASK; in icm_fr_driver_ready()
337 struct icm_fr_pkg_approve_device reply; in icm_fr_approve_switch() local
346 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_switch()
348 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_approve_switch()
353 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_fr_approve_switch()
364 struct icm_fr_pkg_add_device_key_response reply; in icm_fr_add_switch_key() local
374 memset(&reply, 0, sizeof(reply)); in icm_fr_add_switch_key()
[all …]
Dctl.c782 struct tb_cfg_header reply; in tb_cfg_reset() local
796 req->response = &reply; in tb_cfg_reset()
797 req->response_size = sizeof(reply); in tb_cfg_reset()
826 struct cfg_write_pkg reply; in tb_cfg_read_raw() local
845 req->response = &reply; in tb_cfg_read_raw()
863 res.response_port = reply.addr.port; in tb_cfg_read_raw()
864 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_read_raw()
866 memcpy(buffer, &reply.data, 4 * length); in tb_cfg_read_raw()
889 struct cfg_read_pkg reply; in tb_cfg_write_raw() local
910 req->response = &reply; in tb_cfg_write_raw()
[all …]
Ddma_port.c105 struct cfg_write_pkg reply; in dma_port_read() local
117 req->response = &reply; in dma_port_read()
128 memcpy(buffer, &reply.data, 4 * length); in dma_port_read()
146 struct cfg_read_pkg reply; in dma_port_write() local
160 req->response = &reply; in dma_port_write()
161 req->response_size = sizeof(reply); in dma_port_write()
/linux-4.19.296/include/uapi/linux/
Dcec-funcs.h59 int reply) in cec_msg_request_active_source() argument
64 msg->reply = reply ? CEC_MSG_ACTIVE_SOURCE : 0; in cec_msg_request_active_source()
84 int reply, in cec_msg_routing_change() argument
95 msg->reply = reply ? CEC_MSG_ROUTING_INFORMATION : 0; in cec_msg_routing_change()
131 static inline void cec_msg_record_off(struct cec_msg *msg, int reply) in cec_msg_record_off() argument
135 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_off()
293 int reply, in cec_msg_record_on() argument
317 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_on()
360 int reply) in cec_msg_record_tv_screen() argument
364 msg->reply = reply ? CEC_MSG_RECORD_ON : 0; in cec_msg_record_tv_screen()
[all …]
/linux-4.19.296/drivers/s390/crypto/
Dzcrypt_msgtype6.c602 struct ap_message *reply, in convert_type86_ica() argument
641 struct type86x_reply *msg = reply->message; in convert_type86_ica()
722 struct ap_message *reply, in convert_type86_xcrb() argument
725 struct type86_fmt2_msg *msg = reply->message; in convert_type86_xcrb()
726 char *data = reply->message; in convert_type86_xcrb()
753 struct ap_message *reply, in convert_type86_ep11_xcrb() argument
756 struct type86_fmt2_msg *msg = reply->message; in convert_type86_ep11_xcrb()
757 char *data = reply->message; in convert_type86_ep11_xcrb()
771 struct ap_message *reply, in convert_type86_rng() argument
778 } __packed * msg = reply->message; in convert_type86_rng()
[all …]
Dzcrypt_msgtype50.c351 struct ap_message *reply, in convert_type80() argument
355 struct type80_hdr *t80h = reply->message; in convert_type80()
375 data = reply->message + t80h->len - outputdatalength; in convert_type80()
382 struct ap_message *reply, in convert_response() argument
387 unsigned char rtype = ((unsigned char *) reply->message)[1]; in convert_response()
392 return convert_error(zq, reply); in convert_response()
394 return convert_type80(zq, reply, in convert_response()
420 struct ap_message *reply) in zcrypt_cex2a_receive() argument
430 if (!reply) in zcrypt_cex2a_receive()
432 t80h = reply->message; in zcrypt_cex2a_receive()
[all …]
Dap_queue.c139 status = ap_dqap(aq->qid, &aq->reply->psmid, in ap_sm_recv()
140 aq->reply->message, aq->reply->length); in ap_sm_recv()
148 if (ap_msg->psmid != aq->reply->psmid) in ap_sm_recv()
152 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv()
180 if (!aq->reply) in ap_sm_read()
214 if (!aq->reply) in ap_sm_suspend_read()
326 if (aq->queue_count > 0 && aq->reply) in ap_sm_reset_wait()
364 if (aq->queue_count > 0 && aq->reply) in ap_sm_setirq_wait()
643 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *reply) in ap_queue_init_reply() argument
645 aq->reply = reply; in ap_queue_init_reply()
Dzcrypt_pcixcc.c98 } __packed *reply; in zcrypt_pcixcc_rng_supported() local
139 reply = ap_msg.message; in zcrypt_pcixcc_rng_supported()
140 if (reply->cprbx.ccp_rtcode == 0 && reply->cprbx.ccp_rscode == 0) in zcrypt_pcixcc_rng_supported()
259 ap_queue_init_reply(aq, &zq->reply); in zcrypt_pcixcc_queue_probe()
Dzcrypt_queue.c112 zq->reply.message = kmalloc(max_response_size, GFP_KERNEL); in zcrypt_queue_alloc()
113 if (!zq->reply.message) in zcrypt_queue_alloc()
115 zq->reply.length = max_response_size; in zcrypt_queue_alloc()
128 kfree(zq->reply.message); in zcrypt_queue_free()
/linux-4.19.296/fs/afs/
Dfsclient.c390 struct afs_vnode *vnode = call->reply[0]; in afs_deliver_fs_fetch_status_vnode()
406 if (call->reply[1]) in afs_deliver_fs_fetch_status_vnode()
407 xdr_decode_AFSVolSync(&bp, call->reply[1]); in afs_deliver_fs_fetch_status_vnode()
445 call->reply[0] = vnode; in afs_fs_fetch_file_status()
446 call->reply[1] = volsync; in afs_fs_fetch_file_status()
467 struct afs_vnode *vnode = call->reply[0]; in afs_deliver_fs_fetch_data()
468 struct afs_read *req = call->reply[2]; in afs_deliver_fs_fetch_data()
587 if (call->reply[1]) in afs_deliver_fs_fetch_data()
588 xdr_decode_AFSVolSync(&bp, call->reply[1]); in afs_deliver_fs_fetch_data()
612 struct afs_read *req = call->reply[2]; in afs_fetch_data_destructor()
[all …]
Dcmservice.c518 } reply; in SRXAFSCB_TellMeAboutYourself() local
533 memset(&reply, 0, sizeof(reply)); in SRXAFSCB_TellMeAboutYourself()
534 reply.ia.nifs = htonl(nifs); in SRXAFSCB_TellMeAboutYourself()
536 reply.ia.uuid[0] = call->net->uuid.time_low; in SRXAFSCB_TellMeAboutYourself()
537 reply.ia.uuid[1] = htonl(ntohs(call->net->uuid.time_mid)); in SRXAFSCB_TellMeAboutYourself()
538 reply.ia.uuid[2] = htonl(ntohs(call->net->uuid.time_hi_and_version)); in SRXAFSCB_TellMeAboutYourself()
539 reply.ia.uuid[3] = htonl((s8) call->net->uuid.clock_seq_hi_and_reserved); in SRXAFSCB_TellMeAboutYourself()
540 reply.ia.uuid[4] = htonl((s8) call->net->uuid.clock_seq_low); in SRXAFSCB_TellMeAboutYourself()
542 reply.ia.uuid[loop + 5] = htonl((s8) call->net->uuid.node[loop]); in SRXAFSCB_TellMeAboutYourself()
546 reply.ia.ifaddr[loop] = ifs[loop].address.s_addr; in SRXAFSCB_TellMeAboutYourself()
[all …]
Dvlclient.c37 entry = call->reply[0]; in afs_deliver_vl_get_entry_by_name_u()
114 kfree(call->reply[0]); in afs_destroy_vl_get_entry_by_name_u()
160 call->reply[0] = entry; in afs_vl_get_entry_by_name_u()
217 call->reply[0] = alist; in afs_deliver_vl_get_addrs_u()
232 alist = call->reply[0]; in afs_deliver_vl_get_addrs_u()
252 afs_put_server(call->net, (struct afs_server *)call->reply[0]); in afs_vl_get_addrs_u_destructor()
253 kfree(call->reply[1]); in afs_vl_get_addrs_u_destructor()
291 call->reply[0] = NULL; in afs_vl_get_addrs_u()
364 call->reply[0] = (void *)(unsigned long)call->service_id; in afs_deliver_vl_get_capabilities()
402 call->reply[0] = (void *)VLGETCAPABILITIES; in afs_vl_get_capabilities()
[all …]
/linux-4.19.296/include/trace/events/
Dhswadsp.h201 __entry->stream_id = stream->reply.stream_hw_id;
202 __entry->mixer_id = stream->reply.mixer_hw_id;
203 __entry->peak0 = stream->reply.peak_meter_register_address[0];
204 __entry->peak1 = stream->reply.peak_meter_register_address[1];
205 __entry->vol0 = stream->reply.volume_register_address[0];
206 __entry->vol1 = stream->reply.volume_register_address[1];
217 TP_PROTO(struct sst_hsw_ipc_stream_info_reply *reply),
219 TP_ARGS(reply),
230 __entry->mixer_id = reply->mixer_hw_id;
231 __entry->peak0 = reply->peak_meter_register_address[0];
[all …]
/linux-4.19.296/drivers/s390/net/
Dlcs.c757 lcs_get_reply(struct lcs_reply *reply) in lcs_get_reply() argument
759 refcount_inc(&reply->refcnt); in lcs_get_reply()
763 lcs_put_reply(struct lcs_reply *reply) in lcs_put_reply() argument
765 if (refcount_dec_and_test(&reply->refcnt)) in lcs_put_reply()
766 kfree(reply); in lcs_put_reply()
772 struct lcs_reply *reply; in lcs_alloc_reply() local
776 reply = kzalloc(sizeof(struct lcs_reply), GFP_ATOMIC); in lcs_alloc_reply()
777 if (!reply) in lcs_alloc_reply()
779 refcount_set(&reply->refcnt, 1); in lcs_alloc_reply()
780 reply->sequence_no = cmd->sequence_no; in lcs_alloc_reply()
[all …]
Dqeth_core_main.c583 struct qeth_reply *reply; in qeth_alloc_reply() local
585 reply = kzalloc(sizeof(struct qeth_reply), GFP_ATOMIC); in qeth_alloc_reply()
586 if (reply) { in qeth_alloc_reply()
587 refcount_set(&reply->refcnt, 1); in qeth_alloc_reply()
588 atomic_set(&reply->received, 0); in qeth_alloc_reply()
589 reply->card = card; in qeth_alloc_reply()
591 return reply; in qeth_alloc_reply()
594 static void qeth_get_reply(struct qeth_reply *reply) in qeth_get_reply() argument
596 refcount_inc(&reply->refcnt); in qeth_get_reply()
599 static void qeth_put_reply(struct qeth_reply *reply) in qeth_put_reply() argument
[all …]
/linux-4.19.296/block/
Dbsg-lib.c81 if (copy_to_user(uptr64(hdr->response), job->reply, len)) in bsg_transport_complete_rq()
274 job->reply = kzalloc(SCSI_SENSE_BUFFERSIZE, gfp); in bsg_init_rq()
275 if (!job->reply) in bsg_init_rq()
284 void *reply = job->reply; in bsg_initialize_rq() local
287 job->reply = reply; in bsg_initialize_rq()
296 kfree(job->reply); in bsg_exit_rq()
/linux-4.19.296/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.19.296/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 …]

1234