Home
last modified time | relevance | path

Searched refs:sensor_index (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/drivers/accel/habanalabs/common/
A Dhwmon.c579 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature()
610 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_temperature()
636 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_voltage()
665 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_current()
694 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_fan_speed()
723 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_pwm_info()
751 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_pwm_info()
774 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_voltage()
799 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_current()
830 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_power()
[all …]
A Dhabanalabs.h3813 int hl_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3814 int hl_set_temperature(struct hl_device *hdev, int sensor_index, u32 attr, long value);
3815 int hl_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3816 int hl_get_current(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3817 int hl_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3818 int hl_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, long *value);
3819 void hl_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, long value);
3824 int hl_set_voltage(struct hl_device *hdev, int sensor_index, u32 attr, long value);
3825 int hl_set_current(struct hl_device *hdev, int sensor_index, u32 attr, long value);
3826 int hl_set_power(struct hl_device *hdev, int sensor_index, u32 attr, long value);
[all …]
/linux-6.3-rc2/drivers/media/platform/samsung/exynos4-is/
A Dfimc-is-regs.c61 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_set_param()
77 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_set_tune()
124 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_set_sensor_num()
131 if (is->sensor_index != index) in fimc_is_hw_close_sensor()
136 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_close_sensor()
137 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(2)); in fimc_is_hw_close_sensor()
145 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_get_setfile_addr()
153 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_load_setfile()
168 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_change_mode()
178 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_stream_on()
[all …]
A Dfimc-is.h285 unsigned int sensor_index; member
A Dfimc-is.c546 is->sensor_index = 0; in fimc_is_general_irq_handler()
641 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_open_sensor()
/linux-6.3-rc2/drivers/accel/habanalabs/goya/
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-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_thermal.c331 u8 slot_index, u16 sensor_index, in mlxsw_thermal_module_temp_and_thresholds_get() argument
339 mlxsw_reg_mtmp_pack(mtmp_pl, slot_index, sensor_index, in mlxsw_thermal_module_temp_and_thresholds_get()
363 u16 sensor_index; in mlxsw_thermal_module_temp_get() local
366 sensor_index = MLXSW_REG_MTMP_MODULE_INDEX_MIN + tz->module; in mlxsw_thermal_module_temp_get()
371 sensor_index, &temp, in mlxsw_thermal_module_temp_get()
532 u16 sensor_index; in mlxsw_thermal_module_init() local
534 sensor_index = MLXSW_REG_MTMP_MODULE_INDEX_MIN + module; in mlxsw_thermal_module_init()
550 sensor_index, &dummy_temp, in mlxsw_thermal_module_init()
A Dcore_env.c802 u16 sensor_index, bool enable) in mlxsw_env_temp_event_set() argument
809 mlxsw_reg_mtmp_sensor_index_set(mtmp_pl, sensor_index); in mlxsw_env_temp_event_set()
817 sensor_index - in mlxsw_env_temp_event_set()
847 int i, err, sensor_index; in mlxsw_env_module_temp_event_enable() local
859 sensor_index = i + MLXSW_REG_MTMP_MODULE_INDEX_MIN; in mlxsw_env_module_temp_event_enable()
861 sensor_index, true); in mlxsw_env_module_temp_event_enable()
975 u16 sensor_index; in mlxsw_env_pmpe_event_work() local
1002 sensor_index = event->module + MLXSW_REG_MTMP_MODULE_INDEX_MIN; in mlxsw_env_pmpe_event_work()
1004 sensor_index, true); in mlxsw_env_pmpe_event_work()
A Dcore_hwmon.c738 int index, max_index, sensor_index; in mlxsw_hwmon_gearbox_init() local
758 sensor_index = index % mlxsw_hwmon_dev->module_sensor_max + in mlxsw_hwmon_gearbox_init()
761 sensor_index, true, true); in mlxsw_hwmon_gearbox_init()
766 sensor_index); in mlxsw_hwmon_gearbox_init()
A Dreg.h9346 MLXSW_ITEM32(reg, mtmp, sensor_index, 0x00, 0, 12);
9428 u16 sensor_index, bool max_temp_enable, in mlxsw_reg_mtmp_pack() argument
9433 mlxsw_reg_mtmp_sensor_index_set(payload, sensor_index); in mlxsw_reg_mtmp_pack()
/linux-6.3-rc2/drivers/hid/amd-sfh-hid/
A Damd_sfh_client.c72 u8 current_index, sensor_index; in amd_sfh_work() local
81 sensor_index = req_node->sensor_idx; in amd_sfh_work()
89 report_size = mp2_ops->get_feat_rep(sensor_index, report_id, in amd_sfh_work()
99 report_size = mp2_ops->get_in_rep(current_index, sensor_index, report_id, in_data); in amd_sfh_work()
/linux-6.3-rc2/drivers/hid/amd-sfh-hid/sfh1_1/
A Damd_sfh_interface.h21 enum sensor_index { enum
/linux-6.3-rc2/drivers/hwmon/
A Dasus-ec-sensors.c796 int sensor_index, in get_cached_value_or_update() argument
808 *value = state->sensors[sensor_index].cached_value; in get_cached_value_or_update()
843 int sensor_index = find_ec_sensor_index(state, type, channel); in asus_ec_hwmon_read_string() local
844 *str = get_sensor_info(state, sensor_index)->label; in asus_ec_hwmon_read_string()
A Dabituguru3.c961 int sensor_index[3] = { 0, 1, 1 }; in abituguru3_probe() local
1017 name, sensor_index[type]) + 1; in abituguru3_probe()
1027 sensor_index[type]++; in abituguru3_probe()
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Datomisp_internal.h163 int sensor_index; member
A Datomisp_v4l2.c960 isp->inputs[isp->input_cnt].sensor_index = 0; in atomisp_subdev_probe()
A Datomisp_ioctl.c724 0, isp->inputs[input].sensor_index, 0); in atomisp_s_input()
/linux-6.3-rc2/drivers/net/ethernet/intel/igb/
A De1000_82575.c2785 u8 sensor_index; in igb_get_thermal_sensor_data_generic() local
2811 sensor_index = ((ets_sensor & NVM_ETS_DATA_INDEX_MASK) >> in igb_get_thermal_sensor_data_generic()
2818 e1000_emc_temp_data[sensor_index], in igb_get_thermal_sensor_data_generic()
2839 u8 sensor_index; in igb_init_thermal_sensor_thresh_generic() local
2872 sensor_index = ((ets_sensor & NVM_ETS_DATA_INDEX_MASK) >> in igb_init_thermal_sensor_thresh_generic()
2879 e1000_emc_therm_limit[sensor_index], in igb_init_thermal_sensor_thresh_generic()
/linux-6.3-rc2/drivers/platform/chrome/wilco_ec/
A Dtelemetry.c107 u8 sensor_index; member
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_common.c3941 u8 sensor_index; in ixgbe_get_thermal_sensor_data_generic() local
3949 sensor_index = ((ets_sensor & IXGBE_ETS_DATA_INDEX_MASK) >> in ixgbe_get_thermal_sensor_data_generic()
3956 ixgbe_emc_temp_data[sensor_index], in ixgbe_get_thermal_sensor_data_generic()
4003 u8 sensor_index; in ixgbe_init_thermal_sensor_thresh_generic() local
4011 sensor_index = ((ets_sensor & IXGBE_ETS_DATA_INDEX_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic()
4018 ixgbe_emc_therm_limit[sensor_index], in ixgbe_init_thermal_sensor_thresh_generic()
/linux-6.3-rc2/drivers/accel/habanalabs/include/common/
A Dcpucp_if.h785 __le16 sensor_index; member

Completed in 96 milliseconds