Home
last modified time | relevance | path

Searched full:twd (Results 1 – 25 of 89) sorted by relevance

1234

/linux-6.12.1/Documentation/devicetree/bindings/watchdog/
Darm,twd-wdt.yaml4 $id: http://devicetree.org/schemas/watchdog/arm,twd-wdt.yaml#
14 Timer-Watchdog (aka TWD), which provides both a per-cpu local timer
17 The TWD is usually attached to a GIC to deliver its two per-processor
23 - arm,cortex-a9-twd-wdt
24 - arm,cortex-a5-twd-wdt
25 - arm,arm11mp-twd-wdt
47 compatible = "arm,arm11mp-twd-wdt";
/linux-6.12.1/Documentation/devicetree/bindings/timer/
Darm,twd-timer.yaml4 $id: http://devicetree.org/schemas/timer/arm,twd-timer.yaml#
14 Timer-Watchdog (aka TWD), which provides both a per-cpu local timer
17 The TWD is usually attached to a GIC to deliver its two per-processor
23 - arm,cortex-a9-twd-timer
24 - arm,cortex-a5-twd-timer
25 - arm,arm11mp-twd-timer
53 compatible = "arm,arm11mp-twd-timer";
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dbrcm,twd.yaml4 $id: http://devicetree.org/schemas/mfd/brcm,twd.yaml#
7 title: Broadcom's Timer-Watchdog (aka TWD)
22 - brcm,bcm4908-twd
23 - brcm,bcm7038-twd
53 compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
/linux-6.12.1/drivers/thermal/
Duniphier_thermal.c250 struct trip_walk_data *twd = arg; in uniphier_tm_trip_walk_cb() local
253 trip->temperature < twd->crit_temp) in uniphier_tm_trip_walk_cb()
254 twd->crit_temp = trip->temperature; in uniphier_tm_trip_walk_cb()
256 uniphier_tm_set_alert(twd->tdev, twd->index, trip->temperature); in uniphier_tm_trip_walk_cb()
257 twd->tdev->alert_en[twd->index++] = true; in uniphier_tm_trip_walk_cb()
264 struct trip_walk_data twd = { .crit_temp = INT_MAX, .index = 0 }; in uniphier_tm_probe() local
317 twd.tdev = tdev; in uniphier_tm_probe()
318 thermal_zone_for_each_trip(tdev->tz_dev, uniphier_tm_trip_walk_cb, &twd); in uniphier_tm_probe()
320 if (twd.crit_temp > CRITICAL_TEMP_LIMIT) { in uniphier_tm_probe()
/linux-6.12.1/arch/arm/kernel/
Dsmp_twd.c117 * The twd clock events must be reprogrammed to account for the new in twd_rate_change()
282 err = request_percpu_irq(twd_ppi, twd_handler, "twd", twd_evt); in twd_local_timer_common_register()
284 pr_err("twd: can't register interrupt %d (%d)\n", twd_ppi, err); in twd_local_timer_common_register()
289 "arm/timer/twd:starting", in twd_local_timer_common_register()
338 TIMER_OF_DECLARE(arm_twd_a9, "arm,cortex-a9-twd-timer", twd_local_timer_of_register);
339 TIMER_OF_DECLARE(arm_twd_a5, "arm,cortex-a5-twd-timer", twd_local_timer_of_register);
340 TIMER_OF_DECLARE(arm_twd_11mp, "arm,arm11mp-twd-timer", twd_local_timer_of_register);
/linux-6.12.1/arch/x86/kernel/fpu/
Dregset.c264 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument
269 tmp = ~twd; in twd_i387_to_fxsr()
289 u32 twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local
294 for (i = 0; i < 8; i++, twd >>= 1) { in twd_fxsr_to_i387()
295 if (twd & 0x1) { in twd_fxsr_to_i387()
340 env->twd = twd_fxsr_to_i387(fxsave); in __convert_from_fxsr()
383 fxsave->twd = twd_i387_to_fxsr(env->twd); in convert_to_fxsr()
/linux-6.12.1/Documentation/devicetree/bindings/arm/ux500/
Dboards.txt29 see binding for timer/arm,twd-timer.yaml
69 compatible = "arm,cortex-a9-twd-timer";
78 smp_twd_clk: smp-twd-clock {
/linux-6.12.1/Documentation/devicetree/bindings/clock/
Dstericsson,u8500-clks.yaml17 clocks - RTC (32 kHz), CPU clock (SMP TWD), PRCMU (power reset and
101 smp-twd-clock:
138 - smp-twd-clock
171 smp_twd_clk: smp-twd-clock {
/linux-6.12.1/arch/x86/include/asm/
Duser32.h11 u32 twd; member
23 unsigned short twd; /* not compatible to 64bit twd */ member
Duser_64.h54 unsigned short twd; /* Note this is not the same as member
55 the 32bit/x87/FSAVE twd */
Duser_32.h48 long twd; member
59 unsigned short twd; member
/linux-6.12.1/drivers/watchdog/
Dmax63xx_wdt.c75 const u8 twd; member
103 while (table->twd) { in max63xx_select_timeout()
104 if (value <= table->twd) { in max63xx_select_timeout()
233 wdt->wdd.timeout = wdt->timeout->twd; in max63xx_wdt_probe()
244 wdt->timeout->twd, wdt->timeout->tdelay); in max63xx_wdt_probe()
Dmax77620_wdt.c127 * "If the value of TWD needs to be changed, clear the system in max77620_wdt_set_timeout()
128 * watchdog timer first [...], then change the value of TWD." in max77620_wdt_set_timeout()
/linux-6.12.1/arch/x86/um/
Dsignal.c25 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument
30 tmp = ~twd; in twd_i387_to_fxsr()
42 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local
50 if (twd & 0x1) { in twd_fxsr_to_i387()
79 twd = twd >> 1; in twd_fxsr_to_i387()
130 fxsave->twd = twd_i387_to_fxsr((unsigned short)(env[2] & 0xffff)); in convert_fxsr_from_user()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c566 struct iwl_trip_walk_data *twd = arg; in iwl_trip_temp_cb() local
571 twd->thresholds[twd->count++] = cpu_to_le16((s16)(trip->temperature / 1000)); in iwl_trip_temp_cb()
581 struct iwl_trip_walk_data twd = { .thresholds = cmd.thresholds, .count = 0 }; in iwl_mvm_send_temp_report_ths_cmd() local
595 for_each_thermal_trip(mvm->tz_device.tzone, iwl_trip_temp_cb, &twd); in iwl_mvm_send_temp_report_ths_cmd()
597 cmd.num_temps = cpu_to_le32(twd.count); in iwl_mvm_send_temp_report_ths_cmd()
598 if (twd.count) in iwl_mvm_send_temp_report_ths_cmd()
599 sort(cmd.thresholds, twd.count, sizeof(s16), compare_temps, NULL); in iwl_mvm_send_temp_report_ths_cmd()
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm-hr2.dtsi82 twd-timer@20600 {
83 compatible = "arm,cortex-a9-twd-timer";
90 twd-watchdog@20620 {
91 compatible = "arm,cortex-a9-twd-wdt";
Dbcm63138.dtsi117 compatible = "arm,cortex-a9-twd-timer";
125 compatible = "arm,cortex-a9-twd-wdt";
/linux-6.12.1/arch/arm/boot/dts/calxeda/
Dhighbank.dts114 compatible = "arm,cortex-a9-twd-timer";
121 compatible = "arm,cortex-a9-twd-wdt";
/linux-6.12.1/arch/arm64/boot/dts/broadcom/bcmbca/
Dbcm6858.dtsi120 twd: timer-mfd@400 { label
121 compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_txrx.c86 static void fbnic_unmap_single_twd(struct device *dev, __le64 *twd) in fbnic_unmap_single_twd() argument
88 u64 raw_twd = le64_to_cpu(*twd); in fbnic_unmap_single_twd()
98 static void fbnic_unmap_page_twd(struct device *dev, __le64 *twd) in fbnic_unmap_page_twd() argument
100 u64 raw_twd = le64_to_cpu(*twd); in fbnic_unmap_page_twd()
160 __le64 *twd; in fbnic_tx_map() local
177 twd = &ring->desc[tail]; in fbnic_tx_map()
182 *twd = cpu_to_le64(FIELD_PREP(FBNIC_TWD_ADDR_MASK, dma) | in fbnic_tx_map()
202 *twd |= FBNIC_TWD_TYPE(LAST_AL); in fbnic_tx_map()
204 FBNIC_XMIT_CB(skb)->desc_count = ((twd - meta) + 1) & ring->size_mask; in fbnic_tx_map()
228 twd = &ring->desc[tail]; in fbnic_tx_map()
[all …]
/linux-6.12.1/arch/arm/boot/dts/arm/
Darm-realview-pbx-a9.dts87 compatible = "arm,cortex-a9-twd-timer";
94 compatible = "arm,cortex-a9-twd-wdt";
Dvexpress-v2p-ca5s.dts102 compatible = "arm,cortex-a5-twd-timer";
116 compatible = "arm,cortex-a5-twd-wdt";
Darm-realview-eb-mp.dtsi92 compatible = "arm,arm11mp-twd-timer";
99 compatible = "arm,arm11mp-twd-wdt";
/linux-6.12.1/arch/arm/boot/dts/nuvoton/
Dnuvoton-npcm730.dtsi37 compatible = "arm,cortex-a9-twd-timer";
/linux-6.12.1/arch/x86/include/asm/fpu/
Dtypes.h17 u32 twd; /* FPU Tag Word */ member
39 u16 twd; /* Tag Word */ member
84 u32 twd; member

1234