Lines Matching defs:xr_reg
1617 unsigned int *xr_reg,
1626 *xr_reg = PEB2466_XR0;
1632 *xr_reg = PEB2466_XR1;
1638 *xr_reg = PEB2466_XR3;
1646 unsigned int *xr_reg,
1654 *xr_reg = PEB2466_XR2;
1659 *xr_reg = PEB2466_XR3;
1667 unsigned int xr_reg)
1671 switch (xr_reg) {
1691 static int peb2466_chip_gpio_update_bits(struct peb2466 *peb2466, unsigned int xr_reg,
1707 cache = peb2466_chip_gpio_get_cache(peb2466, xr_reg);
1717 ret = regmap_write(peb2466->regmap, xr_reg, tmp);
1732 unsigned int xr_reg;
1746 ret = peb2466_chip_gpio_offset_to_data_regmask(offset, &xr_reg, &mask);
1753 ret = peb2466_chip_gpio_update_bits(peb2466, xr_reg, mask, val ? mask : 0);
1756 offset, xr_reg, mask, ret);
1765 unsigned int xr_reg;
1779 ret = peb2466_chip_gpio_offset_to_data_regmask(offset, &xr_reg, &mask);
1787 cache = peb2466_chip_gpio_get_cache(peb2466, xr_reg);
1792 ret = regmap_read(peb2466->regmap, xr_reg, &val);
1795 offset, xr_reg, mask, ret);
1806 unsigned int xr_reg;
1820 ret = peb2466_chip_gpio_offset_to_dir_regmask(offset, &xr_reg, &mask);
1827 ret = regmap_read(peb2466->regmap, xr_reg, &val);
1830 offset, xr_reg, mask, ret);
1840 unsigned int xr_reg;
1853 ret = peb2466_chip_gpio_offset_to_dir_regmask(offset, &xr_reg, &mask);
1860 ret = peb2466_chip_gpio_update_bits(peb2466, xr_reg, mask, 0);
1863 offset, xr_reg, mask, ret);
1873 unsigned int xr_reg;
1889 ret = peb2466_chip_gpio_offset_to_dir_regmask(offset, &xr_reg, &mask);
1896 ret = peb2466_chip_gpio_update_bits(peb2466, xr_reg, mask, mask);
1899 offset, xr_reg, mask, ret);