/freebsd/sys/contrib/device-tree/src/arm64/arm/ |
H A D | juno-cs-r1r2.dtsi | 95 trig-conns@0 { 97 arm,trig-in-sigs = <0 1>; 98 arm,trig-in-types = <SNK_FULL SNK_ACQCOMP>; 99 arm,trig-out-sigs = <0 1>; 100 arm,trig-out-types = <SNK_FLUSHIN SNK_TRIGIN>; 104 trig-conns@1 { 106 arm,trig-in-sigs = <2 3 4>; 107 arm,trig-in-types = <ELA_DBGREQ ELA_TSTART ELA_TSTOP>; 108 arm,trig-conn-name = "ela_clus_0"; 111 trig-conns@2 { [all …]
|
H A D | juno-base.dtsi | 583 trig-conns@0 { 585 arm,trig-in-sigs = <2 3>; 586 arm,trig-in-types = <SNK_FULL SNK_ACQCOMP>; 587 arm,trig-out-sigs = <0 1>; 588 arm,trig-out-types = <SNK_FLUSHIN SNK_TRIGIN>; 592 trig-conns@1 { 594 arm,trig-in-sigs = <0 1>; 595 arm,trig-in-types = <SNK_FULL SNK_ACQCOMP>; 596 arm,trig-out-sigs = <7 6>; 597 arm,trig [all...] |
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | dbg.h | 52 enum iwl_fw_dbg_trigger trig, const char *str, 77 iwl_fw_dbg_trigger_vif_match(struct iwl_fw_dbg_trigger_tlv *trig, in iwl_fw_dbg_trigger_vif_match() argument 80 u32 trig_vif = le32_to_cpu(trig->vif_type); in iwl_fw_dbg_trigger_vif_match() 88 struct iwl_fw_dbg_trigger_tlv *trig) in iwl_fw_dbg_trigger_stop_conf_match() argument 90 return ((trig->mode & IWL_FW_DBG_TRIGGER_STOP) && in iwl_fw_dbg_trigger_stop_conf_match() 92 (BIT(fwrt->dump.conf) & le32_to_cpu(trig->stop_conf_ids)))); in iwl_fw_dbg_trigger_stop_conf_match() 113 struct iwl_fw_dbg_trigger_tlv *trig) in iwl_fw_dbg_trigger_check_stop() argument 115 u32 usec = le16_to_cpu(trig->trig_dis_ms) * USEC_PER_MSEC; in iwl_fw_dbg_trigger_check_stop() 117 if (wdev && !iwl_fw_dbg_trigger_vif_match(trig, wdev)) in iwl_fw_dbg_trigger_check_stop() 120 if (iwl_fw_dbg_no_trig_window(fwrt, le32_to_cpu(trig in iwl_fw_dbg_trigger_check_stop() 134 struct iwl_fw_dbg_trigger_tlv *trig; _iwl_fw_dbg_trigger_on() local 174 iwl_fw_dbg_trigger_simple_stop(fwrt,wdev,trig) global() argument [all...] |
/freebsd/sys/dev/acpica/ |
H A D | acpi_ged.c | 126 int trig; in acpi_get_trigger() local 132 trig = res->Data.Irq.Triggering; in acpi_get_trigger() 137 trig = res->Data.ExtendedIrq.Triggering; in acpi_get_trigger() 143 return (trig == ACPI_EDGE_SENSITIVE) in acpi_get_trigger() 156 int rawirq, trig; in acpi_ged_attach() local 192 trig = INTR_TRIGGER_LEVEL; in acpi_ged_attach() 196 trig = acpi_get_trigger(&ares); in acpi_ged_attach() 201 trig = ima->trig; in acpi_ged_attach() 210 trig = INTR_TRIGGER_LEVEL; in acpi_ged_attach() 214 trig = acpi_get_trigger(&ares); in acpi_ged_attach() [all …]
|
H A D | acpi_resource.c | 64 int trig; member 75 u_int irqnum, trig, pol; in acpi_lookup_irq_handler() local 91 trig = res->Data.Irq.Triggering; in acpi_lookup_irq_handler() 103 trig = res->Data.ExtendedIrq.Triggering; in acpi_lookup_irq_handler() 119 req->trig = trig; in acpi_lookup_irq_handler() 149 int pol, trig; in acpi_config_intr() local 156 trig = res->Data.Irq.Triggering; in acpi_config_intr() 163 trig = res->Data.ExtendedIrq.Triggering; in acpi_config_intr() 171 if (irq < 16 && trig == ACPI_EDGE_SENSITIVE && pol == ACPI_ACTIVE_LOW && in acpi_config_intr() 177 BUS_CONFIG_INTR(dev, irq, (trig == ACPI_EDGE_SENSITIVE) ? in acpi_config_intr() [all …]
|
H A D | acpi_bus_if.m | 40 int trig, int pol) 47 return (ACPI_BUS_MAP_INTR(parent, dev, irq, trig, pol)); 63 int trig;
|
/freebsd/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) in openpic_ofw_translate_code() argument 154 *trig = INTR_TRIGGER_EDGE; in openpic_ofw_translate_code() 159 *trig = INTR_TRIGGER_LEVEL; in openpic_ofw_translate_code() 164 *trig = INTR_TRIGGER_LEVEL; in openpic_ofw_translate_code() 169 *trig = INTR_TRIGGER_EDGE; in openpic_ofw_translate_code() 173 *trig = INTR_TRIGGER_CONFORM; in openpic_ofw_translate_code()
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-dbg-tlv.c | 253 const struct iwl_fw_ini_trigger_tlv *trig = (const void *)tlv->data; in iwl_dbg_tlv_alloc_trigger() 254 u32 tp = le32_to_cpu(trig->time_point); in iwl_dbg_tlv_alloc_trigger() 255 u32 rf = le32_to_cpu(trig->reset_fw); in iwl_dbg_tlv_alloc_trigger() 258 if (le32_to_cpu(tlv->length) < sizeof(*trig)) in iwl_dbg_tlv_alloc_trigger() 278 if (!le32_to_cpu(trig->occurrences)) { in iwl_dbg_tlv_alloc_trigger() 954 .trig = (void *)timer_node->tlv->data, in iwl_dbg_tlv_periodic_trig_handler() 960 u32 occur = le32_to_cpu(dump_data.trig->occurrences); in iwl_dbg_tlv_periodic_trig_handler() 961 u32 collect_interval = le32_to_cpu(dump_data.trig->data[0]); in iwl_dbg_tlv_periodic_trig_handler() 977 struct iwl_fw_ini_trigger_tlv *trig = (void *)node->tlv.data; in iwl_dbg_tlv_set_periodic_trigs() 979 u32 occur = le32_to_cpu(trig in iwl_dbg_tlv_set_periodic_trigs() 248 const struct iwl_fw_ini_trigger_tlv *trig = (const void *)tlv->data; iwl_dbg_tlv_alloc_trigger() local 972 struct iwl_fw_ini_trigger_tlv *trig = (void *)node->tlv.data; iwl_dbg_tlv_set_periodic_trigs() local 1053 struct iwl_fw_ini_trigger_tlv *trig = (void *)trig_tlv->data; iwl_dbg_tlv_override_trig_node() local 1131 struct iwl_fw_ini_trigger_tlv *trig = (void *)trig_tlv->data; iwl_dbg_tlv_add_active_trigger() local [all...] |
/freebsd/sys/arm/allwinner/ |
H A D | aw_nmi.c | 163 enum intr_trigger trig; in aw_nmi_map_fdt() local 180 trig = INTR_TRIGGER_EDGE; in aw_nmi_map_fdt() 184 trig = INTR_TRIGGER_EDGE; in aw_nmi_map_fdt() 188 trig = INTR_TRIGGER_LEVEL; in aw_nmi_map_fdt() 192 trig = INTR_TRIGGER_LEVEL; in aw_nmi_map_fdt() 205 *trigp = trig; in aw_nmi_map_fdt() 240 enum intr_trigger trig; in aw_nmi_setup_intr() local 251 error = aw_nmi_map_fdt(dev, daf->ncells, daf->cells, &irq, &pol, &trig); in aw_nmi_setup_intr() 259 if (pol != nmi_intr->pol || trig != nmi_intr->tri) in aw_nmi_setup_intr() 266 nmi_intr->tri = trig; in aw_nmi_setup_intr() [all …]
|
/freebsd/sys/powerpc/powerpc/ |
H A D | intr_machdep.c | 102 enum intr_trigger trig; member 246 i->trig = INTR_TRIGGER_CONFORM; in intr_lookup() 498 if (i->trig == INTR_TRIGGER_INVALID) in powerpc_enable_intr() 500 &i->trig, &i->pol); in powerpc_enable_intr() 501 if (i->trig != INTR_TRIGGER_CONFORM || in powerpc_enable_intr() 503 PIC_CONFIG(i->pic, i->intline, i->trig, i->pol); in powerpc_enable_intr() 551 if (i->trig == INTR_TRIGGER_INVALID) in powerpc_setup_intr() 553 i->fwcode, &i->trig, &i->pol); in powerpc_setup_intr() 555 if (i->trig != INTR_TRIGGER_CONFORM || in powerpc_setup_intr() 557 PIC_CONFIG(i->pic, i->intline, i->trig, i->pol); in powerpc_setup_intr() [all …]
|
H A D | pic_if.m | 39 int code, enum intr_trigger *trig, enum intr_polarity *pol) 41 *trig = INTR_TRIGGER_CONFORM; 57 enum intr_trigger *trig; 64 enum intr_trigger trig;
|
/freebsd/sys/x86/isa/ |
H A D | atpic.c | 146 static int atpic_config_intr(struct intsrc *isrc, enum intr_trigger trig, 342 atpic_config_intr(struct intsrc *isrc, enum intr_trigger trig, in atpic_config_intr() argument 349 if (trig == INTR_TRIGGER_CONFORM) in atpic_config_intr() 350 trig = INTR_TRIGGER_EDGE; 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() 358 vector, trig == INTR_TRIGGER_EDGE ? "edge" : "level", in atpic_config_intr() 364 if (ai->at_trigger == trig) in atpic_config_intr() 373 trig == INTR_TRIGGER_LEVEL) { in atpic_config_intr() 383 vector, trig == INTR_TRIGGER_EDGE ? "edge/high" : in atpic_config_intr() [all …]
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | atpic.c | 82 enum intr_trigger *trig, enum intr_polarity *pol); 245 atpic_config(device_t dev, u_int irq, enum intr_trigger trig, in atpic_config() argument 333 enum intr_trigger *trig, enum intr_polarity *pol) in atpic_ofw_translate_code() argument 338 *trig = INTR_TRIGGER_LEVEL; in atpic_ofw_translate_code() 343 *trig = INTR_TRIGGER_LEVEL; in atpic_ofw_translate_code() 348 *trig = INTR_TRIGGER_EDGE; in atpic_ofw_translate_code() 353 *trig = INTR_TRIGGER_EDGE; in atpic_ofw_translate_code() 357 *trig = INTR_TRIGGER_CONFORM; in atpic_ofw_translate_code()
|
/freebsd/sys/arm/arm/ |
H A D | gic.c | 615 gic_config(struct arm_gic_softc *sc, u_int irq, enum intr_trigger trig, in gic_config() argument 637 if (trig == INTR_TRIGGER_LEVEL) { in gic_config() 640 } else if (trig == INTR_TRIGGER_EDGE) { in gic_config() 765 enum intr_trigger trig; in gic_map_intr() local 781 &trig) != 0) in gic_map_intr() 794 trig = daa->trig; in gic_map_intr() 800 if (gic_map_msi(dev, dam, &irq, &pol, &trig) != 0) in gic_map_intr() 812 if (trig != INTR_TRIGGER_CONFORM && trig != INTR_TRIGGER_EDGE && in gic_map_intr() 813 trig != INTR_TRIGGER_LEVEL) in gic_map_intr() 820 *trigp = trig; in gic_map_intr() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | marvell,kirkwood-pinctrl.txt | 29 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig) 30 mpp6 6 sysrst(out), spi(mosi), ptp(trig) 31 mpp7 7 gpo, pex(rsto), spi(cs), ptp(trig) 36 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig) 38 ptp-2(trig) 67 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act) 68 mpp6 6 sysrst(out), spi(mosi), ptp(trig) 69 mpp7 7 gpo, pex(rsto), spi(cs), ptp(trig) 74 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig) 76 ptp-2(trig), sata0(act) [all …]
|
/freebsd/sys/x86/acpica/ |
H A D | madt.c | 551 enum intr_trigger *trig, enum intr_polarity *pol) in madt_parse_interrupt_values() argument 567 *trig = interrupt_trigger(intr->IntiFlags, intr->SourceIrq); in madt_parse_interrupt_values() 579 *trig = INTR_TRIGGER_EDGE; in madt_parse_interrupt_values() 581 *trig = INTR_TRIGGER_LEVEL; in madt_parse_interrupt_values() 587 *trig == INTR_TRIGGER_EDGE ? "edge" : "level"); in madt_parse_interrupt_values() 612 enum intr_trigger trig; in madt_parse_interrupt_override() local 628 madt_parse_interrupt_values(intr, &trig, &pol); in madt_parse_interrupt_override() 653 ioapic_set_triggermode(new_ioapic, new_pin, trig); in madt_parse_interrupt_override()
|
/freebsd/sys/contrib/device-tree/src/arm64/amd/ |
H A D | amd-overdrive.dts | 58 pl022,rx-level-trig = <0>; 59 pl022,tx-level-trig = <0>;
|
H A D | amd-overdrive-rev-b0.dts | 69 pl022,rx-level-trig = <0>; 70 pl022,tx-level-trig = <0>;
|
H A D | husky.dts | 77 pl022,rx-level-trig = <0>; 78 pl022,tx-level-trig = <0>;
|
H A D | amd-overdrive-rev-b1.dts | 81 pl022,rx-level-trig = <0>; 82 pl022,tx-level-trig = <0>;
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | rx.c | 422 struct iwl_fw_dbg_trigger_tlv *trig; in iwl_mvm_rx_rx_mpdu() local 440 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, in iwl_mvm_rx_rx_mpdu() 444 if (trig && ieee80211_is_beacon(hdr->frame_control)) { in iwl_mvm_rx_rx_mpdu() 448 rssi_trig = (void *)trig->data; in iwl_mvm_rx_rx_mpdu() 452 iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, in iwl_mvm_rx_rx_mpdu() 721 struct iwl_fw_dbg_trigger_tlv *trig; in iwl_mvm_rx_stats_check_trigger() 725 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, NULL, FW_DBG_TRIGGER_STATS); in iwl_mvm_rx_stats_check_trigger() 726 if (!trig) in iwl_mvm_rx_stats_check_trigger() 729 trig_stats = (void *)trig->data; in iwl_mvm_stats_energy_iter() 741 iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, NUL in iwl_mvm_stats_energy_iter() 702 struct iwl_fw_dbg_trigger_tlv *trig; iwl_mvm_rx_stats_check_trigger() local [all...] |
H A D | utils.c | 806 struct iwl_fw_dbg_trigger_tlv *trig; in iwl_mvm_tcm_results() 809 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), in iwl_mvm_tcm_results() 811 if (!trig) in iwl_mvm_tcm_results() 814 trig_mlme = (void *)trig->data; in iwl_mvm_tcm_results() 820 iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, "%s", errmsg); in iwl_mvm_tcm_uapsd_nonagg_detected_wk() 831 struct iwl_fw_dbg_trigger_tlv *trig; in iwl_mvm_tcm_uapsd_nonagg_detected_wk() 834 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), in iwl_mvm_tcm_uapsd_nonagg_detected_wk() 836 if (!trig) in iwl_mvm_tcm_uapsd_nonagg_detected_wk() 839 ba_trig = (void *)trig->data; in iwl_mvm_tcm_uapsd_nonagg_detected_wk() 844 iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, 716 struct iwl_fw_dbg_trigger_tlv *trig; iwl_mvm_connection_loss() local 741 struct iwl_fw_dbg_trigger_tlv *trig; iwl_mvm_event_frame_timeout_callback() local [all...] |
/freebsd/sys/contrib/device-tree/src/arm64/broadcom/northstar2/ |
H A D | ns2-svk.dts | 119 pl022,rx-level-trig = <1>; 120 pl022,tx-level-trig = <1>; 142 pl022,rx-level-trig = <1>; 143 pl022,tx-level-trig = <1>;
|
/freebsd/sys/arm64/arm64/ |
H A D | nexus.c | 264 nexus_config_intr(device_t dev, int irq, enum intr_trigger trig, in nexus_config_intr() argument 526 static int nexus_acpi_map_intr(device_t dev, device_t child, u_int irq, int trig, int pol); 567 nexus_acpi_map_intr(device_t dev, device_t child, u_int irq, int trig, int pol) in nexus_acpi_map_intr() argument 577 acpi_data->trig = trig; in nexus_acpi_map_intr()
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | spear1310-evb.dts | 358 pl022,rx-level-trig = <0>; 359 pl022,tx-level-trig = <0>; 390 pl022,rx-level-trig = <0>; 391 pl022,tx-level-trig = <0>;
|