Searched refs:int3472 (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/platform/x86/intel/int3472/ |
H A D | clk_and_regulator.c | 26 struct int3472_discrete_device *int3472 = to_int3472_device(clk); in skl_int3472_enable_clk() local 46 acpi_evaluate_dsm(acpi_device_handle(int3472->adev), &img_clk_guid, in skl_int3472_enable_clk() 84 static unsigned int skl_int3472_get_clk_frequency(struct int3472_discrete_device *int3472) in skl_int3472_get_clk_frequency() argument 89 obj = skl_int3472_get_acpi_buffer(int3472->sensor, "SSDB"); in skl_int3472_get_clk_frequency() 94 dev_err(int3472->dev, "The buffer is too small\n"); in skl_int3472_get_clk_frequency() 121 int skl_int3472_register_dsm_clock(struct int3472_discrete_device *int3472) in skl_int3472_register_dsm_clock() argument 123 struct acpi_device *adev = int3472->adev; in skl_int3472_register_dsm_clock() 130 if (int3472->clock.cl) in skl_int3472_register_dsm_clock() 140 int3472->clock.frequency = skl_int3472_get_clk_frequency(int3472); in skl_int3472_register_dsm_clock() 141 int3472->clock.clk_hw.init = &init; in skl_int3472_register_dsm_clock() [all …]
|
H A D | discrete.c | 43 static void skl_int3472_log_sensor_module_name(struct int3472_discrete_device *int3472) in skl_int3472_log_sensor_module_name() argument 47 obj = acpi_evaluate_dsm_typed(int3472->sensor->handle, in skl_int3472_log_sensor_module_name() 51 dev_dbg(int3472->dev, "Sensor module id: '%s'\n", obj->string.pointer); in skl_int3472_log_sensor_module_name() 78 static int skl_int3472_map_gpio_to_sensor(struct int3472_discrete_device *int3472, in skl_int3472_map_gpio_to_sensor() argument 84 if (int3472->n_sensor_gpios >= INT3472_MAX_SENSOR_GPIOS) { in skl_int3472_map_gpio_to_sensor() 85 dev_warn(int3472->dev, "Too many GPIOs mapped\n"); in skl_int3472_map_gpio_to_sensor() 89 ret = skl_int3472_fill_gpiod_lookup(&int3472->gpios.table[int3472->n_sensor_gpios], in skl_int3472_map_gpio_to_sensor() 94 int3472->n_sensor_gpios++; in skl_int3472_map_gpio_to_sensor() 101 skl_int3472_gpiod_get_from_temp_lookup(struct int3472_discrete_device *int3472, in skl_int3472_gpiod_get_from_temp_lookup() argument 113 lookup->dev_id = dev_name(int3472->dev); in skl_int3472_gpiod_get_from_temp_lookup() [all …]
|
H A D | led.c | 12 struct int3472_discrete_device *int3472 = in int3472_pled_set() local 15 gpiod_set_value_cansleep(int3472->pled.gpio, brightness); in int3472_pled_set() 19 int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gpio_desc *gpio) in skl_int3472_register_pled() argument 24 if (int3472->pled.classdev.dev) in skl_int3472_register_pled() 27 int3472->pled.gpio = gpio; in skl_int3472_register_pled() 30 snprintf(int3472->pled.name, sizeof(int3472->pled.name), in skl_int3472_register_pled() 31 "%s::privacy_led", acpi_dev_name(int3472->sensor)); in skl_int3472_register_pled() 32 p = strchr(int3472->pled.name, ':'); in skl_int3472_register_pled() 36 int3472->pled.classdev.name = int3472->pled.name; in skl_int3472_register_pled() 37 int3472->pled.classdev.max_brightness = 1; in skl_int3472_register_pled() [all …]
|
H A D | common.h | 119 int skl_int3472_register_gpio_clock(struct int3472_discrete_device *int3472, 121 int skl_int3472_register_dsm_clock(struct int3472_discrete_device *int3472); 122 void skl_int3472_unregister_clock(struct int3472_discrete_device *int3472); 124 int skl_int3472_register_regulator(struct int3472_discrete_device *int3472, 126 void skl_int3472_unregister_regulator(struct int3472_discrete_device *int3472); 128 int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gpio_desc *gpio); 129 void skl_int3472_unregister_pled(struct int3472_discrete_device *int3472);
|
H A D | Kconfig | 31 The module will be named "intel-skl-int3472".
|
/linux/ |
H A D | MAINTAINERS | 11848 F: drivers/platform/x86/intel/int3472/
|