Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 271) sorted by relevance

1234567891011

/trusted-firmware-a-3.6.0-3.5.0/drivers/arm/gic/v3/
Dgicdv3_helpers.c22 void gicd_set_icfgr(uintptr_t base, unsigned int id, unsigned int cfg) in gicd_set_icfgr() argument
25 unsigned int bit_shift = BIT_NUM(ICFG, id) << 1U; in gicd_set_icfgr()
28 mmio_clrsetbits_32(base + GICD_OFFSET(ICFG, id), in gicd_set_icfgr()
37 unsigned int gicd_get_igroupr(uintptr_t base, unsigned int id) in gicd_get_igroupr() argument
39 return GICD_GET_BIT(IGROUP, base, id); in gicd_get_igroupr()
42 void gicd_set_igroupr(uintptr_t base, unsigned int id) in gicd_set_igroupr() argument
44 GICD_SET_BIT(IGROUP, base, id); in gicd_set_igroupr()
47 void gicd_clr_igroupr(uintptr_t base, unsigned int id) in gicd_clr_igroupr() argument
49 GICD_CLR_BIT(IGROUP, base, id); in gicd_clr_igroupr()
56 unsigned int gicd_get_igrpmodr(uintptr_t base, unsigned int id) in gicd_get_igrpmodr() argument
[all …]
Dgicrv3_helpers.c24 unsigned int gicr_read_ipriorityr(uintptr_t base, unsigned int id) in gicr_read_ipriorityr() argument
26 return GICR_READ(IPRIORITY, base, id); in gicr_read_ipriorityr()
29 void gicr_write_ipriorityr(uintptr_t base, unsigned int id, unsigned int val) in gicr_write_ipriorityr() argument
31 GICR_WRITE(IPRIORITY, base, id, val); in gicr_write_ipriorityr()
38 void gicr_set_ipriorityr(uintptr_t base, unsigned int id, unsigned int pri) in gicr_set_ipriorityr() argument
40 GICR_WRITE_8(IPRIORITY, base, id, (uint8_t)(pri & GIC_PRI_MASK)); in gicr_set_ipriorityr()
47 unsigned int gicr_get_igroupr(uintptr_t base, unsigned int id) in gicr_get_igroupr() argument
49 return GICR_GET_BIT(IGROUP, base, id); in gicr_get_igroupr()
52 void gicr_set_igroupr(uintptr_t base, unsigned int id) in gicr_set_igroupr() argument
54 GICR_SET_BIT(IGROUP, base, id); in gicr_set_igroupr()
[all …]
Dgicv3_private.h29 #define BIT_NUM(REG, id) \ argument
30 ((id) & ((1U << REG##R_SHIFT) - 1U))
38 #define GICD_OFFSET_8(REG, id) \ argument
39 (((id) <= MAX_SPI_ID) ? \
40 GICD_##REG##R + (uintptr_t)(id) : \
41 GICD_##REG##RE + (uintptr_t)(id) - MIN_ESPI_ID)
43 #define GICD_OFFSET(REG, id) \ argument
44 (((id) <= MAX_SPI_ID) ? \
45 GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 2) : \
46 GICD_##REG##RE + ((((uintptr_t)(id) - MIN_ESPI_ID) >> \
[all …]
/trusted-firmware-a-3.6.0-3.5.0/drivers/arm/gic/common/
Dgic_common.c23 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id) in gicd_read_igroupr() argument
25 unsigned int n = id >> IGROUPR_SHIFT; in gicd_read_igroupr()
34 unsigned int gicd_read_isenabler(uintptr_t base, unsigned int id) in gicd_read_isenabler() argument
36 unsigned int n = id >> ISENABLER_SHIFT; in gicd_read_isenabler()
45 unsigned int gicd_read_icenabler(uintptr_t base, unsigned int id) in gicd_read_icenabler() argument
47 unsigned int n = id >> ICENABLER_SHIFT; in gicd_read_icenabler()
56 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id) in gicd_read_ispendr() argument
58 unsigned int n = id >> ISPENDR_SHIFT; in gicd_read_ispendr()
67 unsigned int gicd_read_icpendr(uintptr_t base, unsigned int id) in gicd_read_icpendr() argument
69 unsigned int n = id >> ICPENDR_SHIFT; in gicd_read_icpendr()
[all …]
Dgic_common_private.h43 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id);
44 unsigned int gicd_read_isenabler(uintptr_t base, unsigned int id);
45 unsigned int gicd_read_icenabler(uintptr_t base, unsigned int id);
46 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id);
47 unsigned int gicd_read_icpendr(uintptr_t base, unsigned int id);
48 unsigned int gicd_read_isactiver(uintptr_t base, unsigned int id);
49 unsigned int gicd_read_icactiver(uintptr_t base, unsigned int id);
50 unsigned int gicd_read_ipriorityr(uintptr_t base, unsigned int id);
51 unsigned int gicd_read_icfgr(uintptr_t base, unsigned int id);
52 unsigned int gicd_read_nsacr(uintptr_t base, unsigned int id);
[all …]
/trusted-firmware-a-3.6.0-3.5.0/drivers/arm/gic/v2/
Dgicdv2_helpers.c21 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id) in gicd_read_igroupr() argument
23 unsigned int n = id >> IGROUPR_SHIFT; in gicd_read_igroupr()
32 unsigned int gicd_read_isenabler(uintptr_t base, unsigned int id) in gicd_read_isenabler() argument
34 unsigned int n = id >> ISENABLER_SHIFT; in gicd_read_isenabler()
43 unsigned int gicd_read_icenabler(uintptr_t base, unsigned int id) in gicd_read_icenabler() argument
45 unsigned int n = id >> ICENABLER_SHIFT; in gicd_read_icenabler()
54 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id) in gicd_read_ispendr() argument
56 unsigned int n = id >> ISPENDR_SHIFT; in gicd_read_ispendr()
65 unsigned int gicd_read_icpendr(uintptr_t base, unsigned int id) in gicd_read_icpendr() argument
67 unsigned int n = id >> ICPENDR_SHIFT; in gicd_read_icpendr()
[all …]
Dgicv2_main.c212 unsigned int id; in gicv2_get_pending_interrupt_id() local
217 id = gicc_read_hppir(driver_data->gicc_base) & INT_ID_MASK; in gicv2_get_pending_interrupt_id()
223 if (id == PENDING_G1_INTID) in gicv2_get_pending_interrupt_id()
224 id = gicc_read_ahppir(driver_data->gicc_base) & INT_ID_MASK; in gicv2_get_pending_interrupt_id()
226 return id; in gicv2_get_pending_interrupt_id()
246 void gicv2_end_of_interrupt(unsigned int id) in gicv2_end_of_interrupt() argument
260 gicc_write_EOIR(driver_data->gicc_base, id); in gicv2_end_of_interrupt()
269 unsigned int gicv2_get_interrupt_group(unsigned int id) in gicv2_get_interrupt_group() argument
274 return gicd_get_igroupr(driver_data->gicd_base, id); in gicv2_get_interrupt_group()
333 unsigned int gicv2_get_interrupt_active(unsigned int id) in gicv2_get_interrupt_active() argument
[all …]
/trusted-firmware-a-3.6.0-3.5.0/plat/common/
Dplat_gicv2.c48 unsigned int id; in plat_ic_get_pending_interrupt_id() local
50 id = gicv2_get_pending_interrupt_id(); in plat_ic_get_pending_interrupt_id()
51 if (id == GIC_SPURIOUS_INTERRUPT) in plat_ic_get_pending_interrupt_id()
54 return id; in plat_ic_get_pending_interrupt_id()
70 unsigned int id; in plat_ic_get_pending_interrupt_type() local
72 id = gicv2_get_pending_interrupt_type(); in plat_ic_get_pending_interrupt_type()
75 if (id < PENDING_G1_INTID) { in plat_ic_get_pending_interrupt_type()
83 if (id == GIC_SPURIOUS_INTERRUPT) in plat_ic_get_pending_interrupt_type()
103 uint32_t plat_ic_get_interrupt_type(uint32_t id) in plat_ic_get_interrupt_type() argument
107 type = gicv2_get_interrupt_group(id); in plat_ic_get_interrupt_type()
[all …]
Dplat_gicv3.c121 uint32_t plat_ic_get_interrupt_type(uint32_t id) in plat_ic_get_interrupt_type() argument
124 return gicv3_get_interrupt_type(id, plat_my_core_pos()); in plat_ic_get_interrupt_type()
132 void plat_ic_end_of_interrupt(uint32_t id) in plat_ic_end_of_interrupt() argument
135 gicv3_end_of_interrupt(id); in plat_ic_end_of_interrupt()
193 int plat_ic_is_spi(unsigned int id) in plat_ic_is_spi() argument
195 return (id >= MIN_SPI_ID) && (id <= MAX_SPI_ID); in plat_ic_is_spi()
198 int plat_ic_is_ppi(unsigned int id) in plat_ic_is_ppi() argument
200 return (id >= MIN_PPI_ID) && (id < MIN_SPI_ID); in plat_ic_is_ppi()
203 int plat_ic_is_sgi(unsigned int id) in plat_ic_is_sgi() argument
205 return (id >= MIN_SGI_ID) && (id < MIN_PPI_ID); in plat_ic_is_sgi()
[all …]
/trusted-firmware-a-3.6.0-3.5.0/plat/xilinx/zynqmp/aarch64/
Dzynqmp_common.c63 uint32_t id; member
69 .id = 0x10,
73 .id = 0x10,
78 .id = 0x11,
82 .id = 0x11,
87 .id = 0x20,
92 .id = 0x20,
98 .id = 0x20,
103 .id = 0x21,
108 .id = 0x21,
[all …]
/trusted-firmware-a-3.6.0-3.5.0/include/drivers/
Dclk.h13 int (*enable)(unsigned long id);
14 void (*disable)(unsigned long id);
15 unsigned long (*get_rate)(unsigned long id);
16 int (*get_parent)(unsigned long id);
17 bool (*is_enabled)(unsigned long id);
20 int clk_enable(unsigned long id);
21 void clk_disable(unsigned long id);
22 unsigned long clk_get_rate(unsigned long id);
23 bool clk_is_enabled(unsigned long id);
24 int clk_get_parent(unsigned long id);
/trusted-firmware-a-3.6.0-3.5.0/plat/st/stm32mp1/
Dstm32mp1_shared_resources.c69 static const char __unused *shres2str_id(enum stm32mp_shres id) in shres2str_id() argument
71 assert(id < ARRAY_SIZE(shres2str_id_tbl)); in shres2str_id()
73 return shres2str_id_tbl[id]; in shres2str_id()
95 static bool periph_is_non_secure(enum stm32mp_shres id) in periph_is_non_secure() argument
99 return (shres_state[id] == SHRES_NON_SECURE) || in periph_is_non_secure()
100 (shres_state[id] == SHRES_UNREGISTERED); in periph_is_non_secure()
103 static bool periph_is_secure(enum stm32mp_shres id) in periph_is_secure() argument
105 return !periph_is_non_secure(id); in periph_is_secure()
137 static void register_periph(enum stm32mp_shres id, unsigned int state) in register_periph() argument
139 assert((id < STM32MP1_SHRES_COUNT) && in register_periph()
[all …]
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/tc/
Dnv_counter_test.c21 uint32_t id; in nv_counter_test() local
29 for (id = 0; id < 3; id++) { in nv_counter_test()
30 status = rss_platform_nv_counter_read(id, sizeof(old_val), (uint8_t *)&old_val); in nv_counter_test()
33 id); in nv_counter_test()
37 status = rss_platform_nv_counter_increment(id); in nv_counter_test()
40 id); in nv_counter_test()
44 status = rss_platform_nv_counter_read(id, sizeof(new_val), (uint8_t *)&new_val); in nv_counter_test()
47 id); in nv_counter_test()
/trusted-firmware-a-3.6.0-3.5.0/drivers/st/clk/
Dclk-stm32-core.c59 struct clk_oscillator_data *clk_oscillator_get_data(struct stm32_clk_priv *priv, int id) in clk_oscillator_get_data() argument
61 const struct clk_stm32 *clk = _clk_get(priv, id); in clk_oscillator_get_data()
68 void clk_oscillator_set_bypass(struct stm32_clk_priv *priv, int id, bool digbyp, bool bypass) in clk_oscillator_set_bypass() argument
70 struct clk_oscillator_data *osc_data = clk_oscillator_get_data(priv, id); in clk_oscillator_set_bypass()
90 void clk_oscillator_set_css(struct stm32_clk_priv *priv, int id, bool css) in clk_oscillator_set_css() argument
92 struct clk_oscillator_data *osc_data = clk_oscillator_get_data(priv, id); in clk_oscillator_set_css()
108 void clk_oscillator_set_drive(struct stm32_clk_priv *priv, int id, uint8_t lsedrv) in clk_oscillator_set_drive() argument
110 struct clk_oscillator_data *osc_data = clk_oscillator_get_data(priv, id); in clk_oscillator_set_drive()
142 int clk_oscillator_wait_ready(struct stm32_clk_priv *priv, int id, bool ready_on) in clk_oscillator_wait_ready() argument
144 struct clk_oscillator_data *osc_data = clk_oscillator_get_data(priv, id); in clk_oscillator_wait_ready()
[all …]
Dclk-stm32-core.h46 unsigned long (*recalc_rate)(struct stm32_clk_priv *priv, int id, unsigned long rate);
47 int (*get_parent)(struct stm32_clk_priv *priv, int id);
48 int (*set_rate)(struct stm32_clk_priv *priv, int id, unsigned long rate,
50 int (*enable)(struct stm32_clk_priv *priv, int id);
51 void (*disable)(struct stm32_clk_priv *priv, int id);
52 bool (*is_enabled)(struct stm32_clk_priv *priv, int id);
53 void (*init)(struct stm32_clk_priv *priv, int id);
153 const struct clk_stm32 *_clk_get(struct stm32_clk_priv *priv, int id);
155 void clk_oscillator_set_bypass(struct stm32_clk_priv *priv, int id, bool digbyp, bool bypass);
156 void clk_oscillator_set_drive(struct stm32_clk_priv *priv, int id, uint8_t lsedrv);
[all …]
/trusted-firmware-a-3.6.0-3.5.0/plat/rockchip/px30/drivers/soc/
Dsoc.h71 #define CRU_AUTOCS_CON0(id) (0x400 + (id) * 8) argument
72 #define CRU_AUTOCS_CON1(id) (0x404 + (id) * 8) argument
92 #define CRU_PLL_CONS(id, i) ((id) * 0x20 + (i) * 4) argument
96 #define PLL_MODE_SHIFT(id) ((id) == CPLL_ID ? \ argument
98 ((id) == DPLL_ID ? 4 : 2 * (id)))
99 #define PLL_MODE_MSK(id) (0x3 << PLL_MODE_SHIFT(id)) argument
/trusted-firmware-a-3.6.0-3.5.0/drivers/clk/
Dclk.c16 int clk_enable(unsigned long id) in clk_enable() argument
20 return ops->enable(id); in clk_enable()
23 void clk_disable(unsigned long id) in clk_disable() argument
27 ops->disable(id); in clk_disable()
30 unsigned long clk_get_rate(unsigned long id) in clk_get_rate() argument
34 return ops->get_rate(id); in clk_get_rate()
37 int clk_get_parent(unsigned long id) in clk_get_parent() argument
41 return ops->get_parent(id); in clk_get_parent()
44 bool clk_is_enabled(unsigned long id) in clk_is_enabled() argument
48 return ops->is_enabled(id); in clk_is_enabled()
/trusted-firmware-a-3.6.0-3.5.0/fdts/
Dcot_descriptors.dtsi17 image-id =<TRUSTED_BOOT_FW_CERT_ID>;
36 image-id = <TRUSTED_KEY_CERT_ID>;
48 image-id = <SCP_FW_KEY_CERT_ID>;
59 image-id = <SCP_FW_CONTENT_CERT_ID>;
70 image-id = <SOC_FW_KEY_CERT_ID>;
80 image-id = <SOC_FW_CONTENT_CERT_ID>;
94 image-id = <TRUSTED_OS_FW_KEY_CERT_ID>;
105 image-id = <TRUSTED_OS_FW_CONTENT_CERT_ID>;
125 image-id = <NON_TRUSTED_FW_KEY_CERT_ID>;
136 image-id = <NON_TRUSTED_FW_CONTENT_CERT_ID>;
[all …]
Dstm32mp1-cot-descriptors.dtsi17 image-id = <STM32MP_CONFIG_CERT_ID>;
31 image-id = <TRUSTED_KEY_CERT_ID>;
43 image-id = <TRUSTED_OS_FW_KEY_CERT_ID>;
54 image-id = <TRUSTED_OS_FW_CONTENT_CERT_ID>;
74 image-id = <NON_TRUSTED_FW_KEY_CERT_ID>;
85 image-id = <NON_TRUSTED_FW_CONTENT_CERT_ID>;
100 image-id = <HW_CONFIG_ID>;
106 image-id = <FW_CONFIG_ID>;
112 image-id = <BL32_IMAGE_ID>;
118 image-id = <BL32_EXTRA1_IMAGE_ID>;
[all …]
/trusted-firmware-a-3.6.0-3.5.0/tools/cert_create/src/tbbr/
Dtbb_key.c16 .id = ROT_KEY,
22 .id = TRUSTED_WORLD_KEY,
28 .id = NON_TRUSTED_WORLD_KEY,
34 .id = SCP_FW_CONTENT_CERT_KEY,
40 .id = SOC_FW_CONTENT_CERT_KEY,
46 .id = TRUSTED_OS_FW_CONTENT_CERT_KEY,
52 .id = NON_TRUSTED_FW_CONTENT_CERT_KEY,
/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/drivers/spm/mt8188/constraints/
Dmt_spm_rc_api.c12 int spm_rc_condition_modifier(unsigned int id, unsigned int act, in spm_rc_condition_modifier() argument
21 rc_id = SPM_RC_UPDATE_COND_RC_ID_GET(id); in spm_rc_condition_modifier()
22 cond_id = SPM_RC_UPDATE_COND_ID_GET(id); in spm_rc_condition_modifier()
61 int spm_rc_constraint_status_get(unsigned int id, unsigned int type, in spm_rc_constraint_status_get() argument
67 if (((id != MT_RM_CONSTRAINT_ID_ALL) && (id != dest_rc_id)) || (dest == NULL) || in spm_rc_constraint_status_get()
75 if (id == MT_RM_CONSTRAINT_ID_ALL) { in spm_rc_constraint_status_get()
105 int spm_rc_constraint_status_set(unsigned int id, unsigned int type, in spm_rc_constraint_status_set() argument
111 if (((id != MT_RM_CONSTRAINT_ID_ALL) && (id != dest_rc_id)) || (dest == NULL)) { in spm_rc_constraint_status_set()
141 int spm_rc_constraint_valid_set(enum mt_spm_rm_rc_type id, in spm_rc_constraint_valid_set() argument
146 if (((id != MT_RM_CONSTRAINT_ID_ALL) && (id != dest_rc_id)) || (dest == NULL)) { in spm_rc_constraint_valid_set()
[all …]
/trusted-firmware-a-3.6.0-3.5.0/bl32/tsp/
Dtsp_interrupt.c71 uint32_t linear_id = plat_my_core_pos(), id; in tsp_common_int_handler() local
83 id = plat_ic_get_pending_interrupt_id(); in tsp_common_int_handler()
86 if (id != TSP_IRQ_SEC_PHY_TIMER) { in tsp_common_int_handler()
92 ERROR("Unexpected interrupt id %u\n", id); in tsp_common_int_handler()
103 id = plat_ic_acknowledge_interrupt(); in tsp_common_int_handler()
104 assert(id == TSP_IRQ_SEC_PHY_TIMER); in tsp_common_int_handler()
106 plat_ic_end_of_interrupt(id); in tsp_common_int_handler()
111 read_mpidr(), id); in tsp_common_int_handler()
/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/mt8183/drivers/sspm/
Dsspm.c61 static int sspm_ipi_check_ack(uint32_t id) in sspm_ipi_check_ack() argument
65 if (id == IPI_ID_PLATFORM) { in sspm_ipi_check_ack()
68 } else if (id == IPI_ID_SUSPEND) { in sspm_ipi_check_ack()
72 ERROR("%s: id = %d\n", __func__, id); in sspm_ipi_check_ack()
79 int sspm_ipi_send_non_blocking(uint32_t id, uint32_t *data) in sspm_ipi_send_non_blocking() argument
83 ret = sspm_ipi_check_ack(id); in sspm_ipi_send_non_blocking()
87 if (id == IPI_ID_PLATFORM) { in sspm_ipi_send_non_blocking()
93 } else if (id == IPI_ID_SUSPEND) { in sspm_ipi_send_non_blocking()
105 int sspm_ipi_recv_non_blocking(uint32_t id, uint32_t *data, uint32_t len) in sspm_ipi_recv_non_blocking() argument
109 ret = sspm_ipi_check_ack(id); in sspm_ipi_recv_non_blocking()
[all …]
/trusted-firmware-a-3.6.0-3.5.0/include/lib/fconf/
Dfconf_tbbr_getter.h15 #define tbbr__cot_getter(id) __extension__ ({ \ argument
16 assert((id) < cot_desc_size); \
17 cot_desc_ptr[id]; \
20 #define tbbr__dyn_config_getter(id) tbbr_dyn_config.id argument
/trusted-firmware-a-3.6.0-3.5.0/plat/ti/k3/common/drivers/ti_sci/
Dti_sci.h52 int ti_sci_device_get(uint32_t id);
53 int ti_sci_device_get_exclusive(uint32_t id);
54 int ti_sci_device_idle(uint32_t id);
55 int ti_sci_device_idle_exclusive(uint32_t id);
56 int ti_sci_device_put(uint32_t id);
57 int ti_sci_device_put_no_wait(uint32_t id);
58 int ti_sci_device_is_valid(uint32_t id);
59 int ti_sci_device_get_clcnt(uint32_t id, uint32_t *count);
60 int ti_sci_device_is_idle(uint32_t id, bool *r_state);
61 int ti_sci_device_is_stop(uint32_t id, bool *r_state, bool *curr_state);
[all …]

1234567891011