Searched refs:sensor_index (Results 1 - 20 of 20) sorted by relevance

/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-is-regs.c61 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1));
77 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1));
121 pr_debug("setting sensor index to: %d\n", is->sensor_index);
124 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1));
131 if (is->sensor_index != index)
136 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1));
137 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(2));
145 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1));
153 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1));
168 mcuctl_write(is->sensor_index, i
[all...]
H A Dfimc-is.h249 * @sensor_index: image sensor index for the firmware
285 unsigned int sensor_index; member in struct:fimc_is
H A Dfimc-is.c546 is->sensor_index = 0;
641 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1));
/linux-master/drivers/accel/habanalabs/common/
H A Dhwmon.c570 int sensor_index, u32 attr, long *value)
580 pkt.sensor_index = __cpu_to_le16(sensor_index);
590 sensor_index, rc);
598 int sensor_index, u32 attr, long value)
607 pkt.sensor_index = __cpu_to_le16(sensor_index);
617 sensor_index, rc);
623 int sensor_index, u32 attr, long *value)
633 pkt.sensor_index
569 hl_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr, long *value) argument
597 hl_set_temperature(struct hl_device *hdev, int sensor_index, u32 attr, long value) argument
622 hl_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr, long *value) argument
651 hl_get_current(struct hl_device *hdev, int sensor_index, u32 attr, long *value) argument
680 hl_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr, long *value) argument
709 hl_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, long *value) argument
738 hl_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, long value) argument
761 hl_set_voltage(struct hl_device *hdev, int sensor_index, u32 attr, long value) argument
786 hl_set_current(struct hl_device *hdev, int sensor_index, u32 attr, long value) argument
811 hl_set_power(struct hl_device *hdev, int sensor_index, u32 attr, long value) argument
842 hl_get_power(struct hl_device *hdev, int sensor_index, u32 attr, long *value) argument
[all...]
H A Dhabanalabs.h3984 int hl_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3985 int hl_set_temperature(struct hl_device *hdev, int sensor_index, u32 attr, long value);
3986 int hl_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3987 int hl_get_current(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3988 int hl_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3989 int hl_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3990 void hl_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, long value);
3997 int hl_set_voltage(struct hl_device *hdev, int sensor_index, u32 attr, long value);
3998 int hl_set_current(struct hl_device *hdev, int sensor_index, u32 attr, long value);
3999 int hl_set_power(struct hl_device *hdev, int sensor_index, u3
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhwmon.c15 /* module 0 is mapped to sensor_index 64 in MTMP register */
24 u32 sensor_index; member in struct:temp_channel_desc
43 static int mlx5_hwmon_query_mtmp(struct mlx5_core_dev *mdev, u32 sensor_index, u32 *mtmp_out) argument
47 MLX5_SET(mtmp_reg, mtmp_in, sensor_index, sensor_index);
54 static int mlx5_hwmon_reset_max_temp(struct mlx5_core_dev *mdev, int sensor_index) argument
59 MLX5_SET(mtmp_reg, mtmp_in, sensor_index, sensor_index);
67 static int mlx5_hwmon_enable_max_temp(struct mlx5_core_dev *mdev, int sensor_index) argument
73 err = mlx5_hwmon_query_mtmp(mdev, sensor_index, mtmp_i
[all...]
/linux-master/drivers/accel/habanalabs/goya/
H A DgoyaP.h209 long goya_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr);
210 long goya_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr);
211 long goya_get_current(struct hl_device *hdev, int sensor_index, u32 attr);
212 long goya_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr);
213 long goya_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr);
214 void goya_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr,
/linux-master/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c72 u8 current_index, sensor_index; local
81 sensor_index = req_node->sensor_idx;
89 report_size = mp2_ops->get_feat_rep(sensor_index, report_id,
99 report_size = mp2_ops->get_in_rep(current_index, sensor_index, report_id, in_data);
/linux-master/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_interface.h21 enum sensor_index { enum
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.c800 u16 sensor_index, bool enable)
807 mlxsw_reg_mtmp_sensor_index_set(mtmp_pl, sensor_index);
815 sensor_index -
845 int i, err, sensor_index; local
857 sensor_index = i + MLXSW_REG_MTMP_MODULE_INDEX_MIN;
859 sensor_index, true);
886 /* 64-127 of sensor_index are mapped to the port modules
887 * sequentially (module 0 is mapped to sensor_index 64,
888 * module 1 to sensor_index 65 and so on)
973 u16 sensor_index; local
799 mlxsw_env_temp_event_set(struct mlxsw_core *mlxsw_core, u8 slot_index, u16 sensor_index, bool enable) argument
[all...]
H A Dcore_hwmon.c739 int index, max_index, sensor_index; local
759 sensor_index = index % mlxsw_hwmon_dev->module_sensor_max +
762 sensor_index, true, true);
767 sensor_index);
H A Dcore_thermal.c296 u16 sensor_index; local
299 sensor_index = MLXSW_REG_MTMP_MODULE_INDEX_MIN + tz->module;
300 mlxsw_reg_mtmp_pack(mtmp_pl, tz->slot_index, sensor_index,
H A Dreg.h9477 * 64-127 of sensor_index are mapped to the SFP+/QSFP modules sequentially
9478 * (module 0 is mapped to sensor_index 64).
9481 MLXSW_ITEM32(reg, mtmp, sensor_index, 0x00, 0, 12);
9563 u16 sensor_index, bool max_temp_enable,
9568 mlxsw_reg_mtmp_sensor_index_set(payload, sensor_index);
9562 mlxsw_reg_mtmp_pack(char *payload, u8 slot_index, u16 sensor_index, bool max_temp_enable, bool max_temp_reset) argument
/linux-master/drivers/hwmon/
H A Dabituguru3.c961 int sensor_index[3] = { 0, 1, 1 }; local
1017 name, sensor_index[type]) + 1;
1027 sensor_index[type]++;
H A Dasus-ec-sensors.c855 int sensor_index,
867 *value = state->sensors[sensor_index].cached_value;
902 int sensor_index = find_ec_sensor_index(state, type, channel); local
903 *str = get_sensor_info(state, sensor_index)->label;
854 get_cached_value_or_update(const struct device *dev, int sensor_index, struct ec_sensors_data *state, s32 *value) argument
/linux-master/drivers/platform/chrome/wilco_ec/
H A Dtelemetry.c106 u8 sensor_index; member in struct:telem_args_get_temp_read
/linux-master/drivers/net/ethernet/intel/igb/
H A De1000_82575.c2783 u8 sensor_index; local
2809 sensor_index = FIELD_GET(NVM_ETS_DATA_INDEX_MASK, ets_sensor);
2814 e1000_emc_temp_data[sensor_index],
2835 u8 sensor_index; local
2867 sensor_index = FIELD_GET(NVM_ETS_DATA_INDEX_MASK, ets_sensor);
2872 e1000_emc_therm_limit[sensor_index],
/linux-master/include/linux/habanalabs/
H A Dcpucp_if.h815 __le16 sensor_index; member in struct:cpucp_packet::__anon2659::__anon2660
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3929 u8 sensor_index; local
3937 sensor_index = FIELD_GET(IXGBE_ETS_DATA_INDEX_MASK,
3944 ixgbe_emc_temp_data[sensor_index],
3990 u8 sensor_index; local
3998 sensor_index = FIELD_GET(IXGBE_ETS_DATA_INDEX_MASK,
4005 ixgbe_emc_therm_limit[sensor_index],
/linux-master/include/linux/mlx5/
H A Dmlx5_ifc.h11041 u8 sensor_index[0xc]; member in struct:mlx5_ifc_mtmp_reg_bits

Completed in 353 milliseconds