/trusted-firmware-a-3.7.0/plat/rpi/rpi3/ |
D | rpi_mbox_board.c | 24 rpi3_mbox_request_t *req = (rpi3_mbox_request_t *) rpi3_mbox_buffer; in rpi3_vc_hardware_get_board_revision() local 28 VERBOSE("rpi3: mbox: Sending request at %p\n", (void *)req); in rpi3_vc_hardware_get_board_revision() 30 req->size = sizeof(rpi3_mbox_buffer); in rpi3_vc_hardware_get_board_revision() 31 req->code = RPI3_MBOX_PROCESS_REQUEST; in rpi3_vc_hardware_get_board_revision() 33 req->tags[0] = RPI3_TAG_HARDWARE_GET_BOARD_REVISION; in rpi3_vc_hardware_get_board_revision() 34 req->tags[1] = tag_request_size; /* Space available for the response */ in rpi3_vc_hardware_get_board_revision() 35 req->tags[2] = RPI3_TAG_REQUEST; in rpi3_vc_hardware_get_board_revision() 36 req->tags[3] = 0; /* Placeholder for the response */ in rpi3_vc_hardware_get_board_revision() 38 req->tags[4] = RPI3_TAG_END; in rpi3_vc_hardware_get_board_revision() 40 rpi3_vc_mailbox_request_send(req, RPI3_MBOX_BUFFER_SIZE); in rpi3_vc_hardware_get_board_revision() [all …]
|
/trusted-firmware-a-3.7.0/include/lib/cpus/aarch64/ |
D | cpu_macros.S | 27 .macro fill_constants _count:req, _this, _rest:vararg 77 .macro declare_cpu_ops_base _name:req, _midr:req, _resetfunc:req, \ 78 _extra1:req, _extra2:req, _extra3:req, _e_handler:req, _power_down_ops:vararg 155 .macro declare_cpu_ops _name:req, _midr:req, _resetfunc:req, \ 161 .macro declare_cpu_ops_eh _name:req, _midr:req, _resetfunc:req, \ 162 _e_handler:req, _power_down_ops:vararg 167 .macro declare_cpu_ops_wa _name:req, _midr:req, \ 168 _resetfunc:req, _extra1:req, _extra2:req, \ 169 _extra3:req, _power_down_ops:vararg 278 .macro add_erratum_entry _cpu:req, _cve:req, _id:req, _chosen:req, _apply_at_reset:req [all …]
|
/trusted-firmware-a-3.7.0/plat/ti/k3/common/drivers/ti_sci/ |
D | ti_sci.c | 223 struct ti_sci_msg_hdr req; in ti_sci_query_fw_caps() local 230 &req, sizeof(req), in ti_sci_query_fw_caps() 261 struct ti_sci_msg_req_set_device_state req; in ti_sci_device_set_state() local 268 &req, sizeof(req), in ti_sci_device_set_state() 276 req.id = id; in ti_sci_device_set_state() 277 req.state = state; in ti_sci_device_set_state() 303 struct ti_sci_msg_req_get_device_state req; in ti_sci_device_get_state() local 313 &req, sizeof(req), in ti_sci_device_get_state() 321 req.id = id; in ti_sci_device_get_state() 449 struct ti_sci_msg_req_set_device_state req; in ti_sci_device_put_no_wait() local [all …]
|
/trusted-firmware-a-3.7.0/drivers/mtd/nand/ |
D | raw_nand.c | 37 struct nand_req req; in nand_send_cmd() local 39 zeromem(&req, sizeof(struct nand_req)); in nand_send_cmd() 40 req.nand = rawnand_dev.nand_dev; in nand_send_cmd() 41 req.type = NAND_REQ_CMD | cmd; in nand_send_cmd() 42 req.inst_delay = tim; in nand_send_cmd() 44 return rawnand_dev.ops->exec(&req); in nand_send_cmd() 49 struct nand_req req; in nand_send_addr() local 51 zeromem(&req, sizeof(struct nand_req)); in nand_send_addr() 52 req.nand = rawnand_dev.nand_dev; in nand_send_addr() 53 req.type = NAND_REQ_ADDR; in nand_send_addr() [all …]
|
/trusted-firmware-a-3.7.0/plat/st/common/ |
D | usb_dfu.c | 195 static void usb_dfu_detach(struct usb_handle *pdev, struct usb_setup_req *req) in usb_dfu_detach() argument 220 static void usb_dfu_download(struct usb_handle *pdev, struct usb_setup_req *req) in usb_dfu_download() argument 228 if (req->length > 0) { in usb_dfu_download() 238 length = req->length; in usb_dfu_download() 273 static void usb_dfu_upload(struct usb_handle *pdev, struct usb_setup_req *req) in usb_dfu_upload() argument 281 if (req->length == 0) { in usb_dfu_upload() 296 length = req->length; in usb_dfu_upload() 300 hdfu->dev_state = (req->length > length) ? STATE_DFU_IDLE : STATE_DFU_UPLOAD_IDLE; in usb_dfu_upload() 305 ERROR("UPLOAD : bad block %i on alt %i\n", req->value, req->index); in usb_dfu_upload() 408 static uint8_t usb_dfu_setup(struct usb_handle *pdev, struct usb_setup_req *req) in usb_dfu_setup() argument [all …]
|
/trusted-firmware-a-3.7.0/include/lib/cpus/aarch32/ |
D | cpu_macros.S | 26 .macro fill_constants _count:req, _this, _rest:vararg 62 .macro declare_cpu_ops _name:req, _midr:req, _resetfunc:req, \ 213 .macro add_erratum_entry _cpu:req, _cve:req, _id:req, _chosen:req, _special 247 .macro errata_report_shim _cpu:req
|
/trusted-firmware-a-3.7.0/plat/nvidia/tegra/drivers/bpmp_ipc/ |
D | intf.c | 282 struct mrq_reset_request req = { in tegra_bpmp_ipc_reset_module() local 291 ret = tegra_bpmp_ipc_send_req_atomic(MRQ_RESET, &req, in tegra_bpmp_ipc_reset_module() 292 (uint32_t)sizeof(req), NULL, 0); in tegra_bpmp_ipc_reset_module() 304 struct mrq_clk_request req; in tegra_bpmp_ipc_enable_clock() local 312 req.cmd_and_id = make_mrq_clk_cmd(CMD_CLK_ENABLE, clk_id); in tegra_bpmp_ipc_enable_clock() 314 ret = tegra_bpmp_ipc_send_req_atomic(MRQ_CLK, &req, (uint32_t)sizeof(req), in tegra_bpmp_ipc_enable_clock() 327 struct mrq_clk_request req; in tegra_bpmp_ipc_disable_clock() local 335 req.cmd_and_id = make_mrq_clk_cmd(CMD_CLK_DISABLE, clk_id); in tegra_bpmp_ipc_disable_clock() 337 ret = tegra_bpmp_ipc_send_req_atomic(MRQ_CLK, &req, (uint32_t)sizeof(req), in tegra_bpmp_ipc_disable_clock()
|
/trusted-firmware-a-3.7.0/drivers/usb/ |
D | usb_device.c | 63 static void usb_core_get_desc(struct usb_handle *pdev, struct usb_setup_req *req) in usb_core_get_desc() argument 67 uint8_t desc_type = HIBYTE(req->value); in usb_core_get_desc() 68 uint8_t desc_idx = LOBYTE(req->value); in usb_core_get_desc() 131 if ((len != 0U) && (req->length != 0U)) { in usb_core_get_desc() 132 len = MIN(len, req->length); in usb_core_get_desc() 145 static void usb_core_set_config(struct usb_handle *pdev, struct usb_setup_req *req) in usb_core_set_config() argument 149 cfgidx = LOBYTE(req->value); in usb_core_set_config() 211 struct usb_setup_req *req) in usb_core_get_status() argument 236 struct usb_setup_req *req) in usb_core_set_address() argument 240 if ((req->index != 0U) || (req->length != 0U)) { in usb_core_set_address() [all …]
|
/trusted-firmware-a-3.7.0/services/std_svc/spm/el3_spmc/ |
D | spmc_shared_mem.c | 1400 const struct ffa_mtd *req; in spmc_ffa_mem_retrieve_req() local 1420 req = mbox->tx_buffer; in spmc_ffa_mem_retrieve_req() 1443 if (req->emad_count == 0U) { in spmc_ffa_mem_retrieve_req() 1465 obj = spmc_shmem_obj_lookup(&spmc_shmem_obj_state, req->handle); in spmc_ffa_mem_retrieve_req() 1478 if (req->emad_count != 0U && req->sender_id != obj->desc.sender_id) { in spmc_ffa_mem_retrieve_req() 1480 __func__, req->sender_id, obj->desc.sender_id); in spmc_ffa_mem_retrieve_req() 1485 if (req->emad_count != 0U && req->tag != obj->desc.tag) { in spmc_ffa_mem_retrieve_req() 1487 __func__, req->tag, obj->desc.tag); in spmc_ffa_mem_retrieve_req() 1492 if (req->emad_count != 0U && req->emad_count != obj->desc.emad_count) { in spmc_ffa_mem_retrieve_req() 1494 __func__, req->emad_count, obj->desc.emad_count); in spmc_ffa_mem_retrieve_req() [all …]
|
/trusted-firmware-a-3.7.0/include/arch/aarch32/ |
D | asm_macros.S | 166 .macro no_ret _func:req, skip_nop=0 178 .macro define_asm_spinlock _name:req 226 .macro softudiv div:req,top:req,bot:req,temp:req
|
/trusted-firmware-a-3.7.0/lib/aarch32/ |
D | misc_helpers.S | 50 cursor .req r0 /* Start address and then current address */ 51 length .req r1 /* Length in bytes of the region to zero out */ 56 stop_address .req r1 /* Address past the last zeroed byte */ 57 zeroreg1 .req r2 /* Source register filled with 0 */ 58 zeroreg2 .req r3 /* Source register filled with 0 */ 59 tmp .req r12 /* Temporary scratch register */
|
/trusted-firmware-a-3.7.0/drivers/rpi3/mailbox/ |
D | rpi3_mbox.c | 22 void rpi3_vc_mailbox_request_send(rpi3_mbox_request_t *req, int req_size) in rpi3_vc_mailbox_request_send() argument 29 addr = (uintptr_t)req; in rpi3_vc_mailbox_request_send()
|
/trusted-firmware-a-3.7.0/plat/nvidia/tegra/soc/t194/drivers/include/ |
D | mce_private.h | 65 void nvg_set_request_data(uint64_t req, uint64_t data); 66 void nvg_set_request(uint64_t req);
|
/trusted-firmware-a-3.7.0/include/arch/aarch64/ |
D | asm_macros.S | 209 .macro no_ret _func:req, skip_nop=0 221 .macro define_asm_spinlock _name:req 237 .macro read reg:req 248 .macro write reg:req
|
D | el3_common_macros.S | 465 .macro get_security_state _ret:req, _scr_reg:req
|
/trusted-firmware-a-3.7.0/lib/aarch64/ |
D | misc_helpers.S | 152 cursor .req x0 /* Start address and then current address */ 153 length .req x1 /* Length in bytes of the region to zero out */ 155 block_mask .req x1 /* Bitmask of the block size read in DCZID_EL0 */ 156 stop_address .req x2 /* Address past the last zeroed byte */ 157 block_size .req x3 /* Size of a block in bytes as read in DCZID_EL0 */ 158 tmp1 .req x4 159 tmp2 .req x5
|
/trusted-firmware-a-3.7.0/drivers/st/fmc/ |
D | stm32_fmc2_nand.c | 700 static int stm32_fmc2_exec(struct nand_req *req) in stm32_fmc2_exec() argument 704 switch (req->type & NAND_REQ_MASK) { in stm32_fmc2_exec() 706 VERBOSE("Write CMD %x\n", (uint8_t)req->type); in stm32_fmc2_exec() 708 (uint8_t)req->type); in stm32_fmc2_exec() 711 VERBOSE("Write ADDR %x\n", *(req->addr)); in stm32_fmc2_exec() 713 *(req->addr)); in stm32_fmc2_exec() 717 stm32_fmc2_read_data(req->nand, req->addr, req->length, in stm32_fmc2_exec() 718 ((req->type & NAND_REQ_BUS_WIDTH_8) != in stm32_fmc2_exec() 723 stm32_fmc2_write_data(req->nand, req->addr, req->length, in stm32_fmc2_exec() 724 ((req->type & NAND_REQ_BUS_WIDTH_8) != in stm32_fmc2_exec() [all …]
|
/trusted-firmware-a-3.7.0/plat/nvidia/tegra/soc/t186/drivers/mce/ |
D | ari.c | 80 static int32_t ari_request_wait(uint32_t ari_base, uint32_t evt_mask, uint32_t req, in ari_request_wait() argument 91 ari_write_32(ari_base, req | ARI_REQUEST_VALID_BIT, ARI_REQUEST); in ari_request_wait() 102 if ((req == TEGRA_ARI_MISC_CCPLEX) && in ari_request_wait() 128 req, plat_my_core_pos()); in ari_request_wait() 499 int32_t ari_read_write_uncore_perfmon(uint32_t ari_base, uint64_t req, in ari_read_write_uncore_perfmon() argument 506 req_cmd = (uint8_t)(req & UNCORE_PERFMON_CMD_MASK); in ari_read_write_uncore_perfmon() 524 (uint32_t)TEGRA_ARI_PERFMON, val, (uint32_t)req); in ari_read_write_uncore_perfmon()
|
/trusted-firmware-a-3.7.0/include/drivers/rpi3/mailbox/ |
D | rpi3_mbox.h | 37 void rpi3_vc_mailbox_request_send(rpi3_mbox_request_t *req, int req_size);
|
/trusted-firmware-a-3.7.0/plat/nvidia/tegra/soc/t186/drivers/include/ |
D | mce_private.h | 212 uint64_t req, uint64_t *data); 242 uint64_t req, uint64_t *data); 257 extern void nvg_set_request_data(uint64_t req, uint64_t data); 258 extern void nvg_set_request(uint64_t req);
|
/trusted-firmware-a-3.7.0/plat/rockchip/rk3288/drivers/pmu/ |
D | pmu.c | 39 static inline int rk3288_pmu_bus_idle(uint32_t req, uint32_t idle) in rk3288_pmu_bus_idle() argument 41 uint32_t mask = BIT(req); in rk3288_pmu_bus_idle() 47 switch (req) { in rk3288_pmu_bus_idle()
|
/trusted-firmware-a-3.7.0/plat/rockchip/rk3368/drivers/pmu/ |
D | pmu.c | 47 static inline int rk3368_pmu_bus_idle(uint32_t req, uint32_t idle) in rk3368_pmu_bus_idle() argument 49 uint32_t mask = BIT(req); in rk3368_pmu_bus_idle() 55 switch (req) { in rk3368_pmu_bus_idle()
|
/trusted-firmware-a-3.7.0/include/drivers/ |
D | raw_nand.h | 162 int (*exec)(struct nand_req *req);
|
D | usb_device.h | 120 uint8_t (*setup)(struct usb_handle *pdev, struct usb_setup_req *req);
|
/trusted-firmware-a-3.7.0/lib/el3_runtime/aarch64/ |
D | context.S | 581 .macro get_per_world_context _reg:req
|