Lines Matching refs:ctl_val
136 u32 ctl_val; in v5l2_probe() local
138 ctl_val = readl(®s->control); in v5l2_probe()
140 if (!(ctl_val & L2_ENABLE)) in v5l2_probe()
141 ctl_val |= L2_ENABLE; in v5l2_probe()
144 ctl_val &= ~(IPREPETCH_MSK); in v5l2_probe()
145 ctl_val |= (plat->iprefetch << IPREPETCH_OFF); in v5l2_probe()
149 ctl_val &= ~(DPREPETCH_MSK); in v5l2_probe()
150 ctl_val |= (plat->dprefetch << DPREPETCH_OFF); in v5l2_probe()
154 ctl_val &= ~(TRAMOCTL_MSK | TRAMICTL_MSK); in v5l2_probe()
155 ctl_val |= plat->tram_ctl[0] << TRAMOCTL_OFF; in v5l2_probe()
156 ctl_val |= plat->tram_ctl[1] << TRAMICTL_OFF; in v5l2_probe()
160 ctl_val &= ~(DRAMOCTL_MSK | DRAMICTL_MSK); in v5l2_probe()
161 ctl_val |= plat->dram_ctl[0] << DRAMOCTL_OFF; in v5l2_probe()
162 ctl_val |= plat->dram_ctl[1] << DRAMICTL_OFF; in v5l2_probe()
165 writel(ctl_val, ®s->control); in v5l2_probe()