/linux-master/fs/smb/server/ |
H A D | auth.c | 514 struct ksmbd_spnego_authen_response *resp; local 518 resp = ksmbd_ipc_spnego_authen_request(in_blob, in_len); 519 if (!resp) { 524 if (!(resp->login_response.status & KSMBD_USER_FLAG_OK)) { 530 if (*out_len <= resp->spnego_blob_len) { 532 *out_len, resp->spnego_blob_len); 537 if (resp->session_key_len > sizeof(sess->sess_key)) { 543 user = ksmbd_alloc_user(&resp->login_response); 551 memcpy(sess->sess_key, resp->payload, resp [all...] |
/linux-master/drivers/greybus/ |
H A D | es2.c | 131 struct arpc_response_message *resp; member in struct:arpc 895 rpc->resp = kzalloc(sizeof(*rpc->resp), GFP_KERNEL); 896 if (!rpc->resp) 918 kfree(rpc->resp); 1002 if (rpc->resp->result) { 1005 *result = rpc->resp->result; 1030 struct arpc_response_message *resp; local 1046 if (urb->actual_length < sizeof(*resp)) { 1051 resp [all...] |
/linux-master/drivers/scsi/libsas/ |
H A D | sas_expander.c | 35 struct scatterlist *req, struct scatterlist *resp) 59 task->smp_task.smp_resp = *resp; 85 if (task->task_status.resp == SAS_TASK_COMPLETE && 90 if (task->task_status.resp == SAS_TASK_COMPLETE && 97 if (task->task_status.resp == SAS_TASK_COMPLETE && 102 if (task->task_status.resp == SAS_TASK_UNDELIVERED && 109 task->task_status.resp, 124 void *resp, int resp_size) 130 sg_init_one(&resp_sg, resp, resp_size); 641 u8 *resp; local 34 smp_execute_task_sg(struct domain_device *dev, struct scatterlist *req, struct scatterlist *resp) argument 123 smp_execute_task(struct domain_device *dev, void *req, int req_size, void *resp, int resp_size) argument 686 u8 *resp = (u8 *)rps_resp; local [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 1576 struct i40e_aqc_get_link_status *resp = local 1589 resp->command_flags = cpu_to_le16(command_flags); 1600 hw_link_info->phy_type = (enum i40e_aq_phy_type)resp->phy_type; 1602 hw_link_info->link_speed = (enum i40e_aq_link_speed)resp->link_speed; 1603 hw_link_info->link_info = resp->link_info; 1604 hw_link_info->an_info = resp->an_info; 1605 hw_link_info->fec_info = resp->config & (I40E_AQ_CONFIG_FEC_KR_ENA | 1607 hw_link_info->ext_info = resp->ext_info; 1608 hw_link_info->loopback = resp->loopback & I40E_AQ_LOOPBACK_MASK; 1609 hw_link_info->max_frame_size = le16_to_cpu(resp 1752 struct i40e_aqc_add_get_update_vsi_completion *resp = local 2104 struct i40e_aqc_add_get_update_vsi_completion *resp = local 2146 struct i40e_aqc_add_get_update_vsi_completion *resp = local 2255 struct i40e_aqc_get_version *resp = local 2409 struct i40e_aqc_add_veb_completion *resp = local 2717 struct i40e_aqc_add_delete_mirror_rule_completion *resp = local 3491 struct i40e_aqc_lldp_get_mib *resp = local 3776 struct i40e_aqc_del_udp_tunnel_completion *resp = local 4279 struct i40e_aqc_add_remove_control_packet_filter_completion *resp = local 4491 struct i40e_aqc_debug_dump_internals *resp = local 5422 struct i40e_aqc_write_ddp_resp *resp; local [all...] |
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | qmi_wlfw_v01.c | 540 resp), 669 resp), 817 resp), 835 resp), 1091 resp), 1145 resp), 1284 resp), 1342 resp), 1477 resp), 1514 resp), [all...] |
/linux-master/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-mhdp8546-hdcp.c | 231 u8 *resp, u32 size) 247 ret = cdns_mhdp_secure_mailbox_recv_data(mhdp, resp, size); 334 u8 resp[HDCP_STATUS_SIZE]; local 352 cdns_mhdp_hdcp_tx_is_km_stored(mhdp, resp, sizeof(resp)); 230 cdns_mhdp_hdcp_tx_is_km_stored(struct cdns_mhdp_device *mhdp, u8 *resp, u32 size) argument
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ulp.c | 145 struct output *resp; local 162 resp = hwrm_req_hold(bp, req); 164 resp_len = le16_to_cpu(resp->resp_len); 169 memcpy(fw_msg->resp, resp, resp_len);
|
H A D | bnxt_vfr.c | 31 struct hwrm_cfa_vfr_alloc_output *resp; local 40 resp = hwrm_req_hold(bp, req); 43 *tx_cfa_action = le16_to_cpu(resp->tx_cfa_action); 44 *rx_cfa_code = le16_to_cpu(resp->rx_cfa_code); 73 struct hwrm_func_qcfg_output *resp; local 83 resp = hwrm_req_hold(bp, req); 86 mtu = le16_to_cpu(resp->max_mtu_configured);
|
H A D | bnxt_devlink.c | 304 struct hwrm_fw_livepatch_output *resp) 306 int err = ((struct hwrm_err_output *)resp)->cmd_err; 799 struct hwrm_fw_livepatch_query_output *resp; local 817 resp = hwrm_req_hold(bp, query); 822 flags = le16_to_cpu(resp->status_flags); 824 resp->active_ver[sizeof(resp->active_ver) - 1] = '\0'; 825 rc = devlink_info_version_running_put(req, key, resp->active_ver); 831 resp->install_ver[sizeof(resp 303 bnxt_dl_livepatch_report_err(struct bnxt *bp, struct netlink_ext_ack *extack, struct hwrm_fw_livepatch_output *resp) argument 1015 struct hwrm_err_output *resp; local [all...] |
/linux-master/sound/xen/ |
H A D | xen_snd_front_alsa.c | 274 struct xensnd_query_hw_param resp; local 298 &req, &resp); 309 sndif_formats = to_alsa_formats_mask(resp.formats); 322 interval.min = resp.rates.min; 323 interval.max = resp.rates.max; 329 interval.min = resp.channels.min; 330 interval.max = resp.channels.max; 336 interval.min = resp.buffer.min; 337 interval.max = resp.buffer.max; 343 interval.min = resp [all...] |
/linux-master/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_hfi.c | 125 struct a6xx_hfi_msg_response resp; local 128 ret = a6xx_hfi_queue_read(gmu, queue, (u32 *) &resp, 129 sizeof(resp) >> 2); 139 if (HFI_HEADER_ID(resp.header) == HFI_F2H_MSG_ERROR) { 141 (struct a6xx_hfi_msg_error *) &resp; 148 if (seqnum != HFI_HEADER_SEQNUM(resp.ret_header)) { 151 HFI_HEADER_SEQNUM(resp.ret_header)); 155 if (resp.error) { 158 a6xx_hfi_msg_id[id], seqnum, resp.error); 164 memcpy(payload, resp [all...] |
/linux-master/drivers/i3c/master/mipi-i3c-hci/ |
H A D | dma.c | 130 void *xfer, *resp, *ibi_status, *ibi_data; member in struct:hci_rh_data 186 if (rh->resp) 189 rh->resp, rh->resp_dma); 259 rh->resp = dma_alloc_coherent(&hci->master.dev, resps_sz, 265 if (!rh->xfer || !rh->resp || !rh->src_xfers) 502 u32 op1_val, op2_val, resp, *ring_resp; local 511 ring_resp = rh->resp + rh->resp_struct_sz * done_ptr; 512 resp = *ring_resp; 513 tid = RESP_TID(resp); 514 DBG("resp [all...] |
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_main.c | 362 struct hns_roce_ib_alloc_ucontext_resp resp = {}; local 369 resp.qp_tab_size = hr_dev->caps.num_qps; 370 resp.srq_tab_size = hr_dev->caps.num_srqs; 381 resp.config |= HNS_ROCE_RSP_EXSGE_FLAGS; 382 resp.max_inline_data = hr_dev->caps.max_sq_inline; 388 resp.config |= HNS_ROCE_RSP_RQ_INLINE_FLAGS; 394 resp.config |= HNS_ROCE_RSP_CQE_INLINE_FLAGS; 398 resp.congest_type = hr_dev->caps.cong_cap; 414 resp.cqe_size = hr_dev->caps.cqe_sz; 416 ret = ib_copy_to_udata(udata, &resp, [all...] |
H A D | hns_roce_srq.c | 427 struct hns_roce_ib_create_srq_resp *resp) 469 struct hns_roce_ib_create_srq_resp resp = {}; local 484 ret = alloc_srq_db(hr_dev, srq, udata, &resp); 497 resp.cap_flags = srq->cap_flags; 498 resp.srqn = srq->srqn; 499 if (ib_copy_to_udata(udata, &resp, 500 min(udata->outlen, sizeof(resp)))) { 425 alloc_srq_db(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, struct ib_udata *udata, struct hns_roce_ib_create_srq_resp *resp) argument
|
/linux-master/drivers/scsi/ |
H A D | stex.c | 774 struct status_msg *resp, unsigned int variable) 776 if (resp->scsi_status != SAM_STAT_GOOD) { 778 memcpy(ccb->sense_buffer, resp->variable, 785 scsi_sg_copy_from_buffer(ccb->cmd, resp->variable, variable); 789 struct st_ccb *ccb, struct status_msg *resp) 792 resp->scsi_status != SAM_STAT_CHECK_CONDITION) 794 le32_to_cpu(*(__le32 *)&resp->variable[0])); 800 struct status_msg *resp; local 832 resp = stex_get_status(hba); 833 tag = le16_to_cpu(resp 773 stex_copy_data(struct st_ccb *ccb, struct status_msg *resp, unsigned int variable) argument 788 stex_check_cmd(struct st_hba *hba, struct st_ccb *ccb, struct status_msg *resp) argument 914 struct status_msg *resp; local [all...] |
/linux-master/drivers/hwmon/ |
H A D | chipcap2.c | 158 int resp; local 165 resp = FIELD_GET(CC2_RESPONSE_FIELD, status); 166 switch (resp) { 172 if (resp & CC2_ERR_CORR_EEPROM) 174 if (resp & CC2_ERR_UNCORR_EEPROM) 176 if (resp & CC2_ERR_RAM_PARITY) 178 if (resp & CC2_ERR_RAM_PARITY)
|
/linux-master/drivers/mmc/host/ |
H A D | tmio_mmc_core.c | 505 stop->resp[0] = sd_ctrl_read16_and_16_as_32(host, CTL_RESPONSE); 582 cmd->resp[i] = sd_ctrl_read16_and_16_as_32(host, addr); 585 cmd->resp[0] = (cmd->resp[0] << 8) | (cmd->resp[1] >> 24); 586 cmd->resp[1] = (cmd->resp[1] << 8) | (cmd->resp[2] >> 24); 587 cmd->resp[2] = (cmd->resp[ [all...] |
H A D | sunplus-mmc.c | 209 cmd->resp[0] = (value0_3 << 8) | (value4_5 >> 8); 210 cmd->resp[1] = value4_5 << 24; 213 cmd->resp[1] |= value0_3 >> 8; 214 cmd->resp[2] = value0_3 << 24; 215 cmd->resp[2] |= value4_5 << 8; 218 cmd->resp[2] |= value0_3 >> 24; 219 cmd->resp[3] = value0_3 << 8; 220 cmd->resp[3] |= value4_5 >> 8; 226 cmd->resp[0] = (value0_3 << 8) | (value4_5 >> 8); 227 cmd->resp[ [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | time-event.c | 481 struct iwl_time_event_notif *resp; local 487 if (WARN_ON_ONCE(resp_len != sizeof(*resp))) { 492 resp = (void *)pkt->data; 495 if (le32_to_cpu(resp->unique_id) != te_data->uid) 500 if (!resp->status) 513 struct iwl_time_event_resp *resp; local 519 if (WARN_ON_ONCE(resp_len != sizeof(*resp))) { 524 resp = (void *)pkt->data; 527 if (WARN_ON_ONCE(le32_to_cpu(resp->id) != te_data->id)) 530 te_data->uid = le32_to_cpu(resp 1340 struct iwl_mvm_session_prot_notif *resp; local [all...] |
/linux-master/drivers/mmc/core/ |
H A D | core.c | 153 if (cmd->resp[0] & R1_SPI_ILLEGAL_COMMAND) 183 mrq->sbc->resp[0], mrq->sbc->resp[1], 184 mrq->sbc->resp[2], mrq->sbc->resp[3]); 189 cmd->resp[0], cmd->resp[1], 190 cmd->resp[2], cmd->resp[3]); 202 mrq->stop->resp[ [all...] |
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_com.c | 594 struct ena_admin_set_feat_resp resp; local 616 (struct ena_admin_acq_entry *)&resp, 617 sizeof(resp)); 1506 struct ena_admin_set_feat_resp resp; local 1534 (struct ena_admin_acq_entry *)&resp, 1535 sizeof(resp)); 1890 struct ena_admin_get_feat_resp *resp) 1892 return ena_com_get_feature(ena_dev, resp, ENA_ADMIN_LINK_CONFIG, 0); 2185 struct ena_admin_set_feat_resp resp; local 2204 (struct ena_admin_acq_entry *)&resp, 1889 ena_com_get_link_params(struct ena_com_dev *ena_dev, struct ena_admin_get_feat_resp *resp) argument 2217 struct ena_admin_get_feat_resp resp; local 2236 struct ena_admin_set_feat_resp resp; local 2408 struct ena_admin_set_feat_resp resp; local 2568 struct ena_admin_set_feat_resp resp; local 2747 struct ena_admin_set_feat_resp resp; local [all...] |
/linux-master/drivers/net/ethernet/3com/ |
H A D | typhoon.c | 243 struct resp_desc resp[RESPONSE_ENTRIES] __3xp_aligned; 445 typhoon_media_status(struct net_device *dev, struct resp_desc *resp) argument 447 if (resp->parm1 & TYPHOON_MEDIA_STAT_NO_LINK) 479 struct resp_desc *resp; local 488 resp = (struct resp_desc *)(base + cleared); 489 count = resp->numDesc + 1; 490 if (resp_save && resp->seqNo) { 497 len = count * sizeof(*resp); 503 memcpy(resp_save, resp, len); 505 resp_save += len / sizeof(*resp); 570 typhoon_issue_command(struct typhoon *tp, int num_cmd, struct cmd_desc *cmd, int num_resp, struct resp_desc *resp) argument [all...] |
/linux-master/sound/pci/mixart/ |
H A D | mixart_mixer.c | 295 struct mixart_return_uid resp; local 317 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); 318 if((err<0) || (resp.error_code)) { 321 chip->chip_idx, is_capture, resp.error_code); 955 u32 resp = 0; local 971 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); 972 if((err<0) || resp) { 974 "error MSG_CONNECTOR_SET_OUT_AUDIO_LEVEL card(%d) resp( [all...] |
/linux-master/drivers/firmware/tegra/ |
H A D | bpmp.c | 523 struct mrq_query_abi_response resp; local 531 .data = &resp, 532 .size = sizeof(resp), 541 return resp.status == 0; 639 struct mrq_query_fw_tag_response resp; local 643 .data = &resp, 644 .size = sizeof(resp), 649 if (size != sizeof(resp.tag)) 659 memcpy(tag, resp.tag, sizeof(resp [all...] |
/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw_qp_rx.c | 659 struct siw_sqe *resp; local 691 resp = &tx_work->sqe; 693 resp = irq_alloc_free(qp); 696 if (likely(resp)) { 697 resp->opcode = SIW_OP_READ_RESPONSE; 699 resp->sge[0].length = length; 700 resp->sge[0].laddr = laddr; 701 resp->sge[0].lkey = lkey; 706 resp->sge[1].length = msn; 708 resp [all...] |