Home
last modified time | relevance | path

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

12345678

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c204 static unsigned long vmw_port_hb_in(struct rpc_channel *channel, char *reply, in vmw_port_hb_in() argument
214 di = (uintptr_t) reply; in vmw_port_hb_in()
243 memcpy(reply, &ebx, bytes); in vmw_port_hb_in()
245 reply += bytes; in vmw_port_hb_in()
316 char *reply; in vmw_recv_msg() local
347 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg()
348 if (!reply) { in vmw_recv_msg()
355 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg()
358 kfree(reply); in vmw_recv_msg()
359 reply = NULL; in vmw_recv_msg()
[all …]
/drivers/thunderbolt/
Dicm.c442 struct icm_fr_pkg_driver_ready_response reply; in icm_fr_driver_ready() local
448 memset(&reply, 0, sizeof(reply)); in icm_fr_driver_ready()
449 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready()
455 *security_level = reply.security_level & ICM_FR_SLEVEL_MASK; in icm_fr_driver_ready()
463 struct icm_fr_pkg_approve_device reply; in icm_fr_approve_switch() local
472 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_switch()
474 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_approve_switch()
479 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_fr_approve_switch()
490 struct icm_fr_pkg_add_device_key_response reply; in icm_fr_add_switch_key() local
500 memset(&reply, 0, sizeof(reply)); in icm_fr_add_switch_key()
[all …]
/drivers/net/ethernet/netronome/nfp/bpf/
Dcmsg.c58 struct cmsg_reply_map_simple *reply) in nfp_bpf_ctrl_rc_to_errno() argument
72 rc = be32_to_cpu(reply->rc); in nfp_bpf_ctrl_rc_to_errno()
84 struct cmsg_reply_map_alloc_tbl *reply; in nfp_bpf_ctrl_alloc_map() local
102 sizeof(*reply)); in nfp_bpf_ctrl_alloc_map()
106 reply = (void *)skb->data; in nfp_bpf_ctrl_alloc_map()
107 err = nfp_bpf_ctrl_rc_to_errno(bpf, &reply->reply_hdr); in nfp_bpf_ctrl_alloc_map()
111 tid = be32_to_cpu(reply->tid); in nfp_bpf_ctrl_alloc_map()
122 struct cmsg_reply_map_free_tbl *reply; in nfp_bpf_ctrl_free_map() local
137 sizeof(*reply)); in nfp_bpf_ctrl_free_map()
143 reply = (void *)skb->data; in nfp_bpf_ctrl_free_map()
[all …]
/drivers/net/wireless/ath/wil6210/
Dwmi.c2041 u16 reply_id, void *reply, u16 reply_size, int to_msec) in wmi_call() argument
2052 wil->reply_buf = reply; in wmi_call()
2136 } __packed reply = { in wmi_led_cfg() local
2154 WMI_LED_CFG_DONE_EVENTID, &reply, sizeof(reply), in wmi_led_cfg()
2159 if (reply.evt.status) { in wmi_led_cfg()
2161 led_id, le32_to_cpu(reply.evt.status)); in wmi_led_cfg()
2181 } __packed reply = { in wmi_rbufcap_cfg() local
2186 WMI_RBUFCAP_CFG_EVENTID, &reply, sizeof(reply), in wmi_rbufcap_cfg()
2191 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_rbufcap_cfg()
2193 reply.evt.status); in wmi_rbufcap_cfg()
[all …]
Dcfg80211.c441 } __packed reply; in wil_cid_fill_sinfo() local
446 memset(&reply, 0, sizeof(reply)); in wil_cid_fill_sinfo()
449 WMI_NOTIFY_REQ_DONE_EVENTID, &reply, sizeof(reply), in wil_cid_fill_sinfo()
460 cid, vif->mid, le16_to_cpu(reply.evt.bf_mcs), in wil_cid_fill_sinfo()
461 le64_to_cpu(reply.evt.tsf), reply.evt.status, in wil_cid_fill_sinfo()
462 reply.evt.rssi, in wil_cid_fill_sinfo()
463 reply.evt.sqi, in wil_cid_fill_sinfo()
464 le32_to_cpu(reply.evt.tx_tpt), in wil_cid_fill_sinfo()
465 le32_to_cpu(reply.evt.tx_goodput), in wil_cid_fill_sinfo()
466 le32_to_cpu(reply.evt.rx_goodput), in wil_cid_fill_sinfo()
[all …]
/drivers/mfd/
Drave-sp.c194 struct rave_sp_reply *reply; member
346 struct rave_sp_reply reply = { in rave_sp_exec() local
349 .received = COMPLETION_INITIALIZER_ONSTACK(reply.received), in rave_sp_exec()
360 reply.ackid = ackid; in rave_sp_exec()
361 reply.code = rave_sp_reply_code((u8)command), in rave_sp_exec()
366 sp->reply = &reply; in rave_sp_exec()
374 if (!wait_for_completion_timeout(&reply.received, HZ)) { in rave_sp_exec()
379 sp->reply = NULL; in rave_sp_exec()
407 struct rave_sp_reply *reply; in rave_sp_receive_reply() local
411 reply = sp->reply; in rave_sp_receive_reply()
[all …]
/drivers/s390/crypto/
Dzcrypt_msgtype6.c611 struct ap_message *reply, in convert_type86_ica() argument
650 struct type86x_reply *msg = reply->msg; in convert_type86_ica()
720 struct ap_message *reply, in convert_type86_xcrb() argument
723 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_xcrb()
724 char *data = reply->msg; in convert_type86_xcrb()
751 struct ap_message *reply, in convert_type86_ep11_xcrb() argument
754 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_ep11_xcrb()
755 char *data = reply->msg; in convert_type86_ep11_xcrb()
769 struct ap_message *reply, in convert_type86_rng() argument
776 } __packed * msg = reply->msg; in convert_type86_rng()
[all …]
Dzcrypt_msgtype50.c360 struct ap_message *reply, in convert_type80() argument
364 struct type80_hdr *t80h = reply->msg; in convert_type80()
384 data = reply->msg + t80h->len - outputdatalength; in convert_type80()
391 struct ap_message *reply, in convert_response_cex2a() argument
396 unsigned char rtype = ((unsigned char *) reply->msg)[1]; in convert_response_cex2a()
401 return convert_error(zq, reply); in convert_response_cex2a()
403 return convert_type80(zq, reply, in convert_response_cex2a()
429 struct ap_message *reply) in zcrypt_cex2a_receive() argument
439 if (!reply) in zcrypt_cex2a_receive()
441 t80h = reply->msg; in zcrypt_cex2a_receive()
[all …]
/drivers/firmware/
Dturris-mox-rwtm.c56 struct armada_37xx_rwtm_rx_msg reply; member
177 rwtm->reply = *msg; in mox_rwtm_rx_callback()
194 struct armada_37xx_rwtm_rx_msg *reply = &rwtm->reply; in mox_get_board_info() local
206 ret = mox_get_status(MBOX_CMD_BOARD_INFO, reply->retval); in mox_get_board_info()
216 rwtm->serial_number = reply->status[1]; in mox_get_board_info()
218 rwtm->serial_number |= reply->status[0]; in mox_get_board_info()
219 rwtm->board_version = reply->status[2]; in mox_get_board_info()
220 rwtm->ram_size = reply->status[3]; in mox_get_board_info()
221 reply_to_mac_addr(rwtm->mac_address1, reply->status[4], in mox_get_board_info()
222 reply->status[5]); in mox_get_board_info()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dmemx.c48 u32 reply[2]; in nvkm_memx_init() local
51 ret = nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_init()
60 memx->base = reply[0]; in nvkm_memx_init()
61 memx->size = reply[1]; in nvkm_memx_init()
78 u32 finish, reply[2]; in nvkm_memx_fini() local
89 nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_EXEC, in nvkm_memx_fini()
92 reply[0], reply[1]); in nvkm_memx_fini()
169 u32 reply[2], base, size, i; in nvkm_memx_train_result() local
172 ret = nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_train_result()
177 base = reply[0]; in nvkm_memx_train_result()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dvendor.c26 struct sk_buff *reply; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local
81 reply = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, payload); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
82 if (NULL == reply) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
87 if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || in brcmf_cfg80211_vndr_cmds_dcmd_handler()
88 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
89 kfree_skb(reply); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
94 ret = cfg80211_vendor_cmd_reply(reply); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/drivers/nfc/
Dmei_phy.c96 struct mei_nfc_reply *reply = NULL; in mei_nfc_if_version() local
119 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()
120 if (!reply) in mei_nfc_if_version()
123 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); in mei_nfc_if_version()
130 version = (struct mei_nfc_if_version *)reply->data; in mei_nfc_if_version()
137 kfree(reply); in mei_nfc_if_version()
143 struct mei_nfc_cmd *cmd, *reply; in mei_nfc_connect() local
162 reply = kzalloc(connect_resp_length, GFP_KERNEL); in mei_nfc_connect()
163 if (!reply) { in mei_nfc_connect()
168 connect_resp = (struct mei_nfc_connect_resp *)reply->data; in mei_nfc_connect()
[all …]
/drivers/usb/gadget/function/
Df_mass_storage.c1817 int reply = -EINVAL; in do_scsi_command() local
1838 reply = check_command(common, 6, DATA_DIR_TO_HOST, in do_scsi_command()
1841 if (reply == 0) in do_scsi_command()
1842 reply = do_inquiry(common, bh); in do_scsi_command()
1847 reply = check_command(common, 6, DATA_DIR_FROM_HOST, in do_scsi_command()
1850 if (reply == 0) in do_scsi_command()
1851 reply = do_mode_select(common, bh); in do_scsi_command()
1857 reply = check_command(common, 10, DATA_DIR_FROM_HOST, in do_scsi_command()
1860 if (reply == 0) in do_scsi_command()
1861 reply = do_mode_select(common, bh); in do_scsi_command()
[all …]
/drivers/media/firewire/
Dfiredtv-ci.c75 struct ca_msg *reply = arg; in fdtv_ca_app_info() local
77 return avc_ca_app_info(fdtv, reply->msg, &reply->length); in fdtv_ca_app_info()
82 struct ca_msg *reply = arg; in fdtv_ca_info() local
84 return avc_ca_info(fdtv, reply->msg, &reply->length); in fdtv_ca_info()
89 struct ca_msg *reply = arg; in fdtv_ca_get_mmi() local
91 return avc_ca_get_mmi(fdtv, reply->msg, &reply->length); in fdtv_ca_get_mmi()
/drivers/macintosh/
Dvia-pmu.c626 pmu_version = req.reply[0]; in init_pmu()
634 if (req.reply[1] & PMU_PWR_WAKEUP_AC_INSERT) in init_pmu()
668 req.reply[0], PMU_PWR_WAKEUP_AC_INSERT); in pmu_set_server_mode()
672 req.reply[0], PMU_PWR_WAKEUP_AC_INSERT); in pmu_set_server_mode()
708 if (req->reply[0] & 0x01) in done_battery_state_ohare()
725 if (req->reply[0] & 0x04) { in done_battery_state_ohare()
727 if (req->reply[0] & 0x02) in done_battery_state_ohare()
729 vb = (req->reply[1] << 8) | req->reply[2]; in done_battery_state_ohare()
731 amperage = req->reply[5]; in done_battery_state_ohare()
732 if ((req->reply[0] & 0x01) == 0) { in done_battery_state_ohare()
[all …]
Dadbhid.c1048 (req.reply[1] == 0x9a) && ((req.reply[2] == 0x21) in adbhid_probe()
1049 || (req.reply[2] == 0x20))) { in adbhid_probe()
1055 (req.reply[1] == 0x74) && (req.reply[2] == 0x70) && in adbhid_probe()
1056 (req.reply[3] == 0x61) && (req.reply[4] == 0x64)) { in adbhid_probe()
1062 (req.reply[1] == 0x4b) && (req.reply[2] == 0x4d) && in adbhid_probe()
1063 (req.reply[3] == 0x4c) && (req.reply[4] == 0x31)) { in adbhid_probe()
1069 (req.reply[1] == 0x4b) && (req.reply[2] == 0x4f) && in adbhid_probe()
1070 (req.reply[3] == 0x49) && (req.reply[4] == 0x54)) { in adbhid_probe()
1099 memcpy(r1_buffer, &req.reply[1], 8); in init_trackpad()
/drivers/infiniband/hw/hfi1/
Dmad.c81 static int reply(struct ib_mad_hdr *smp) in reply() function
590 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc()
600 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc()
618 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo()
640 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo()
655 return reply((struct ib_mad_hdr *)smp); in subn_get_nodeinfo()
674 return reply((struct ib_mad_hdr *)smp); in subn_get_nodeinfo()
816 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo()
827 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo()
1003 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo()
[all …]
/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c114 struct nfp_crypto_reply_simple *reply; in nfp_net_tls_communicate_simple() local
118 sizeof(*reply), sizeof(*reply), in nfp_net_tls_communicate_simple()
125 reply = (void *)skb->data; in nfp_net_tls_communicate_simple()
126 err = -be32_to_cpu(reply->error); in nfp_net_tls_communicate_simple()
274 struct nfp_crypto_reply_add *reply; in nfp_net_tls_add() local
312 skb = nfp_ccm_mbox_msg_alloc(nn, req_sz, sizeof(*reply), GFP_KERNEL); in nfp_net_tls_add()
349 sizeof(*reply), sizeof(*reply)); in nfp_net_tls_add()
350 reply = (void *)skb->data; in nfp_net_tls_add()
357 !WARN_ON_ONCE((u8 *)&reply[1] > (u8 *)back)) in nfp_net_tls_add()
368 err = -be32_to_cpu(reply->error); in nfp_net_tls_add()
[all …]
/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 …]
/drivers/usb/storage/
Ddatafab.c224 unsigned char *reply = us->iobuf; in datafab_write_data() local
290 result = datafab_bulk_read(us, reply, 2); in datafab_write_data()
294 if (reply[0] != 0x50 && reply[1] != 0) { in datafab_write_data()
296 reply[0], reply[1]); in datafab_write_data()
390 unsigned char *reply; in datafab_id_device() local
403 reply = kmalloc(512, GFP_NOIO); in datafab_id_device()
404 if (!reply) in datafab_id_device()
417 rc = datafab_bulk_read(us, reply, 512); in datafab_id_device()
421 info->sectors = ((u32)(reply[117]) << 24) | in datafab_id_device()
422 ((u32)(reply[116]) << 16) | in datafab_id_device()
[all …]
/drivers/thermal/tegra/
Dtegra-bpmp-thermal.c37 union mrq_thermal_bpmp_to_host_response reply; in tegra_bpmp_thermal_get_temp() local
49 msg.rx.data = &reply; in tegra_bpmp_thermal_get_temp()
50 msg.rx.size = sizeof(reply); in tegra_bpmp_thermal_get_temp()
56 *out_temp = reply.get_temp.temp; in tegra_bpmp_thermal_get_temp()
126 union mrq_thermal_bpmp_to_host_response reply; in tegra_bpmp_thermal_get_num_zones() local
137 msg.rx.data = &reply; in tegra_bpmp_thermal_get_num_zones()
138 msg.rx.size = sizeof(reply); in tegra_bpmp_thermal_get_num_zones()
144 *num_zones = reply.get_num_zones.num; in tegra_bpmp_thermal_get_num_zones()
/drivers/media/usb/dvb-usb/
Daf9005.c558 static int af9005_boot_packet(struct usb_device *udev, int type, u8 *reply, in af9005_boot_packet() argument
652 *reply = buf[6]; in af9005_boot_packet()
677 *reply = buf[6]; in af9005_boot_packet()
718 u8 reply; in af9005_download_firmware() local
724 ret = af9005_boot_packet(udev, FW_CONFIG, &reply, buf, in af9005_download_firmware()
728 if (reply != 0x01) { in af9005_download_firmware()
729 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()
753 if (reply != (u8) (packets & 0xff)) { in af9005_download_firmware()
754 err("after downloading firmware, FW_CONFIRM expected 0x%x, received 0x%x", packets & 0xff, reply); in af9005_download_firmware()
[all …]
/drivers/net/
Dthunderbolt.c234 struct thunderbolt_ip_login_response reply; in tbnet_login_response() local
237 memset(&reply, 0, sizeof(reply)); in tbnet_login_response()
238 tbnet_fill_header(&reply.hdr, route, sequence, xd->local_uuid, in tbnet_login_response()
239 xd->remote_uuid, TBIP_LOGIN_RESPONSE, sizeof(reply), in tbnet_login_response()
241 memcpy(reply.receiver_mac, net->dev->dev_addr, ETH_ALEN); in tbnet_login_response()
242 reply.receiver_mac_len = ETH_ALEN; in tbnet_login_response()
244 return tb_xdomain_response(xd, &reply, sizeof(reply), in tbnet_login_response()
250 struct thunderbolt_ip_login_response reply; in tbnet_login_request() local
263 TB_CFG_PKG_XDOMAIN_RESP, &reply, in tbnet_login_request()
264 sizeof(reply), TB_CFG_PKG_XDOMAIN_RESP, in tbnet_login_request()
[all …]
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_aux.c587 payload->data, payload->reply, in dce_aux_transfer_raw()
590 EVENT_LOG_AUX_ORIGIN_NATIVE, *payload->reply, in dce_aux_transfer_raw()
611 uint8_t reply; in dce_aux_transfer_with_retries() local
622 if (!payload->reply) { in dce_aux_transfer_with_retries()
624 payload->reply = &reply; in dce_aux_transfer_with_retries()
634 switch (*payload->reply) { in dce_aux_transfer_with_retries()
653 if ((*payload->reply == AUX_TRANSACTION_REPLY_AUX_DEFER) || in dce_aux_transfer_with_retries()
654 (*payload->reply == AUX_TRANSACTION_REPLY_I2C_OVER_AUX_DEFER)) { in dce_aux_transfer_with_retries()
713 payload->reply = NULL; in dce_aux_transfer_with_retries()
/drivers/scsi/aacraid/
Dcommctrl.c948 struct aac_srb_reply reply; in aac_send_raw_srb() local
950 memset(&reply, 0, sizeof(reply)); in aac_send_raw_srb()
951 reply.status = ST_OK; in aac_send_raw_srb()
954 reply.srb_status = SRB_STATUS_SUCCESS; in aac_send_raw_srb()
955 reply.scsi_status = 0; in aac_send_raw_srb()
956 reply.data_xfer_length = byte_count; in aac_send_raw_srb()
957 reply.sense_data_size = 0; in aac_send_raw_srb()
958 memset(reply.sense_data, 0, AAC_SENSE_BUFFERSIZE); in aac_send_raw_srb()
960 reply.srb_status = err->service_response; in aac_send_raw_srb()
961 reply.scsi_status = err->status; in aac_send_raw_srb()
[all …]

12345678