Home
last modified time | relevance | path

Searched refs:pin (Results 1 – 21 of 21) sorted by relevance

/arm-trusted-firmware-2.8.0/plat/mediatek/mt8183/drivers/gpio/
A Dmtgpio.c148 switch (pin) { in gpio_get_pull_iocfg()
184 switch (pin) { in gpio_get_pupd_iocfg()
200 switch (pin) { in gpio_get_pupd_offset()
370 uint32_t pin; in mt_get_gpio_dir() local
378 uint32_t pin; in mt_set_gpio_pull() local
386 uint32_t pin; in mt_get_gpio_pull() local
394 uint32_t pin; in mt_set_gpio_out() local
402 uint32_t pin; in mt_get_gpio_out() local
410 uint32_t pin; in mt_get_gpio_in() local
418 uint32_t pin; in mt_set_gpio_mode() local
[all …]
/arm-trusted-firmware-2.8.0/plat/mediatek/drivers/gpio/
A Dmtgpio_common.c33 assert(pin < MAX_GPIO_PIN); in mt_set_gpio_dir_chip()
249 uint32_t pin; in mt_get_gpio_dir() local
251 pin = (uint32_t)gpio; in mt_get_gpio_dir()
257 uint32_t pin; in mt_set_gpio_pull() local
259 pin = (uint32_t)gpio; in mt_set_gpio_pull()
265 uint32_t pin; in mt_get_gpio_pull() local
267 pin = (uint32_t)gpio; in mt_get_gpio_pull()
273 uint32_t pin; in mt_set_gpio_out() local
275 pin = (uint32_t)gpio; in mt_set_gpio_out()
281 uint32_t pin; in mt_get_gpio_in() local
[all …]
A Dmtgpio_common.h108 uintptr_t mt_gpio_find_reg_addr(uint32_t pin);
/arm-trusted-firmware-2.8.0/drivers/st/gpio/
A Dstm32_gpio.c103 uint32_t pin; in dt_set_gpio_config() local
232 assert(pin <= GPIO_PIN_MAX); in set_gpio()
238 mode << (pin << 1)); in set_gpio()
242 type << pin); in set_gpio()
246 speed << (pin << 1)); in set_gpio()
250 pull << (pin << 1)); in set_gpio()
252 if (pin < GPIO_ALT_LOWER_LIMIT) { in set_gpio()
255 alternate << (pin << 2)); in set_gpio()
265 (uint32_t)GPIO_OD_MASK << pin, in set_gpio()
266 od << pin); in set_gpio()
[all …]
/arm-trusted-firmware-2.8.0/plat/st/common/include/
A Dstm32mp_shared_resources.h33 void stm32mp_register_secure_gpio(unsigned int bank, unsigned int pin);
34 void stm32mp_register_non_secure_gpio(unsigned int bank, unsigned int pin);
49 unsigned int pin __unused) in stm32mp_register_secure_gpio()
54 unsigned int pin __unused) in stm32mp_register_non_secure_gpio()
/arm-trusted-firmware-2.8.0/plat/mediatek/drivers/gpio/mt8188/
A Dmtgpio.c11 uintptr_t mt_gpio_find_reg_addr(uint32_t pin) in mt_gpio_find_reg_addr() argument
16 assert(pin < MAX_GPIO_PIN); in mt_gpio_find_reg_addr()
18 gpio_info = mt_pin_infos[pin]; in mt_gpio_find_reg_addr()
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8195/drivers/gpio/
A Dmtgpio.c11 uintptr_t mt_gpio_find_reg_addr(uint32_t pin) in mt_gpio_find_reg_addr() argument
16 assert(pin < MAX_GPIO_PIN); in mt_gpio_find_reg_addr()
18 gpio_info = mt_pin_infos[pin]; in mt_gpio_find_reg_addr()
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8186/drivers/gpio/
A Dmtgpio.c11 uintptr_t mt_gpio_find_reg_addr(uint32_t pin) in mt_gpio_find_reg_addr() argument
16 assert(pin < MAX_GPIO_PIN); in mt_gpio_find_reg_addr()
18 gpio_info = mt_pin_infos[pin]; in mt_gpio_find_reg_addr()
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8192/drivers/gpio/
A Dmtgpio.c11 uintptr_t mt_gpio_find_reg_addr(uint32_t pin) in mt_gpio_find_reg_addr() argument
16 assert(pin < MAX_GPIO_PIN); in mt_gpio_find_reg_addr()
18 gpio_info = mt_pin_infos[pin]; in mt_gpio_find_reg_addr()
/arm-trusted-firmware-2.8.0/plat/allwinner/common/
A Dsunxi_common.c86 void sunxi_set_gpio_out(char port, int pin, bool level_high) in sunxi_set_gpio_out() argument
99 mmio_setbits_32(port_base + 0x10, BIT(pin)); in sunxi_set_gpio_out()
101 mmio_clrbits_32(port_base + 0x10, BIT(pin)); in sunxi_set_gpio_out()
104 mmio_clrsetbits_32(port_base + (pin / 8) * 4, in sunxi_set_gpio_out()
105 0x7 << ((pin % 8) * 4), in sunxi_set_gpio_out()
106 0x1 << ((pin % 8) * 4)); in sunxi_set_gpio_out()
/arm-trusted-firmware-2.8.0/plat/st/stm32mp1/
A Dstm32mp1_shared_resources.c313 void stm32mp_register_secure_gpio(unsigned int bank, unsigned int pin) in stm32mp_register_secure_gpio() argument
317 register_periph(STM32MP1_SHRES_GPIOZ(pin), SHRES_SECURE); in stm32mp_register_secure_gpio()
325 void stm32mp_register_non_secure_gpio(unsigned int bank, unsigned int pin) in stm32mp_register_non_secure_gpio() argument
329 register_periph(STM32MP1_SHRES_GPIOZ(pin), SHRES_NON_SECURE); in stm32mp_register_non_secure_gpio()
558 uint32_t pin; in set_gpio_secure_configuration() local
560 for (pin = 0U; pin < get_gpioz_nbpin(); pin++) { in set_gpio_secure_configuration()
561 bool secure_state = periph_is_secure(STM32MP1_SHRES_GPIOZ(pin)); in set_gpio_secure_configuration()
563 set_gpio_secure_cfg(GPIO_BANK_Z, pin, secure_state); in set_gpio_secure_configuration()
A Dstm32mp1_private.c265 uint32_t pin; member
271 .pin = 3U,
275 .pin = 12U,
279 .pin = 2U,
283 .pin = 5U,
287 .pin = 7U,
291 .pin = 6U,
295 .pin = 0U,
304 set_gpio_reset_cfg(gpio_list[i].bank, gpio_list[i].pin); in stm32mp1_deconfigure_uart_pins()
/arm-trusted-firmware-2.8.0/drivers/brcm/
A Diproc_gpio.c33 #define GPIO_BANK(pin) ((pin) / NGPIOS_PER_BANK) argument
35 #define IPROC_GPIO_REG(pin, reg) (GPIO_BANK(pin) * GPIO_BANK_SIZE + (reg)) argument
36 #define IPROC_GPIO_SHIFT(pin) ((pin) % NGPIOS_PER_BANK) argument
/arm-trusted-firmware-2.8.0/include/drivers/st/
A Dstm32_gpio.h59 void set_gpio_secure_cfg(uint32_t bank, uint32_t pin, bool secure);
60 void set_gpio_reset_cfg(uint32_t bank, uint32_t pin);
/arm-trusted-firmware-2.8.0/plat/rockchip/rk3399/drivers/gpio/
A Drk3399_gpio.c54 #define GET_GPIO_PORT(pin) (pin / 32) argument
55 #define GET_GPIO_NUM(pin) (pin % 32) argument
56 #define GET_GPIO_BANK(pin) ((pin % 32) / 8) argument
57 #define GET_GPIO_ID(pin) ((pin % 32) % 8) argument
/arm-trusted-firmware-2.8.0/plat/allwinner/common/include/
A Dsunxi_private.h49 void sunxi_set_gpio_out(char port, int pin, bool level_high);
/arm-trusted-firmware-2.8.0/docs/plat/
A Dstm32mp1.rst17 The STM32MP13 series is available in 3 different lines which are pin-to-pin compatible:
32 The STM32MP15 series is available in 3 different lines which are pin-to-pin compatible:
/arm-trusted-firmware-2.8.0/plat/xilinx/zynqmp/pm_service/
A Dpm_api_pinctrl.c2079 enum pm_ret_status pm_api_pinctrl_get_pin_groups(uint32_t pin, in pm_api_pinctrl_get_pin_groups() argument
2086 if (pin >= MAX_PIN) { in pm_api_pinctrl_get_pin_groups()
2092 grps = *zynqmp_pin_groups[pin].groups; in pm_api_pinctrl_get_pin_groups()
A Dpm_api_pinctrl.h716 enum pm_ret_status pm_api_pinctrl_get_pin_groups(uint32_t pin,
/arm-trusted-firmware-2.8.0/docs/plat/marvell/armada/
A Dporting.rst76 Press reset and keep pressing the button connected to the chosen GPIO pin. A
/arm-trusted-firmware-2.8.0/docs/
A Dchange-log.md464 …- change pin-controller to pinctrl ([44fea93](https://review.trustedfirmware.org/plugins/gitiles/T…
1527 …- add a function to reset a pin ([737ad29](https://review.trustedfirmware.org/plugins/gitiles/TF-A…
4226 EEMI, PLL related PM, clock related PM, pin control related PM, reset
4338 instance, update for FMC2 pin muxing, and reduce MAX_XLAT_TABLES to 4

Completed in 49 milliseconds