Searched refs:ptr_line (Results 1 – 2 of 2) sorted by relevance
57 const struct stm32_reset_cfg *ptr_line; in stm32_reset_update() local59 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()[all …]
34 #define vfe_line_array(ptr_line) \ argument35 ((const struct vfe_line (*)[]) &(ptr_line)[-(ptr_line)->id])37 #define to_vfe(ptr_line) \ argument38 container_of(vfe_line_array(ptr_line), struct vfe_device, line)