/Linux-v6.1/drivers/thermal/qcom/ |
D | tsens-v0_1.c | 254 for (i = 0; i < priv->num_sensors; i++) in calibrate_8916() 264 for (i = 0; i < priv->num_sensors; i++) in calibrate_8916() 268 for (i = 0; i < priv->num_sensors; i++) { in calibrate_8916() 319 for (i = 0; i < priv->num_sensors; i++) in calibrate_8939() 335 for (i = 0; i < priv->num_sensors; i++) in calibrate_8939() 339 for (i = 0; i < priv->num_sensors; i++) { in calibrate_8939() 447 for (i = 0; i < priv->num_sensors; i++) in calibrate_8974() 451 for (i = 0; i < priv->num_sensors; i++) { in calibrate_8974() 458 for (i = 0; i < priv->num_sensors; i++) { in calibrate_8974() 465 for (i = 0; i < priv->num_sensors; i++) in calibrate_8974() [all …]
|
D | tsens-8960.c | 69 if (priv->num_sensors > 1) in suspend_8960() 94 if (priv->num_sensors > 1) { in resume_8960() 142 if (priv->num_sensors > 1) in enable_8960() 160 mask = GENMASK(priv->num_sensors - 1, 0); in disable_8960() 170 if (priv->num_sensors > 1) in disable_8960() 190 for (i = 0; i < priv->num_sensors; i++) { in calibrate_8960() 278 .num_sensors = 11,
|
D | tsens-v1.c | 162 for (i = 0; i < priv->num_sensors; i++) { in compute_intercept_slope_8976() 203 for (i = 0; i < priv->num_sensors; i++) in calibrate_v1() 218 for (i = 0; i < priv->num_sensors; i++) in calibrate_v1() 222 for (i = 0; i < priv->num_sensors; i++) { in calibrate_v1() 264 for (i = 0; i < priv->num_sensors; i++) in calibrate_8976() 283 for (i = 0; i < priv->num_sensors; i++) in calibrate_8976() 287 for (i = 0; i < priv->num_sensors; i++) { in calibrate_8976() 385 .num_sensors = 11,
|
D | tsens.c | 85 for (i = 0; i < priv->num_sensors; i++) { in compute_intercept_slope() 417 for (i = 0; i < priv->num_sensors; i++) { in tsens_critical_irq_thread() 466 for (i = 0; i < priv->num_sensors; i++) { in tsens_irq_thread() 665 priv->feat->max_sensors, priv->num_sensors); in dbg_sensors_show() 668 for (i = 0; i < priv->num_sensors; i++) { in dbg_sensors_show() 1045 for (i = 0; i < priv->num_sensors; i++) { in tsens_register() 1093 u32 num_sensors; in tsens_probe() local 1108 num_sensors = data->num_sensors; in tsens_probe() 1111 of_property_read_u32(np, "#qcom,sensors", &num_sensors); in tsens_probe() 1113 if (num_sensors <= 0) { in tsens_probe() [all …]
|
D | tsens-v2.c | 106 .num_sensors = 13,
|
D | tsens.h | 520 const u32 num_sensors; member 558 u32 num_sensors; member
|
/Linux-v6.1/drivers/thermal/ |
D | mtk_thermal.c | 251 unsigned int num_sensors; member 262 s32 num_sensors; member 405 .num_sensors = MT8173_NUM_SENSORS, 413 .num_sensors = 2, 416 .num_sensors = 2, 419 .num_sensors = 3, 422 .num_sensors = 1, 445 .num_sensors = MT2701_NUM_SENSORS, 453 .num_sensors = 3, 476 .num_sensors = MT2712_NUM_SENSORS, [all …]
|
D | imx8mm_thermal.c | 43 u32 num_sensors; member 141 data->num_sensors), GFP_KERNEL); in imx8mm_tmu_probe() 165 for (i = 0; i < data->num_sensors; i++) { in imx8mm_tmu_probe() 211 .num_sensors = 1, 217 .num_sensors = 2,
|
/Linux-v6.1/drivers/hwmon/occ/ |
D | common.c | 795 num_attrs += (sensors->temp.num_sensors * 2); in occ_setup_sensor_attrs() 798 num_attrs += (sensors->temp.num_sensors * 4); in occ_setup_sensor_attrs() 802 num_attrs += (sensors->temp.num_sensors * 5); in occ_setup_sensor_attrs() 806 sensors->temp.num_sensors = 0; in occ_setup_sensor_attrs() 814 num_attrs += (sensors->freq.num_sensors * 2); in occ_setup_sensor_attrs() 817 sensors->freq.num_sensors = 0; in occ_setup_sensor_attrs() 825 num_attrs += (sensors->power.num_sensors * 4); in occ_setup_sensor_attrs() 828 num_attrs += (sensors->power.num_sensors * 16); in occ_setup_sensor_attrs() 832 sensors->power.num_sensors = 0; in occ_setup_sensor_attrs() 837 num_attrs += (sensors->caps.num_sensors * 7); in occ_setup_sensor_attrs() [all …]
|
D | common.h | 33 u8 num_sensors; member 65 u8 num_sensors; member
|
/Linux-v6.1/drivers/firmware/arm_scmi/ |
D | sensors.c | 35 __le16 num_sensors; member 215 int num_sensors; member 238 si->num_sensors = le16_to_cpu(attr->num_sensors); in scmi_sensor_attributes_get() 685 iter = ph->hops->iter_response_init(ph, &ops, si->num_sensors, in scmi_sensor_description_get() 767 if (sensor_id >= si->num_sensors) in scmi_sensor_config_get() 796 if (sensor_id >= si->num_sensors) in scmi_sensor_config_set() 843 if (sensor_id >= si->num_sensors) in scmi_sensor_reading_get() 911 if (sensor_id >= si->num_sensors) in scmi_sensor_reading_get_timestamped() 965 if (sensor_id >= si->num_sensors) in scmi_sensor_info_get() 975 return si->num_sensors; in scmi_sensor_count_get() [all …]
|
/Linux-v6.1/drivers/hwmon/ |
D | ibmpex.c | 89 unsigned char num_sensors; member 227 for (i = 0; i < data->num_sensors; i++) { in ibmpex_update_device() 373 data->num_sensors = err; in ibmpex_find_sensors() 375 data->sensors = kcalloc(data->num_sensors, sizeof(*data->sensors), in ibmpex_find_sensors() 380 for (i = 0; i < data->num_sensors; i++) { in ibmpex_find_sensors() 429 for (i = 0; i < data->num_sensors; i++) in ibmpex_find_sensors() 520 for (i = 0; i < data->num_sensors; i++) in ibmpex_bmc_delete()
|
D | acpi_power_meter.c | 89 int num_sensors; member 630 &resource->sensors[resource->num_sensors]; in register_attrs() 651 resource->num_sensors++; in register_attrs() 663 for (i = 0; i < resource->num_sensors; i++) { in remove_attrs() 672 resource->num_sensors = 0; in remove_attrs()
|
/Linux-v6.1/drivers/media/platform/samsung/exynos4-is/ |
D | media-dev.c | 401 int index = fmd->num_sensors; in fimc_md_parse_one_endpoint() 477 fmd->num_sensors++; in fimc_md_parse_one_endpoint() 519 fmd->num_sensors = 0; in fimc_md_register_sensor_entities() 967 for (i = 0; i < fmd->num_sensors; i++) { in fimc_md_create_links() 1401 subdev->name, fmd->num_sensors); in subdev_notifier_bound() 1403 fmd->num_sensors++; in subdev_notifier_bound() 1508 if (fmd->num_sensors > 0) { in fimc_md_probe() 1510 fmd->num_sensors = 0; in fimc_md_probe()
|
D | media-dev.h | 122 int num_sensors; member
|
/Linux-v6.1/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.c | 2784 u8 num_sensors; in igb_get_thermal_sensor_data_generic() local 2805 num_sensors = (ets_cfg & NVM_ETS_NUM_SENSORS_MASK); in igb_get_thermal_sensor_data_generic() 2806 if (num_sensors > E1000_MAX_SENSORS) in igb_get_thermal_sensor_data_generic() 2807 num_sensors = E1000_MAX_SENSORS; in igb_get_thermal_sensor_data_generic() 2809 for (i = 1; i < num_sensors; i++) { in igb_get_thermal_sensor_data_generic() 2838 u8 num_sensors; in igb_init_thermal_sensor_thresh_generic() local 2868 num_sensors = (ets_cfg & NVM_ETS_NUM_SENSORS_MASK); in igb_init_thermal_sensor_thresh_generic() 2870 for (i = 1; i <= num_sensors; i++) { in igb_init_thermal_sensor_thresh_generic()
|
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 3909 u8 num_sensors; in ixgbe_get_thermal_sensor_data_generic() local 3921 num_sensors = (ets_cfg & IXGBE_ETS_NUM_SENSORS_MASK); in ixgbe_get_thermal_sensor_data_generic() 3922 if (num_sensors > IXGBE_MAX_SENSORS) in ixgbe_get_thermal_sensor_data_generic() 3923 num_sensors = IXGBE_MAX_SENSORS; in ixgbe_get_thermal_sensor_data_generic() 3925 for (i = 0; i < num_sensors; i++) { in ixgbe_get_thermal_sensor_data_generic() 3966 u8 num_sensors; in ixgbe_init_thermal_sensor_thresh_generic() local 3983 num_sensors = (ets_cfg & IXGBE_ETS_NUM_SENSORS_MASK); in ixgbe_init_thermal_sensor_thresh_generic() 3984 if (num_sensors > IXGBE_MAX_SENSORS) in ixgbe_init_thermal_sensor_thresh_generic() 3985 num_sensors = IXGBE_MAX_SENSORS; in ixgbe_init_thermal_sensor_thresh_generic() 3987 for (i = 0; i < num_sensors; i++) { in ixgbe_init_thermal_sensor_thresh_generic()
|
/Linux-v6.1/drivers/scsi/mpi3mr/mpi/ |
D | mpi30_cnfg.h | 940 u8 num_sensors; member 970 u8 num_sensors; member
|