/freebsd-current/sys/dev/sound/fdt/ |
H A D | audio_dai.h | 64 #define AUDIO_DAI_FORMAT(fmt, pol, clk) (((fmt) << 16) | ((pol) << 8) | (clk))
|
H A D | audio_soc.c | 110 int fmt, pol, clk; local 113 pol = AUDIO_DAI_FORMAT_POLARITY(format); 131 return AUDIO_DAI_FORMAT(fmt, pol, clk); 429 unsigned int fmt, pol, clk; local 487 pol = frame_inversion ? 490 pol = frame_inversion ? 494 sc->format = AUDIO_DAI_FORMAT(fmt, pol, clk);
|
/freebsd-current/sys/powerpc/ofw/ |
H A D | openpic_ofw.c | 65 enum intr_trigger *trig, enum intr_polarity *pol); 149 enum intr_trigger *trig, enum intr_polarity *pol) 155 *pol = INTR_POLARITY_HIGH; 160 *pol = INTR_POLARITY_LOW; 165 *pol = INTR_POLARITY_HIGH; 170 *pol = INTR_POLARITY_LOW; 174 *pol = INTR_POLARITY_CONFORM; 148 openpic_ofw_translate_code(device_t dev, u_int irq, int code, enum intr_trigger *trig, enum intr_polarity *pol) argument
|
/freebsd-current/sys/arm/allwinner/ |
H A D | aw_nmi.c | 73 enum intr_polarity pol; member in struct:aw_nmi_intr 162 enum intr_polarity pol; local 181 pol = INTR_POLARITY_HIGH; 185 pol = INTR_POLARITY_LOW; 189 pol = INTR_POLARITY_HIGH; 193 pol = INTR_POLARITY_LOW; 203 *polp = pol; 241 enum intr_polarity pol; local 251 error = aw_nmi_map_fdt(dev, daf->ncells, daf->cells, &irq, &pol, &trig); 259 if (pol ! [all...] |
H A D | a33_codec.c | 312 int fmt, pol, clk; local 318 pol = AUDIO_DAI_FORMAT_POLARITY(format); 344 if (!AUDIO_DAI_POLARITY_INVERTED_FRAME(pol)) 346 if (AUDIO_DAI_POLARITY_INVERTED_BCLK(pol))
|
H A D | aw_i2s.c | 421 int fmt, pol; local 428 pol = AUDIO_DAI_FORMAT_POLARITY(format); 489 if (AUDIO_DAI_POLARITY_INVERTED_BCLK(pol)) 491 if (AUDIO_DAI_POLARITY_INVERTED_FRAME(pol)) 494 if (AUDIO_DAI_POLARITY_INVERTED_BCLK(pol)) 496 if (!AUDIO_DAI_POLARITY_INVERTED_FRAME(pol))
|
/freebsd-current/usr.sbin/ip6addrctl/ |
H A D | ip6addrctl.c | 112 struct in6_addrpolicy *pol, *ep; local 132 for (pol = buf; pol + 1 <= ep; pol++) { 137 new->pc_policy = *pol; 149 struct in6_addrpolicy *pol; local 155 pol = &ent->pc_policy; 162 if ((getnameinfo((struct sockaddr *)&pol->addr, 163 sizeof(pol->addr), addrbuf, sizeof(addrbuf), 168 if ((plen = mask2plen(&pol 256 parse_prefix(const char *prefix0, struct in6_addrpolicy *pol) argument [all...] |
/freebsd-current/contrib/netbsd-tests/lib/librt/ |
H A D | t_sched.c | 77 static const int pol[3] = { SCHED_OTHER, SCHED_FIFO, SCHED_RR }; local 93 for (i = 0; i < __arraycount(pol); i++) { 95 pmax = sched_get_priority_max(pol[i]); 96 pmin = sched_get_priority_min(pol[i]); 105 sched_priority_set(int pri, int pol) argument 112 ATF_REQUIRE(sched_setscheduler(0, pol, &sched) == 0); 117 ATF_CHECK_EQ(sched_getscheduler(0), pol);
|
/freebsd-current/crypto/openssl/test/ |
H A D | pkits-test.pl | 819 my $pol = -1; 841 $pol = 1; 850 $pol = 2; 854 if ( $pol == 1 ) { 858 elsif ( $pol == 2 ) {
|
/freebsd-current/crypto/openssl/crypto/x509/ |
H A D | v3_cpols.c | 23 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol, 94 POLICYINFO *pol; 133 pol = policy_section(ctx, polsect, ia5org); 135 if (pol == NULL) 144 pol = POLICYINFO_new(); 145 if (pol == NULL) { 150 pol->policyid = pobj; 152 if (!sk_POLICYINFO_push(pols, pol)) { 153 POLICYINFO_free(pol); 171 POLICYINFO *pol; [all...] |
/freebsd-current/sys/x86/include/ |
H A D | acpica_machdep.h | 82 enum intr_trigger *trig, enum intr_polarity *pol);
|
H A D | apicvar.h | 208 int ioapic_set_polarity(void *cookie, u_int pin, enum intr_polarity pol); 252 enum intr_polarity pol);
|
H A D | intr_machdep.h | 145 enum intr_polarity pol);
|
/freebsd-current/sys/powerpc/mpc85xx/ |
H A D | atpic.c | 82 enum intr_trigger *trig, enum intr_polarity *pol); 246 enum intr_polarity pol) 333 enum intr_trigger *trig, enum intr_polarity *pol) 339 *pol = INTR_POLARITY_LOW; 344 *pol = INTR_POLARITY_HIGH; 349 *pol = INTR_POLARITY_LOW; 354 *pol = INTR_POLARITY_HIGH; 358 *pol = INTR_POLARITY_CONFORM; 245 atpic_config(device_t dev, u_int irq, enum intr_trigger trig, enum intr_polarity pol) argument 332 atpic_ofw_translate_code(device_t dev, u_int irq, int code, enum intr_trigger *trig, enum intr_polarity *pol) argument
|
/freebsd-current/sys/powerpc/powerpc/ |
H A D | intr_machdep.c | 103 enum intr_polarity pol; member in struct:powerpc_intr 247 i->pol = INTR_POLARITY_CONFORM; 500 &i->trig, &i->pol); 502 i->pol != INTR_POLARITY_CONFORM) 503 PIC_CONFIG(i->pic, i->intline, i->trig, i->pol); 553 i->fwcode, &i->trig, &i->pol); 556 i->pol != INTR_POLARITY_CONFORM) 557 PIC_CONFIG(i->pic, i->intline, i->trig, i->pol); 601 i->pol = INTR_POLARITY_CONFORM; 606 &i->pol); 614 powerpc_config_intr(int irq, enum intr_trigger trig, enum intr_polarity pol) argument [all...] |
/freebsd-current/sys/netinet6/ |
H A D | in6_src.c | 982 struct addrsel_policyent *new, *pol; local 990 TAILQ_FOREACH(pol, &V_addrsel_policytab, ape_entry) { 992 &pol->ape_policy.addr.sin6_addr) && 994 &pol->ape_policy.addrmask.sin6_addr)) { 1017 struct addrsel_policyent *pol; local 1023 TAILQ_FOREACH(pol, &V_addrsel_policytab, ape_entry) { 1025 &pol->ape_policy.addr.sin6_addr) && 1027 &pol->ape_policy.addrmask.sin6_addr)) { 1031 if (pol == NULL) { 1037 TAILQ_REMOVE(&V_addrsel_policytab, pol, ape_entr 1048 struct addrsel_policyent *pol; local 1063 dump_addrsel_policyent(struct in6_addrpolicy *pol, void *arg) argument 1077 struct in6_addrpolicy *bestpol = NULL, *pol; local [all...] |
/freebsd-current/sys/dev/acpica/ |
H A D | acpi_resource.c | 65 int pol; member in struct:lookup_irq_request 75 u_int irqnum, irq, trig, pol; local 83 pol = res->Data.Irq.Polarity; 90 pol = res->Data.ExtendedIrq.Polarity; 109 req->pol = pol; 140 int pol, trig; local 148 pol = res->Data.Irq.Polarity; 155 pol = res->Data.ExtendedIrq.Polarity; 168 if (irq < 16 && trig == ACPI_EDGE_SENSITIVE && pol 181 int trig, pol; local 727 acpi_res_set_irq(device_t dev, void *context, uint8_t *irq, int count, int trig, int pol) argument 744 acpi_res_set_ext_irq(device_t dev, void *context, uint32_t *irq, int count, int trig, int pol) argument [all...] |
/freebsd-current/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_firmware.h | 178 uint32_t pol; member in struct:msg_get_gpio_config::__anon1006 188 uint32_t pol; member in struct:msg_set_gpio_config::__anon1007
|
/freebsd-current/sys/arm/arm/ |
H A D | gic.c | 616 enum intr_polarity pol) 629 if (pol == INTR_POLARITY_LOW) { 632 } else if (pol == INTR_POLARITY_HIGH) { 764 enum intr_polarity pol; local 780 if (gic_map_fdt(dev, daf->ncells, daf->cells, &irq, &pol, 793 pol = daa->pol; 800 if (gic_map_msi(dev, dam, &irq, &pol, &trig) != 0) 809 if (pol != INTR_POLARITY_CONFORM && pol ! 615 gic_config(struct arm_gic_softc *sc, u_int irq, enum intr_trigger trig, enum intr_polarity pol) argument 847 enum intr_polarity pol; local [all...] |
/freebsd-current/sys/dev/fdt/ |
H A D | fdt_common.h | 45 enum intr_polarity pol; member in struct:fdt_sense_level
|
/freebsd-current/sys/x86/isa/ |
H A D | atpic.c | 147 enum intr_polarity pol); 343 enum intr_polarity pol) 351 if (pol == INTR_POLARITY_CONFORM) 352 pol = INTR_POLARITY_HIGH; 354 if ((trig == INTR_TRIGGER_EDGE && pol == INTR_POLARITY_LOW) || 355 (trig == INTR_TRIGGER_LEVEL && pol == INTR_POLARITY_HIGH)) { 359 pol == INTR_POLARITY_HIGH ? "high" : "low"); 342 atpic_config_intr(struct intsrc *isrc, enum intr_trigger trig, enum intr_polarity pol) argument
|
/freebsd-current/sys/x86/acpica/ |
H A D | madt.c | 551 enum intr_trigger *trig, enum intr_polarity *pol) 568 *pol = interrupt_polarity(intr->IntiFlags, intr->SourceIrq); 591 *pol = INTR_POLARITY_HIGH; 593 *pol = INTR_POLARITY_LOW; 599 *pol == INTR_POLARITY_HIGH ? "high" : "low"); 613 enum intr_polarity pol; local 628 madt_parse_interrupt_values(intr, &trig, &pol); 654 ioapic_set_polarity(new_ioapic, new_pin, pol); 550 madt_parse_interrupt_values(void *entry, enum intr_trigger *trig, enum intr_polarity *pol) argument
|
/freebsd-current/sys/arm64/arm64/ |
H A D | nexus.c | 266 enum intr_polarity pol) 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) argument 601 acpi_data->pol = pol; 265 nexus_config_intr(device_t dev, int irq, enum intr_trigger trig, enum intr_polarity pol) argument
|
/freebsd-current/sys/x86/x86/ |
H A D | io_apic.c | 123 enum intr_polarity pol); 552 enum intr_polarity pol) 558 KASSERT(!(trig == INTR_TRIGGER_CONFORM || pol == INTR_POLARITY_CONFORM), 570 pol = INTR_POLARITY_HIGH; 580 if (intpin->io_activehi != (pol == INTR_POLARITY_HIGH)) { 584 pol == INTR_POLARITY_HIGH ? "high" : "low"); 585 intpin->io_activehi = (pol == INTR_POLARITY_HIGH); 867 ioapic_set_polarity(void *cookie, u_int pin, enum intr_polarity pol) argument 873 if (pin >= io->io_numintr || pol == INTR_POLARITY_CONFORM) 877 activehi = (pol 551 ioapic_config_intr(struct intsrc *isrc, enum intr_trigger trig, enum intr_polarity pol) argument [all...] |
/freebsd-current/lib/libc/net/ |
H A D | name6.c | 737 struct in6_addrpolicy *pol, *ep; local 749 for (pol = (struct in6_addrpolicy *)buf; pol + 1 <= ep; pol++) { 756 new->pc_policy = *pol; 784 struct in6_addrpolicy *pol; local 807 pol = &ent->pc_policy; 810 mp = (u_char *)&pol->addrmask.sin6_addr; 813 p = (u_char *)&pol->addr.sin6_addr;
|