Lines Matching refs:gpio_data
802 uint16_t gpio_data;
815 gpio_data = RD_REG_WORD_PIO(®->gpiod);
818 gpio_data = RD_REG_WORD(®->gpiod);
834 gpio_data &= ~GPIO_LED_MASK;
837 gpio_data |= led_color;
839 /* Set the modified gpio_data values */
841 WRT_REG_WORD_PIO(®->gpiod, gpio_data);
843 WRT_REG_WORD(®->gpiod, gpio_data);
854 uint16_t gpio_data;
874 gpio_data = RD_REG_WORD_PIO(®->gpiod);
877 gpio_data = RD_REG_WORD(®->gpiod);
890 gpio_data &= ~GPIO_LED_MASK;
892 WRT_REG_WORD_PIO(®->gpiod, gpio_data);
894 WRT_REG_WORD(®->gpiod, gpio_data);
954 uint32_t gpio_data;
960 gpio_data = RD_REG_DWORD(®->gpiod);
962 /* Enable the gpio_data reg for update. */
963 gpio_data |= GPDX_LED_UPDATE_MASK;
965 WRT_REG_DWORD(®->gpiod, gpio_data);
966 gpio_data = RD_REG_DWORD(®->gpiod);
972 gpio_data &= ~GPDX_LED_COLOR_MASK;
975 gpio_data |= led_color;
977 /* Set the modified gpio_data values. */
978 WRT_REG_DWORD(®->gpiod, gpio_data);
979 gpio_data = RD_REG_DWORD(®->gpiod);
986 uint32_t gpio_data;
1005 gpio_data = RD_REG_DWORD(®->gpiod);
1007 /* Enable the gpio_data reg for update. */
1008 gpio_data |= GPDX_LED_UPDATE_MASK;
1009 WRT_REG_DWORD(®->gpiod, gpio_data);
1027 uint32_t gpio_data;
1038 gpio_data = RD_REG_DWORD(®->gpiod);
1040 /* Disable the gpio_data reg for update. */
1041 gpio_data &= ~GPDX_LED_UPDATE_MASK;
1042 WRT_REG_DWORD(®->gpiod, gpio_data);