Home
last modified time | relevance | path

Searched refs:twd (Results 1 – 25 of 66) sorted by relevance

123

/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/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/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/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/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()
/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/arch/x86/include/asm/
H A Duser_32.h48 long twd; member
59 unsigned short twd; member
H A Duser32.h11 u32 twd; member
23 unsigned short twd; /* not compatible to 64bit twd */ member
H A Duser_64.h54 unsigned short twd; /* Note this is not the same as member
/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/x86/include/asm/fpu/
H A Dtypes.h17 u32 twd; /* FPU Tag Word */ member
39 u16 twd; /* Tag Word */ member
84 u32 twd; member
/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/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";
H A Dbcm63138.dtsi117 compatible = "arm,cortex-a9-twd-timer";
125 compatible = "arm,cortex-a9-twd-wdt";
/linux/arch/arm/boot/dts/arm/
H A Dvexpress-v2p-ca5s.dts102 compatible = "arm,cortex-a5-twd-timer";
116 compatible = "arm,cortex-a5-twd-wdt";
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-ca9.dts146 compatible = "arm,cortex-a9-twd-timer";
152 compatible = "arm,cortex-a9-twd-wdt";
/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm730.dtsi37 compatible = "arm,cortex-a9-twd-timer";
/linux/arch/x86/math-emu/
H A Dfpu_entry.c673 tags = S387->twd; in fpregs_soft_set()
686 S387->twd = tags; in fpregs_soft_set()
706 S387->twd |= 0xffff0000; in fpregs_soft_get()
H A Dfpu_system.h100 #define fpu_tag_word (I387->soft.twd)
/linux/arch/arm64/boot/dts/broadcom/bcmbca/
H A Dbcm6858.dtsi121 twd: timer-mfd@400 { label
122 compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
/linux/arch/arm/boot/dts/st/
H A Dspear13xx.dtsi320 compatible = "arm,cortex-a9-twd-timer";
327 compatible = "arm,cortex-a9-twd-wdt";
/linux/arch/arm/boot/dts/hisilicon/
H A Dhip01.dtsi99 compatible = "arm,cortex-a9-twd-timer";

123