Lines Matching defs:tdiv
1235 struct tegra_div_clk *tdiv = &tclk->u.div;
1246 const uint32_t v = bus_space_read_4(bst, bsh, tdiv->reg);
1247 const u_int raw_div = __SHIFTOUT(v, tdiv->bits);
1249 switch (tdiv->reg) {
1282 struct tegra_div_clk *tdiv = &tclk->u.div;
1296 v = bus_space_read_4(bst, bsh, tdiv->reg);
1298 raw_div = __SHIFTOUT(tdiv->bits, tdiv->bits);
1300 switch (tdiv->reg) {
1353 v &= ~tdiv->bits;
1354 v |= __SHIFTIN(raw_div, tdiv->bits);
1356 bus_space_write_4(bst, bsh, tdiv->reg, v);