Home
last modified time | relevance | path

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

/linux/drivers/misc/habanalabs/common/
A Dhwmon.c444 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature()
472 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_temperature()
498 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_voltage()
527 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_current()
556 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_fan_speed()
585 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_pwm_info()
613 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_pwm_info()
636 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_voltage()
661 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_current()
686 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_power()
[all …]
A Dhabanalabs.h2989 int sensor_index, u32 attr, long *value);
2991 int sensor_index, u32 attr, long value);
2993 int sensor_index, u32 attr, long *value);
2995 int sensor_index, u32 attr, long *value);
2997 int sensor_index, u32 attr, long *value);
2999 int sensor_index, u32 attr, long *value);
3000 void hl_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr,
3005 int sensor_index, u32 attr, long value);
3007 int sensor_index, u32 attr, long value);
3009 int sensor_index, u32 attr, long value);
[all …]
/linux/drivers/media/platform/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.h288 unsigned int sensor_index; member
A Dfimc-is.c545 is->sensor_index = 0; in fimc_is_general_irq_handler()
640 mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); in fimc_is_hw_open_sensor()
/linux/drivers/misc/habanalabs/goya/
A DgoyaP.h200 long goya_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr);
201 long goya_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr);
202 long goya_get_current(struct hl_device *hdev, int sensor_index, u32 attr);
203 long goya_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr);
204 long goya_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr);
205 void goya_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr,
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_env.c625 u16 sensor_index, bool enable) in mlxsw_env_temp_event_set() argument
631 mlxsw_reg_mtmp_sensor_index_set(mtmp_pl, sensor_index); in mlxsw_env_temp_event_set()
638 sensor_index - in mlxsw_env_temp_event_set()
667 int i, err, sensor_index; in mlxsw_env_module_temp_event_enable() local
679 sensor_index = i + MLXSW_REG_MTMP_MODULE_INDEX_MIN; in mlxsw_env_module_temp_event_enable()
680 err = mlxsw_env_temp_event_set(mlxsw_core, sensor_index, true); in mlxsw_env_module_temp_event_enable()
796 u16 sensor_index; in mlxsw_env_pmpe_event_work() local
818 sensor_index = event->module + MLXSW_REG_MTMP_MODULE_INDEX_MIN; in mlxsw_env_pmpe_event_work()
819 mlxsw_env_temp_event_set(mlxsw_env->core, sensor_index, true); in mlxsw_env_pmpe_event_work()
A Dcore_thermal.c422 u16 sensor_index, int *p_temp, in mlxsw_thermal_module_temp_and_thresholds_get() argument
430 mlxsw_reg_mtmp_pack(mtmp_pl, sensor_index, false, false); in mlxsw_thermal_module_temp_and_thresholds_get()
453 u16 sensor_index; in mlxsw_thermal_module_temp_get() local
457 sensor_index = MLXSW_REG_MTMP_MODULE_INDEX_MIN + tz->module; in mlxsw_thermal_module_temp_get()
461 sensor_index, &temp, in mlxsw_thermal_module_temp_get()
706 u16 sensor_index; in mlxsw_thermal_module_init() local
708 sensor_index = MLXSW_REG_MTMP_MODULE_INDEX_MIN + module; in mlxsw_thermal_module_init()
720 mlxsw_thermal_module_temp_and_thresholds_get(core, sensor_index, &dummy_temp, in mlxsw_thermal_module_init()
A Dcore_hwmon.c706 int index, max_index, sensor_index; in mlxsw_hwmon_gearbox_init() local
725 sensor_index = index % mlxsw_hwmon->module_sensor_max + in mlxsw_hwmon_gearbox_init()
727 mlxsw_reg_mtmp_pack(mtmp_pl, sensor_index, true, true); in mlxsw_hwmon_gearbox_init()
732 sensor_index); in mlxsw_hwmon_gearbox_init()
A Dreg.h9664 MLXSW_ITEM32(reg, mtmp, sensor_index, 0x00, 0, 12);
9745 static inline void mlxsw_reg_mtmp_pack(char *payload, u16 sensor_index, in mlxsw_reg_mtmp_pack() argument
9750 mlxsw_reg_mtmp_sensor_index_set(payload, sensor_index); in mlxsw_reg_mtmp_pack()
/linux/drivers/hid/amd-sfh-hid/
A Damd_sfh_client.c82 u8 current_index, sensor_index; in amd_sfh_work() local
89 sensor_index = req_node->sensor_idx; in amd_sfh_work()
95 report_size = get_feature_report(sensor_index, report_id, in amd_sfh_work()
105 report_size = get_input_report(current_index, sensor_index, report_id, in_data); in amd_sfh_work()
/linux/drivers/hwmon/
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/drivers/staging/media/atomisp/pci/
A Datomisp_internal.h171 int sensor_index; member
A Datomisp_ioctl.c728 0, isp->inputs[input].sensor_index, 0); in atomisp_s_input()
1513 int sensor_index = isp->asd[i].input_curr; in atomisp_stream_on_master_slave_sensor() local
1515 if (isp->inputs[sensor_index].camera_caps-> in atomisp_stream_on_master_slave_sensor()
1517 slave = sensor_index; in atomisp_stream_on_master_slave_sensor()
1519 master = sensor_index; in atomisp_stream_on_master_slave_sensor()
1598 int sensor_index = isp->asd[i].input_curr; in atomisp_pause_buffer_event() local
1600 if (isp->inputs[sensor_index].camera_caps-> in atomisp_pause_buffer_event()
A Datomisp_v4l2.c1101 isp->inputs[isp->input_cnt].sensor_index = 0; in atomisp_subdev_probe()
1121 isp->inputs[isp->input_cnt].sensor_index = i; in atomisp_subdev_probe()
/linux/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/drivers/misc/habanalabs/include/common/
A Dcpucp_if.h475 __le16 sensor_index; member
/linux/drivers/platform/chrome/wilco_ec/
A Dtelemetry.c107 u8 sensor_index; member
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_common.c3926 u8 sensor_index; in ixgbe_get_thermal_sensor_data_generic() local
3934 sensor_index = ((ets_sensor & IXGBE_ETS_DATA_INDEX_MASK) >> in ixgbe_get_thermal_sensor_data_generic()
3941 ixgbe_emc_temp_data[sensor_index], in ixgbe_get_thermal_sensor_data_generic()
3988 u8 sensor_index; in ixgbe_init_thermal_sensor_thresh_generic() local
3996 sensor_index = ((ets_sensor & IXGBE_ETS_DATA_INDEX_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic()
4003 ixgbe_emc_therm_limit[sensor_index], in ixgbe_init_thermal_sensor_thresh_generic()

Completed in 102 milliseconds