Home
last modified time | relevance | path

Searched refs:sensor_name (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dhwmon.c25 char sensor_name[32]; member
152 *str = (const char *)hwmon->temp_channel_desc[channel].sensor_name; in mlx5_hwmon_read_string()
169 char *sensor_name; in mlx5_hwmon_init_channels_names() local
177 sensor_name = MLX5_ADDR_OF(mtmp_reg, mtmp_out, sensor_name_hi); in mlx5_hwmon_init_channels_names()
178 if (!*sensor_name) { in mlx5_hwmon_init_channels_names()
179 snprintf(hwmon->temp_channel_desc[i].sensor_name, in mlx5_hwmon_init_channels_names()
180 sizeof(hwmon->temp_channel_desc[i].sensor_name), "sensor%u", in mlx5_hwmon_init_channels_names()
185 memcpy(&hwmon->temp_channel_desc[i].sensor_name, sensor_name, in mlx5_hwmon_init_channels_names()
/linux-6.6.21/drivers/platform/x86/intel/int3472/
Dtps68470.c109 const char *sensor_name; in skl_int3472_fill_clk_pdata() local
129 sensor_name = devm_kasprintf(dev, GFP_KERNEL, I2C_DEV_NAME_FORMAT, in skl_int3472_fill_clk_pdata()
131 if (!sensor_name) { in skl_int3472_fill_clk_pdata()
136 (*clk_pdata)->consumers[i].consumer_dev_name = sensor_name; in skl_int3472_fill_clk_pdata()
Dclk_and_regulator.c148 int3472->clock.cl = clkdev_create(int3472->clock.clk, NULL, int3472->sensor_name); in skl_int3472_register_dsm_clock()
209 int3472->sensor_name); in skl_int3472_register_gpio_clock()
291 int3472->regulator.supply_map[j].dev_name = int3472->sensor_name; in skl_int3472_register_regulator()
Ddiscrete.c263 int3472->gpios.dev_id = int3472->sensor_name; in skl_int3472_parse_crs()
311 &int3472->sensor_name); in skl_int3472_discrete_probe()
Dcommon.h77 const char *sensor_name; member
Dled.c56 int3472->pled.lookup.dev_id = int3472->sensor_name; in skl_int3472_register_pled()
/linux-6.6.21/drivers/platform/chrome/
Dcros_ec_sensorhub.c29 char *sensor_name, in cros_ec_sensorhub_allocate_sensor() argument
37 pdev = platform_device_register_data(parent, sensor_name, in cros_ec_sensorhub_allocate_sensor()
/linux-6.6.21/drivers/media/usb/gspca/
Dstk1135.c385 char *sensor_name; in sd_init() local
417 sensor_name = "MT9M112"; in sd_init()
420 sensor_name = "unknown"; in sd_init()
422 pr_info("Detected sensor type %s (0x%x)\n", sensor_name, sensor_id); in sd_init()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h9488 MLXSW_ITEM_BUF(reg, mtmp, sensor_name, 0x18, MLXSW_REG_MTMP_SENSOR_NAME_SIZE);
9506 char *sensor_name) in mlxsw_reg_mtmp_unpack() argument
9526 if (sensor_name) in mlxsw_reg_mtmp_unpack()
9527 mlxsw_reg_mtmp_sensor_name_memcpy_from(payload, sensor_name); in mlxsw_reg_mtmp_unpack()
/linux-6.6.21/include/linux/platform_data/
Dcros_ec_commands.h3546 char sensor_name[32]; member