/u-boot/drivers/misc/ |
A D | cros_ec_sandbox.c | 313 resp->out_data++; in process_cmd() 314 len = sizeof(*resp); in process_cmd() 324 len = sizeof(*resp); in process_cmd() 372 resp->mask = 0; in process_cmd() 378 resp->mask |= in process_cmd() 380 len = sizeof(*resp); in process_cmd() 416 resp->size = len; in process_cmd() 459 req->region, resp->offset, resp->size); in process_cmd() 494 len = sizeof(*resp); in process_cmd() 500 resp->sku_id = 1234; in process_cmd() [all …]
|
A D | atsha204a-i2c.c | 179 struct atsha204a_resp *resp) in atsha204a_recv_resp() argument 183 u8 *p = (u8 *) resp; in atsha204a_recv_resp() 189 if (resp->length > 4) { in atsha204a_recv_resp() 190 if (resp->length > sizeof(*resp)) in atsha204a_recv_resp() 198 resp_crc = (u16) p[resp->length - 2] in atsha204a_recv_resp() 213 struct atsha204a_resp resp; in atsha204a_wakeup() local 238 resp.code); in atsha204a_wakeup() 272 struct atsha204a_resp *resp) in atsha204a_transaction() argument 319 struct atsha204a_resp resp; in atsha204a_read() local 350 resp.length); in atsha204a_read() [all …]
|
A D | cros_ec.c | 347 (uint8_t **)&resp, sizeof(*resp)); in ec_command_inptr() 608 (uint8_t **)&resp, sizeof(*resp)) < 0) in cros_ec_hello() 713 (uint8_t **)&resp, sizeof(*resp)) < (int)sizeof(*resp)) in cros_ec_get_host_events() 751 resp, sizeof(*resp)) != sizeof(*resp)) in cros_ec_flash_protect() 1195 (uint8_t **)&resp, sizeof(*resp)) != in cros_ec_get_ldo() 1196 sizeof(*resp)) in cros_ec_get_ldo() 1199 *state = resp->state; in cros_ec_get_ldo() 1570 (uint8_t **)&resp, sizeof(*resp)) != sizeof(*resp)) in cros_ec_vstore_info() 1576 return resp->slot_count; in cros_ec_vstore_info() 1592 (uint8_t **)&resp, sizeof(*resp)) != sizeof(*resp)) 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()
|
/u-boot/drivers/clk/tegra/ |
A D | tegra186-clk.c | 16 struct mrq_clk_response resp; in tegra186_clk_get_rate() local 24 ret = misc_call(clk->dev->parent, MRQ_CLK, &req, sizeof(req), &resp, in tegra186_clk_get_rate() 25 sizeof(resp)); in tegra186_clk_get_rate() 29 return resp.clk_get_rate.rate; in tegra186_clk_get_rate() 35 struct mrq_clk_response resp; in tegra186_clk_set_rate() local 44 ret = misc_call(clk->dev->parent, MRQ_CLK, &req, sizeof(req), &resp, in tegra186_clk_set_rate() 45 sizeof(resp)); in tegra186_clk_set_rate() 49 return resp.clk_set_rate.rate; in tegra186_clk_set_rate() 56 struct mrq_clk_response resp; in tegra186_clk_en_dis() local 61 ret = misc_call(clk->dev->parent, MRQ_CLK, &req, sizeof(req), &resp, in tegra186_clk_en_dis() [all …]
|
/u-boot/arch/arm/mach-bcm283x/include/mach/ |
A D | mbox.h | 135 } resp; member 149 } resp; member 160 } resp; member 174 } resp; member 203 } resp; member 222 } resp; member 249 } resp; member 264 } resp; member 276 } resp; member 291 } resp; member [all …]
|
/u-boot/drivers/firmware/ |
A D | ti_sci.c | 333 struct ti_sci_msg_hdr *resp; in cmd_set_board_config_using_msg() local 494 struct ti_sci_msg_hdr *resp; in ti_sci_set_device_state() local 633 *resets = resp->resets; in ti_sci_get_device_state() 886 struct ti_sci_msg_hdr *resp; in ti_sci_cmd_set_device_resets() local 1557 *freq = resp->freq_hz; in ti_sci_cmd_clk_get_freq() 1659 } else if (!resp->range_start && !resp->range_num) { in ti_sci_get_resource_range() 1758 resp->msmc_start_low; in ti_sci_cmd_query_msmc() 1760 resp->msmc_end_low; in ti_sci_cmd_query_msmc() 2476 resp = in ti_sci_cmd_rm_udmap_tx_ch_cfg() 2534 resp = in ti_sci_cmd_rm_udmap_rx_ch_cfg() [all …]
|
/u-boot/drivers/usb/gadget/ |
A D | rndis.c | 151 rndis_query_cmplt_type *resp; in gen_ndis_query_resp() local 158 if (!resp) in gen_ndis_query_resp() 175 outbuf = (__le32 *) &resp[1]; in gen_ndis_query_resp() 649 rndis_set_cmplt_type *resp; in gen_ndis_set_resp() local 659 if (!resp) in gen_ndis_set_resp() 771 rndis_init_cmplt_type *resp; in rndis_init_response() local 810 rndis_query_cmplt_type *resp; in rndis_query_response() local 840 resp->MessageLength = __constant_cpu_to_le32(sizeof *resp); in rndis_query_response() 855 rndis_set_cmplt_type *resp; in rndis_set_response() local 896 rndis_reset_cmplt_type *resp; in rndis_reset_response() local [all …]
|
/u-boot/arch/arm/mach-socfpga/ |
A D | smc_api.c | 35 u64 resp[3]; in smc_send_mailbox() local 48 resp, ARRAY_SIZE(resp)); in smc_send_mailbox() 51 if (!resp[0]) in smc_send_mailbox() 52 *resp_buf_len = resp[1]; in smc_send_mailbox() 55 return (int)resp[0]; in smc_send_mailbox()
|
A D | secure_vab.c | 63 u32 resp = 0, resp_len = 1; in socfpga_vendor_authentication() local 128 &resp); in socfpga_vendor_authentication() 134 &resp); in socfpga_vendor_authentication() 149 debug("ret = 0x%08x, resp = 0x%08x, resp_len = %d\n", ret, resp, in socfpga_vendor_authentication() 176 if (resp) { in socfpga_vendor_authentication()
|
A D | mailbox_s10.c | 204 u32 resp; in mbox_send_cmd_common() local 258 resp = MBOX_READ_RESP_BUF(rout); in mbox_send_cmd_common() 266 if ((MBOX_RESP_CLIENT_GET(resp) == in mbox_send_cmd_common() 268 (MBOX_RESP_ID_GET(resp) == id)) { in mbox_send_cmd_common() 269 int resp_err = MBOX_RESP_ERR_GET(resp); in mbox_send_cmd_common() 278 resp_len = MBOX_RESP_LEN_GET(resp); in mbox_send_cmd_common() 286 resp = MBOX_READ_RESP_BUF(rout); in mbox_send_cmd_common() 293 resp_buf[*resp_buf_len] = resp; in mbox_send_cmd_common()
|
/u-boot/drivers/usb/emul/ |
A D | sandbox_flash.c | 223 assert(!resp || resp == priv->buff); in setup_response() 252 memset(resp, '\0', sizeof(*resp)); in handle_ufi_command() 253 resp->data_format = 1; in handle_ufi_command() 254 resp->additional_len = 0x1f; in handle_ufi_command() 255 strncpy(resp->vendor, in handle_ufi_command() 257 sizeof(resp->vendor)); in handle_ufi_command() 258 strncpy(resp->product, in handle_ufi_command() 260 sizeof(resp->product)); in handle_ufi_command() 261 strncpy(resp->revision, "1.0", sizeof(resp->revision)); in handle_ufi_command() 262 setup_response(priv, resp, sizeof(*resp)); in handle_ufi_command() [all …]
|
/u-boot/drivers/mmc/ |
A D | sh_sdhi.c | 452 resp[i] = (resp[i] << 8) & 0xff00; in sh_sdhi_get_response() 453 resp[i] |= (resp[j--] >> 8) & 0x00ff; in sh_sdhi_get_response() 455 resp[0] = (resp[0] << 8) & 0xff00; in sh_sdhi_get_response() 463 cmd->response[0] = (resp[6] << 16) | resp[7]; in sh_sdhi_get_response() 464 cmd->response[1] = (resp[4] << 16) | resp[5]; in sh_sdhi_get_response() 465 cmd->response[2] = (resp[2] << 16) | resp[3]; in sh_sdhi_get_response() 466 cmd->response[3] = (resp[0] << 16) | resp[1]; in sh_sdhi_get_response() 468 cmd->response[0] = (resp[0] << 16) | resp[1]; in sh_sdhi_get_response() 472 cmd->response[0] = (resp[7] << 16) | resp[6]; in sh_sdhi_get_response() 473 cmd->response[1] = (resp[5] << 16) | resp[4]; in sh_sdhi_get_response() [all …]
|
A D | mmc_spi.c | 96 if (!resp || !resp_size) in mmc_spi_sendcmd() 144 resp[0] = r; in mmc_spi_sendcmd() 151 resp[i] = r; in mmc_spi_sendcmd() 323 u8 *resp = NULL; in dm_mmc_spi_request() local 336 resp = &resp8; in dm_mmc_spi_request() 341 resp = (u8 *)&resp40[0]; in dm_mmc_spi_request() 347 resp = (u8 *)&resp40[0]; in dm_mmc_spi_request() 356 resp = &resp8; in dm_mmc_spi_request() 363 resp = &resp8; in dm_mmc_spi_request() 376 resp = &resp8; in dm_mmc_spi_request() [all …]
|
A D | sandbox_mmc.c | 70 u32 *resp = (u32 *)data->dest; in sandbox_mmc_send_cmd() local 71 resp[3] = 0; in sandbox_mmc_send_cmd() 72 resp[7] = cpu_to_be32(SD_HIGHSPEED_BUSY); in sandbox_mmc_send_cmd() 74 resp[4] = (cmd->cmdarg & 0xF) << 24; in sandbox_mmc_send_cmd()
|
/u-boot/arch/arm/mach-socfpga/include/mach/ |
A D | mailbox_s10.h | 51 #define MBOX_RESP_ERR_GET(resp) \ argument 52 (((resp) & MBOX_HDR_CMD_MSK) >> MBOX_HDR_CMD_LSB) 53 #define MBOX_RESP_LEN_GET(resp) \ argument 54 (((resp) & MBOX_HDR_LEN_MSK) >> MBOX_HDR_LEN_LSB) 55 #define MBOX_RESP_ID_GET(resp) \ argument 56 (((resp) & MBOX_HDR_ID_MSK) >> MBOX_HDR_ID_LSB) 57 #define MBOX_RESP_CLIENT_GET(resp) \ argument 58 (((resp) & MBOX_HDR_CLIENT_MSK) >> MBOX_HDR_CLIENT_LSB)
|
/u-boot/drivers/i2c/ |
A D | tegra186_bpmp_i2c.c | 44 struct mrq_i2c_response resp; in tegra186_bpmp_i2c_xfer() local 72 ret = misc_call(dev->parent, MRQ_I2C, &req, sizeof(req), &resp, in tegra186_bpmp_i2c_xfer() 73 sizeof(resp)); in tegra186_bpmp_i2c_xfer() 77 p = &resp.xfer.data_buf[0]; in tegra186_bpmp_i2c_xfer() 78 left = resp.xfer.data_size; in tegra186_bpmp_i2c_xfer() 79 if (left > ARRAY_SIZE(resp.xfer.data_buf)) in tegra186_bpmp_i2c_xfer()
|
/u-boot/arch/arm/mach-snapdragon/ |
A D | misc.c | 14 #define UNSTUFF_BITS(resp, start, size) \ argument 22 __res = resp[__off] >> __shft; \ 24 __res |= resp[__off - 1] << ((32 - __shft) % 32); \
|
/u-boot/arch/arm/mach-bcm283x/ |
A D | msg.c | 93 return msg_clk->get_clock_rate.body.resp.rate_hz; in bcm2835_get_mmc_clock() 109 *widthp = msg_query->physical_w_h.body.resp.width; in bcm2835_get_video_size() 110 *heightp = msg_query->physical_w_h.body.resp.height; in bcm2835_get_video_size() 152 *widthp = msg_setup->physical_w_h.body.resp.width; in bcm2835_set_video_params() 153 *heightp = msg_setup->physical_w_h.body.resp.height; in bcm2835_set_video_params() 154 *pitchp = msg_setup->pitch.body.resp.pitch; in bcm2835_set_video_params() 156 msg_setup->allocate_buffer.body.resp.fb_address); in bcm2835_set_video_params() 157 *fb_sizep = msg_setup->allocate_buffer.body.resp.fb_size; in bcm2835_set_video_params()
|
/u-boot/arch/x86/cpu/broadwell/ |
A D | iobp.c | 120 int pch_iobp_exec(u32 addr, u16 op_code, u8 route_id, u32 *data, u8 *resp) in pch_iobp_exec() argument 122 if (!data || !resp) in pch_iobp_exec() 125 *resp = -1; in pch_iobp_exec() 140 *resp = (readw(RCB_REG(IOBPS)) & IOBPS_TX_MASK) >> 1; in pch_iobp_exec()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | octeontx_bch.h | 65 int octeontx_bch_wait(struct bch_vf *vf, union bch_resp *resp, 81 u8 bch_level, dma_addr_t ecc, dma_addr_t resp); 103 dma_addr_t block_out, dma_addr_t resp);
|
A D | octeontx_bch.c | 224 u8 bch_level, dma_addr_t ecc, dma_addr_t resp) in octeontx_bch_encode() argument 236 cmd.s.rword.ptr = resp; in octeontx_bch_encode() 267 dma_addr_t block_out, dma_addr_t resp) in octeontx_bch_decode() argument 279 cmd.s.rword.ptr = resp; in octeontx_bch_decode() 290 int octeontx_bch_wait(struct bch_vf *vf, union bch_resp *resp, in octeontx_bch_wait() argument 296 while (!resp->s.done && get_timer(start) < 10) in octeontx_bch_wait() 299 if (resp->s.done) in octeontx_bch_wait()
|
/u-boot/include/fsl-mc/ |
A D | fsl_mc_cmd.h | 146 struct mc_command *resp) in mc_read_response() argument 152 resp->header = readq(&portal->header); in mc_read_response() 153 status = MC_CMD_HDR_READ_STATUS(resp->header); in mc_read_response() 159 resp->params[i] = readq(&portal->params[i]); in mc_read_response()
|
/u-boot/board/raspberrypi/rpi/ |
A D | rpi.c | 279 gd->ram_size = msg->get_arm_mem.body.resp.mem_size; in dram_init() 361 eth_env_set_enetaddr("usbethaddr", msg->get_mac_address.body.resp.mac); in set_usbethaddr() 405 msg->get_board_serial.body.resp.serial); in set_serial_number() 450 revision = msg->get_board_rev.body.resp.rev; in get_board_rev()
|
/u-boot/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;
|