| /drivers/misc/ |
| A D | cros_ec_sandbox.c | 328 resp->out_data++; in process_cmd() 329 len = sizeof(*resp); in process_cmd() 339 len = sizeof(*resp); in process_cmd() 385 resp->mask = 0; in process_cmd() 391 resp->mask |= in process_cmd() 393 len = sizeof(*resp); in process_cmd() 429 resp->size = len; in process_cmd() 472 req->region, resp->offset, resp->size); in process_cmd() 504 len = sizeof(*resp); in process_cmd() 510 resp->sku_id = 1234; in process_cmd() [all …]
|
| A D | atsha204a-i2c.c | 104 struct atsha204a_resp *resp) in atsha204a_recv_resp() argument 108 u8 *p = (u8 *) resp; in atsha204a_recv_resp() 114 if (resp->length > 4) { in atsha204a_recv_resp() 115 if (resp->length > sizeof(*resp)) in atsha204a_recv_resp() 123 resp_crc = (u16) p[resp->length - 2] in atsha204a_recv_resp() 137 struct atsha204a_resp resp; in atsha204a_wakeup() local 151 res = atsha204a_recv_resp(dev, &resp); in atsha204a_wakeup() 189 struct atsha204a_resp *resp) in atsha204a_transaction() argument 236 struct atsha204a_resp resp; in atsha204a_read() local 267 resp.length); in atsha204a_read() [all …]
|
| A D | cros_ec.c | 346 (uint8_t **)&resp, sizeof(*resp)); in ec_command_inptr() 607 (uint8_t **)&resp, sizeof(*resp)) < 0) in cros_ec_hello() 712 (uint8_t **)&resp, sizeof(*resp)) < (int)sizeof(*resp)) in cros_ec_get_host_events() 750 resp, sizeof(*resp)) != sizeof(*resp)) in cros_ec_flash_protect() 1203 (uint8_t **)&resp, sizeof(*resp)) != in cros_ec_get_ldo() 1204 sizeof(*resp)) in cros_ec_get_ldo() 1207 *state = resp->state; in cros_ec_get_ldo() 1578 (uint8_t **)&resp, sizeof(*resp)) != sizeof(*resp)) in cros_ec_vstore_info() 1600 (uint8_t **)&resp, sizeof(*resp)) != sizeof(*resp)) in cros_ec_vstore_read() 1606 memcpy(data, resp->data, sizeof(resp->data)); in cros_ec_vstore_read() [all …]
|
| A D | tegra186_bpmp.c | 41 struct mrq_response *resp; in tegra186_bpmp_call() local 87 resp = ivc_frame; in tegra186_bpmp_call() 88 err = resp->err; in tegra186_bpmp_call() 90 memcpy(rx_msg, resp + 1, rx_size); in tegra186_bpmp_call()
|
| /drivers/scsi/ |
| A D | scsi_emul.c | 28 struct scsi_inquiry_resp *resp = (void *)info->buff; in sb_scsi_emul_command() local 31 memset(resp, '\0', sizeof(*resp)); in sb_scsi_emul_command() 32 resp->data_format = 1; in sb_scsi_emul_command() 33 resp->additional_len = 0x1f; in sb_scsi_emul_command() 34 strncpy(resp->vendor, info->vendor, sizeof(resp->vendor)); in sb_scsi_emul_command() 35 strncpy(resp->product, info->product, sizeof(resp->product)); in sb_scsi_emul_command() 36 strncpy(resp->revision, "1.0", sizeof(resp->revision)); in sb_scsi_emul_command() 37 info->buff_used = sizeof(*resp); in sb_scsi_emul_command() 50 resp->last_block_addr = cpu_to_be32(blocks); in sb_scsi_emul_command() 51 resp->block_len = cpu_to_be32(info->block_size); in sb_scsi_emul_command() [all …]
|
| /drivers/usb/gadget/ |
| A D | rndis.c | 148 rndis_query_cmplt_type *resp; in gen_ndis_query_resp() local 155 if (!resp) in gen_ndis_query_resp() 172 outbuf = (__le32 *) &resp[1]; in gen_ndis_query_resp() 646 rndis_set_cmplt_type *resp; in gen_ndis_set_resp() local 656 if (!resp) in gen_ndis_set_resp() 768 rndis_init_cmplt_type *resp; in rndis_init_response() local 807 rndis_query_cmplt_type *resp; in rndis_query_response() local 837 resp->MessageLength = __constant_cpu_to_le32(sizeof *resp); in rndis_query_response() 852 rndis_set_cmplt_type *resp; in rndis_set_response() local 896 rndis_reset_cmplt_type *resp; in rndis_reset_response() local [all …]
|
| A D | ether.c | 1824 struct usb_request *resp; in rndis_control_ack() local 1828 resp = dev->stat_req; in rndis_control_ack() 1837 if (resp->context) { in rndis_control_ack() 1839 if (!resp) in rndis_control_ack() 1841 resp->buf = rndis_resp_buf; in rndis_control_ack() 1848 resp->length = 8; in rndis_control_ack() 1849 resp->complete = rndis_control_ack_complete; in rndis_control_ack() 1850 resp->context = dev; in rndis_control_ack() 1852 *((__le32 *) resp->buf) = __constant_cpu_to_le32(1); in rndis_control_ack() 1857 resp->status = 0; in rndis_control_ack() [all …]
|
| /drivers/clk/tegra/ |
| A D | tegra186-clk.c | 15 struct mrq_clk_response resp; in tegra186_clk_get_rate() local 23 ret = misc_call(clk->dev->parent, MRQ_CLK, &req, sizeof(req), &resp, in tegra186_clk_get_rate() 24 sizeof(resp)); in tegra186_clk_get_rate() 28 return resp.clk_get_rate.rate; in tegra186_clk_get_rate() 34 struct mrq_clk_response resp; in tegra186_clk_set_rate() local 43 ret = misc_call(clk->dev->parent, MRQ_CLK, &req, sizeof(req), &resp, in tegra186_clk_set_rate() 44 sizeof(resp)); in tegra186_clk_set_rate() 48 return resp.clk_set_rate.rate; in tegra186_clk_set_rate() 55 struct mrq_clk_response resp; in tegra186_clk_en_dis() local 60 ret = misc_call(clk->dev->parent, MRQ_CLK, &req, sizeof(req), &resp, in tegra186_clk_en_dis() [all …]
|
| /drivers/firmware/ |
| A D | ti_sci.c | 439 struct ti_sci_msg_hdr *resp; in cmd_set_board_config_using_msg() local 592 struct ti_sci_msg_hdr *resp; in ti_sci_set_device_state() local 717 *resets = resp->resets; in ti_sci_get_device_state() 975 struct ti_sci_msg_hdr *resp; in ti_sci_cmd_set_device_resets() local 1037 struct ti_sci_msg_hdr *resp; in ti_sci_set_clock_state() local 1297 struct ti_sci_msg_hdr *resp; in ti_sci_cmd_clk_set_parent() local 1479 *match_freq = resp->freq_hz; in ti_sci_cmd_clk_get_match_freq() 1582 *freq = resp->freq_hz; in ti_sci_cmd_clk_get_freq() 1672 if (!resp->range_start && !resp->range_num) { in ti_sci_get_resource_range() 1793 resp->msmc_start_low; in ti_sci_cmd_query_msmc() [all …]
|
| /drivers/net/bnxt/ |
| A D | bnxt.c | 218 u8 *ptr = (u8 *)resp; in wait_resp() 230 resp_len = resp->resp_len; in wait_resp() 231 if (resp->seq_id == req->seq_id && resp->req_type == req->req_type && in wait_resp() 234 ret = resp->error_code; in wait_resp() 453 resp->hwrm_intf_upd_8b; in bnxt_hwrm_ver_get() 462 resp->chip_rev << 24 | in bnxt_hwrm_ver_get() 463 resp->chip_metal << 16 | in bnxt_hwrm_ver_get() 464 resp->chip_bond_id << 8 | in bnxt_hwrm_ver_get() 465 resp->chip_platform_type; in bnxt_hwrm_ver_get() 499 bp->max_vfs = resp->max_vfs; in bnxt_hwrm_func_resource_qcaps() [all …]
|
| A D | bnxt_dbg.h | 139 void print_fw_ver(struct hwrm_ver_get_output *resp, u32 tmo) in print_fw_ver() argument 141 if (resp->hwrm_intf_maj_8b < 1) { in print_fw_ver() 143 resp->hwrm_intf_maj_8b, resp->hwrm_intf_min_8b, in print_fw_ver() 144 resp->hwrm_intf_upd_8b); in print_fw_ver() 148 resp->hwrm_fw_maj_8b, resp->hwrm_fw_min_8b, in print_fw_ver() 149 resp->hwrm_fw_bld_8b, resp->hwrm_fw_rsvd_8b); in print_fw_ver() 256 #define print_fw_ver(resp, tmo) argument
|
| /drivers/i2c/ |
| A D | tegra186_bpmp_i2c.c | 43 struct mrq_i2c_response resp; in tegra186_bpmp_i2c_xfer() local 71 ret = misc_call(dev->parent, MRQ_I2C, &req, sizeof(req), &resp, in tegra186_bpmp_i2c_xfer() 72 sizeof(resp)); in tegra186_bpmp_i2c_xfer() 76 p = &resp.xfer.data_buf[0]; in tegra186_bpmp_i2c_xfer() 77 left = resp.xfer.data_size; in tegra186_bpmp_i2c_xfer() 78 if (left > ARRAY_SIZE(resp.xfer.data_buf)) in tegra186_bpmp_i2c_xfer()
|
| /drivers/mmc/ |
| A D | mmc_spi.c | 95 if (!resp || !resp_size) in mmc_spi_sendcmd() 143 resp[0] = r; in mmc_spi_sendcmd() 150 resp[i] = r; in mmc_spi_sendcmd() 322 u8 *resp = NULL; in dm_mmc_spi_request() local 335 resp = &resp8; in dm_mmc_spi_request() 340 resp = (u8 *)&resp40[0]; in dm_mmc_spi_request() 346 resp = (u8 *)&resp40[0]; in dm_mmc_spi_request() 355 resp = &resp8; in dm_mmc_spi_request() 362 resp = &resp8; in dm_mmc_spi_request() 375 resp = &resp8; in dm_mmc_spi_request() [all …]
|
| A D | sandbox_mmc.c | 73 u32 *resp = (u32 *)data->dest; in sandbox_mmc_send_cmd() local 74 resp[3] = 0; in sandbox_mmc_send_cmd() 75 resp[7] = cpu_to_be32(SD_HIGHSPEED_BUSY); in sandbox_mmc_send_cmd() 77 resp[4] = (cmd->cmdarg & 0xF) << 24; in sandbox_mmc_send_cmd()
|
| /drivers/ddr/altera/ |
| A D | uibssm_mailbox.c | 290 u32 cmd_param_0, struct uib_mb_resp *resp) in uib_mb_req() argument 295 resp->cmd_resp_status = 0; in uib_mb_req() 311 resp->cmd_resp_status = uib_mailbox_read_request(0, uib_csr_addr); in uib_mb_req() 314 uib_csr_addr, resp->cmd_resp_status); in uib_mb_req() 316 UIBSSM_CMD_RESPONSE_ERROR(resp->cmd_resp_status)); in uib_mb_req() 318 UIBSSM_GENERAL_ERROR(resp->cmd_resp_status)); in uib_mb_req()
|
| A D | iossm_mailbox.c | 255 u32 resp_data_len, struct io96b_mb_resp *resp) in io96b_mb_req() argument 260 if (!resp) { in io96b_mb_req() 266 resp->cmd_resp_status = 0; in io96b_mb_req() 335 IOSSM_STATUS_GENERAL_ERROR(resp->cmd_resp_status)); in io96b_mb_req() 345 resp->cmd_resp_data[i] = in io96b_mb_req() 350 resp->cmd_resp_data[i]); in io96b_mb_req() 353 resp->cmd_resp_data[i] = in io96b_mb_req() 358 resp->cmd_resp_data[i]); in io96b_mb_req() 361 resp->cmd_resp_data[i] = in io96b_mb_req() 366 resp->cmd_resp_data[i]); in io96b_mb_req() [all …]
|
| A D | iossm_mailbox.h | 131 u32 resp_data_len, struct io96b_mb_resp *resp);
|
| A D | uibssm_mailbox.h | 112 u32 cmd_param_0, struct uib_mb_resp *resp);
|
| /drivers/pinctrl/ |
| A D | pinctrl-zynqmp.c | 206 u16 resp[NUM_GROUPS_PER_RESP] = {0}; in zynqmp_pinctrl_prepare_func_groups() local 214 ret = zynqmp_pinctrl_get_function_groups(fid, index, resp); in zynqmp_pinctrl_prepare_func_groups() 219 if (resp[i] == (u16)NA_GROUP) in zynqmp_pinctrl_prepare_func_groups() 221 if (resp[i] == (u16)RESERVED_GROUP) in zynqmp_pinctrl_prepare_func_groups() 230 groups[resp[i]].name = strdup(name); in zynqmp_pinctrl_prepare_func_groups() 265 u16 resp[NUM_GROUPS_PER_RESP] = {0}; in zynqmp_pinctrl_create_pin_groups() local 269 ret = zynqmp_pinctrl_get_pin_groups(pin, index, resp); in zynqmp_pinctrl_create_pin_groups() 274 if (resp[i] == (u16)NA_GROUP) in zynqmp_pinctrl_create_pin_groups() 276 if (resp[i] == (u16)RESERVED_GROUP) in zynqmp_pinctrl_create_pin_groups() 278 zynqmp_pinctrl_group_add_pin(&groups[resp[i]], pin); in zynqmp_pinctrl_create_pin_groups()
|
| /drivers/net/octeontx2/ |
| A D | nix.h | 221 union nix_aq_res_s resp ALIGNED; 227 union nix_aq_res_s resp ALIGNED; 233 union nix_aq_res_s resp ALIGNED; 239 union nix_aq_res_s resp ALIGNED; 244 union nix_aq_res_s resp ALIGNED; 249 union nix_aq_res_s resp ALIGNED;
|
| A D | nix_af.c | 164 union npa_aq_res_s resp ALIGNED; in npa_lf_admin_shutdown() 169 union npa_aq_res_s resp ALIGNED; in npa_lf_admin_shutdown() 182 res = &pool_req.resp; in npa_lf_admin_shutdown() 218 res = &aura_req.resp; in npa_lf_admin_shutdown() 462 op, ctype, cindex, resp); in nix_aq_issue_command() 542 0, &rq_req.resp); in nix_attach_receive_queue() 580 0, &sq_req.resp); in nix_attach_send_queue() 613 cq_idx, &cq_req.resp); in nix_attach_completion_queue() 782 index, &rq_dis.resp); in nix_lf_admin_shutdown() 800 index, &sq_dis.resp); in nix_lf_admin_shutdown() [all …]
|
| /drivers/sound/ |
| A D | hda_codec.c | 37 u32 resp; member 113 *response = readl(®s->resp); in wait_for_response() 258 id = readl(®s->resp); in codec_init()
|
| /drivers/i3c/master/ |
| A D | dw-i3c-master.c | 269 u32 resp; in dw_i3c_master_end_xfer_locked() local 271 resp = readl(master->regs + RESPONSE_QUEUE_PORT); in dw_i3c_master_end_xfer_locked() 273 cmd = &xfer->cmds[RESPONSE_PORT_TID(resp)]; in dw_i3c_master_end_xfer_locked() 274 cmd->rx_len = RESPONSE_PORT_DATA_LEN(resp); in dw_i3c_master_end_xfer_locked() 275 cmd->error = RESPONSE_PORT_ERR_STATUS(resp); in dw_i3c_master_end_xfer_locked()
|
| /drivers/net/ |
| A D | altera_tse.c | 339 struct msgdma_response *resp = priv->rx_resp; in altera_tse_recv_msgdma() local 344 length = readl(&resp->bytes_transferred); in altera_tse_recv_msgdma() 345 status = readl(&resp->status); in altera_tse_recv_msgdma()
|
| /drivers/mtd/nand/raw/ |
| A D | tegra_nand.h | 219 u32 resp; /* offset 18h */ member
|