Lines Matching refs:gpio_data
1414 uint16_t gpio_data;
1428 gpio_data = RD_REG_WORD_PIO(PIO_REG(ha, gpiod));
1431 gpio_data = RD_REG_WORD(®->gpiod);
1447 gpio_data &= ~GPIO_LED_MASK;
1450 gpio_data |= led_color;
1452 /* Set the modified gpio_data values */
1454 WRT_REG_WORD_PIO(PIO_REG(ha, gpiod), gpio_data);
1456 WRT_REG_WORD(®->gpiod, gpio_data);
1467 uint16_t gpio_data;
1485 gpio_data = RD_REG_WORD_PIO(PIO_REG(ha, gpiod));
1488 gpio_data = RD_REG_WORD(®->gpiod);
1501 gpio_data &= ~GPIO_LED_MASK;
1503 WRT_REG_WORD_PIO(PIO_REG(ha, gpiod), gpio_data);
1505 WRT_REG_WORD(®->gpiod, gpio_data);
1566 uint32_t gpio_data;
1573 gpio_data = RD_REG_DWORD(®->gpiod);
1575 /* Enable the gpio_data reg for update. */
1576 gpio_data |= GPDX_LED_UPDATE_MASK;
1578 WRT_REG_DWORD(®->gpiod, gpio_data);
1579 gpio_data = RD_REG_DWORD(®->gpiod);
1585 gpio_data &= ~GPDX_LED_COLOR_MASK;
1588 gpio_data |= led_color;
1590 /* Set the modified gpio_data values. */
1591 WRT_REG_DWORD(®->gpiod, gpio_data);
1592 gpio_data = RD_REG_DWORD(®->gpiod);
1599 uint32_t gpio_data;
1622 gpio_data = RD_REG_DWORD(®->gpiod);
1624 /* Enable the gpio_data reg for update. */
1625 gpio_data |= GPDX_LED_UPDATE_MASK;
1626 WRT_REG_DWORD(®->gpiod, gpio_data);
1644 uint32_t gpio_data;
1659 gpio_data = RD_REG_DWORD(®->gpiod);
1661 /* Disable the gpio_data reg for update. */
1662 gpio_data &= ~GPDX_LED_UPDATE_MASK;
1663 WRT_REG_DWORD(®->gpiod, gpio_data);