Home
last modified time | relevance | path

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

1234

/linux/Documentation/devicetree/bindings/watchdog/
H A 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/Documentation/devicetree/bindings/timer/
H A 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/drivers/thermal/
H A 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/Documentation/devicetree/bindings/mfd/
H A 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/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_debugfs.c79 u64 twd = le64_to_cpu(ring->desc[i]); in fbnic_dbg_twd_desc_seq_show() local
81 switch (FIELD_GET(FBNIC_TWD_TYPE_MASK, twd)) { in fbnic_dbg_twd_desc_seq_show()
84 i, FIELD_GET(FBNIC_TWD_LEN_MASK, twd), in fbnic_dbg_twd_desc_seq_show()
85 FIELD_GET(FBNIC_TWD_TYPE_MASK, twd), in fbnic_dbg_twd_desc_seq_show()
86 FIELD_GET(FBNIC_TWD_FLAG_REQ_COMPLETION, twd), in fbnic_dbg_twd_desc_seq_show()
87 FIELD_GET(FBNIC_TWD_FLAG_REQ_CSO, twd), in fbnic_dbg_twd_desc_seq_show()
88 FIELD_GET(FBNIC_TWD_FLAG_REQ_LSO, twd), in fbnic_dbg_twd_desc_seq_show()
89 FIELD_GET(FBNIC_TWD_FLAG_REQ_TS, twd), in fbnic_dbg_twd_desc_seq_show()
90 FIELD_GET(FBNIC_TWD_L4_HLEN_MASK, twd), in fbnic_dbg_twd_desc_seq_show()
91 FIELD_GET(FBNIC_TWD_CSUM_OFFSET_MASK, twd), in fbnic_dbg_twd_desc_seq_show()
[all …]
H A Dfbnic_txrx.c150 static void fbnic_unmap_single_twd(struct device *dev, __le64 *twd) in fbnic_unmap_single_twd() argument
152 u64 raw_twd = le64_to_cpu(*twd); in fbnic_unmap_single_twd()
162 static void fbnic_unmap_page_twd(struct device *dev, __le64 *twd) in fbnic_unmap_page_twd() argument
164 u64 raw_twd = le64_to_cpu(*twd); in fbnic_unmap_page_twd()
322 __le64 *twd; in fbnic_tx_map() local
340 twd = &ring->desc[tail]; in fbnic_tx_map()
345 *twd = cpu_to_le64(FIELD_PREP(FBNIC_TWD_ADDR_MASK, dma) | in fbnic_tx_map()
368 *twd |= FBNIC_TWD_TYPE(LAST_AL); in fbnic_tx_map()
370 FBNIC_XMIT_CB(skb)->desc_count = ((twd - meta) + 1) & ring->size_mask; in fbnic_tx_map()
397 twd = &ring->desc[tail]; in fbnic_tx_map()
[all …]
/linux/arch/x86/um/
H A Dptrace.c14 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument
19 tmp = ~twd; in twd_i387_to_fxsr()
32 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local
40 if (twd & 0x1) { in twd_fxsr_to_i387()
68 twd = twd >> 1; in twd_fxsr_to_i387()
132 fxsave->twd = twd_i387_to_fxsr((unsigned short)(from->twd & 0xffff)); in um_fxsr_from_i387()
/linux/arch/arm/kernel/
H A Dsmp_twd.c116 * The twd clock events must be reprogrammed to account for the new in twd_rate_change()
281 err = request_percpu_irq(twd_ppi, twd_handler, "twd", twd_evt); in twd_local_timer_common_register()
283 pr_err("twd: can't register interrupt %d (%d)\n", twd_ppi, err); in twd_local_timer_common_register()
288 "arm/timer/twd:starting", in twd_local_timer_common_register()
337 TIMER_OF_DECLARE(arm_twd_a9, "arm,cortex-a9-twd-timer", twd_local_timer_of_register);
338 TIMER_OF_DECLARE(arm_twd_a5, "arm,cortex-a5-twd-timer", twd_local_timer_of_register);
339 TIMER_OF_DECLARE(arm_twd_11mp, "arm,arm11mp-twd-timer", twd_local_timer_of_register);
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dthermal.c133 struct iwl_trip_walk_data *twd = arg; in iwl_trip_temp_iter() local
138 twd->thresholds[twd->count++] = in iwl_trip_temp_iter()
149 struct iwl_trip_walk_data twd = { in iwl_mld_config_temp_report_ths() local
163 for_each_thermal_trip(mld->tzone, iwl_trip_temp_iter, &twd); in iwl_mld_config_temp_report_ths()
165 cmd.num_temps = cpu_to_le32(twd.count); in iwl_mld_config_temp_report_ths()
166 if (twd.count) in iwl_mld_config_temp_report_ths()
167 sort(cmd.thresholds, twd.count, sizeof(s16), in iwl_mld_config_temp_report_ths()
/linux/arch/x86/kernel/fpu/
H A Dregset.c265 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument
270 tmp = ~twd; in twd_i387_to_fxsr()
290 u32 twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local
295 for (i = 0; i < 8; i++, twd >>= 1) { in twd_fxsr_to_i387()
296 if (twd & 0x1) { in twd_fxsr_to_i387()
341 env->twd = twd_fxsr_to_i387(fxsave); in __convert_from_fxsr()
384 fxsave->twd = twd_i387_to_fxsr(env->twd); in convert_to_fxsr()
/linux/Documentation/devicetree/bindings/arm/ux500/
H A 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/Documentation/devicetree/bindings/clock/
H A 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/arch/x86/include/asm/
H A Duser32.h11 u32 twd; member
23 unsigned short twd; /* not compatible to 64bit twd */ member
H A Duser_32.h48 long twd; member
59 unsigned short twd; member
H A Duser_64.h54 unsigned short twd; /* Note this is not the same as member
55 the 32bit/x87/FSAVE twd */
/linux/drivers/watchdog/
H A 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()
H A Dmax77620_wdt.c126 * "If the value of TWD needs to be changed, clear the system in max77620_wdt_set_timeout()
127 * watchdog timer first [...], then change the value of TWD." in max77620_wdt_set_timeout()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c554 struct iwl_trip_walk_data *twd = arg; in iwl_trip_temp_cb() local
559 twd->thresholds[twd->count++] = cpu_to_le16((s16)(trip->temperature / 1000)); in iwl_trip_temp_cb()
569 struct iwl_trip_walk_data twd = { .thresholds = cmd.thresholds, .count = 0 }; in iwl_mvm_send_temp_report_ths_cmd() local
583 for_each_thermal_trip(mvm->tz_device.tzone, iwl_trip_temp_cb, &twd); in iwl_mvm_send_temp_report_ths_cmd()
585 cmd.num_temps = cpu_to_le32(twd.count); in iwl_mvm_send_temp_report_ths_cmd()
586 if (twd.count) in iwl_mvm_send_temp_report_ths_cmd()
587 sort(cmd.thresholds, twd.count, sizeof(s16), compare_temps, NULL); in iwl_mvm_send_temp_report_ths_cmd()
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm-hr2.dtsi82 twd-timer@20600 {
83 compatible = "arm,cortex-a9-twd-timer";
90 twd-watchdog@20620 {
91 compatible = "arm,cortex-a9-twd-wdt";
H A Dbcm-nsp.dtsi100 twd-timer@20600 {
101 compatible = "arm,cortex-a9-twd-timer";
108 twd-watchdog@20620 {
109 compatible = "arm,cortex-a9-twd-wdt";
/linux/arch/arm/boot/dts/calxeda/
H A Dhighbank.dts114 compatible = "arm,cortex-a9-twd-timer";
121 compatible = "arm,cortex-a9-twd-wdt";
/linux/arch/arm/boot/dts/arm/
H A Darm-realview-pbx-a9.dts87 compatible = "arm,cortex-a9-twd-timer";
94 compatible = "arm,cortex-a9-twd-wdt";
H A Darm-realview-eb-mp.dtsi92 compatible = "arm,arm11mp-twd-timer";
99 compatible = "arm,arm11mp-twd-wdt";
H A Dvexpress-v2p-ca5s.dts102 compatible = "arm,cortex-a5-twd-timer";
116 compatible = "arm,cortex-a5-twd-wdt";
/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm730.dtsi37 compatible = "arm,cortex-a9-twd-timer";

1234