Home
last modified time | relevance | path

Searched refs:tgate (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/arch/arm/nvidia/
H A Dtegra124_car.c1365 struct tegra_gate_clk *tgate = &tclk->u.gate; in tegra124_car_clock_enable_gate() local
1372 if (tgate->set_reg == tgate->clr_reg) { in tegra124_car_clock_enable_gate()
1373 uint32_t v = bus_space_read_4(bst, bsh, tgate->set_reg); in tegra124_car_clock_enable_gate()
1375 v |= tgate->bits; in tegra124_car_clock_enable_gate()
1377 v &= ~tgate->bits; in tegra124_car_clock_enable_gate()
1379 bus_space_write_4(bst, bsh, tgate->set_reg, v); in tegra124_car_clock_enable_gate()
1382 reg = tgate->set_reg; in tegra124_car_clock_enable_gate()
1384 reg = tgate->clr_reg; in tegra124_car_clock_enable_gate()
1388 tgate->bits == CAR_DEV_V_SATA) { in tegra124_car_clock_enable_gate()
1394 bus_space_write_4(bst, bsh, reg, tgate->bits); in tegra124_car_clock_enable_gate()
H A Dtegra210_car.c1463 struct tegra_gate_clk *tgate = &tclk->u.gate; in tegra210_car_clock_enable_gate() local
1470 if (tgate->set_reg == tgate->clr_reg) { in tegra210_car_clock_enable_gate()
1471 uint32_t v = bus_space_read_4(bst, bsh, tgate->set_reg); in tegra210_car_clock_enable_gate()
1473 v |= tgate->bits; in tegra210_car_clock_enable_gate()
1475 v &= ~tgate->bits; in tegra210_car_clock_enable_gate()
1477 bus_space_write_4(bst, bsh, tgate->set_reg, v); in tegra210_car_clock_enable_gate()
1480 reg = tgate->set_reg; in tegra210_car_clock_enable_gate()
1482 reg = tgate->clr_reg; in tegra210_car_clock_enable_gate()
1484 bus_space_write_4(bst, bsh, reg, tgate->bits); in tegra210_car_clock_enable_gate()
/netbsd-src/sbin/routed/
H A Dparms.c53 struct tgate *tgates;
592 struct tgate *tg; in parse_parms()
822 tg = (struct tgate *)rtmalloc(sizeof(*tg), in parse_parms()
H A Ddefs.h427 extern struct tgate { struct
428 struct tgate *tgate_next; argument
H A Dinput.c155 struct tgate *tg = 0; in input()