/linux-5.19.10/drivers/misc/habanalabs/common/ |
D | hwmon.c | 568 int sensor_index, u32 attr, long *value) in hl_get_temperature() argument 578 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature() 582 pkt.ctl, pkt.sensor_index, pkt.type); in hl_get_temperature() 592 sensor_index, rc); in hl_get_temperature() 600 int sensor_index, u32 attr, long value) in hl_set_temperature() argument 609 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_temperature() 619 sensor_index, rc); in hl_set_temperature() 625 int sensor_index, u32 attr, long *value) in hl_get_voltage() argument 635 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_voltage() 646 sensor_index, rc); in hl_get_voltage() [all …]
|
D | habanalabs.h | 3277 int hl_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr, long *value); 3278 int hl_set_temperature(struct hl_device *hdev, int sensor_index, u32 attr, long value); 3279 int hl_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr, long *value); 3280 int hl_get_current(struct hl_device *hdev, int sensor_index, u32 attr, long *value); 3281 int hl_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr, long *value); 3282 int hl_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, long *value); 3283 void hl_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr, long value); 3286 int hl_set_voltage(struct hl_device *hdev, int sensor_index, u32 attr, long value); 3287 int hl_set_current(struct hl_device *hdev, int sensor_index, u32 attr, long value); 3288 int hl_set_power(struct hl_device *hdev, int sensor_index, u32 attr, long value); [all …]
|
/linux-5.19.10/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-is-regs.c | 61 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() 121 pr_debug("setting sensor index to: %d\n", is->sensor_index); in fimc_is_hw_set_sensor_num() 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() [all …]
|
D | fimc-is.h | 288 unsigned int sensor_index; member
|
D | fimc-is.c | 545 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-5.19.10/drivers/misc/habanalabs/goya/ |
D | goyaP.h | 209 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-5.19.10/drivers/hwmon/ |
D | asus_wmi_ec_sensors.c | 402 int sensor_index, in asus_wmi_ec_get_cached_value_or_update() argument 420 *value = ec->sensors[sensor_index].cached_value; in asus_wmi_ec_get_cached_value_or_update() 458 int sensor_index; in asus_wmi_ec_hwmon_read_string() local 460 sensor_index = asus_wmi_ec_find_sensor_index(ec, type, channel); in asus_wmi_ec_hwmon_read_string() 461 *str = known_ec_sensors[ec->sensors[sensor_index].info_index].label; in asus_wmi_ec_hwmon_read_string()
|
D | asus-ec-sensors.c | 793 int sensor_index, in get_cached_value_or_update() argument 805 *value = state->sensors[sensor_index].cached_value; in get_cached_value_or_update() 840 int sensor_index = find_ec_sensor_index(state, type, channel); in asus_ec_hwmon_read_string() local 841 *str = get_sensor_info(state, sensor_index)->label; in asus_ec_hwmon_read_string()
|
D | abituguru3.c | 961 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-5.19.10/drivers/hid/amd-sfh-hid/ |
D | amd_sfh_client.c | 82 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-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_thermal.c | 433 u8 slot_index, u16 sensor_index, in mlxsw_thermal_module_temp_and_thresholds_get() argument 441 mlxsw_reg_mtmp_pack(mtmp_pl, slot_index, sensor_index, in mlxsw_thermal_module_temp_and_thresholds_get() 465 u16 sensor_index; in mlxsw_thermal_module_temp_get() local 469 sensor_index = MLXSW_REG_MTMP_MODULE_INDEX_MIN + tz->module; in mlxsw_thermal_module_temp_get() 474 sensor_index, &temp, in mlxsw_thermal_module_temp_get() 725 u16 sensor_index; in mlxsw_thermal_module_init() local 727 sensor_index = MLXSW_REG_MTMP_MODULE_INDEX_MIN + module; in mlxsw_thermal_module_init() 741 sensor_index, &dummy_temp, in mlxsw_thermal_module_init()
|
D | core_env.c | 802 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()
|
D | core_hwmon.c | 738 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()
|
D | reg.h | 9818 MLXSW_ITEM32(reg, mtmp, sensor_index, 0x00, 0, 12); 9900 u16 sensor_index, bool max_temp_enable, in mlxsw_reg_mtmp_pack() argument 9905 mlxsw_reg_mtmp_sensor_index_set(payload, sensor_index); in mlxsw_reg_mtmp_pack()
|
/linux-5.19.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_internal.h | 171 int sensor_index; member
|
D | atomisp_ioctl.c | 739 0, isp->inputs[input].sensor_index, 0); in atomisp_s_input() 1673 int sensor_index = isp->asd[i].input_curr; in atomisp_stream_on_master_slave_sensor() local 1675 if (isp->inputs[sensor_index].camera_caps-> in atomisp_stream_on_master_slave_sensor() 1677 slave = sensor_index; in atomisp_stream_on_master_slave_sensor() 1679 master = sensor_index; in atomisp_stream_on_master_slave_sensor() 1758 int sensor_index = isp->asd[i].input_curr; in atomisp_pause_buffer_event() local 1760 if (isp->inputs[sensor_index].camera_caps-> in atomisp_pause_buffer_event()
|
D | atomisp_v4l2.c | 1104 isp->inputs[isp->input_cnt].sensor_index = 0; in atomisp_subdev_probe() 1124 isp->inputs[isp->input_cnt].sensor_index = i; in atomisp_subdev_probe()
|
/linux-5.19.10/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.c | 2785 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-5.19.10/drivers/platform/chrome/wilco_ec/ |
D | telemetry.c | 107 u8 sensor_index; member
|
/linux-5.19.10/drivers/misc/habanalabs/include/common/ |
D | cpucp_if.h | 506 __le16 sensor_index; member
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 3926 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()
|