Searched refs:twd (Results 1 – 5 of 5) sorted by relevance
| /drivers/thermal/ |
| A D | uniphier_thermal.c | 250 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()
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | thermal.c | 133 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()
|
| /drivers/watchdog/ |
| A D | max63xx_wdt.c | 75 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()
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | tt.c | 554 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()
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_txrx.c | 138 static void fbnic_unmap_single_twd(struct device *dev, __le64 *twd) in fbnic_unmap_single_twd() argument 140 u64 raw_twd = le64_to_cpu(*twd); in fbnic_unmap_single_twd() 150 static void fbnic_unmap_page_twd(struct device *dev, __le64 *twd) in fbnic_unmap_page_twd() argument 152 u64 raw_twd = le64_to_cpu(*twd); in fbnic_unmap_page_twd() 309 __le64 *twd; in fbnic_tx_map() local 326 twd = &ring->desc[tail]; in fbnic_tx_map() 331 *twd = cpu_to_le64(FIELD_PREP(FBNIC_TWD_ADDR_MASK, dma) | in fbnic_tx_map() 351 *twd |= FBNIC_TWD_TYPE(LAST_AL); in fbnic_tx_map() 380 twd = &ring->desc[tail]; in fbnic_tx_map() 382 fbnic_unmap_single_twd(dev, twd); in fbnic_tx_map() [all …]
|
Completed in 17 milliseconds