Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 506) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/drivers/greybus/
Dcontrol.c22 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 …]
Dsvc.c132 struct gb_svc_pwrmon_rail_count_get_response response; in gb_svc_pwrmon_rail_count_get() local
137 &response, sizeof(response)); in gb_svc_pwrmon_rail_count_get()
143 *value = response.rail_count; in gb_svc_pwrmon_rail_count_get()
149 struct gb_svc_pwrmon_rail_names_get_response *response, in gb_svc_pwrmon_rail_names_get() argument
156 response, bufsize); in gb_svc_pwrmon_rail_names_get()
162 if (response->status != GB_SVC_OP_SUCCESS) { in gb_svc_pwrmon_rail_names_get()
165 response->status); in gb_svc_pwrmon_rail_names_get()
176 struct gb_svc_pwrmon_sample_get_response response; in gb_svc_pwrmon_sample_get() local
184 &response, sizeof(response)); in gb_svc_pwrmon_sample_get()
190 if (response.result) { in gb_svc_pwrmon_sample_get()
[all …]
/kernel/linux/linux-5.10/arch/s390/pci/
Dpci_clp.c98 struct clp_rsp_query_pci_grp *response) in clp_store_query_pci_fngrp() argument
100 zdev->tlb_refresh = response->refresh; in clp_store_query_pci_fngrp()
101 zdev->dma_mask = response->dasm; in clp_store_query_pci_fngrp()
102 zdev->msi_addr = response->msia; in clp_store_query_pci_fngrp()
103 zdev->max_msi = response->noi; in clp_store_query_pci_fngrp()
104 zdev->fmb_update = response->mui; in clp_store_query_pci_fngrp()
105 zdev->version = response->version; in clp_store_query_pci_fngrp()
107 switch (response->version) { in clp_store_query_pci_fngrp()
129 rrb->response.hdr.len = sizeof(rrb->response); in clp_query_pci_fngrp()
133 if (!rc && rrb->response.hdr.rsp == CLP_RC_OK) in clp_query_pci_fngrp()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr_smu_msg.c102 uint32_t response = 0; in dcn30_smu_test_message() local
107 DALSMC_MSG_TestMessage, input, &response)) in dcn30_smu_test_message()
108 if (response == input + 1) in dcn30_smu_test_message()
132 uint32_t response = 0; in dcn30_smu_check_driver_if_version() local
137 DALSMC_MSG_GetDriverIfVersion, 0, &response)) { in dcn30_smu_check_driver_if_version()
139 smu_print("SMU driver if version: %d\n", response); in dcn30_smu_check_driver_if_version()
141 if (response == SMU11_DRIVER_IF_VERSION) in dcn30_smu_check_driver_if_version()
151 uint32_t response = 0; in dcn30_smu_check_msg_header_version() local
156 DALSMC_MSG_GetMsgHeaderVersion, 0, &response)) { in dcn30_smu_check_msg_header_version()
158 smu_print("SMU msg header version: %d\n", response); in dcn30_smu_check_msg_header_version()
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/wilco_ec/
Dkeyboard_leds.c57 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 …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dcpcmd.c38 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
43 register unsigned long reg3 asm ("3") = (addr_t) response; in diag8_response()
62 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) in __cpcmd() argument
74 if (response) { in __cpcmd()
75 memset(response, 0, rlen); in __cpcmd()
77 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
78 EBCASC(response, response_len); in __cpcmd()
88 int cpcmd(const char *cmd, char *response, int rlen, int *response_code) in cpcmd() argument
94 if (is_vmalloc_or_module_addr(response)) { in cpcmd()
103 memcpy(response, lowbuf, rlen); in cpcmd()
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dauthentication.c87 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 …]
Dspilib.c295 struct gb_spi_transfer_response *response) in gb_spi_decode_response() argument
298 void *rx_data = response->data; in gb_spi_decode_response()
328 struct gb_spi_transfer_response *response; in gb_spi_transfer_one_message() local
354 response = operation->response->payload; in gb_spi_transfer_one_message()
355 if (response) in gb_spi_transfer_one_message()
356 gb_spi_decode_response(spi, msg, response); in gb_spi_transfer_one_message()
413 struct gb_spi_master_config_response response; in gb_spi_get_master_config() local
418 NULL, 0, &response, sizeof(response)); in gb_spi_get_master_config()
422 mode = le16_to_cpu(response.mode); in gb_spi_get_master_config()
425 flags = le16_to_cpu(response.flags); in gb_spi_get_master_config()
[all …]
Dbootrom.c113 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 …]
Di2c.c43 struct gb_i2c_functionality_response response; in gb_i2c_device_setup() local
49 NULL, 0, &response, sizeof(response)); in gb_i2c_device_setup()
53 functionality = le32_to_cpu(response.functionality); in gb_i2c_device_setup()
147 struct gb_i2c_transfer_response *response) in gb_i2c_decode_response() argument
153 if (!response) in gb_i2c_decode_response()
155 data = response->data; in gb_i2c_decode_response()
191 struct gb_i2c_transfer_response *response; in gb_i2c_transfer_operation() local
193 response = operation->response->payload; in gb_i2c_transfer_operation()
194 gb_i2c_decode_response(msgs, msg_count, response); in gb_i2c_transfer_operation()
/kernel/linux/linux-5.10/drivers/clk/zynqmp/
Dclkc.c226 struct name_resp *response) in zynqmp_pm_clock_get_name() argument
235 memcpy(response, ret_payload, sizeof(*response)); in zynqmp_pm_clock_get_name()
258 struct topology_resp *response) in zynqmp_pm_clock_get_topology() argument
269 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_topology()
332 struct parents_resp *response) in zynqmp_pm_clock_get_parents() argument
343 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_parents()
358 struct attr_resp *response) in zynqmp_pm_clock_get_attributes() argument
368 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_attributes()
383 struct topology_resp *response, in __zynqmp_clock_get_topology() argument
389 for (i = 0; i < ARRAY_SIZE(response->topology); i++) { in __zynqmp_clock_get_topology()
[all …]
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-bpmp.c126 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_round_rate() local
184 msg.rx.data = &response; in tegra_bpmp_clk_round_rate()
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_ishtp.c128 struct response_info response; member
178 client_data->response.data = in_msg; in ish_send()
179 client_data->response.max_size = in_size; in ish_send()
180 client_data->response.error = 0; in ish_send()
181 client_data->response.token = next_token++; in ish_send()
182 client_data->response.received = false; in ish_send()
184 out_hdr->token = client_data->response.token; in ish_send()
193 wait_event_interruptible_timeout(client_data->response.wait_queue, in ish_send()
194 client_data->response.received, in ish_send()
196 if (!client_data->response.received) { in ish_send()
[all …]
/kernel/linux/linux-5.10/drivers/soc/tegra/
Dpowergate-bpmp.c61 struct mrq_pg_response response; in tegra_bpmp_powergate_get_state() local
70 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_state()
76 msg.rx.data = &response; in tegra_bpmp_powergate_get_state()
77 msg.rx.size = sizeof(response); in tegra_bpmp_powergate_get_state()
85 return response.get_state.state; in tegra_bpmp_powergate_get_state()
90 struct mrq_pg_response response; in tegra_bpmp_powergate_get_max_id() local
98 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_max_id()
104 msg.rx.data = &response; in tegra_bpmp_powergate_get_max_id()
105 msg.rx.size = sizeof(response); in tegra_bpmp_powergate_get_max_id()
113 return response.get_max_id.max_id; in tegra_bpmp_powergate_get_max_id()
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
Dvmcp.c31 char *response; member
75 session->response = (char *)page_to_phys(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 = phys_to_page((unsigned long)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 …]
/kernel/linux/linux-5.10/fs/cifs/
Dsmbdirect.c20 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);
260 static inline void *smbd_response_payload(struct smbd_response *response) in smbd_response_payload() argument
262 return (void *)response->packet; in smbd_response_payload()
311 struct smbd_response *response, int packet_length) in process_negotiation_response() argument
313 struct smbd_connection *info = response->info; in process_negotiation_response()
314 struct smbd_negotiate_resp *packet = smbd_response_payload(response); in process_negotiation_response()
385 struct smbd_response *response; in smbd_post_send_credits() local
[all …]
/kernel/linux/linux-5.10/drivers/s390/net/
Dism.h55 } 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
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/
Dishtp-fw-loader.c216 struct response_info response; member
294 client_data->response.data = in_msg; in loader_cl_send()
295 client_data->response.max_size = in_size; in loader_cl_send()
296 client_data->response.error = 0; in loader_cl_send()
297 client_data->response.received = false; in loader_cl_send()
306 wait_event_interruptible_timeout(client_data->response.wait_queue, in loader_cl_send()
307 client_data->response.received, in loader_cl_send()
309 if (!client_data->response.received) { in loader_cl_send()
316 if (client_data->response.error < 0) in loader_cl_send()
317 return client_data->response.error; in loader_cl_send()
[all …]
/kernel/linux/linux-5.10/drivers/s390/cio/
Dchsc.c46 int chsc_error_from_response(int response) in chsc_error_from_response() argument
48 switch (response) { in chsc_error_from_response()
85 struct chsc_header response; member
124 ret = chsc_error_from_response(ssd_area->response.code); in chsc_get_ssd_info()
128 ssd_area->response.code); in chsc_get_ssd_info()
176 return chsc_error_from_response(ssqd->response.code); in chsc_ssqd()
213 return chsc_error_from_response(scssc->response.code); in chsc_sadc()
319 struct chsc_header response; member
641 if (sei->response.code != 0x0001) { in chsc_process_event_information()
643 sei->response.code, sei->ntsm); in chsc_process_event_information()
[all …]
Dchsc_sch.c472 struct chsc_header response; in chsc_ioctl_info_channel_path() member
501 if (scpcd_area->response.code != 0x0001) { in chsc_ioctl_info_channel_path()
504 scpcd_area->response.code); in chsc_ioctl_info_channel_path()
507 memcpy(&cd->cpcb, &scpcd_area->response, scpcd_area->response.length); in chsc_ioctl_info_channel_path()
534 struct chsc_header response; in chsc_ioctl_info_cu() member
563 if (scucd_area->response.code != 0x0001) { in chsc_ioctl_info_cu()
566 scucd_area->response.code); in chsc_ioctl_info_cu()
569 memcpy(&cd->cucb, &scucd_area->response, scucd_area->response.length); in chsc_ioctl_info_cu()
597 struct chsc_header response; in chsc_ioctl_info_sch_cu() member
627 if (sscud_area->response.code != 0x0001) { in chsc_ioctl_info_sch_cu()
[all …]
/kernel/linux/linux-5.10/drivers/memory/
Dbrcmstb_dpfe.c383 static void __iomem *get_msg_ptr(struct brcmstb_dpfe_priv *priv, u32 response, in get_msg_ptr() argument
394 msg_type = (response >> DRAM_MSG_TYPE_OFFSET) & DRAM_MSG_TYPE_MASK; in get_msg_ptr()
395 offset = (response >> DRAM_MSG_ADDR_OFFSET) & DRAM_MSG_ADDR_MASK; in get_msg_ptr()
412 response); in get_msg_ptr()
635 u32 response[MSG_FIELD_MAX]; in brcmstb_dpfe_download_firmware() local
637 ret = __send_command(priv, DPFE_CMD_GET_INFO, response); in brcmstb_dpfe_download_firmware()
697 static ssize_t generic_show(unsigned int command, u32 response[], in generic_show() argument
705 ret = __send_command(priv, command, response); in generic_show()
715 u32 response[MSG_FIELD_MAX]; in show_info() local
721 ret = generic_show(DPFE_CMD_GET_INFO, response, priv, buf); in show_info()
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Drdma_user_cm.h53 __aligned_u64 response; member
62 __aligned_u64 response; member
70 __aligned_u64 response; member
105 __aligned_u64 response; member
179 __aligned_u64 response; member
188 __aligned_u64 response; member
199 __aligned_u64 response; member
207 __aligned_u64 response; member
239 __aligned_u64 response; member
/kernel/linux/linux-5.10/drivers/staging/fieldbus/anybuss/
Dhms-profinet.c62 struct msg_mac_addr response; in profi_id_get() local
65 ret = anybuss_recv_msg(priv->client, 0x0010, &response, in profi_id_get()
66 sizeof(response)); in profi_id_get()
70 response.addr[0], response.addr[1], in profi_id_get()
71 response.addr[2], response.addr[3], in profi_id_get()
72 response.addr[4], response.addr[5]); in profi_id_get()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Drdma_user_cm.h66 __aligned_u64 response; member
75 __aligned_u64 response; member
83 __aligned_u64 response; member
118 __aligned_u64 response; member
203 __aligned_u64 response; member
212 __aligned_u64 response; member
223 __aligned_u64 response; member
231 __aligned_u64 response; member
266 __aligned_u64 response; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Drdma_user_cm.h92 __aligned_u64 response; member
103 __aligned_u64 response; member
113 __aligned_u64 response; member
154 __aligned_u64 response; member
251 __aligned_u64 response; member
262 __aligned_u64 response; /* rdma_ucm_create_id_resp */ member
276 __aligned_u64 response; /* rdma_ucma_create_id_resp */ member
285 __aligned_u64 response; member
332 __aligned_u64 response; member

12345678910>>...21