Home
last modified time | relevance | path

Searched refs:gpio_bit (Results 1 – 2 of 2) sorted by relevance

/u-boot/drivers/usb/host/
A Ddwc3-octeon-glue.c75 u64 gpio_bit; in dwc3_octeon_config_power() local
100 gpio_bit = ioread64(gpio_bit_cfg); in dwc3_octeon_config_power()
101 gpio_bit |= GPIO_BIT_CFG_TX_OE; in dwc3_octeon_config_power()
102 gpio_bit &= ~GPIO_BIT_CFG_OUTPUT_SEL; in dwc3_octeon_config_power()
105 iowrite64(gpio_bit, gpio_bit_cfg); in dwc3_octeon_config_power()
107 gpio_bit = ioread64(gpio_bit_cfg); in dwc3_octeon_config_power()
108 gpio_bit |= GPIO_BIT_CFG_TX_OE; in dwc3_octeon_config_power()
112 iowrite64(gpio_bit, gpio_bit_cfg); in dwc3_octeon_config_power()
116 gpio_bit = ioread64(gpio_bit_cfg); in dwc3_octeon_config_power()
117 gpio_bit |= GPIO_BIT_CFG_TX_OE; in dwc3_octeon_config_power()
[all …]
/u-boot/drivers/gpio/
A Dadi_gpio2.c53 #define is_reserved(m, i, e) (map_entry(m, i) & gpio_bit(i))
54 #define reserve(m, i) (map_entry(m, i) |= gpio_bit(i))
55 #define unreserve(m, i) (map_entry(m, i) &= ~gpio_bit(i))
78 gpio_array[gpio_bank(gpio)]->port_fer &= ~gpio_bit(gpio); in port_setup()
80 gpio_array[gpio_bank(gpio)]->port_fer |= gpio_bit(gpio); in port_setup()
348 gpio_array[gpio_bank(gpio)]->dir_clear = gpio_bit(gpio); in __gpio_direction_input()
350 gpio_array[gpio_bank(gpio)]->inen |= gpio_bit(gpio); in __gpio_direction_input()
352 gpio_array[gpio_bank(gpio)]->inen_set = gpio_bit(gpio); in __gpio_direction_input()
375 gpio_array[gpio_bank(gpio)]->data_set = gpio_bit(gpio); in gpio_set_value()
394 gpio_array[gpio_bank(gpio)]->inen &= ~gpio_bit(gpio); in gpio_direction_output()
[all …]

Completed in 5 milliseconds