/linux-master/arch/s390/kernel/ |
H A D | cpcmd.c | 37 static int diag8_response(int cmdlen, char *response, int *rlen) argument 43 rx.odd = __pa(response); 64 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) argument 76 if (response) { 77 memset(response, 0, rlen); 79 rc = diag8_response(cmdlen, response, &rlen); 80 EBCASC(response, response_len); 90 int cpcmd(const char *cmd, char *response, int rlen, int *response_code) argument 96 if (is_vmalloc_or_module_addr(response)) { 99 pr_warn("The cpcmd kernel function failed to allocate a response buffe [all...] |
/linux-master/arch/s390/mm/ |
H A D | extmem.c | 571 int i, response; local 592 response = 0; 593 cpcmd(cmd1, NULL, 0, &response); 594 if (response) { 595 pr_err("Saving a DCSS failed with DEFSEG response code " 596 "%i\n", response); 599 cpcmd(cmd2, NULL, 0, &response); 600 if (response) { 601 pr_err("Saving a DCSS failed with SAVESEG response code " 602 "%i\n", response); [all...] |
/linux-master/arch/s390/pci/ |
H A D | pci_clp.c | 101 struct clp_rsp_query_pci_grp *response) 103 zdev->tlb_refresh = response->refresh; 104 zdev->dma_mask = response->dasm; 105 zdev->msi_addr = response->msia; 106 zdev->max_msi = response->noi; 107 zdev->fmb_update = response->mui; 108 zdev->version = response->version; 109 zdev->maxstbl = response->maxstbl; 110 zdev->dtsm = response->dtsm; 112 switch (response 100 clp_store_query_pci_fngrp(struct zpci_dev *zdev, struct clp_rsp_query_pci_grp *response) argument 149 clp_store_query_pci_fn(struct zpci_dev *zdev, struct clp_rsp_query_pci *response) argument [all...] |
/linux-master/arch/um/drivers/ |
H A D | virtio_uml.c | 238 * The need_response flag indicates that we already need a response, 347 struct vhost_user_msg *msg, int response) 350 .payload.integer = response, 372 int response = 1; local 390 response = 0; 395 response = 0; 414 vhost_user_reply(vu_dev, &msg.msg, response); 553 "receiving VHOST_USER_GET_CONFIG response failed: %d\n", 346 vhost_user_reply(struct virtio_uml_device *vu_dev, struct vhost_user_msg *msg, int response) argument
|
/linux-master/block/ |
H A D | bsg-lib.c | 115 if (job->reply_len && hdr->response) { 118 if (copy_to_user(uptr64(hdr->response), job->reply, len))
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | firmware_if.c | 1758 * hl_fw_dynamic_extract_fw_response - update the FW response 1762 * @response: FW response 1769 struct fw_response *response, 1772 response->status = FIELD_GET(COMMS_STATUS_STATUS_MASK, status); 1773 response->ram_offset = FIELD_GET(COMMS_STATUS_OFFSET_MASK, status) << 1775 response->ram_type = FIELD_GET(COMMS_STATUS_RAM_TYPE_MASK, status); 1777 if ((response->ram_type != COMMS_SRAM) && 1778 (response->ram_type != COMMS_DRAM)) { 1780 response 1767 hl_fw_dynamic_extract_fw_response(struct hl_device *hdev, struct fw_load_mgr *fw_loader, struct fw_response *response, u32 status) argument 2082 hl_fw_dynamic_validate_response(struct hl_device *hdev, struct fw_response *response, struct pci_mem_region *region) argument 2152 struct fw_response *response; local [all...] |
H A D | habanalabs.h | 1357 * @cpu_cmd_status_to_host_reg: register address for CPU command status response 1385 * struct fw_response - FW response to LKD command 1398 * @response: FW to LKD response 1406 struct fw_response response; member in struct:dynamic_fw_load_mgr 1454 * @cpu_timeout: CPU response timeout in usec 1550 * @send_heartbeat: send is-alive packet to CPU-CP and verify response.
|
/linux-master/drivers/ata/ |
H A D | sata_mv.c | 458 /* ditto, for response queue */ 980 * initialize response queue 2738 struct mv_crpb *response, unsigned int tag, int ncq_enabled) 2741 u16 edma_status = le16_to_cpu(response->flags); 2744 * edma_status from a response queue entry: 2781 struct mv_crpb *response = &pp->crpb[pp->resp_idx]; local 2790 tag = le16_to_cpu(response->id) & 0x1f; 2792 if (mv_process_crpb_response(ap, response, tag, ncq_enabled)) 2820 * Process completed CRPB response(s) before other events. 2737 mv_process_crpb_response(struct ata_port *ap, struct mv_crpb *response, unsigned int tag, int ncq_enabled) argument
|
/linux-master/drivers/atm/ |
H A D | solos-pci.c | 137 struct sk_buff *response; member in struct:solos_param 211 prm.response = NULL; 220 wait_event_timeout(card->param_wq, prm.response, 5 * HZ); 226 if (!prm.response) 229 buflen = prm.response->len; 230 memcpy(buf, prm.response->data, buflen); 231 kfree_skb(prm.response); 267 prm.response = NULL; 276 wait_event_timeout(card->param_wq, prm.response, 5 * HZ); 282 skb = prm.response; [all...] |
/linux-master/drivers/block/drbd/ |
H A D | drbd_receiver.c | 5366 char *response = NULL; local 5377 /* FIXME: Put the challenge/response into the preallocated socket buffer. */ 5457 response = kmalloc(resp_size, GFP_NOIO); 5458 if (!response) { 5463 rv = crypto_shash_digest(desc, peers_ch, pi.size, response); 5475 response, resp_size); 5498 err = drbd_recv_all_warn(connection, response , resp_size); 5518 rv = !memcmp(response, right_response, resp_size); 5528 kfree(response);
|
/linux-master/drivers/block/ |
H A D | rbd.c | 1397 * a stat response makes it through, but we don't care. 2186 * The response data for a STAT call consists of: 6619 void *response; local 6647 response = kzalloc(size, GFP_NOIO); 6648 if (!response) { 6657 response, size); 6665 void *p = response; 6679 kfree(response);
|
/linux-master/drivers/char/hw_random/ |
H A D | mpfs-rng.c | 34 struct mpfs_mss_response response = { local 42 .response = &response,
|
/linux-master/drivers/char/ipmi/ |
H A D | ssif_bmc.c | 64 * SSIF_RES_SENDING 0x04 : Sending response 87 /* Timeout waiting for response */ 103 struct ipmi_ssif_msg response; member in struct:ssif_bmc_ctx 202 * The write must complete before the response timeout fired, otherwise 203 * the response is aborted and wait for next request 204 * Return -EINVAL if the response is aborted 213 memcpy(&ssif_bmc->response, &msg, count); 287 /* Invalidate response in buffer to denote it having been sent. */ 288 ssif_bmc->response.len = 0; 304 /* Do nothing if the response i [all...] |
/linux-master/drivers/char/tpm/ |
H A D | tpm_ppi.c | 238 * most recent TPM operation request, and the last means response to 240 * the second integer is not 0, the response makes sense. 349 static DEVICE_ATTR(response, S_IRUGO, tpm_show_ppi_response, NULL);
|
/linux-master/drivers/clk/tegra/ |
H A D | clk-bpmp.c | 126 struct cmd_clk_is_enabled_response response; local 133 msg.rx.data = &response; 134 msg.rx.size = sizeof(response); 140 return response.state; 147 struct cmd_clk_get_rate_response response; local 157 msg.rx.data = &response; 158 msg.rx.size = sizeof(response); 164 return response.rate; 171 struct cmd_clk_round_rate_response response; local 187 msg.rx.data = &response; 202 struct cmd_clk_set_parent_response response; local 230 struct cmd_clk_get_parent_response response; local 259 struct cmd_clk_set_rate_response response; local 333 struct cmd_clk_get_max_clk_id_response response; local 355 struct cmd_clk_get_all_info_response response; local [all...] |
/linux-master/drivers/clk/zynqmp/ |
H A D | clkc.c | 219 * @response: Name of the clock with the given id 227 struct name_resp *response) 240 memcpy(response, ret_payload, sizeof(*response)); 249 * @response: Buffer used for the topology response 254 * This API will return 3 node of topology with a single response. To get 263 struct topology_resp *response) 274 memcpy(response, &ret_payload[1], sizeof(*response)); 226 zynqmp_pm_clock_get_name(u32 clock_id, struct name_resp *response) argument 262 zynqmp_pm_clock_get_topology(u32 clock_id, u32 index, struct topology_resp *response) argument 359 zynqmp_pm_clock_get_parents(u32 clock_id, u32 index, struct parents_resp *response) argument 385 zynqmp_pm_clock_get_attributes(u32 clock_id, struct attr_resp *response) argument 410 __zynqmp_clock_get_topology(struct clock_topology *topology, struct topology_resp *response, u32 *nnodes) argument 450 struct topology_resp response = { }; local 476 __zynqmp_clock_get_parents(struct clock_parent *parents, struct parents_resp *response, u32 *nparent) argument 516 struct parents_resp response = { }; local [all...] |
/linux-master/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_req.h | 500 * @response: response list entry 513 struct list_head response; member in struct:nitrox_softreq
|
H A D | nitrox_reqmgr.c | 244 INIT_LIST_HEAD(&sr->response); 247 list_add_tail(&sr->response, &cmdq->response_head); 255 list_del(&sr->response); 263 struct nitrox_softreq, response); 569 /* remove from response list */
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_accel_devices.h | 487 struct pfvf_message response; /* temp field holding pf2vf response */ member in struct:adf_accel_dev::__anon221::__anon223
|
H A D | adf_pfvf_vf_proto.c | 18 /* How often to retry if there is no response */ 62 * @resp: Returned PF response 64 * This function sends a message that requires a response from the VF to the PF 87 /* Wait for response, if it times out retry */ 92 *resp = accel_dev->vf.response; 95 accel_dev->vf.response.type = 0; 100 dev_err(&GET_DEV(accel_dev), "PFVF response message timeout\n"); 173 "Unexpected BLKMSG response type %u, byte 0x%x\n", 199 "Unexpected CRC BLKMSG response type %u, crc 0x%x\n", 219 * otherwise the response wil [all...] |
/linux-master/drivers/cxl/core/ |
H A D | pci.c | 525 __le32 response[2]; local 531 &response, sizeof(response)); 536 if (rc < sizeof(response)) 539 *length = le32_to_cpu(response[1]);
|
/linux-master/drivers/firewire/ |
H A D | core-transaction.c | 300 * __fw_send_request() - submit a request packet for transmission to generate callback for response 306 * @generation: bus generation in which request and response are valid 311 * @callback: union of two functions whether to receive time stamp or not for response 313 * @with_tstamp: Whether to receive time stamp or not for response subaction. 338 * @callback will be called. Among its parameters is the response code which 430 * @generation: bus generation in which request and response are valid 438 * to the payload of the response. DMA mapping restrictions apply to outbound 439 * request payloads of >= 8 bytes but not to inbound response payloads. 647 struct fw_packet response; member in struct:fw_request 675 struct fw_request *request = container_of(packet, struct fw_request, response); 722 fw_fill_response(struct fw_packet *response, u32 *request_header, int rcode, void *payload, size_t length) argument [all...] |
H A D | core.h | 251 void fw_fill_response(struct fw_packet *response, u32 *request_header,
|
H A D | ohci.c | 926 * was received and make sure we send the response in the same 1506 /* Async response transmit timed out. */ 1562 struct fw_packet response; local 1573 fw_fill_response(&response, packet->header, 1576 fw_fill_response(&response, packet->header, 1579 fw_fill_response(&response, packet->header, RCODE_COMPLETE, 1584 response.timestamp = cycle_time_to_ohci_tstamp(get_cycle_time(ohci)); 1585 fw_core_handle_response(&ohci->card, &response); 1591 struct fw_packet response; local 1609 fw_fill_response(&response, packe [all...] |
H A D | sbp2.c | 230 /* Status write response codes */ 280 struct sbp2_pointer response; member in struct:sbp2_management_orb::__anon300 285 __be32 response[4]; member in struct:sbp2_management_orb 551 int lun_or_login_id, void *response) 567 dma_map_single(device->card->device, &orb->response, 568 sizeof(orb->response), DMA_FROM_DEVICE); 572 orb->request.response.high = 0; 573 orb->request.response.low = cpu_to_be32(orb->response_bus); 580 MANAGEMENT_ORB_RESPONSE_LENGTH(sizeof(orb->response))); 638 sizeof(orb->response), DMA_FROM_DEVIC 549 sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id, int generation, int function, int lun_or_login_id, void *response) argument 805 struct sbp2_login_response response; local [all...] |