Home
last modified time | relevance | path

Searched refs:pol (Results 1 – 25 of 68) sorted by relevance

123

/freebsd/sys/arm/allwinner/
H A Daw_nmi.c73 enum intr_polarity pol; member
162 enum intr_polarity pol; in aw_nmi_map_fdt() local
181 pol = INTR_POLARITY_HIGH; in aw_nmi_map_fdt()
185 pol = INTR_POLARITY_LOW; in aw_nmi_map_fdt()
189 pol = INTR_POLARITY_HIGH; in aw_nmi_map_fdt()
193 pol = INTR_POLARITY_LOW; in aw_nmi_map_fdt()
203 *polp = pol; in aw_nmi_map_fdt()
241 enum intr_polarity pol; in aw_nmi_setup_intr() local
259 if (pol != nmi_intr->pol || trig != nmi_intr->tri) in aw_nmi_setup_intr()
265 nmi_intr->pol = pol; in aw_nmi_setup_intr()
[all …]
H A Da33_codec.c312 int fmt, pol, clk; in sun8i_codec_dai_init() local
318 pol = AUDIO_DAI_FORMAT_POLARITY(format); in sun8i_codec_dai_init()
344 if (!AUDIO_DAI_POLARITY_INVERTED_FRAME(pol)) in sun8i_codec_dai_init()
346 if (AUDIO_DAI_POLARITY_INVERTED_BCLK(pol)) in sun8i_codec_dai_init()
H A Daw_i2s.c421 int fmt, pol; in aw_i2s_dai_init() local
428 pol = AUDIO_DAI_FORMAT_POLARITY(format); in aw_i2s_dai_init()
489 if (AUDIO_DAI_POLARITY_INVERTED_BCLK(pol)) in aw_i2s_dai_init()
491 if (AUDIO_DAI_POLARITY_INVERTED_FRAME(pol)) in aw_i2s_dai_init()
494 if (AUDIO_DAI_POLARITY_INVERTED_BCLK(pol)) in aw_i2s_dai_init()
496 if (!AUDIO_DAI_POLARITY_INVERTED_FRAME(pol)) in aw_i2s_dai_init()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_cpols.c94 POLICYINFO *pol; variable
135 if (pol == NULL)
144 pol = POLICYINFO_new();
145 if (pol == NULL) {
150 pol->policyid = pobj;
153 POLICYINFO_free(pol);
171 POLICYINFO *pol; in policy_section() local
186 pol->policyid = pobj; in policy_section()
232 if (pol->policyid == NULL) { in policy_section()
237 return pol; in policy_section()
[all …]
/freebsd/usr.sbin/ip6addrctl/
H A Dip6addrctl.c112 struct in6_addrpolicy *pol, *ep; in get_policy() local
132 for (pol = buf; pol + 1 <= ep; pol++) { in get_policy()
137 new->pc_policy = *pol; in get_policy()
149 struct in6_addrpolicy *pol; in dump_policy() local
155 pol = &ent->pc_policy; in dump_policy()
162 if ((getnameinfo((struct sockaddr *)&pol->addr, in dump_policy()
163 sizeof(pol->addr), addrbuf, sizeof(addrbuf), in dump_policy()
168 if ((plen = mask2plen(&pol->addrmask)) < 0) { in dump_policy()
180 printf(" %5d %5d %8llu\n", pol->preced, pol->label, in dump_policy()
181 (unsigned long long)pol->use); in dump_policy()
[all …]
/freebsd/sys/powerpc/ofw/
H A Dopenpic_ofw.c65 enum intr_trigger *trig, enum intr_polarity *pol);
149 enum intr_trigger *trig, enum intr_polarity *pol) in openpic_ofw_translate_code() argument
155 *pol = INTR_POLARITY_HIGH; in openpic_ofw_translate_code()
160 *pol = INTR_POLARITY_LOW; in openpic_ofw_translate_code()
165 *pol = INTR_POLARITY_HIGH; in openpic_ofw_translate_code()
170 *pol = INTR_POLARITY_LOW; in openpic_ofw_translate_code()
174 *pol = INTR_POLARITY_CONFORM; in openpic_ofw_translate_code()
/freebsd/sys/netinet6/
H A Din6_src.c982 struct addrsel_policyent *new, *pol; in add_addrsel_policyent() local
1017 struct addrsel_policyent *pol; in delete_addrsel_policyent() local
1025 &pol->ape_policy.addr.sin6_addr) && in delete_addrsel_policyent()
1031 if (pol == NULL) { in delete_addrsel_policyent()
1040 free(pol, M_IFADDR); in delete_addrsel_policyent()
1048 struct addrsel_policyent *pol; in walk_addrsel_policy() local
1068 error = SYSCTL_OUT(w->w_req, pol, sizeof(*pol)); in dump_addrsel_policyent()
1084 pol = &pent->ape_policy; in match_addrsel_policy()
1085 mp = (u_char *)&pol->addrmask.sin6_addr; in match_addrsel_policy()
1088 p = (u_char *)&pol->addr.sin6_addr; in match_addrsel_policy()
[all …]
/freebsd/contrib/netbsd-tests/lib/librt/
H A Dt_sched.c77 static const int pol[3] = { SCHED_OTHER, SCHED_FIFO, SCHED_RR }; in ATF_TC_BODY() local
93 for (i = 0; i < __arraycount(pol); i++) { in ATF_TC_BODY()
95 pmax = sched_get_priority_max(pol[i]); in ATF_TC_BODY()
96 pmin = sched_get_priority_min(pol[i]); in ATF_TC_BODY()
105 sched_priority_set(int pri, int pol) in sched_priority_set() argument
112 ATF_REQUIRE(sched_setscheduler(0, pol, &sched) == 0); in sched_priority_set()
117 ATF_CHECK_EQ(sched_getscheduler(0), pol); in sched_priority_set()
/freebsd/sys/powerpc/powerpc/
H A Dintr_machdep.c103 enum intr_polarity pol; member
247 i->pol = INTR_POLARITY_CONFORM; in intr_lookup()
500 &i->trig, &i->pol); in powerpc_enable_intr()
502 i->pol != INTR_POLARITY_CONFORM) in powerpc_enable_intr()
553 i->fwcode, &i->trig, &i->pol); in powerpc_setup_intr()
556 i->pol != INTR_POLARITY_CONFORM) in powerpc_setup_intr()
601 i->pol = INTR_POLARITY_CONFORM; in powerpc_fw_config_intr()
606 &i->pol); in powerpc_fw_config_intr()
607 PIC_CONFIG(i->pic, i->intline, i->trig, i->pol); in powerpc_fw_config_intr()
623 i->pol = pol; in powerpc_config_intr()
[all …]
H A Dpic_if.m39 int code, enum intr_trigger *trig, enum intr_polarity *pol)
42 *pol = INTR_POLARITY_CONFORM;
58 enum intr_polarity *pol;
65 enum intr_polarity pol;
/freebsd/sys/dev/acpica/
H A Dacpi_resource.c65 int pol; member
83 pol = res->Data.Irq.Polarity; in acpi_lookup_irq_handler()
109 req->pol = pol; in acpi_lookup_irq_handler()
140 int pol, trig; in acpi_config_intr() local
148 pol = res->Data.Irq.Polarity; in acpi_config_intr()
169 pol = ACPI_ACTIVE_HIGH; in acpi_config_intr()
181 int trig, pol; in acpi_map_intr() local
184 pol = ACPI_ACTIVE_HIGH; in acpi_map_intr()
195 pol = req.pol; in acpi_map_intr()
728 int trig, int pol) in acpi_res_set_irq() argument
[all …]
H A Dacpi_bus_if.m40 int trig, int pol)
47 return (ACPI_BUS_MAP_INTR(parent, dev, irq, trig, pol));
64 int pol;
/freebsd/sys/powerpc/mpc85xx/
H A Datpic.c82 enum intr_trigger *trig, enum intr_polarity *pol);
246 enum intr_polarity pol) in atpic_config() argument
333 enum intr_trigger *trig, enum intr_polarity *pol) in atpic_ofw_translate_code() argument
339 *pol = INTR_POLARITY_LOW; in atpic_ofw_translate_code()
344 *pol = INTR_POLARITY_HIGH; in atpic_ofw_translate_code()
349 *pol = INTR_POLARITY_LOW; in atpic_ofw_translate_code()
354 *pol = INTR_POLARITY_HIGH; in atpic_ofw_translate_code()
358 *pol = INTR_POLARITY_CONFORM; in atpic_ofw_translate_code()
/freebsd/crypto/openssl/test/
H A Dpkits-test.pl819 my $pol = -1;
841 $pol = 1;
850 $pol = 2;
854 if ( $pol == 1 ) {
858 elsif ( $pol == 2 ) {
/freebsd/sys/arm/arm/
H A Dgic.c616 enum intr_polarity pol) in gic_config() argument
764 enum intr_polarity pol; in gic_map_intr() local
793 pol = daa->pol; in gic_map_intr()
809 if (pol != INTR_POLARITY_CONFORM && pol != INTR_POLARITY_LOW && in gic_map_intr()
810 pol != INTR_POLARITY_HIGH) in gic_map_intr()
818 *polp = pol; in gic_map_intr()
847 enum intr_polarity pol; in arm_gic_setup_intr() local
851 pol = gi->gi_pol; in arm_gic_setup_intr()
865 pol = INTR_POLARITY_CONFORM; in arm_gic_setup_intr()
871 if ((pol != INTR_POLARITY_CONFORM && pol != gi->gi_pol) || in arm_gic_setup_intr()
[all …]
/freebsd/sys/dev/sound/fdt/
H A Daudio_dai.h64 #define AUDIO_DAI_FORMAT(fmt, pol, clk) (((fmt) << 16) | ((pol) << 8) | (clk)) argument
H A Daudio_soc.c110 int fmt, pol, clk; in audio_soc_reverse_clocks() local
113 pol = AUDIO_DAI_FORMAT_POLARITY(format); in audio_soc_reverse_clocks()
131 return AUDIO_DAI_FORMAT(fmt, pol, clk); in audio_soc_reverse_clocks()
429 unsigned int fmt, pol, clk; in audio_soc_attach() local
487 pol = frame_inversion ? in audio_soc_attach()
490 pol = frame_inversion ? in audio_soc_attach()
494 sc->format = AUDIO_DAI_FORMAT(fmt, pol, clk); in audio_soc_attach()
/freebsd/sys/x86/acpica/
H A Dmadt.c551 enum intr_trigger *trig, enum intr_polarity *pol) in madt_parse_interrupt_values() argument
568 *pol = interrupt_polarity(intr->IntiFlags, intr->SourceIrq); in madt_parse_interrupt_values()
591 *pol = INTR_POLARITY_HIGH; in madt_parse_interrupt_values()
593 *pol = INTR_POLARITY_LOW; in madt_parse_interrupt_values()
599 *pol == INTR_POLARITY_HIGH ? "high" : "low"); in madt_parse_interrupt_values()
613 enum intr_polarity pol; in madt_parse_interrupt_override() local
628 madt_parse_interrupt_values(intr, &trig, &pol); in madt_parse_interrupt_override()
654 ioapic_set_polarity(new_ioapic, new_pin, pol); in madt_parse_interrupt_override()
/freebsd/sys/x86/isa/
H A Datpic.c147 enum intr_polarity pol);
343 enum intr_polarity pol) in atpic_config_intr() argument
351 if (pol == INTR_POLARITY_CONFORM) in atpic_config_intr()
352 pol = INTR_POLARITY_HIGH; in atpic_config_intr()
354 if ((trig == INTR_TRIGGER_EDGE && pol == INTR_POLARITY_LOW) || in atpic_config_intr()
355 (trig == INTR_TRIGGER_LEVEL && pol == INTR_POLARITY_HIGH)) { in atpic_config_intr()
359 pol == INTR_POLARITY_HIGH ? "high" : "low"); in atpic_config_intr()
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dadi,ltc2947.yaml33 adi,accumulator-ctl-pol:
55 adi,gpio-out-pol:
72 adi,gpio-out-pol.
98 adi,accumulator-ctl-pol = <0 1>;
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dphy-miphy365x.txt36 - st,pcie-tx-pol-inv : Bool property to invert the polarity PCIe Tx (Txn/Txp)
37 - st,sata-tx-pol-inv : Bool property to invert the polarity SATA Tx (Txn/Txp)
59 st,pcie-tx-pol-inv;
/freebsd/sys/x86/x86/
H A Dio_apic.c123 enum intr_polarity pol);
552 enum intr_polarity pol) in ioapic_config_intr() argument
558 KASSERT(!(trig == INTR_TRIGGER_CONFORM || pol == INTR_POLARITY_CONFORM), in ioapic_config_intr()
570 pol = INTR_POLARITY_HIGH; in ioapic_config_intr()
580 if (intpin->io_activehi != (pol == INTR_POLARITY_HIGH)) { in ioapic_config_intr()
584 pol == INTR_POLARITY_HIGH ? "high" : "low"); in ioapic_config_intr()
585 intpin->io_activehi = (pol == INTR_POLARITY_HIGH); in ioapic_config_intr()
867 ioapic_set_polarity(void *cookie, u_int pin, enum intr_polarity pol) in ioapic_set_polarity() argument
873 if (pin >= io->io_numintr || pol == INTR_POLARITY_CONFORM) in ioapic_set_polarity()
877 activehi = (pol == INTR_POLARITY_HIGH); in ioapic_set_polarity()
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_firmware.h178 uint32_t pol; member
188 uint32_t pol; member
/freebsd/lib/libc/net/
H A Dname6.c737 struct in6_addrpolicy *pol, *ep; in get_addrselectpolicy() local
749 for (pol = (struct in6_addrpolicy *)buf; pol + 1 <= ep; pol++) { in get_addrselectpolicy()
756 new->pc_policy = *pol; in get_addrselectpolicy()
784 struct in6_addrpolicy *pol; in match_addrselectpolicy() local
807 pol = &ent->pc_policy; in match_addrselectpolicy()
810 mp = (u_char *)&pol->addrmask.sin6_addr; in match_addrselectpolicy()
813 p = (u_char *)&pol->addr.sin6_addr; in match_addrselectpolicy()
/freebsd/sys/arm64/arm64/
H A Dnexus.c266 enum intr_polarity pol) in nexus_config_intr() argument
551 static int nexus_acpi_map_intr(device_t dev, device_t child, u_int irq, int trig, int pol);
592 nexus_acpi_map_intr(device_t dev, device_t child, u_int irq, int trig, int pol) in nexus_acpi_map_intr() argument
601 acpi_data->pol = pol; in nexus_acpi_map_intr()

123