Home
last modified time | relevance | path

Searched refs:ptr_line (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/clk/stm32/
H A Dreset-stm32.c57 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()
[all …]
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-vfe.h34 #define vfe_line_array(ptr_line) \ argument
35 ((const struct vfe_line (*)[]) &(ptr_line)[-(ptr_line)->id])
37 #define to_vfe(ptr_line) \ argument
38 container_of(vfe_line_array(ptr_line), struct vfe_device, line)