Lines Matching refs:ptr_line
57 const struct stm32_reset_cfg *ptr_line; in stm32_reset_update() local
59 ptr_line = stm32_get_reset_line(rcdev, id, &line_reset); in stm32_reset_update()
60 if (!ptr_line) in stm32_reset_update()
63 if (ptr_line->set_clr) { in stm32_reset_update()
66 addr = data->membase + ptr_line->offset; in stm32_reset_update()
70 writel(BIT(ptr_line->bit_idx), addr); in stm32_reset_update()
78 reg = readl(data->membase + ptr_line->offset); in stm32_reset_update()
81 reg |= BIT(ptr_line->bit_idx); in stm32_reset_update()
83 reg &= ~BIT(ptr_line->bit_idx); in stm32_reset_update()
85 writel(reg, data->membase + ptr_line->offset); in stm32_reset_update()
110 const struct stm32_reset_cfg *ptr_line; in stm32_reset_status() local
113 ptr_line = stm32_get_reset_line(rcdev, id, &line_reset); in stm32_reset_status()
114 if (!ptr_line) in stm32_reset_status()
117 reg = readl(data->membase + ptr_line->offset); in stm32_reset_status()
119 return !!(reg & BIT(ptr_line->bit_idx)); in stm32_reset_status()