Searched refs:on (Results 1 – 14 of 14) sorted by relevance
| /platform/cc13xx/ |
| A D | gpio.c | 28 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 29 GPIO_writeDio(nr, on); in gpio_set()
|
| /platform/lpc43xx/ |
| A D | gpio.c | 23 inline void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 24 writel(on, GPIO_WORD(nr)); in gpio_set()
|
| /platform/nrf52xxx/ |
| A D | gpio.c | 37 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 40 nrf_gpio_pin_write(nr, on); in gpio_set()
|
| /platform/nrf51xxx/ |
| A D | gpio.c | 40 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 43 if (on > 0) { in gpio_set()
|
| /platform/bcm28xx/ |
| A D | gpio.c | 31 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 33 *GPIOREG(on ? GPIO_GPSET0 : GPIO_GPCLR0, nr) = 1 << offset; in gpio_set()
|
| /platform/sifive/ |
| A D | gpio.c | 89 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 96 if (on) { in gpio_set()
|
| /platform/stm32f1xx/ |
| A D | gpio.c | 83 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 84 GPIO_WriteBit(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on); in gpio_set()
|
| /platform/stm32f2xx/ |
| A D | gpio.c | 88 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 89 GPIO_WriteBit(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on); in gpio_set()
|
| /platform/stm32f4xx/ |
| A D | gpio.c | 88 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 89 GPIO_WriteBit(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on); in gpio_set()
|
| /platform/stellaris/ |
| A D | gpio.c | 118 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 119 …GPIOPinWrite((unsigned int)port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on ? (1 << GPIO_PIN(… in gpio_set()
|
| /platform/stm32f7xx/ |
| A D | gpio.c | 132 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 133 HAL_GPIO_WritePin(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on); in gpio_set()
|
| /platform/stm32f0xx/ |
| A D | gpio.c | 177 void gpio_set(unsigned nr, unsigned on) { in gpio_set() argument 179 if (on) { in gpio_set()
|
| /platform/rosco-m68k/ |
| A D | duart.c | 241 void target_set_debug_led(unsigned int led, bool on) { in target_set_debug_led() argument 254 if (on) { in target_set_debug_led()
|
| /platform/zynq/ |
| A D | gpio.c | 210 void gpio_set(unsigned gpio, unsigned on) { in gpio_set() argument 224 *REG32(reg) = (~(1 << bit) << 16) | (!!on << bit); in gpio_set()
|
Completed in 25 milliseconds