/src/sys/arch/arm/nxp/ |
imx_ccm_gate.c | 43 struct imx_ccm_gate *gate = &clk->u.gate; local in function:imx_ccm_gate_enable 48 val = CCM_READ(sc, clk->regidx, gate->reg); 50 val |= gate->mask; 52 val &= ~gate->mask; 53 CCM_WRITE(sc, clk->regidx, gate->reg, val); 62 struct imx_ccm_gate *gate = &clk->u.gate; local in function:imx_ccm_gate_get_parent 66 return gate->parent;
|
imx6_ccm.c | 566 struct imx6_clk_gate *gate = &iclk->clk.gate; local in function:imxccm_clk_enable_gate 571 if (gate->base == IMX6_CLK_REG_CCM_ANALOG) 576 uint32_t v = bus_space_read_4(sc->sc_iot, ioh, gate->reg); 578 if (gate->exclusive_mask) 579 v &= ~gate->exclusive_mask; 580 v |= gate->mask; 582 if (gate->exclusive_mask) 583 v |= gate->exclusive_mask; 584 v &= ~gate->mask [all...] |
imx_ccm.h | 74 /* Gate clocks */ 96 .u.gate.parent = (_pname), \ 97 .u.gate.reg = (_reg), \ 98 .u.gate.mask = (_mask), \ 296 struct imx_ccm_gate gate; member in union:imx_ccm_clk::__anonc463f8b2010a
|
imx6_ccmvar.h | 157 struct imx6_clk_gate gate; member in union:imx6_clk::__anonecf51291010a 292 .gate = { \ 306 .gate = { \
|
/src/sys/arch/arm/sunxi/ |
sunxi_ccu_gate.c | 43 struct sunxi_ccu_gate *gate = &clk->u.gate; local in function:sunxi_ccu_gate_enable 48 val = CCU_READ(sc, gate->reg); 50 val |= gate->mask; 52 val &= ~gate->mask; 53 CCU_WRITE(sc, gate->reg, val); 61 struct sunxi_ccu_gate *gate = &clk->u.gate; local in function:sunxi_ccu_gate_get_parent 65 return gate->parent;
|
sunxi_gates.c | 78 struct sunxi_gate *gate; local in function:sunxi_gates_clock_decode 85 TAILQ_FOREACH(gate, &sc->sc_gates, gates) 86 if (gate->index == index) 87 return &gate->base; 100 struct sunxi_gate *gate; local in function:sunxi_gates_clock_get 102 TAILQ_FOREACH(gate, &sc->sc_gates, gates) 103 if (strcmp(gate->base.name, name) == 0) 104 return &gate->base; 118 struct sunxi_gate *gate = (struct sunxi_gate *)clkp; local in function:sunxi_gates_clock_get_rate 125 const bus_size_t gate_reg = GATE_REG(gate->index) 138 struct sunxi_gate *gate = (struct sunxi_gate *)clkp; local in function:sunxi_gates_clock_enable 155 struct sunxi_gate *gate = (struct sunxi_gate *)clkp; local in function:sunxi_gates_clock_disable 188 struct sunxi_gate *gate; local in function:sunxi_gates_print 219 struct sunxi_gate *gate; local in function:sunxi_gates_attach [all...] |
sunxi_ccu.h | 86 .u.gate.parent = (_pname), \ 87 .u.gate.reg = (_reg), \ 88 .u.gate.mask = __BIT(_bit), \ 450 struct sunxi_ccu_gate gate; member in union:sunxi_ccu_clk::__anonaec1cae4010a
|
/src/sys/arch/arm/amlogic/ |
meson_clk_gate.c | 43 struct meson_clk_gate *gate = &clk->u.gate; local in function:meson_clk_gate_enable 49 set = (gate->flags & MESON_CLK_GATE_SET_TO_DISABLE) ? !enable : enable; 53 val = CLK_READ(sc, gate->reg); 55 val |= gate->mask; 57 val &= ~gate->mask; 58 CLK_WRITE(sc, gate->reg, val); 68 struct meson_clk_gate *gate = &clk->u.gate; local in function:meson_clk_gate_get_parent 72 return gate->parent [all...] |
meson_clk.h | 89 * Gate clocks 110 .u.gate.parent = (_pname), \ 111 .u.gate.reg = (_reg), \ 112 .u.gate.mask = __BIT(_bit), \ 113 .u.gate.flags = (_flags), \ 337 struct meson_clk_gate gate; member in union:meson_clk_clk::__anon83605c73010a
|
/src/sys/arch/arm/rockchip/ |
rk_cru_gate.c | 43 struct rk_cru_gate *gate = &clk->u.gate; local in function:rk_cru_gate_enable 47 const uint32_t write_mask = gate->mask << 16; 48 const uint32_t write_val = enable ? 0 : gate->mask; 50 CRU_WRITE(sc, gate->reg, write_mask | write_val); 59 struct rk_cru_gate *gate = &clk->u.gate; local in function:rk_cru_gate_get_parent 63 return gate->parent;
|
rk_eqos.c | 189 uint32_t clksel, gate; local in function:rk3588_eqos_clock_selection 193 gate = RK3588_GMAC_CLK_RMII_GATE_DISABLE; 196 gate = RK3588_GMAC_CLK_RMII_GATE_ENABLE; 206 __SHIFTIN(gate, RK3588_GMAC_CLK_RMII_GATE_EN(id)));
|
/src/sys/netatalk/ |
ddp_output.c | 120 struct sockaddr_at gate; local in function:ddp_route 192 gate = *satocsat(rtcache_getdst(ro)); 194 gate = *satosat(rt->rt_gateway); 212 error = if_output_lock(ifp, ifp, m, (struct sockaddr *)&gate, NULL);
|
at_control.c | 796 struct sockaddr_at addr, mask, *gate; local in function:aa_dosingleroute 810 gate = satosat(ifa->ifa_dstaddr); 813 gate = satosat(ifa->ifa_addr); 818 ntohs(gate->sat_addr.s_net), gate->sat_addr.s_node); 821 (struct sockaddr *) gate, (struct sockaddr *) &mask, flags, NULL));
|
/src/usr.bin/rump_dhcpclient/ |
net.h | 84 struct in_addr gate; member in struct:rt 126 #define add_route(iface, dest, mask, gate, metric) \ 127 if_route(iface, dest, mask, gate, metric, 1) 128 #define change_route(iface, dest, mask, gate, metric) \ 129 if_route(iface, dest, mask, gate, metric, 0) 130 #define del_route(iface, dest, mask, gate, metric) \ 131 if_route(iface, dest, mask, gate, metric, -1) 132 #define del_src_route(iface, dest, mask, gate, metric) \ 133 if_route(iface, dest, mask, gate, metric, -2)
|
/src/sys/arch/arm/samsung/ |
exynos_clock.h | 79 struct exynos_gate_clk gate; member in union:exynos_clk::__anoncaafd60b010a
|
/src/sbin/routed/ |
input.c | 153 naddr gate, mask, v1_mask, dst, ddst_h = 0; local in function:input 640 gate = FROM_NADDR; 649 gate = n->n_nhop; 753 new.rts_gate = gate;
|
parms.c | 177 naddr dst, netmask, gate; local in function:gwkludge 263 if (!gethost(gname, &gate)) { 320 ifp = check_dup(gate,dst,netmask,state); 335 ifp->int_addr = gate; 339 ifp->int_std_mask = std_mask(gate);
|
rdisc.c | 411 naddr gate; local in function:del_rdisc 415 del_redirects(gate = drp->dr_gate, 0); 437 naddr_ntoa(gate), ifp->int_name, i); 441 naddr_ntoa(gate), ifp->int_name); 448 naddr_ntoa(gate), ifp->int_name); 576 naddr gate, 585 if (gate == RIP_DEFAULT 586 || !check_dst(gate)) { 589 naddr_ntoa(gate)); 595 if (ifwithaddr(gate, 1, 0) != 0) [all...] |
table.c | 288 naddr gate, 313 nc_ag.ag_gate = gate; 402 ag->ag_gate = gate; 443 || (ag->ag_gate == gate 483 ag->ag_gate = gate; 484 gate = xaddr; 592 nag->ag_gate = gate; 682 naddr gate, 699 # define ARGS rtm_type_name(action), rtname(dst,mask,gate), metric, flags 716 w.w_gate.sin_addr.s_addr = gate; 1163 naddr mask, gate; local in function:read_rt [all...] |
/src/sys/arch/arm/nvidia/ |
tegra_clock.h | 86 struct tegra_gate_clk gate; member in union:tegra_clk::__anon56bd0515010a
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_vce_v2_0.c | 558 bool gate = false; local in function:vce_v2_0_set_clockgating_state 564 gate = true; 568 vce_v2_0_enable_mgcg(adev, gate, sw_cg);
|
amdgpu_cik_sdma.c | 1218 bool gate = false; local in function:cik_sdma_set_clockgating_state 1222 gate = true; 1224 cik_enable_sdma_mgcg(adev, gate); 1225 cik_enable_sdma_mgls(adev, gate);
|
amdgpu_gmc_v7_0.c | 1345 bool gate = false; local in function:gmc_v7_0_set_clockgating_state 1349 gate = true; 1352 gmc_v7_0_enable_mc_mgcg(adev, gate); 1353 gmc_v7_0_enable_mc_ls(adev, gate); 1355 gmc_v7_0_enable_bif_mgls(adev, gate); 1356 gmc_v7_0_enable_hdp_mgcg(adev, gate); 1357 gmc_v7_0_enable_hdp_ls(adev, gate);
|
/src/usr.sbin/ldpd/ |
mpls_routes.c | 587 char dest[50], gate[50], pref[50], oper[50]; local in function:check_route 589 gate[0] = 0; 731 strlcpy(gate, satos(&so_gate->sa), sizeof(gate)); 764 pref, gate, rg->m_rtm.rtm_pid);
|
/src/sys/netinet6/ |
nd6.c | 837 struct sockaddr *gate = rt->rt_gateway; local in function:nd6_rtrequest 935 gate = rt->rt_gateway; 937 if (gate == NULL) { 983 if (gate->sa_family != AF_LINK || 984 gate->sa_len < 991 satosdl(gate)->sdl_type = ifp->if_type; 992 satosdl(gate)->sdl_index = ifp->if_index;
|