/linux-6.6.21/drivers/greybus/ |
D | control.c | 22 struct gb_control_version_response response; in gb_control_get_version() local 30 &request, sizeof(request), &response, in gb_control_get_version() 31 sizeof(response)); in gb_control_get_version() 39 if (response.major > request.major) { in gb_control_get_version() 42 response.major, request.major); in gb_control_get_version() 46 control->protocol_major = response.major; in gb_control_get_version() 47 control->protocol_minor = response.minor; in gb_control_get_version() 49 dev_dbg(&intf->dev, "%s - %u.%u\n", __func__, response.major, in gb_control_get_version() 50 response.minor); in gb_control_get_version() 60 struct gb_control_bundle_version_response response; in gb_control_get_bundle_version() local [all …]
|
D | svc.c | 133 struct gb_svc_pwrmon_rail_count_get_response response; in gb_svc_pwrmon_rail_count_get() local 138 &response, sizeof(response)); in gb_svc_pwrmon_rail_count_get() 144 *value = response.rail_count; in gb_svc_pwrmon_rail_count_get() 150 struct gb_svc_pwrmon_rail_names_get_response *response, in gb_svc_pwrmon_rail_names_get() argument 157 response, bufsize); in gb_svc_pwrmon_rail_names_get() 163 if (response->status != GB_SVC_OP_SUCCESS) { in gb_svc_pwrmon_rail_names_get() 166 response->status); in gb_svc_pwrmon_rail_names_get() 177 struct gb_svc_pwrmon_sample_get_response response; in gb_svc_pwrmon_sample_get() local 185 &response, sizeof(response)); in gb_svc_pwrmon_sample_get() 191 if (response.result) { in gb_svc_pwrmon_sample_get() [all …]
|
/linux-6.6.21/arch/s390/pci/ |
D | pci_clp.c | 101 struct clp_rsp_query_pci_grp *response) in clp_store_query_pci_fngrp() argument 103 zdev->tlb_refresh = response->refresh; in clp_store_query_pci_fngrp() 104 zdev->dma_mask = response->dasm; in clp_store_query_pci_fngrp() 105 zdev->msi_addr = response->msia; in clp_store_query_pci_fngrp() 106 zdev->max_msi = response->noi; in clp_store_query_pci_fngrp() 107 zdev->fmb_update = response->mui; in clp_store_query_pci_fngrp() 108 zdev->version = response->version; in clp_store_query_pci_fngrp() 109 zdev->maxstbl = response->maxstbl; in clp_store_query_pci_fngrp() 110 zdev->dtsm = response->dtsm; in clp_store_query_pci_fngrp() 112 switch (response->version) { in clp_store_query_pci_fngrp() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
D | dcn30_clk_mgr_smu_msg.c | 112 uint32_t response = 0; in dcn30_smu_test_message() local 117 DALSMC_MSG_TestMessage, input, &response)) in dcn30_smu_test_message() 118 if (response == input + 1) in dcn30_smu_test_message() 142 uint32_t response = 0; in dcn30_smu_check_driver_if_version() local 147 DALSMC_MSG_GetDriverIfVersion, 0, &response)) { in dcn30_smu_check_driver_if_version() 149 smu_print("SMU driver if version: %d\n", response); in dcn30_smu_check_driver_if_version() 151 if (response == SMU11_DRIVER_IF_VERSION) in dcn30_smu_check_driver_if_version() 161 uint32_t response = 0; in dcn30_smu_check_msg_header_version() local 166 DALSMC_MSG_GetMsgHeaderVersion, 0, &response)) { in dcn30_smu_check_msg_header_version() 168 smu_print("SMU msg header version: %d\n", response); in dcn30_smu_check_msg_header_version() [all …]
|
/linux-6.6.21/drivers/input/misc/ |
D | ariel-pwrbutton.c | 16 #define RESP_COUNTER(response) (response.header & 0x3) argument 17 #define RESP_SIZE(response) ((response.header >> 2) & 0x3) argument 18 #define RESP_TYPE(response) ((response.header >> 4) & 0xf) argument 33 struct ec_input_response *response) in ec_input_read() argument 39 .rx_buf = response, in ec_input_read() 43 compiletime_assert(sizeof(read_request) == sizeof(*response), in ec_input_read() 53 struct ec_input_response response; in ec_input_interrupt() local 57 error = ec_input_read(priv, &response); in ec_input_interrupt() 63 if (priv->msg_counter == RESP_COUNTER(response)) { in ec_input_interrupt() 68 priv->msg_counter = RESP_COUNTER(response); in ec_input_interrupt() [all …]
|
/linux-6.6.21/drivers/platform/chrome/wilco_ec/ |
D | keyboard_leds.c | 57 struct wilco_keyboard_leds_msg *response) in send_kbbl_msg() argument 66 msg.response_data = response; in send_kbbl_msg() 67 msg.response_size = sizeof(*response); in send_kbbl_msg() 82 struct wilco_keyboard_leds_msg response; in set_kbbl() local 91 ret = send_kbbl_msg(ec, &request, &response); in set_kbbl() 95 if (response.status) { in set_kbbl() 98 response.status); in set_kbbl() 108 struct wilco_keyboard_leds_msg response; in kbbl_exist() local 115 ret = send_kbbl_msg(ec, &request, &response); in kbbl_exist() 119 *exists = response.status != 0xFF; in kbbl_exist() [all …]
|
/linux-6.6.21/arch/s390/kernel/ |
D | cpcmd.c | 37 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument 43 rx.odd = __pa(response); in diag8_response() 64 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) in __cpcmd() argument 76 if (response) { in __cpcmd() 77 memset(response, 0, rlen); in __cpcmd() 79 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd() 80 EBCASC(response, response_len); in __cpcmd() 90 int cpcmd(const char *cmd, char *response, int rlen, int *response_code) in cpcmd() argument 96 if (is_vmalloc_or_module_addr(response)) { in cpcmd() 105 memcpy(response, lowbuf, rlen); in cpcmd() [all …]
|
/linux-6.6.21/drivers/staging/greybus/ |
D | authentication.c | 87 struct gb_cap_get_endpoint_uid_response response; in cap_get_endpoint_uid() local 91 0, &response, sizeof(response)); in cap_get_endpoint_uid() 97 memcpy(euid, response.uid, sizeof(response.uid)); in cap_get_endpoint_uid() 107 struct gb_cap_get_ims_certificate_response *response; in cap_get_ims_certificate() local 130 response = op->response->payload; in cap_get_ims_certificate() 131 *result = response->result_code; in cap_get_ims_certificate() 132 *size = op->response->payload_size - sizeof(*response); in cap_get_ims_certificate() 133 memcpy(certificate, response->certificate, *size); in cap_get_ims_certificate() 146 struct gb_cap_authenticate_response *response; in cap_authenticate() local 169 response = op->response->payload; in cap_authenticate() [all …]
|
D | spilib.c | 299 struct gb_spi_transfer_response *response) in gb_spi_decode_response() argument 302 void *rx_data = response->data; in gb_spi_decode_response() 332 struct gb_spi_transfer_response *response; in gb_spi_transfer_one_message() local 358 response = operation->response->payload; in gb_spi_transfer_one_message() 359 if (response) in gb_spi_transfer_one_message() 360 gb_spi_decode_response(spi, msg, response); in gb_spi_transfer_one_message() 417 struct gb_spi_master_config_response response; in gb_spi_get_master_config() local 422 NULL, 0, &response, sizeof(response)); in gb_spi_get_master_config() 426 mode = le16_to_cpu(response.mode); in gb_spi_get_master_config() 429 flags = le16_to_cpu(response.flags); in gb_spi_get_master_config() [all …]
|
D | bootrom.c | 113 struct gb_bootrom_get_vid_pid_response response; in bootrom_es2_fixup_vid_pid() local 122 NULL, 0, &response, sizeof(response)); in bootrom_es2_fixup_vid_pid() 136 intf->vendor_id = le32_to_cpu(response.vendor_id); in bootrom_es2_fixup_vid_pid() 137 intf->product_id = le32_to_cpu(response.product_id); in bootrom_es2_fixup_vid_pid() 222 size_response = op->response->payload; in gb_bootrom_firmware_size_request() 290 firmware_response = op->response->payload; in gb_bootrom_get_firmware() 379 struct gb_bootrom_version_response response; in gb_bootrom_get_version() local 387 &request, sizeof(request), &response, in gb_bootrom_get_version() 388 sizeof(response)); in gb_bootrom_get_version() 396 if (response.major > request.major) { in gb_bootrom_get_version() [all …]
|
/linux-6.6.21/drivers/clk/zynqmp/ |
D | clkc.c | 227 struct name_resp *response) in zynqmp_pm_clock_get_name() argument 240 memcpy(response, ret_payload, sizeof(*response)); in zynqmp_pm_clock_get_name() 263 struct topology_resp *response) in zynqmp_pm_clock_get_topology() argument 274 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_topology() 360 struct parents_resp *response) in zynqmp_pm_clock_get_parents() argument 371 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_parents() 386 struct attr_resp *response) in zynqmp_pm_clock_get_attributes() argument 396 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_attributes() 411 struct topology_resp *response, in __zynqmp_clock_get_topology() argument 417 for (i = 0; i < ARRAY_SIZE(response->topology); i++) { in __zynqmp_clock_get_topology() [all …]
|
/linux-6.6.21/drivers/platform/chrome/ |
D | cros_ec_ishtp.c | 131 struct response_info response; member 177 client_data->response.data = in_msg; in ish_send() 178 client_data->response.max_size = in_size; in ish_send() 179 client_data->response.error = 0; in ish_send() 180 client_data->response.token = next_token++; in ish_send() 181 client_data->response.received = false; in ish_send() 183 out_hdr->token = client_data->response.token; in ish_send() 192 wait_event_interruptible_timeout(client_data->response.wait_queue, in ish_send() 193 client_data->response.received, in ish_send() 195 if (!client_data->response.received) { in ish_send() [all …]
|
/linux-6.6.21/drivers/clk/tegra/ |
D | clk-bpmp.c | 126 struct cmd_clk_is_enabled_response response; in tegra_bpmp_clk_is_prepared() local 133 msg.rx.data = &response; in tegra_bpmp_clk_is_prepared() 134 msg.rx.size = sizeof(response); in tegra_bpmp_clk_is_prepared() 140 return response.state; in tegra_bpmp_clk_is_prepared() 147 struct cmd_clk_get_rate_response response; in tegra_bpmp_clk_recalc_rate() local 157 msg.rx.data = &response; in tegra_bpmp_clk_recalc_rate() 158 msg.rx.size = sizeof(response); in tegra_bpmp_clk_recalc_rate() 164 return response.rate; in tegra_bpmp_clk_recalc_rate() 171 struct cmd_clk_round_rate_response response; in tegra_bpmp_clk_determine_rate() local 187 msg.rx.data = &response; in tegra_bpmp_clk_determine_rate() [all …]
|
/linux-6.6.21/drivers/input/touchscreen/ |
D | exc3000.c | 226 u8 request_len, u8 *response, int timeout) in exc3000_vendor_data_request() argument 243 if (response) { in exc3000_vendor_data_request() 256 memcpy(response, &data->buf[4], data->buf[3]); in exc3000_vendor_data_request() 271 u8 response[EXC3000_LEN_FRAME]; in fw_version_show() local 276 (u8[]){0x39, 0x02}, 2, response, 1); in fw_version_show() 285 if (response[2] || response[3]) in fw_version_show() 286 return sprintf(buf, "%d.%d\n", response[2], response[3]); in fw_version_show() 288 ret = exc3000_vendor_data_request(data, (u8[]){'D'}, 1, response, 1); in fw_version_show() 292 return sprintf(buf, "%s\n", &response[1]); in fw_version_show() 301 u8 response[EXC3000_LEN_FRAME]; in model_show() local [all …]
|
/linux-6.6.21/drivers/pmdomain/tegra/ |
D | powergate-bpmp.c | 60 struct mrq_pg_response response; in tegra_bpmp_powergate_get_state() local 69 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_state() 75 msg.rx.data = &response; in tegra_bpmp_powergate_get_state() 76 msg.rx.size = sizeof(response); in tegra_bpmp_powergate_get_state() 84 return response.get_state.state; in tegra_bpmp_powergate_get_state() 89 struct mrq_pg_response response; in tegra_bpmp_powergate_get_max_id() local 97 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_max_id() 103 msg.rx.data = &response; in tegra_bpmp_powergate_get_max_id() 104 msg.rx.size = sizeof(response); in tegra_bpmp_powergate_get_max_id() 112 return response.get_max_id.max_id; in tegra_bpmp_powergate_get_max_id() [all …]
|
/linux-6.6.21/drivers/s390/char/ |
D | vmcp.c | 31 char *response; member 75 session->response = (char *)page_to_virt(page); in vmcp_response_alloc() 79 session->response = (char *)__get_free_pages(GFP_KERNEL | __GFP_RETRY_MAYFAIL, order); in vmcp_response_alloc() 87 if (!session->response) in vmcp_response_free() 92 page = virt_to_page(session->response); in vmcp_response_free() 96 free_pages((unsigned long)session->response, order); in vmcp_response_free() 98 session->response = NULL; in vmcp_response_free() 113 session->response = NULL; in vmcp_open() 141 if (!session->response) { in vmcp_read() 147 session->response, size); in vmcp_read() [all …]
|
/linux-6.6.21/drivers/hid/intel-ish-hid/ |
D | ishtp-fw-loader.c | 220 struct response_info response; member 299 client_data->response.data = in_msg; in loader_cl_send() 300 client_data->response.max_size = in_size; in loader_cl_send() 301 client_data->response.error = 0; in loader_cl_send() 302 client_data->response.received = false; in loader_cl_send() 311 wait_event_interruptible_timeout(client_data->response.wait_queue, in loader_cl_send() 312 client_data->response.received, in loader_cl_send() 314 if (!client_data->response.received) { in loader_cl_send() 321 if (client_data->response.error < 0) in loader_cl_send() 322 return client_data->response.error; in loader_cl_send() [all …]
|
/linux-6.6.21/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_interface.c | 21 (cmd_resp.response.response == 0 && in amd_sfh_wait_response() 22 cmd_resp.response.cmd_id == cmd_id && (sid == 0xff || in amd_sfh_wait_response() 23 cmd_resp.response.sensor_id == sid)), 500, 10000000)) in amd_sfh_wait_response() 24 return cmd_resp.response.response; in amd_sfh_wait_response() 73 .response = amd_sfh_wait_response,
|
/linux-6.6.21/drivers/s390/net/ |
D | ism.h | 55 } response; member 66 } response; member 76 } response; member 98 } response; member 110 } response; member 126 } response; member 139 } response; member 149 } response; member 158 } response; member 168 } response; member
|
/linux-6.6.21/drivers/s390/cio/ |
D | chsc.c | 49 int chsc_error_from_response(int response) in chsc_error_from_response() argument 51 switch (response) { in chsc_error_from_response() 88 struct chsc_header response; member 127 ret = chsc_error_from_response(ssd_area->response.code); in chsc_get_ssd_info() 131 ssd_area->response.code); in chsc_get_ssd_info() 179 return chsc_error_from_response(ssqd->response.code); in chsc_ssqd() 216 return chsc_error_from_response(scssc->response.code); in chsc_sadc() 331 struct chsc_header response; member 685 if (sei->response.code != 0x0001) { in chsc_process_event_information() 687 sei->response.code, sei->ntsm); in chsc_process_event_information() [all …]
|
D | chsc_sch.c | 438 struct chsc_header response; in chsc_ioctl_info_channel_path() member 467 if (scpcd_area->response.code != 0x0001) { in chsc_ioctl_info_channel_path() 470 scpcd_area->response.code); in chsc_ioctl_info_channel_path() 473 memcpy(&cd->cpcb, &scpcd_area->response, scpcd_area->response.length); in chsc_ioctl_info_channel_path() 500 struct chsc_header response; in chsc_ioctl_info_cu() member 529 if (scucd_area->response.code != 0x0001) { in chsc_ioctl_info_cu() 532 scucd_area->response.code); in chsc_ioctl_info_cu() 535 memcpy(&cd->cucb, &scucd_area->response, scucd_area->response.length); in chsc_ioctl_info_cu() 563 struct chsc_header response; in chsc_ioctl_info_sch_cu() member 593 if (sscud_area->response.code != 0x0001) { in chsc_ioctl_info_sch_cu() [all …]
|
/linux-6.6.21/drivers/mailbox/ |
D | mailbox-mpfs.c | 70 struct mpfs_mss_response *response; member 86 struct mpfs_mss_response *response = mbox->response; in mpfs_mbox_last_tx_done() local 99 response->resp_status = (val & SCB_STATUS_MASK) >> SCB_STATUS_POS; in mpfs_mbox_last_tx_done() 112 mbox->response = msg->response; in mpfs_mbox_send_data() 154 struct mpfs_mss_response *response = mbox->response; in mpfs_mbox_rx_data() local 155 u16 num_words = ALIGN((response->resp_size), (4)) / 4U; in mpfs_mbox_rx_data() 158 if (!response->resp_msg) { in mpfs_mbox_rx_data() 170 response->resp_status = 0xDEAD; in mpfs_mbox_rx_data() 175 response->resp_msg[i] = in mpfs_mbox_rx_data() 180 mbox_chan_received_data(chan, response); in mpfs_mbox_rx_data()
|
/linux-6.6.21/fs/smb/client/ |
D | smbdirect.c | 20 struct smbd_response *response); 25 struct smbd_connection *info, struct smbd_response *response); 28 struct smbd_response *response, int data_length); 34 struct smbd_response *response); 266 static inline void *smbd_response_payload(struct smbd_response *response) in smbd_response_payload() argument 268 return (void *)response->packet; in smbd_response_payload() 317 struct smbd_response *response, int packet_length) in process_negotiation_response() argument 319 struct smbd_connection *info = response->info; in process_negotiation_response() 320 struct smbd_negotiate_resp *packet = smbd_response_payload(response); in process_negotiation_response() 391 struct smbd_response *response; in smbd_post_send_credits() local [all …]
|
/linux-6.6.21/drivers/memory/ |
D | brcmstb_dpfe.c | 382 static void __iomem *get_msg_ptr(struct brcmstb_dpfe_priv *priv, u32 response, in get_msg_ptr() argument 393 msg_type = (response >> DRAM_MSG_TYPE_OFFSET) & DRAM_MSG_TYPE_MASK; in get_msg_ptr() 394 offset = (response >> DRAM_MSG_ADDR_OFFSET) & DRAM_MSG_ADDR_MASK; in get_msg_ptr() 411 response); in get_msg_ptr() 636 u32 response[MSG_FIELD_MAX]; in brcmstb_dpfe_download_firmware() local 638 ret = __send_command(priv, DPFE_CMD_GET_INFO, response); in brcmstb_dpfe_download_firmware() 698 static ssize_t generic_show(unsigned int command, u32 response[], in generic_show() argument 706 ret = __send_command(priv, command, response); in generic_show() 716 u32 response[MSG_FIELD_MAX]; in show_info() local 722 ret = generic_show(DPFE_CMD_GET_INFO, response, priv, buf); in show_info() [all …]
|
/linux-6.6.21/drivers/net/wwan/iosm/ |
D | iosm_ipc_protocol.c | 15 struct ipc_rsp *response) in ipc_protocol_tq_msg_send() argument 24 ipc_protocol->rsp_ring[index] = response; in ipc_protocol_tq_msg_send() 40 send_args->response); in ipc_protocol_tq_msg_send_cb() 61 struct ipc_rsp response; in ipc_protocol_msg_send() local 72 response.status = IPC_MEM_MSG_CS_INVALID; in ipc_protocol_msg_send() 73 init_completion(&response.completion); in ipc_protocol_msg_send() 77 send_args.response = &response; in ipc_protocol_msg_send() 93 switch (wait_for_completion_timeout(&response.completion, in ipc_protocol_msg_send() 108 if (response.status != IPC_MEM_MSG_CS_SUCCESS) { in ipc_protocol_msg_send() 111 response.status); in ipc_protocol_msg_send()
|