/Linux-v5.4/drivers/misc/habanalabs/ |
D | hwmon.c | 268 long hl_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr) in hl_get_temperature() argument 278 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature() 287 sensor_index, rc); in hl_get_temperature() 294 long hl_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr) in hl_get_voltage() argument 304 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_voltage() 313 sensor_index, rc); in hl_get_voltage() 320 long hl_get_current(struct hl_device *hdev, int sensor_index, u32 attr) in hl_get_current() argument 330 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_current() 339 sensor_index, rc); in hl_get_current() 346 long hl_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr) in hl_get_fan_speed() argument [all …]
|
D | habanalabs.h | 1560 long hl_get_temperature(struct hl_device *hdev, int sensor_index, u32 attr); 1561 long hl_get_voltage(struct hl_device *hdev, int sensor_index, u32 attr); 1562 long hl_get_current(struct hl_device *hdev, int sensor_index, u32 attr); 1563 long hl_get_fan_speed(struct hl_device *hdev, int sensor_index, u32 attr); 1564 long hl_get_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr); 1565 void hl_set_pwm_info(struct hl_device *hdev, int sensor_index, u32 attr,
|
/Linux-v5.4/drivers/media/platform/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 | 271 unsigned int sensor_index; member
|
D | fimc-is.c | 546 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-v5.4/drivers/misc/habanalabs/goya/ |
D | goyaP.h | 200 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-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_hwmon.c | 582 int index, max_index, sensor_index; in mlxsw_hwmon_gearbox_init() local 600 sensor_index = index % mlxsw_hwmon->module_sensor_count + in mlxsw_hwmon_gearbox_init() 602 mlxsw_reg_mtmp_pack(mtmp_pl, sensor_index, true, true); in mlxsw_hwmon_gearbox_init() 607 sensor_index); in mlxsw_hwmon_gearbox_init()
|
D | reg.h | 8191 MLXSW_ITEM32(reg, mtmp, sensor_index, 0x00, 0, 12); 8256 static inline void mlxsw_reg_mtmp_pack(char *payload, u16 sensor_index, in mlxsw_reg_mtmp_pack() argument 8261 mlxsw_reg_mtmp_sensor_index_set(payload, sensor_index); in mlxsw_reg_mtmp_pack()
|
/Linux-v5.4/drivers/misc/habanalabs/include/ |
D | armcp_if.h | 240 __le16 sensor_index; member
|
/Linux-v5.4/drivers/hwmon/ |
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-v5.4/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.c | 2789 u8 sensor_index; in igb_get_thermal_sensor_data_generic() local 2815 sensor_index = ((ets_sensor & NVM_ETS_DATA_INDEX_MASK) >> in igb_get_thermal_sensor_data_generic() 2822 e1000_emc_temp_data[sensor_index], in igb_get_thermal_sensor_data_generic() 2843 u8 sensor_index; in igb_init_thermal_sensor_thresh_generic() local 2876 sensor_index = ((ets_sensor & NVM_ETS_DATA_INDEX_MASK) >> in igb_init_thermal_sensor_thresh_generic() 2883 e1000_emc_therm_limit[sensor_index], in igb_init_thermal_sensor_thresh_generic()
|
/Linux-v5.4/drivers/platform/chrome/wilco_ec/ |
D | telemetry.c | 107 u8 sensor_index; member
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 3928 u8 sensor_index; in ixgbe_get_thermal_sensor_data_generic() local 3936 sensor_index = ((ets_sensor & IXGBE_ETS_DATA_INDEX_MASK) >> in ixgbe_get_thermal_sensor_data_generic() 3943 ixgbe_emc_temp_data[sensor_index], in ixgbe_get_thermal_sensor_data_generic() 3990 u8 sensor_index; in ixgbe_init_thermal_sensor_thresh_generic() local 3998 sensor_index = ((ets_sensor & IXGBE_ETS_DATA_INDEX_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic() 4005 ixgbe_emc_therm_limit[sensor_index], in ixgbe_init_thermal_sensor_thresh_generic()
|