num_sensors 18 drivers/firmware/arm_scmi/sensors.c __le16 num_sensors; num_sensors 71 drivers/firmware/arm_scmi/sensors.c int num_sensors; num_sensors 94 drivers/firmware/arm_scmi/sensors.c si->num_sensors = le16_to_cpu(attr->num_sensors); num_sensors 132 drivers/firmware/arm_scmi/sensors.c if (desc_index + num_returned > si->num_sensors) { num_sensors 134 drivers/firmware/arm_scmi/sensors.c si->num_sensors); num_sensors 263 drivers/firmware/arm_scmi/sensors.c return si->num_sensors; num_sensors 290 drivers/firmware/arm_scmi/sensors.c sinfo->sensors = devm_kcalloc(handle->dev, sinfo->num_sensors, num_sensors 90 drivers/hwmon/acpi_power_meter.c int num_sensors; num_sensors 623 drivers/hwmon/acpi_power_meter.c &resource->sensors[resource->num_sensors]; num_sensors 644 drivers/hwmon/acpi_power_meter.c resource->num_sensors++; num_sensors 656 drivers/hwmon/acpi_power_meter.c for (i = 0; i < resource->num_sensors; i++) { num_sensors 665 drivers/hwmon/acpi_power_meter.c resource->num_sensors = 0; num_sensors 89 drivers/hwmon/ibmpex.c unsigned char num_sensors; num_sensors 227 drivers/hwmon/ibmpex.c for (i = 0; i < data->num_sensors; i++) { num_sensors 373 drivers/hwmon/ibmpex.c data->num_sensors = err; num_sensors 375 drivers/hwmon/ibmpex.c data->sensors = kcalloc(data->num_sensors, sizeof(*data->sensors), num_sensors 380 drivers/hwmon/ibmpex.c for (i = 0; i < data->num_sensors; i++) { num_sensors 429 drivers/hwmon/ibmpex.c for (i = 0; i < data->num_sensors; i++) num_sensors 519 drivers/hwmon/ibmpex.c for (i = 0; i < data->num_sensors; i++) num_sensors 742 drivers/hwmon/occ/common.c num_attrs += (sensors->temp.num_sensors * 2); num_sensors 745 drivers/hwmon/occ/common.c num_attrs += (sensors->temp.num_sensors * 4); num_sensors 749 drivers/hwmon/occ/common.c sensors->temp.num_sensors = 0; num_sensors 757 drivers/hwmon/occ/common.c num_attrs += (sensors->freq.num_sensors * 2); num_sensors 760 drivers/hwmon/occ/common.c sensors->freq.num_sensors = 0; num_sensors 768 drivers/hwmon/occ/common.c num_attrs += (sensors->power.num_sensors * 4); num_sensors 771 drivers/hwmon/occ/common.c num_attrs += (sensors->power.num_sensors * 16); num_sensors 775 drivers/hwmon/occ/common.c sensors->power.num_sensors = 0; num_sensors 780 drivers/hwmon/occ/common.c num_attrs += (sensors->caps.num_sensors * 7); num_sensors 786 drivers/hwmon/occ/common.c num_attrs += (sensors->caps.num_sensors * 8); num_sensors 789 drivers/hwmon/occ/common.c sensors->caps.num_sensors = 0; num_sensors 794 drivers/hwmon/occ/common.c num_attrs += (sensors->extended.num_sensors * 3); num_sensors 797 drivers/hwmon/occ/common.c sensors->extended.num_sensors = 0; num_sensors 813 drivers/hwmon/occ/common.c for (i = 0; i < sensors->temp.num_sensors; ++i) { num_sensors 850 drivers/hwmon/occ/common.c for (i = 0; i < sensors->freq.num_sensors; ++i) { num_sensors 869 drivers/hwmon/occ/common.c for (i = 0; i < sensors->power.num_sensors; ++i) { num_sensors 908 drivers/hwmon/occ/common.c s = (sensors->power.num_sensors * 4) + 1; num_sensors 910 drivers/hwmon/occ/common.c for (i = 0; i < sensors->power.num_sensors; ++i) { num_sensors 938 drivers/hwmon/occ/common.c s = sensors->power.num_sensors + 1; num_sensors 941 drivers/hwmon/occ/common.c if (sensors->caps.num_sensors >= 1) { num_sensors 988 drivers/hwmon/occ/common.c for (i = 0; i < sensors->extended.num_sensors; ++i) { num_sensors 1034 drivers/hwmon/occ/common.c offset = (block->header.num_sensors * num_sensors 1046 drivers/hwmon/occ/common.c block->header.num_sensors); num_sensors 1065 drivers/hwmon/occ/common.c sensor->num_sensors = block->header.num_sensors; num_sensors 33 drivers/hwmon/occ/common.h u8 num_sensors; num_sensors 65 drivers/hwmon/occ/common.h u8 num_sensors; num_sensors 182 drivers/hwmon/tmp401.c int num_sensors = data->kind == tmp432 ? 3 : 2; num_sensors 184 drivers/hwmon/tmp401.c for (i = 0; i < num_sensors; i++) { /* local / r1 / r2 */ num_sensors 465 drivers/media/platform/exynos4-is/media-dev.c fmd->num_sensors++; num_sensors 490 drivers/media/platform/exynos4-is/media-dev.c fmd->num_sensors = 0; num_sensors 940 drivers/media/platform/exynos4-is/media-dev.c for (i = 0; i < fmd->num_sensors; i++) { num_sensors 1395 drivers/media/platform/exynos4-is/media-dev.c subdev->name, fmd->num_sensors); num_sensors 1397 drivers/media/platform/exynos4-is/media-dev.c fmd->num_sensors++; num_sensors 1500 drivers/media/platform/exynos4-is/media-dev.c if (fmd->num_sensors > 0) { num_sensors 1502 drivers/media/platform/exynos4-is/media-dev.c fmd->num_sensors = 0; num_sensors 122 drivers/media/platform/exynos4-is/media-dev.h int num_sensors; num_sensors 2784 drivers/net/ethernet/intel/igb/e1000_82575.c u8 num_sensors; num_sensors 2805 drivers/net/ethernet/intel/igb/e1000_82575.c num_sensors = (ets_cfg & NVM_ETS_NUM_SENSORS_MASK); num_sensors 2806 drivers/net/ethernet/intel/igb/e1000_82575.c if (num_sensors > E1000_MAX_SENSORS) num_sensors 2807 drivers/net/ethernet/intel/igb/e1000_82575.c num_sensors = E1000_MAX_SENSORS; num_sensors 2809 drivers/net/ethernet/intel/igb/e1000_82575.c for (i = 1; i < num_sensors; i++) { num_sensors 2838 drivers/net/ethernet/intel/igb/e1000_82575.c u8 num_sensors; num_sensors 2868 drivers/net/ethernet/intel/igb/e1000_82575.c num_sensors = (ets_cfg & NVM_ETS_NUM_SENSORS_MASK); num_sensors 2870 drivers/net/ethernet/intel/igb/e1000_82575.c for (i = 1; i <= num_sensors; i++) { num_sensors 3911 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u8 num_sensors; num_sensors 3923 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c num_sensors = (ets_cfg & IXGBE_ETS_NUM_SENSORS_MASK); num_sensors 3924 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (num_sensors > IXGBE_MAX_SENSORS) num_sensors 3925 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c num_sensors = IXGBE_MAX_SENSORS; num_sensors 3927 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c for (i = 0; i < num_sensors; i++) { num_sensors 3968 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u8 num_sensors; num_sensors 3985 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c num_sensors = (ets_cfg & IXGBE_ETS_NUM_SENSORS_MASK); num_sensors 3986 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (num_sensors > IXGBE_MAX_SENSORS) num_sensors 3987 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c num_sensors = IXGBE_MAX_SENSORS; num_sensors 3989 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c for (i = 0; i < num_sensors; i++) { num_sensors 226 drivers/thermal/mtk_thermal.c unsigned int num_sensors; num_sensors 237 drivers/thermal/mtk_thermal.c s32 num_sensors; num_sensors 377 drivers/thermal/mtk_thermal.c .num_sensors = MT8173_NUM_SENSORS, num_sensors 385 drivers/thermal/mtk_thermal.c .num_sensors = 2, num_sensors 388 drivers/thermal/mtk_thermal.c .num_sensors = 2, num_sensors 391 drivers/thermal/mtk_thermal.c .num_sensors = 3, num_sensors 394 drivers/thermal/mtk_thermal.c .num_sensors = 1, num_sensors 416 drivers/thermal/mtk_thermal.c .num_sensors = MT2701_NUM_SENSORS, num_sensors 424 drivers/thermal/mtk_thermal.c .num_sensors = 3, num_sensors 446 drivers/thermal/mtk_thermal.c .num_sensors = MT2712_NUM_SENSORS, num_sensors 454 drivers/thermal/mtk_thermal.c .num_sensors = 4, num_sensors 470 drivers/thermal/mtk_thermal.c .num_sensors = MT7622_NUM_SENSORS, num_sensors 478 drivers/thermal/mtk_thermal.c .num_sensors = 1, num_sensors 502 drivers/thermal/mtk_thermal.c .num_sensors = MT8183_NUM_SENSORS, num_sensors 510 drivers/thermal/mtk_thermal.c .num_sensors = 6, num_sensors 593 drivers/thermal/mtk_thermal.c for (i = 0; i < conf->bank_data[bank->id].num_sensors; i++) { num_sensors 734 drivers/thermal/mtk_thermal.c for (i = 0; i < conf->bank_data[num].num_sensors; i++) num_sensors 739 drivers/thermal/mtk_thermal.c writel((1 << conf->bank_data[num].num_sensors) - 1, num_sensors 771 drivers/thermal/mtk_thermal.c for (i = 0; i < mt->conf->num_sensors; i++) num_sensors 799 drivers/thermal/mtk_thermal.c for (i = 0; i < mt->conf->num_sensors; i++) { num_sensors 73 drivers/thermal/qcom/tsens-8960.c if (priv->num_sensors > 1) num_sensors 98 drivers/thermal/qcom/tsens-8960.c if (priv->num_sensors > 1) { num_sensors 129 drivers/thermal/qcom/tsens-8960.c if (priv->num_sensors > 1) num_sensors 147 drivers/thermal/qcom/tsens-8960.c mask = GENMASK(priv->num_sensors - 1, 0); num_sensors 157 drivers/thermal/qcom/tsens-8960.c if (priv->num_sensors > 1) num_sensors 180 drivers/thermal/qcom/tsens-8960.c for (i = 0; i < priv->num_sensors; i++) { num_sensors 191 drivers/thermal/qcom/tsens-8960.c if (priv->num_sensors > 1) { num_sensors 202 drivers/thermal/qcom/tsens-8960.c reg_cntl |= GENMASK(priv->num_sensors - 1, 0) << SENSOR0_SHIFT; num_sensors 220 drivers/thermal/qcom/tsens-8960.c ssize_t num_read = priv->num_sensors; num_sensors 283 drivers/thermal/qcom/tsens-8960.c .num_sensors = 11, num_sensors 43 drivers/thermal/qcom/tsens-common.c for (i = 0; i < priv->num_sensors; i++) { num_sensors 164 drivers/thermal/qcom/tsens-v0_1.c for (i = 0; i < priv->num_sensors; i++) num_sensors 174 drivers/thermal/qcom/tsens-v0_1.c for (i = 0; i < priv->num_sensors; i++) num_sensors 178 drivers/thermal/qcom/tsens-v0_1.c for (i = 0; i < priv->num_sensors; i++) { num_sensors 287 drivers/thermal/qcom/tsens-v0_1.c for (i = 0; i < priv->num_sensors; i++) num_sensors 291 drivers/thermal/qcom/tsens-v0_1.c for (i = 0; i < priv->num_sensors; i++) { num_sensors 298 drivers/thermal/qcom/tsens-v0_1.c for (i = 0; i < priv->num_sensors; i++) { num_sensors 305 drivers/thermal/qcom/tsens-v0_1.c for (i = 0; i < priv->num_sensors; i++) num_sensors 370 drivers/thermal/qcom/tsens-v0_1.c .num_sensors = 5, num_sensors 385 drivers/thermal/qcom/tsens-v0_1.c .num_sensors = 11, num_sensors 114 drivers/thermal/qcom/tsens-v1.c for (i = 0; i < priv->num_sensors; i++) num_sensors 129 drivers/thermal/qcom/tsens-v1.c for (i = 0; i < priv->num_sensors; i++) num_sensors 133 drivers/thermal/qcom/tsens-v1.c for (i = 0; i < priv->num_sensors; i++) { num_sensors 79 drivers/thermal/qcom/tsens-v2.c .num_sensors = 13, num_sensors 87 drivers/thermal/qcom/tsens.c for (i = 0; i < priv->num_sensors; i++) { num_sensors 110 drivers/thermal/qcom/tsens.c u32 num_sensors; num_sensors 125 drivers/thermal/qcom/tsens.c num_sensors = data->num_sensors; num_sensors 128 drivers/thermal/qcom/tsens.c of_property_read_u32(np, "#qcom,sensors", &num_sensors); num_sensors 130 drivers/thermal/qcom/tsens.c if (num_sensors <= 0) { num_sensors 136 drivers/thermal/qcom/tsens.c struct_size(priv, sensor, num_sensors), num_sensors 142 drivers/thermal/qcom/tsens.c priv->num_sensors = num_sensors; num_sensors 144 drivers/thermal/qcom/tsens.c for (i = 0; i < priv->num_sensors; i++) { num_sensors 270 drivers/thermal/qcom/tsens.h const u32 num_sensors; num_sensors 302 drivers/thermal/qcom/tsens.h u32 num_sensors;