Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 187) sorted by relevance

12345678

/tf-a-ffa_el3_spmc/plat/arm/board/fvp/
A Dfvp_io_storage.c47 .mode = FOPEN_MODE_RB
51 .mode = FOPEN_MODE_RB
55 .mode = FOPEN_MODE_RB
59 .mode = FOPEN_MODE_RB
63 .mode = FOPEN_MODE_RB
67 .mode = FOPEN_MODE_RB
71 .mode = FOPEN_MODE_RB
75 .mode = FOPEN_MODE_RB
79 .mode = FOPEN_MODE_RB
83 .mode = FOPEN_MODE_RB
[all …]
/tf-a-ffa_el3_spmc/drivers/renesas/common/iic_dvfs/
A Diic_dvfs.c194 uint8_t mode; in IIC_DVFS_FUNC() local
241 uint8_t mode; in IIC_DVFS_FUNC() local
268 uint8_t mode; in IIC_DVFS_FUNC() local
295 uint8_t mode; in IIC_DVFS_FUNC() local
320 uint8_t mode; in IIC_DVFS_FUNC() local
364 uint8_t mode; in IIC_DVFS_FUNC() local
389 uint8_t mode; in IIC_DVFS_FUNC() local
419 uint8_t mode; in IIC_DVFS_FUNC() local
445 uint8_t mode; in IIC_DVFS_FUNC() local
470 uint8_t mode; in IIC_DVFS_FUNC() local
[all …]
/tf-a-ffa_el3_spmc/drivers/mtd/spi-mem/
A Dspi_mem.c27 unsigned int mode; member
190 int mode = 0; in spi_mem_init_slave() local
228 mode |= SPI_CPOL; in spi_mem_init_slave()
231 mode |= SPI_CPHA; in spi_mem_init_slave()
235 mode |= SPI_CS_HIGH; in spi_mem_init_slave()
239 mode |= SPI_3WIRE; in spi_mem_init_slave()
243 mode |= SPI_PREAMBLE; in spi_mem_init_slave()
253 mode |= SPI_TX_DUAL; in spi_mem_init_slave()
256 mode |= SPI_TX_QUAD; in spi_mem_init_slave()
271 mode |= SPI_RX_DUAL; in spi_mem_init_slave()
[all …]
/tf-a-ffa_el3_spmc/drivers/marvell/comphy/
A Dphy-comphy-3700.c128 switch (mode) { in mvebu_a3700_comphy_set_phy_selector()
293 mode); in mvebu_a3700_comphy_sata_power_on()
622 mask, mode); in mvebu_a3700_comphy_usb3_power_on()
703 mode); in mvebu_a3700_comphy_usb3_power_on()
710 mode); in mvebu_a3700_comphy_usb3_power_on()
749 mode); in mvebu_a3700_comphy_usb3_power_on()
880 switch (mode) { in mvebu_3700_comphy_power_on()
952 if (!mode) { in mvebu_3700_comphy_power_off()
961 switch (mode) { in mvebu_3700_comphy_power_off()
1017 switch (mode) { in mvebu_3700_comphy_is_pll_locked()
[all …]
/tf-a-ffa_el3_spmc/include/drivers/amlogic/crypto/
A Dsha_dma.h22 enum ASD_MODE mode; member
26 static inline void asd_sha_init(struct asd_ctx *ctx, enum ASD_MODE mode) in asd_sha_init() argument
29 ctx->mode = mode; in asd_sha_init()
/tf-a-ffa_el3_spmc/plat/nxp/common/setup/
A Dls_err.c28 uint32_t mode; in plat_error_handler() local
29 bool sb = check_boot_mode_secure(&mode); in plat_error_handler()
39 if (mode == 1U) { in plat_error_handler()
/tf-a-ffa_el3_spmc/lib/zlib/
A Dinflate.c114 state->mode < HEAD || state->mode > SYNC)
130 state->mode = HEAD;
650 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */
656 switch (state->mode) {
732 state->mode = OS;
1043 state->mode = LEN;
1195 state->mode = LEN;
1271 (state->mode == LEN_ || state->mode == COPY_ ? 256 : 0);
1341 state->mode = MEM;
1415 state->mode = SYNC;
[all …]
A Dzutil.h108 # define F_OPEN(name, mode) \ argument
109 fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
140 # define fdopen(fd,mode) NULL /* No fdopen() */ argument
167 # define fdopen(fd,mode) NULL /* No fdopen() */ argument
172 # define fdopen(fd,mode) NULL /* No fdopen() */ argument
202 # define F_OPEN(name, mode) fopen((name), (mode)) argument
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/dcm/
A Dmtk_dcm.c10 static void dcm_armcore(bool mode) in dcm_armcore() argument
12 dcm_mp_cpusys_top_bus_pll_div_dcm(mode); in dcm_armcore()
13 dcm_mp_cpusys_top_cpu_pll_div_0_dcm(mode); in dcm_armcore()
14 dcm_mp_cpusys_top_cpu_pll_div_1_dcm(mode); in dcm_armcore()
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/dcm/
A Dmtk_dcm.c10 static void dcm_armcore(bool mode) in dcm_armcore() argument
12 dcm_mp_cpusys_top_bus_pll_div_dcm(mode); in dcm_armcore()
13 dcm_mp_cpusys_top_cpu_pll_div_0_dcm(mode); in dcm_armcore()
14 dcm_mp_cpusys_top_cpu_pll_div_1_dcm(mode); in dcm_armcore()
/tf-a-ffa_el3_spmc/plat/intel/soc/common/aarch64/
A Dplatform_common.c43 unsigned int mode; in socfpga_get_spsr_for_bl33_entry() local
50 mode = (el_status) ? MODE_EL2 : MODE_EL1; in socfpga_get_spsr_for_bl33_entry()
57 spsr = SPSR_64(mode, MODE_SP_ELX, DISABLE_ALL_EXCEPTIONS); in socfpga_get_spsr_for_bl33_entry()
/tf-a-ffa_el3_spmc/drivers/st/gpio/
A Dstm32_gpio.c100 uint32_t mode; in dt_set_gpio_config() local
112 mode = pincfg & DT_GPIO_MODE_MASK; in dt_set_gpio_config()
114 switch (mode) { in dt_set_gpio_config()
116 mode = GPIO_MODE_INPUT; in dt_set_gpio_config()
119 alternate = mode - 1U; in dt_set_gpio_config()
120 mode = GPIO_MODE_ALTERNATE; in dt_set_gpio_config()
123 mode = GPIO_MODE_ANALOG; in dt_set_gpio_config()
126 mode = GPIO_MODE_OUTPUT; in dt_set_gpio_config()
131 mode |= GPIO_OPEN_DRAIN; in dt_set_gpio_config()
216 (mode & ~GPIO_OPEN_DRAIN) << (pin << 1)); in set_gpio()
[all …]
/tf-a-ffa_el3_spmc/plat/brcm/common/
A Dbrcm_common.c41 unsigned int mode; in brcm_get_spsr_for_bl33_entry() local
45 mode = el_implemented(2) ? MODE_EL2 : MODE_EL1; in brcm_get_spsr_for_bl33_entry()
52 spsr = SPSR_64(mode, MODE_SP_ELX, DISABLE_ALL_EXCEPTIONS); in brcm_get_spsr_for_bl33_entry()
/tf-a-ffa_el3_spmc/plat/layerscape/common/
A Dls_common.c149 unsigned int mode; in ls_get_spsr_for_bl33_entry() local
153 mode = (el_implemented(2) != EL_IMPL_NONE) ? MODE_EL2 : MODE_EL1; in ls_get_spsr_for_bl33_entry()
160 spsr = SPSR_64(mode, MODE_SP_ELX, DISABLE_ALL_EXCEPTIONS); in ls_get_spsr_for_bl33_entry()
169 unsigned int hyp_status, mode, spsr; in ls_get_spsr_for_bl33_entry() local
173 mode = (hyp_status) ? MODE32_hyp : MODE32_svc; in ls_get_spsr_for_bl33_entry()
180 spsr = SPSR_MODE32(mode, plat_get_ns_image_entrypoint() & 0x1, in ls_get_spsr_for_bl33_entry()
/tf-a-ffa_el3_spmc/drivers/st/spi/
A Dstm32_qspi.c223 if (mode == QSPI_CCR_MEM_MAP) { in stm32_qspi_tx()
244 uint8_t mode = QSPI_CCR_IND_WRITE; in stm32_qspi_exec_op() local
262 mode = QSPI_CCR_MEM_MAP; in stm32_qspi_exec_op()
264 mode = QSPI_CCR_IND_READ; in stm32_qspi_exec_op()
272 ccr = mode << QSPI_CCR_FMODE_SHIFT; in stm32_qspi_exec_op()
298 ret = stm32_qspi_tx(op, mode); in stm32_qspi_exec_op()
409 if ((mode & SPI_CS_HIGH) != 0U) { in stm32_qspi_set_mode()
413 if (((mode & SPI_CPHA) != 0U) && ((mode & SPI_CPOL) != 0U)) { in stm32_qspi_set_mode()
415 } else if (((mode & SPI_CPHA) == 0U) && ((mode & SPI_CPOL) == 0U)) { in stm32_qspi_set_mode()
423 if ((mode & SPI_RX_QUAD) != 0U) { in stm32_qspi_set_mode()
[all …]
/tf-a-ffa_el3_spmc/plat/nxp/common/tbbr/
A Dcsf_tbbr.c31 uint32_t mode = 0U; in plat_get_rotpk_info() local
36 if (check_boot_mode_secure(&mode) == true) { in plat_get_rotpk_info()
38 if (mode == 1U) { in plat_get_rotpk_info()
/tf-a-ffa_el3_spmc/plat/arm/common/
A Darm_common.c89 unsigned int mode; in arm_get_spsr_for_bl33_entry() local
93 mode = (el_implemented(2) != EL_IMPL_NONE) ? MODE_EL2 : MODE_EL1; in arm_get_spsr_for_bl33_entry()
100 spsr = SPSR_64((uint64_t)mode, MODE_SP_ELX, DISABLE_ALL_EXCEPTIONS); in arm_get_spsr_for_bl33_entry()
109 unsigned int hyp_status, mode, spsr; in arm_get_spsr_for_bl33_entry() local
113 mode = (hyp_status) ? MODE32_hyp : MODE32_svc; in arm_get_spsr_for_bl33_entry()
120 spsr = SPSR_MODE32(mode, plat_get_ns_image_entrypoint() & 0x1, in arm_get_spsr_for_bl33_entry()
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/mcdi/
A Dmt_mcdi.c83 static void mtk_set_mcupm_pll_mode(uint32_t mode) in mtk_set_mcupm_pll_mode() argument
85 if (mode < NF_MCUPM_ARMPLL_MODE) { in mtk_set_mcupm_pll_mode()
86 mcdi_mbox_write(APMCU_MCUPM_MBOX_ARMPLL_MODE, mode); in mtk_set_mcupm_pll_mode()
90 static void mtk_set_mcupm_buck_mode(uint32_t mode) in mtk_set_mcupm_buck_mode() argument
92 if (mode < NF_MCUPM_BUCK_MODE) { in mtk_set_mcupm_buck_mode()
93 mcdi_mbox_write(APMCU_MCUPM_MBOX_BUCK_MODE, mode); in mtk_set_mcupm_buck_mode()
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/mcdi/
A Dmt_mcdi.c83 static void mtk_set_mcupm_pll_mode(uint32_t mode) in mtk_set_mcupm_pll_mode() argument
85 if (mode < NF_MCUPM_ARMPLL_MODE) { in mtk_set_mcupm_pll_mode()
86 mcdi_mbox_write(APMCU_MCUPM_MBOX_ARMPLL_MODE, mode); in mtk_set_mcupm_pll_mode()
90 static void mtk_set_mcupm_buck_mode(uint32_t mode) in mtk_set_mcupm_buck_mode() argument
92 if (mode < NF_MCUPM_BUCK_MODE) { in mtk_set_mcupm_buck_mode()
93 mcdi_mbox_write(APMCU_MCUPM_MBOX_BUCK_MODE, mode); in mtk_set_mcupm_buck_mode()
/tf-a-ffa_el3_spmc/plat/qemu/common/
A Dqemu_io_storage.c122 .mode = FOPEN_MODE_RB
126 .mode = FOPEN_MODE_RB
130 .mode = FOPEN_MODE_RB
134 .mode = FOPEN_MODE_RB
138 .mode = FOPEN_MODE_RB
142 .mode = FOPEN_MODE_RB
147 .mode = FOPEN_MODE_RB
151 .mode = FOPEN_MODE_RB
155 .mode = FOPEN_MODE_RB
159 .mode = FOPEN_MODE_RB
[all …]
/tf-a-ffa_el3_spmc/plat/hisilicon/poplar/
A Dbl2_plat_setup.c64 unsigned int mode; in poplar_get_spsr_for_bl33_entry() local
71 mode = (el_status) ? MODE_EL2 : MODE_EL1; in poplar_get_spsr_for_bl33_entry()
78 spsr = SPSR_64(mode, MODE_SP_ELX, DISABLE_ALL_EXCEPTIONS); in poplar_get_spsr_for_bl33_entry()
84 unsigned int hyp_status, mode, spsr; in poplar_get_spsr_for_bl33_entry() local
88 mode = (hyp_status) ? MODE32_hyp : MODE32_svc; in poplar_get_spsr_for_bl33_entry()
95 spsr = SPSR_MODE32(mode, plat_get_ns_image_entrypoint() & 0x1, in poplar_get_spsr_for_bl33_entry()
/tf-a-ffa_el3_spmc/plat/imx/common/include/sci/svc/pm/
A Dsci_pm_api.h235 sc_err_t sc_pm_set_sys_power_mode(sc_ipc_t ipc, sc_pm_power_mode_t mode);
257 sc_pm_power_mode_t mode);
272 sc_pm_power_mode_t *mode);
307 sc_pm_power_mode_t mode);
322 sc_pm_power_mode_t *mode);
343 sc_pm_power_mode_t mode);
366 sc_pm_power_mode_t mode,
/tf-a-ffa_el3_spmc/lib/debugfs/
A Ddev.c76 static bool is_valid_mode(int mode) in is_valid_mode() argument
78 if ((mode & O_READ) && (mode & (O_WRITE | O_RDWR))) { in is_valid_mode()
81 if ((mode & O_WRITE) && (mode & (O_READ | O_RDWR))) { in is_valid_mode()
84 if ((mode & O_RDWR) && (mode & (O_READ | O_WRITE))) { in is_valid_mode()
148 channel->mode = 0; in channel_clear()
363 new_channel->mode = channel->mode; in devclone()
443 dir->mode = mode; in make_dir_entry()
446 dir->mode |= O_DIR; in make_dir_entry()
476 int open(const char *path, int mode) in open() argument
484 if (is_valid_mode(mode) == false) { in open()
[all …]
/tf-a-ffa_el3_spmc/bl1/aarch64/
A Dbl1_context_mgmt.c46 unsigned int security_state, mode = MODE_EL1; in bl1_prepare_next_image() local
78 mode = MODE_EL2; in bl1_prepare_next_image()
81 next_bl_ep->spsr = (uint32_t)SPSR_64((uint64_t) mode, in bl1_prepare_next_image()
/tf-a-ffa_el3_spmc/drivers/brcm/spi/
A Diproc_qspi.c29 int iproc_qspi_setup(uint32_t bus, uint32_t cs, uint32_t max_hz, uint32_t mode) in iproc_qspi_setup() argument
35 priv->spi_mode = mode; in iproc_qspi_setup()
152 uint32_t mode = CDRAM_PCS0; in mspi_xfer() local
155 mode |= CDRAM_QUAD_MODE; in mspi_xfer()
160 mode |= CDRAM_RBIT_INPUT; in mspi_xfer()
169 mode |= CDRAM_BITS_EN; in mspi_xfer()
188 (i << 2), mode | CDRAM_CONT); in mspi_xfer()
206 (i << 2), mode | CDRAM_CONT); in mspi_xfer()
225 ((queues - 1) << 2), mode); in mspi_xfer()

Completed in 40 milliseconds

12345678