| /netbsd-src/sys/arch/arm/sunxi/ |
| H A D | sunxi_gates.c | 78 struct sunxi_gate *gate; in sunxi_gates_clock_decode() local 85 TAILQ_FOREACH(gate, &sc->sc_gates, gates) in sunxi_gates_clock_decode() 86 if (gate->index == index) in sunxi_gates_clock_decode() 87 return &gate->base; in sunxi_gates_clock_decode() 100 struct sunxi_gate *gate; in sunxi_gates_clock_get() local 102 TAILQ_FOREACH(gate, &sc->sc_gates, gates) in sunxi_gates_clock_get() 103 if (strcmp(gate->base.name, name) == 0) in sunxi_gates_clock_get() 104 return &gate->base; in sunxi_gates_clock_get() 118 struct sunxi_gate *gate = (struct sunxi_gate *)clkp; in sunxi_gates_clock_get_rate() local 125 const bus_size_t gate_reg = GATE_REG(gate->index); in sunxi_gates_clock_get_rate() [all …]
|
| H A D | sunxi_ccu_gate.c | 43 struct sunxi_ccu_gate *gate = &clk->u.gate; in sunxi_ccu_gate_enable() local 48 val = CCU_READ(sc, gate->reg); in sunxi_ccu_gate_enable() 50 val |= gate->mask; in sunxi_ccu_gate_enable() 52 val &= ~gate->mask; in sunxi_ccu_gate_enable() 53 CCU_WRITE(sc, gate->reg, val); in sunxi_ccu_gate_enable() 61 struct sunxi_ccu_gate *gate = &clk->u.gate; in sunxi_ccu_gate_get_parent() local 65 return gate->parent; in sunxi_ccu_gate_get_parent()
|
| /netbsd-src/sys/arch/arm/amlogic/ |
| H A D | meson_clk_gate.c | 43 struct meson_clk_gate *gate = &clk->u.gate; in meson_clk_gate_enable() local 49 set = (gate->flags & MESON_CLK_GATE_SET_TO_DISABLE) ? !enable : enable; in meson_clk_gate_enable() 53 val = CLK_READ(sc, gate->reg); in meson_clk_gate_enable() 55 val |= gate->mask; in meson_clk_gate_enable() 57 val &= ~gate->mask; in meson_clk_gate_enable() 58 CLK_WRITE(sc, gate->reg, val); in meson_clk_gate_enable() 68 struct meson_clk_gate *gate = &clk->u.gate; in meson_clk_gate_get_parent() local 72 return gate->parent; in meson_clk_gate_get_parent()
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| H A D | socfpga.dtsi | 304 compatible = "altr,socfpga-gate-clk"; 306 clk-gate = <0x60 0>; 318 compatible = "altr,socfpga-gate-clk"; 321 clk-gate = <0x60 1>; 326 compatible = "altr,socfpga-gate-clk"; 333 compatible = "altr,socfpga-gate-clk"; 336 clk-gate = <0x60 2>; 341 compatible = "altr,socfpga-gate-clk"; 344 clk-gate = <0x60 3>; 349 compatible = "altr,socfpga-gate-clk"; [all …]
|
| H A D | am35xx-clocks.dtsi | 10 compatible = "ti,am35xx-gate-clock"; 18 compatible = "ti,gate-clock"; 26 compatible = "ti,am35xx-gate-clock"; 34 compatible = "ti,gate-clock"; 42 compatible = "ti,am35xx-gate-clock"; 50 compatible = "ti,gate-clock"; 58 compatible = "ti,am35xx-gate-clock"; 95 compatible = "ti,wait-gate-clock";
|
| H A D | omap24xx-clocks.dtsi | 194 compatible = "ti,composite-no-wait-gate-clock"; 225 compatible = "ti,gate-clock"; 242 compatible = "ti,composite-gate-clock"; 272 compatible = "ti,composite-gate-clock"; 295 compatible = "ti,composite-gate-clock"; 318 compatible = "ti,wait-gate-clock"; 344 compatible = "ti,composite-no-wait-gate-clock"; 444 compatible = "ti,composite-no-wait-gate-clock"; 466 compatible = "ti,wait-gate-clock"; 474 compatible = "ti,composite-gate-clock"; [all …]
|
| H A D | omap3xxx-clocks.dtsi | 33 compatible = "ti,gate-clock"; 219 compatible = "ti,gate-clock"; 261 compatible = "ti,gate-clock"; 376 compatible = "ti,gate-clock"; 435 compatible = "ti,gate-clock"; 463 compatible = "ti,gate-clock"; 491 compatible = "ti,gate-clock"; 508 compatible = "ti,composite-no-wait-gate-clock"; 592 compatible = "ti,composite-gate-clock"; 614 compatible = "ti,composite-gate-clock"; [all …]
|
| H A D | omap36xx-am35xx-omap3430es2plus-clocks.dtsi | 45 compatible = "ti,composite-gate-clock"; 106 compatible = "ti,wait-gate-clock"; 114 compatible = "ti,gate-clock"; 122 compatible = "ti,gate-clock"; 130 compatible = "ti,wait-gate-clock"; 154 compatible = "ti,wait-gate-clock"; 162 compatible = "ti,dss-gate-clock"; 179 compatible = "ti,gate-clock"; 187 compatible = "ti,dss-gate-clock";
|
| H A D | omap36xx-clocks.dtsi | 17 compatible = "ti,hsdiv-gate-clock"; 27 compatible = "ti,hsdiv-gate-clock"; 36 compatible = "ti,hsdiv-gate-clock"; 45 compatible = "ti,hsdiv-gate-clock"; 54 compatible = "ti,hsdiv-gate-clock"; 63 compatible = "ti,wait-gate-clock";
|
| H A D | socfpga_arria10.dtsi | 335 compatible = "altr,socfpga-a10-gate-clk"; 338 clk-gate = <0x48 1>; 343 compatible = "altr,socfpga-a10-gate-clk"; 346 clk-gate = <0x48 2>; 351 compatible = "altr,socfpga-a10-gate-clk"; 354 clk-gate = <0x48 3>; 359 compatible = "altr,socfpga-a10-gate-clk"; 362 clk-gate = <0x48 0>; 367 compatible = "altr,socfpga-a10-gate-clk"; 369 clk-gate = <0xC8 5>; [all …]
|
| H A D | omap2420-clocks.dtsi | 11 compatible = "ti,composite-no-wait-gate-clock"; 67 compatible = "ti,composite-gate-clock"; 98 compatible = "ti,wait-gate-clock"; 114 compatible = "ti,wait-gate-clock"; 130 compatible = "ti,wait-gate-clock"; 146 compatible = "ti,wait-gate-clock"; 154 compatible = "ti,wait-gate-clock"; 162 compatible = "ti,wait-gate-clock"; 178 compatible = "ti,composite-gate-clock";
|
| H A D | omap2430-clocks.dtsi | 54 compatible = "ti,composite-gate-clock"; 116 compatible = "ti,composite-gate-clock"; 132 compatible = "ti,composite-gate-clock"; 148 compatible = "ti,composite-gate-clock"; 164 compatible = "ti,wait-gate-clock"; 212 compatible = "ti,wait-gate-clock"; 228 compatible = "ti,wait-gate-clock"; 244 compatible = "ti,wait-gate-clock"; 260 compatible = "ti,wait-gate-clock"; 268 compatible = "ti,wait-gate-clock";
|
| H A D | omap3430es1-clocks.dtsi | 10 compatible = "ti,wait-gate-clock"; 35 compatible = "ti,wait-gate-clock"; 43 compatible = "ti,wait-gate-clock"; 51 compatible = "ti,wait-gate-clock"; 59 compatible = "ti,wait-gate-clock"; 67 compatible = "ti,composite-no-wait-gate-clock"; 154 compatible = "ti,gate-clock";
|
| H A D | omap34xx-omap36xx-clocks.dtsi | 50 compatible = "ti,gate-clock"; 67 compatible = "ti,gate-clock"; 131 compatible = "ti,wait-gate-clock"; 139 compatible = "ti,wait-gate-clock"; 184 compatible = "ti,wait-gate-clock"; 216 compatible = "ti,wait-gate-clock";
|
| /netbsd-src/sys/arch/arm/nxp/ |
| H A D | imx_ccm_gate.c | 43 struct imx_ccm_gate *gate = &clk->u.gate; in imx_ccm_gate_enable() local 48 val = CCM_READ(sc, clk->regidx, gate->reg); in imx_ccm_gate_enable() 50 val |= gate->mask; in imx_ccm_gate_enable() 52 val &= ~gate->mask; in imx_ccm_gate_enable() 53 CCM_WRITE(sc, clk->regidx, gate->reg, val); in imx_ccm_gate_enable() 62 struct imx_ccm_gate *gate = &clk->u.gate; in imx_ccm_gate_get_parent() local 66 return gate->parent; in imx_ccm_gate_get_parent()
|
| H A D | imx6_ccm.c | 566 struct imx6_clk_gate *gate = &iclk->clk.gate; in imxccm_clk_enable_gate() local 571 if (gate->base == IMX6_CLK_REG_CCM_ANALOG) in imxccm_clk_enable_gate() 576 uint32_t v = bus_space_read_4(sc->sc_iot, ioh, gate->reg); in imxccm_clk_enable_gate() 578 if (gate->exclusive_mask) in imxccm_clk_enable_gate() 579 v &= ~gate->exclusive_mask; in imxccm_clk_enable_gate() 580 v |= gate->mask; in imxccm_clk_enable_gate() 582 if (gate->exclusive_mask) in imxccm_clk_enable_gate() 583 v |= gate->exclusive_mask; in imxccm_clk_enable_gate() 584 v &= ~gate in imxccm_clk_enable_gate() [all...] |
| /netbsd-src/sys/arch/arm/rockchip/ |
| H A D | rk_cru_gate.c | 43 struct rk_cru_gate *gate = &clk->u.gate; in rk_cru_gate_enable() local 47 const uint32_t write_mask = gate->mask << 16; in rk_cru_gate_enable() 48 const uint32_t write_val = enable ? 0 : gate->mask; in rk_cru_gate_enable() 50 CRU_WRITE(sc, gate->reg, write_mask | write_val); in rk_cru_gate_enable() 59 struct rk_cru_gate *gate = &clk->u.gate; in rk_cru_gate_get_parent() local 63 return gate->parent; in rk_cru_gate_get_parent()
|
| /netbsd-src/usr.bin/rump_dhcpclient/ |
| H A D | configure.c | 91 if (rt->gate.s_addr == INADDR_ANY) in desc_route() 94 else if (rt->gate.s_addr == rt->dest.s_addr && in desc_route() 100 inet_ntoa(rt->gate)); in desc_route() 103 addr, inet_ntocidr(rt->net), inet_ntoa(rt->gate)); in desc_route() 135 if (!add_route(iface, &rt->dest, &rt->net, &rt->gate, iface->metric)) in n_route() 141 rt->gate.s_addr == 0) in n_route() 163 del_route(ort->iface, &ort->dest, &ort->net, &ort->gate, in c_route() 165 if (!add_route(iface, &nrt->dest, &nrt->net, &nrt->gate, in c_route() 178 retval = del_route(iface, &rt->dest, &rt->net, &rt->gate, metric); in d_route() 202 rt->gate.s_addr = 0; in get_subnet_route() [all …]
|
| H A D | net.h | 84 struct in_addr gate; member 126 #define add_route(iface, dest, mask, gate, metric) \ argument 127 if_route(iface, dest, mask, gate, metric, 1) 128 #define change_route(iface, dest, mask, gate, metric) \ argument 129 if_route(iface, dest, mask, gate, metric, 0) 130 #define del_route(iface, dest, mask, gate, metric) \ argument 131 if_route(iface, dest, mask, gate, metric, -1) 132 #define del_src_route(iface, dest, mask, gate, metric) \ argument 133 if_route(iface, dest, mask, gate, metric, -2)
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/sprd/ |
| H A D | sharkl3.dtsi | 27 apahb_gate: apahb-gate { 28 compatible = "sprd,sc9863a-apahb-gate"; 42 pmu_gate: pmu-gate { 43 compatible = "sprd,sc9863a-pmu-gate"; 59 aonapb_gate: aonapb-gate { 60 compatible = "sprd,sc9863a-aonapb-gate"; 138 mm_gate: mm-gate { 139 compatible = "sprd,sc9863a-mm-gate"; 153 apapb_gate: apapb-gate { 154 compatible = "sprd,sc9863a-apapb-gate";
|
| H A D | sc9860.dtsi | 188 pmu_gate: pmu-gate { 189 compatible = "sprd,sc9860-pmu-gate"; 218 apahb_gate: apahb-gate { 219 compatible = "sprd,sc9860-apahb-gate"; 225 aon_gate: aon-gate { 226 compatible = "sprd,sc9860-aon-gate"; 239 agcp_gate: agcp-gate { 240 compatible = "sprd,sc9860-agcp-gate"; 260 vsp_gate: vsp-gate { 261 compatible = "sprd,sc9860-vsp-gate"; [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | tree-ssa-loop.cc | 70 virtual bool gate (function *) { return flag_tree_loop_optimize; } in gate() function in __anondeb245690111::pass_fix_loops 137 virtual bool gate (function *fn) { return gate_loop (fn); } in gate() function in __anondeb245690211::pass_tree_loop 192 virtual bool gate (function *fn) { return gate_oacc_kernels (fn); } in gate() function in __anondeb245690311::pass_oacc_kernels 229 virtual bool gate (function *) in gate() function in __anondeb245690411::pass_ipa_oacc 306 virtual bool gate (function *fn) { return !gate_loop (fn); } in gate() function in __anondeb245690611::pass_tree_no_loop 398 virtual bool gate (function *) { return flag_tree_scev_cprop; } in gate() function in __anondeb245690811::pass_scev_cprop 449 virtual bool gate (function *) { return flag_ivopts != 0; } in gate() function in __anondeb245690911::pass_iv_optimize
|
| H A D | loop-init.cc | 360 virtual bool gate (function *); 365 pass_loop2::gate (function *fun) in gate() function in __anon66daba190111::pass_loop2 526 virtual bool gate (function *) { return flag_move_loop_invariants; } in gate() function in __anon66daba190411::pass_rtl_move_loop_invariants 568 virtual bool gate (function *) in gate() function in __anon66daba190511::pass_rtl_unroll_loops 628 virtual bool gate (function *); 634 pass_rtl_doloop::gate (function *) in gate() function in __anon66daba190611::pass_rtl_doloop
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | tree-ssa-loop.c | 70 virtual bool gate (function *) { return flag_tree_loop_optimize; } in gate() function 137 virtual bool gate (function *fn) { return gate_loop (fn); } in gate() function 193 virtual bool gate (function *fn) { return gate_oacc_kernels (fn); } in gate() function 230 virtual bool gate (function *) in gate() function 307 virtual bool gate (function *fn) { return !gate_loop (fn); } in gate() function 399 virtual bool gate (function *fun) in gate() function 450 virtual bool gate (function *) { return flag_tree_scev_cprop; } in gate() function 502 virtual bool gate (function *) { return flag_ivopts != 0; } in gate() function
|
| /netbsd-src/sbin/routed/ |
| H A D | rdisc.c | 411 naddr gate; in del_rdisc() local 415 del_redirects(gate = drp->dr_gate, 0); in del_rdisc() 437 naddr_ntoa(gate), ifp->int_name, i); in del_rdisc() 441 naddr_ntoa(gate), ifp->int_name); in del_rdisc() 448 naddr_ntoa(gate), ifp->int_name); in del_rdisc() 576 naddr gate, in parse_ad() argument 585 if (gate == RIP_DEFAULT in parse_ad() 586 || !check_dst(gate)) { in parse_ad() 589 naddr_ntoa(gate)); in parse_ad() 595 if (ifwithaddr(gate, 1, 0) != 0) { in parse_ad() [all …]
|