Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 25 of 93) sorted by relevance

1234

/rk3399_ARM-atf/plat/mediatek/drivers/gpio/
H A Dmtgpio_common.c31 uint32_t pos, bit; in mt_set_gpio_dir_chip() local
37 bit = pin % MAX_GPIO_REG_BITS; in mt_set_gpio_dir_chip()
40 mmio_write_32(DIR_BASE + 0x10U * pos + CLR, 1U << bit); in mt_set_gpio_dir_chip()
42 mmio_write_32(DIR_BASE + 0x10U * pos + SET, 1U << bit); in mt_set_gpio_dir_chip()
48 uint32_t pos, bit; in mt_get_gpio_dir_chip() local
54 bit = pin % MAX_GPIO_REG_BITS; in mt_get_gpio_dir_chip()
57 return (((reg & (1U << bit)) != 0U) ? MT_GPIO_DIR_OUT : MT_GPIO_DIR_IN); in mt_get_gpio_dir_chip()
62 uint32_t pos, bit; in mt_set_gpio_out_chip() local
68 bit = pin % MAX_GPIO_REG_BITS; in mt_set_gpio_out_chip()
71 mmio_write_32(DOUT_BASE + 0x10U * pos + CLR, 1U << bit); in mt_set_gpio_out_chip()
[all …]
H A Dmtgpio_common.h94 .bit = _bit, \
102 uint8_t bit; member
/rk3399_ARM-atf/plat/mediatek/mt8183/drivers/gpio/
H A Dmtgpio.c36 uint32_t pos, bit; in mt_set_gpio_dir_chip() local
42 bit = pin % MAX_GPIO_REG_BITS; in mt_set_gpio_dir_chip()
45 mmio_write_32(DIR_BASE + 0x10 * pos + CLR, 1U << bit); in mt_set_gpio_dir_chip()
47 mmio_write_32(DIR_BASE + 0x10 * pos + SET, 1U << bit); in mt_set_gpio_dir_chip()
52 uint32_t pos, bit; in mt_get_gpio_dir_chip() local
58 bit = pin % MAX_GPIO_REG_BITS; in mt_get_gpio_dir_chip()
61 return (((reg & (1U << bit)) != 0) ? GPIO_DIR_OUT : GPIO_DIR_IN); in mt_get_gpio_dir_chip()
66 uint32_t pos, bit; in mt_set_gpio_out_chip() local
72 bit = pin % MAX_GPIO_REG_BITS; in mt_set_gpio_out_chip()
75 mmio_write_32(DOUT_BASE + 0x10 * pos + CLR, 1U << bit); in mt_set_gpio_out_chip()
[all …]
/rk3399_ARM-atf/drivers/st/rif/
H A Dstm32_rifsc.c20 uint32_t bit; in stm32_rifsc_ip_configure() local
24 bit = BIT(rifsc_id % U(32)); in stm32_rifsc_ip_configure()
27 mmio_setbits_32(RIFSC_BASE + _RIFSC_RISC_SECCFGR(rifsc_id), bit); in stm32_rifsc_ip_configure()
28 mmio_setbits_32(RIFSC_BASE + _RIFSC_RISC_PRIVCFGR(rifsc_id), bit); in stm32_rifsc_ip_configure()
/rk3399_ARM-atf/drivers/gpio/
H A Dgpio_spi.c33 static void gpio_spi_sclk(int bit) in gpio_spi_mosi() argument
35 gpio_set_value(config.sclk_gpio, bit); in gpio_spi_mosi()
38 static void gpio_spi_mosi(int bit) in gpio_spi_cs() argument
40 gpio_set_value(config.mosi_gpio, bit); in gpio_spi_cs()
43 static void gpio_spi_cs(int bit) in gpio_spi_start()
45 gpio_set_value(config.cs_gpio, bit); in gpio_spi_start()
28 gpio_spi_sclk(int bit) gpio_spi_sclk() argument
/rk3399_ARM-atf/plat/mediatek/common/lpm_v2/
H A Dmt_lp_api.c9 #define UPDATE_STATUS(val, status, bit) \ argument
10 ((val) ? ((status) | (1 << (bit))) : ((status) & ~(1 << (bit))))
/rk3399_ARM-atf/docs/perf/
H A Dperformance-monitoring-unit.rst48 an identical function and bit field layout as ``PMEVTYPER<n>``. In addition,
84 - If equal to the ``P`` bit it enables the associated ``PMEVCNTR<n>`` at
97 - If different to the ``NSH`` bit it enables the associated ``PMEVCNTR<n>``
104 - If equal to the ``P`` bit it enables the associated ``PMEVCNTR<n>`` at
119 - Setting bit ``P[n]`` to ``1`` enables counter ``PMEVCNTR<n>``.
137 - If set to ``0``, ``PMCCNTR`` will not be affected by this bit and
146 In other words, if this bit is ``0`` then no counters will increment
147 regardless of how the other PMU system registers or bit fields are
/rk3399_ARM-atf/plat/mediatek/drivers/iommu/
H A Dmtk_iommu_priv.h23 #define IFR_MST_CFG_ENTRY(idx, bit) \ argument
24 { .cfg_addr_idx = (idx), .r_mmu_en_bit = (bit), }
/rk3399_ARM-atf/docs/security_advisories/
H A Dsecurity-advisory-tfv-2.rst25 The ``MDCR_EL3.SDD`` bit controls AArch64 secure self-hosted invasive debug
27 Trusted Firmware (TF) unconditionally assign this bit to ``0`` in the early
34 The ``MDCR_EL3.SDD`` bit should be assigned to ``1`` to disable debug exceptions
37 Earlier versions of TF (prior to `commit 495f3d3`_) did not assign this bit.
38 Since the bit has an architecturally ``UNKNOWN`` reset value, earlier versions
H A Dsecurity-advisory-tfv-3.rst57 translation tables. The EL3 translation regime uses a single ``XN`` bit to
60 The ``xlat_tables`` library only handles the ``XN`` bit, which maps to ``UXN``
67 non-executable by setting the ``SCTLR_ELx.WXN`` bit. This overrides any value
76 - AArch32 configurations are unaffected. Here the ``XN`` bit controls execution
82 bit. See the ``el3_arch_init_common`` macro in ``el3_common_macros.S``.
H A Dsecurity-advisory-tfv-7.rst43 control bit to prevent the re-ordering of stores and loads.
65 - Cortex-A57 and Cortex-A72, by setting bit 55 (Disable load pass store) of
68 - Cortex-A73, by setting bit 3 of ``S3_0_C15_C0_0`` (not documented in the
71 - Cortex-A75, by setting bit 35 (reserved in TRM) of ``CPUACTLR_EL1``
100 - Cortex-A76, by setting and clearing bit 16 (reserved in TRM) of
/rk3399_ARM-atf/plat/rockchip/px30/drivers/soc/
H A Dsoc.h75 #define GATE_ID(reg, bit) ((reg) * 16 + (bit)) argument
/rk3399_ARM-atf/plat/xilinx/common/pm_service/
H A Dpm_ipi.c321 uint32_t i, j, c, bit, datain, crcmask, crchighbit; in calculate_crc() local
332 bit = crc & crchighbit; in calculate_crc()
335 bit ^= crchighbit; in calculate_crc()
337 if (bit != 0U) { in calculate_crc()
/rk3399_ARM-atf/plat/mediatek/drivers/cirq/
H A Dmt_cirq.c240 uint32_t bit = 1U << (cirq_num % 32U); in mt_cirq_set_pol() local
254 mmio_write_32(base, bit); in mt_cirq_set_pol()
268 uint32_t bit = 1U << (cirq_num % 32U); in mt_cirq_mask() local
274 mmio_write_32((cirq_num / 32U) * 4U + CIRQ_MASK_SET_BASE, bit); in mt_cirq_mask()
288 uint32_t bit = 1U << (cirq_num % 32U); in mt_cirq_unmask() local
294 mmio_write_32((cirq_num / 32U) * 4U + CIRQ_MASK_CLR_BASE, bit); in mt_cirq_unmask()
/rk3399_ARM-atf/plat/rockchip/rk3328/drivers/soc/
H A Dsoc.h63 #define GATE_ID(reg, bit) ((reg * 16) + bit) argument
/rk3399_ARM-atf/docs/plat/
H A Dnvidia-tegra.rst9 executing both 64-bit AArch64 code, and 32-bit AArch32 code. The Carmel
24 support ARMv8, executing both 64-bit Aarch64 code, and 32-bit Aarch32 code
32 Denver is NVIDIA's own custom-designed, 64-bit, dual-core CPU which is
62 support Armv8-A, executing both 64-bit Aarch64 code, and 32-bit Aarch32 code
150 Protection bit, for Arm Cortex-A57 CPUs, during CPU boot. This flag will
H A Dast2700.rst4 Aspeed AST2700 is a 64-bit ARM SoC with 4-cores Cortex-A35 integrated.
H A Dmt8183.rst4 MediaTek 8183 (MT8183) is a 64-bit ARM SoC introduced by MediaTek in early 2018.
/rk3399_ARM-atf/plat/rockchip/rk3288/drivers/soc/
H A Dsoc.h54 #define GATE_ID(reg, bit) (((reg) * 16) + (bit)) argument
/rk3399_ARM-atf/plat/mediatek/drivers/gicv3/
H A Dmt_gic_v3.c65 uint32_t bit = 1U << (irq % 32); in mt_irq_set_pending() local
71 irq / 32 * 4, bit); in mt_irq_set_pending()
/rk3399_ARM-atf/plat/allwinner/common/
H A Darisc_off.S27 # respective core bit in CPUX_PWROFF_GATING_REG (0x1f01500).
58 l.bf 1f # don't touch the bit for core 0
61 l.or r5, r5, r6 # set bit to ...
66 l.and r5, r5, r6 # clear bit to ...
/rk3399_ARM-atf/drivers/nxp/auth/csf_hdr_parser/
H A Dinput_bl2_ch3_216 # Address can be 64 bit
33 # Address can be 64 bit
H A Dinput_bl2_ch316 # Address can be 64 bit
33 # Address can be 64 bit
/rk3399_ARM-atf/plat/rockchip/rk3368/drivers/soc/
H A Dsoc.h92 #define GATE_ID(reg, bit) ((reg * 16) + bit) argument
/rk3399_ARM-atf/plat/marvell/armada/a8k/common/
H A Dplat_ble_setup.c431 uint8_t parity, bit; in ble_plat_svc_config() local
434 for (bit = 1, parity = (svc[i] & 1); bit < avs_data_bits; bit++) in ble_plat_svc_config()
435 parity ^= (svc[i] >> bit) & 1; in ble_plat_svc_config()

1234