Searched refs:sram_data (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/soc/sunxi/
H A Dsunxi_sram.c90 const struct sunxi_sram_data *sram_data; sunxi_sram_show() local
109 sram_data = match->data; for_each_child_of_node()
116 sram_data->name); for_each_child_of_node()
118 val = readl(base + sram_data->reg); for_each_child_of_node()
119 val >>= sram_data->offset; for_each_child_of_node()
120 val &= sram_data->width; for_each_child_of_node()
122 for (func = sram_data->func; func->func; func++) { for_each_child_of_node()
187 const struct sunxi_sram_data *sram_data; sunxi_sram_claim() local
198 sram_data = sunxi_sram_of_parse(dev->of_node, &device); sunxi_sram_claim()
199 if (IS_ERR(sram_data)) sunxi_sram_claim()
200 return PTR_ERR(sram_data); sunxi_sram_claim()
202 sram_desc = to_sram_desc(sram_data); sunxi_sram_claim()
211 mask = GENMASK(sram_data->offset + sram_data->width, sram_data->offset); sunxi_sram_claim()
212 val = readl(base + sram_data->reg); sunxi_sram_claim()
214 writel(val | ((device << sram_data->offset) & mask), sunxi_sram_claim()
215 base + sram_data->reg); sunxi_sram_claim()
225 const struct sunxi_sram_data *sram_data; sunxi_sram_release() local
231 sram_data = sunxi_sram_of_parse(dev->of_node, NULL); sunxi_sram_release()
232 if (IS_ERR(sram_data)) sunxi_sram_release()
235 sram_desc = to_sram_desc(sram_data); sunxi_sram_release()
/linux-4.4.14/drivers/media/common/b2c2/
H A Dflexcop_ibi_value_be.h385 u32 sram_data : 8; member in struct:__anon5742::__anon5785
H A Dflexcop_ibi_value_le.h381 u32 sram_data : 8; member in struct:__anon5793::__anon5836

Completed in 54 milliseconds