Lines Matching full:feature

163 			  struct dfl_feature *feature,  in fme_hdr_ioctl()  argument
217 const struct dfl_feature *feature = drvdata; in thermal_hwmon_attrs_visible() local
223 return fme_thermal_throttle_support(feature->ioaddr) ? 0444 : 0; in thermal_hwmon_attrs_visible()
229 struct dfl_feature *feature = dev_get_drvdata(dev); in thermal_hwmon_read() local
234 v = readq(feature->ioaddr + FME_THERM_RDSENSOR_FMT1); in thermal_hwmon_read()
238 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
242 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
246 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
250 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
254 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
284 struct dfl_feature *feature = dev_get_drvdata(dev); in temp1_max_policy_show() local
287 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in temp1_max_policy_show()
304 struct dfl_feature *feature = dev_get_drvdata(dev); in thermal_extra_attrs_visible() local
306 return fme_thermal_throttle_support(feature->ioaddr) ? attr->mode : 0; in thermal_extra_attrs_visible()
316 struct dfl_feature *feature) in fme_thermal_mgmt_init() argument
339 "dfl_fme_thermal", feature, in fme_thermal_mgmt_init()
380 struct dfl_feature *feature = dev_get_drvdata(dev); in power_hwmon_read() local
385 v = readq(feature->ioaddr + FME_PWR_STATUS); in power_hwmon_read()
389 v = readq(feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_read()
393 v = readq(feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_read()
397 v = readq(feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_read()
401 v = readq(feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_read()
415 struct dfl_feature *feature = dev_get_drvdata(dev); in power_hwmon_write() local
425 v = readq(feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_write()
428 writeq(v, feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_write()
431 v = readq(feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_write()
434 writeq(v, feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_write()
484 struct dfl_feature *feature = dev_get_drvdata(dev); in power1_xeon_limit_show() local
488 v = readq(feature->ioaddr + FME_PWR_XEON_LIMIT); in power1_xeon_limit_show()
499 struct dfl_feature *feature = dev_get_drvdata(dev); in power1_fpga_limit_show() local
503 v = readq(feature->ioaddr + FME_PWR_FPGA_LIMIT); in power1_fpga_limit_show()
514 struct dfl_feature *feature = dev_get_drvdata(dev); in power1_ltr_show() local
517 v = readq(feature->ioaddr + FME_PWR_STATUS); in power1_ltr_show()
537 struct dfl_feature *feature) in fme_power_mgmt_init() argument
542 "dfl_fme_power", feature, in fme_power_mgmt_init()
624 struct dfl_feature *feature; in fme_release() local
632 dfl_fpga_dev_for_each_feature(pdata, feature) in fme_release()
633 dfl_fpga_set_irq_triggers(feature, 0, in fme_release()
634 feature->nr_irqs, NULL); in fme_release()
656 * Let sub-feature's ioctl function to handle the cmd. in fme_ioctl()
657 * Sub-feature's ioctl returns -ENODEV when cmd is not in fme_ioctl()
658 * handled in this sub feature, and returns 0 or other in fme_ioctl()