Lines Matching refs:pid
50 uint32_t pid; /* Peripheral ID on SPMI bus */ member
57 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_set_direction()
117 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_get_function()
139 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_get_value()
153 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_set_value()
173 priv->pid = dev_read_addr(dev); in pm8916_gpio_probe()
174 if (priv->pid == FDT_ADDR_T_NONE) in pm8916_gpio_probe()
178 reg = pmic_reg_read(dev->parent, priv->pid + REG_TYPE); in pm8916_gpio_probe()
182 reg = pmic_reg_read(dev->parent, priv->pid + REG_SUBTYPE); in pm8916_gpio_probe()
232 int reg = pmic_reg_read(dev->parent, priv->pid + PON_INT_RT_STS); in pm8941_pwrkey_get_value()
258 priv->pid = devfdt_get_addr(dev); in pm8941_pwrkey_probe()
259 if (priv->pid == FDT_ADDR_T_NONE) in pm8941_pwrkey_probe()
263 reg = pmic_reg_read(dev->parent, priv->pid + REG_TYPE); in pm8941_pwrkey_probe()
267 reg = pmic_reg_read(dev->parent, priv->pid + REG_SUBTYPE); in pm8941_pwrkey_probe()