HomeSort by: relevance | last modified time | path
    Searched defs:pol (Results 1 - 19 of 19) sorted by relevancy

  /src/tests/lib/librt/
t_sched.c 78 static const int pol[3] = { SCHED_OTHER, SCHED_FIFO, SCHED_RR }; local in function:ATF_TC_BODY
94 for (i = 0; i < __arraycount(pol); i++) {
96 pmax = sched_get_priority_max(pol[i]);
97 pmin = sched_get_priority_min(pol[i]);
98 if (pol[i] == SCHED_OTHER) {
110 sched_priority_set(int pri, int pol)
117 ATF_REQUIRE(sched_setscheduler(0, pol, &sched) == 0);
122 ATF_CHECK_EQ(sched_getscheduler(0), pol);
  /src/sys/arch/arm/sa11x0/
sa1111.c 197 uint32_t pol, mask; local in function:sacc_intr_setpolarity
209 pol = bus_space_read_4(sc->sc_iot, sc->sc_ioh, addr);
211 pol &= ~mask;
213 pol |= mask;
214 bus_space_write_4(sc->sc_iot, sc->sc_ioh, addr, pol);
  /src/sys/dev/gpio/
gpiobutton.c 110 const u_int pol = __SHIFTOUT(ga->ga_flags, GPIOBUTTON_POLARITY_MASK); local in function:gpiobutton_attach
120 sc->sc_active_high = pol == GPIOBUTTON_POLARITY_ACTIVE_HIGH;
  /src/sys/arch/arm/sunxi/
sunxi_nmi.c 183 u_int irq_type, irq, pol; local in function:sunxi_nmi_fdt_establish
190 pol = be32toh(specifier[1]);
203 pol = be32toh(specifier[2]);
230 switch (pol & 0xf) {
sunxi_hdmiphy.c 477 u_int pol; local in function:sunxi_hdmiphy_config
480 pol = 0;
482 pol |= __SHIFTIN(DBG_CTRL_POL_NHSYNC, DBG_CTRL_POL);
484 pol |= __SHIFTIN(DBG_CTRL_POL_NVSYNC, DBG_CTRL_POL);
486 PHY_SET_CLEAR(sc, DBG_CTRL, pol, DBG_CTRL_POL);
sun8i_codec.c 215 const u_int pol = __SHIFTOUT(format, AUDIO_DAI_POLARITY_MASK); local in function:sun8i_codec_dai_set_format
241 if (!AUDIO_DAI_POLARITY_F(pol))
243 if (AUDIO_DAI_POLARITY_B(pol))
sunxi_i2s.c 699 const u_int pol = __SHIFTOUT(format, AUDIO_DAI_POLARITY_MASK); local in function:sunxi_i2s_dai_set_format
761 if (AUDIO_DAI_POLARITY_B(pol))
763 if (AUDIO_DAI_POLARITY_F(pol))
766 if (AUDIO_DAI_POLARITY_B(pol))
768 if (!AUDIO_DAI_POLARITY_F(pol))
  /src/usr.sbin/ip6addrctl/
ip6addrctl.c 114 struct in6_addrpolicy *pol, *ep; local in function:get_policy
134 for (pol = buf; pol + 1 <= ep; pol++) {
139 new->pc_policy = *pol;
151 struct in6_addrpolicy *pol; local in function:dump_policy
157 pol = &ent->pc_policy;
164 if ((getnameinfo((struct sockaddr *)&pol->addr,
165 sizeof(pol->addr), addrbuf, sizeof(addrbuf),
170 if ((plen = mask2plen(&pol->addrmask)) < 0)
    [all...]
  /src/sys/arch/arm/acpi/
acpi_pci_machdep.c 383 int line, pol, trig, error; local in function:acpi_pci_md_intr_map
428 &line, &pol, &trig);
  /src/sys/dev/fdt/
ausoc.c 380 u_int fmt, pol, clk; local in function:ausoc_link_format
413 pol = frame_inversion ?
416 pol = frame_inversion ?
421 __SHIFTIN(pol, AUDIO_DAI_POLARITY_MASK) |
  /src/sys/arch/x86/x86/
mpacpi.c 837 "f\0\2pol\0" "=\1Act Hi\0" "=\3Act Lo\0"
1028 int irq, line, pol, trig; local in function:mpacpi_findintr_linkdev
1036 mip->sourceindex, &line, &pol, &trig);
1052 if (pol == ACPI_ACTIVE_LOW)
1053 pol = MPS_INTPO_ACTLO;
1055 pol = MPS_INTPO_ACTHI;
1062 mip->flags = pol | (trig << 2);
1073 if (pol == MPS_INTPO_ACTLO)
  /src/sys/netinet6/
in6_src.c 1020 struct addrsel_policyent *newpol, *pol; local in function:add_addrsel_policyent
1023 TAILQ_FOREACH(pol, &addrsel_policytab, ape_entry) {
1025 &pol->ape_policy.addr.sin6_addr) &&
1027 &pol->ape_policy.addrmask.sin6_addr)) {
1045 struct addrsel_policyent *pol; local in function:delete_addrsel_policyent
1048 for (pol = TAILQ_FIRST(&addrsel_policytab); pol;
1049 pol = TAILQ_NEXT(pol, ape_entry)) {
1051 &pol->ape_policy.addr.sin6_addr) &
1069 struct addrsel_policyent *pol; local in function:walk_addrsel_policy
    [all...]
  /src/sys/dev/acpi/
qcomgpio.c 526 uint32_t dect, pol; local in function:qcomgpio_intr_establish
562 pol = (irqmode & GPIO_INTR_HIGH_LEVEL) != 0 ?
568 pol = TLMM_GPIO_INTR_CFG_INTR_POL_CTL;
571 pol = TLMM_GPIO_INTR_CFG_INTR_POL_CTL;
575 pol = 0;
583 val |= pol;
  /src/sys/arch/arm/rockchip/
rk_i2s.c 441 const u_int pol = __SHIFTOUT(format, AUDIO_DAI_POLARITY_MASK); local in function:rk_i2s_dai_set_format
482 switch (pol) {
rk_vop.c 223 rk3399_vop_set_polarity(struct rk_vop_softc *sc, enum vop_ep_type ep_type, uint32_t pol)
247 val |= __SHIFTIN(pol, mask);
461 u_int pol; local in function:rk_vop_crtc_atomic_enable
481 pol = DSP_DCLK_POL;
483 pol |= DSP_HSYNC_POL;
485 pol |= DSP_VSYNC_POL;
500 sc->sc_conf->set_polarity(sc, VOP_EP_HDMI, pol);
503 sc->sc_conf->set_polarity(sc, VOP_EP_EDP, pol);
  /src/sys/dev/i2c/
es8316ac.c 510 const u_int pol = __SHIFTOUT(format, AUDIO_DAI_POLARITY_MASK); local in function:escodec_dai_set_format
518 switch (pol) {
fusbtc.c 460 int pol; local in function:fusbtc_toggle_change
466 pol = TYPEC_POLARITY_CC1;
468 pol = TYPEC_POLARITY_CC2;
474 fusbtc_set_cc_pull(sc, pol, 1, 0);
475 fusbtc_set_polarity(sc, pol);
505 fusbtc_set_cc_pull(sc, pol, 0, 1);
506 fusbtc_set_polarity(sc, pol);
620 fusbtc_set_cc_pull(struct fusbtc_softc *sc, int pol, int up, int down)
628 if (pol == TYPEC_POLARITY_CC1)
634 if (pol == TYPEC_POLARITY_CC1
    [all...]
  /src/lib/libc/net/
getaddrinfo.c 764 struct in6_addrpolicy *pol, *ep; local in function:get_addrselectpolicy
778 for (pol = (void *)buf; pol + 1 <= ep; pol++) {
785 new->pc_policy = *pol;
813 struct in6_addrpolicy *pol; local in function:match_addrselectpolicy
837 pol = &ent->pc_policy;
840 mp = (void *)&pol->addrmask.sin6_addr;
843 p = (void *)&pol->addr.sin6_addr;
  /src/sys/dev/ic/
sl811hs.c 2774 uint8_t r, pol, ctrl; local in function:slhci_reset
2813 pol = ctrl = 0;
2816 pol = SL811_CSOF_POLARITY;
2824 slhci_write(sc, SL811_CSOF, pol|SL811_CSOF_MASTER|0x2e);

Completed in 25 milliseconds