Lines Matching full:smart
211 struct nd_intel_smart *smart;
710 static int nfit_test_cmd_smart(struct nd_intel_smart *smart, unsigned int buf_len,
713 if (buf_len < sizeof(*smart))
715 memcpy(smart, smart_data, sizeof(*smart));
731 struct device *dimm_dev, struct nd_intel_smart *smart,
736 smart->spares, thresh->media_temperature,
737 smart->media_temperature, thresh->ctrl_temperature,
738 smart->ctrl_temperature);
740 && smart->spares
743 && smart->media_temperature
746 && smart->ctrl_temperature
748 || (smart->health != ND_INTEL_SMART_NON_CRITICAL_HEALTH)
749 || (smart->shutdown_state != 0)) {
760 struct nd_intel_smart *smart,
770 smart_notify(bus_dev, dimm_dev, smart, thresh);
779 struct nd_intel_smart *smart,
787 smart->media_temperature = inj->media_temperature;
789 smart->media_temperature = smart_def.media_temperature;
793 smart->spares = inj->spares;
795 smart->spares = smart_def.spares;
799 smart->health = ND_INTEL_SMART_FATAL_HEALTH;
801 smart->health = ND_INTEL_SMART_NON_CRITICAL_HEALTH;
805 smart->shutdown_state = 1;
806 smart->shutdown_count++;
808 smart->shutdown_state = 0;
811 smart_notify(bus_dev, dimm_dev, smart, thresh);
1463 &t->smart[i]);
1474 &t->smart[i],
1481 &t->smart[i],
1868 memcpy(&t->smart[i], &smart_def, sizeof(smart_def));
3163 nfit_test->smart = devm_kcalloc(dev, num,