Searched refs:int3472 (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/platform/x86/intel/int3472/ |
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 …]
|
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, in skl_int3472_register_pled() argument 25 if (int3472->pled.classdev.dev) in skl_int3472_register_pled() 28 int3472->pled.gpio = acpi_get_and_request_gpiod(path, agpio->pin_table[0], in skl_int3472_register_pled() 30 if (IS_ERR(int3472->pled.gpio)) in skl_int3472_register_pled() 31 return dev_err_probe(int3472->dev, PTR_ERR(int3472->pled.gpio), in skl_int3472_register_pled() 35 gpiod_toggle_active_low(int3472->pled.gpio); in skl_int3472_register_pled() 38 gpiod_direction_output(int3472->pled.gpio, 0); in skl_int3472_register_pled() 41 snprintf(int3472->pled.name, sizeof(int3472->pled.name), in skl_int3472_register_pled() [all …]
|
D | discrete.c | 42 static void skl_int3472_log_sensor_module_name(struct int3472_discrete_device *int3472) in skl_int3472_log_sensor_module_name() argument 46 obj = acpi_evaluate_dsm_typed(int3472->sensor->handle, in skl_int3472_log_sensor_module_name() 50 dev_dbg(int3472->dev, "Sensor module id: '%s'\n", obj->string.pointer); in skl_int3472_log_sensor_module_name() 55 static int skl_int3472_map_gpio_to_sensor(struct int3472_discrete_device *int3472, in skl_int3472_map_gpio_to_sensor() argument 65 if (int3472->n_sensor_gpios >= INT3472_MAX_SENSOR_GPIOS) { in skl_int3472_map_gpio_to_sensor() 66 dev_warn(int3472->dev, "Too many GPIOs mapped\n"); in skl_int3472_map_gpio_to_sensor() 78 table_entry = &int3472->gpios.table[int3472->n_sensor_gpios]; in skl_int3472_map_gpio_to_sensor() 85 int3472->n_sensor_gpios++; in skl_int3472_map_gpio_to_sensor() 155 struct int3472_discrete_device *int3472 = data; in skl_int3472_handle_gpio_resources() local 171 obj = acpi_evaluate_dsm_typed(int3472->adev->handle, in skl_int3472_handle_gpio_resources() [all …]
|
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, 130 void skl_int3472_unregister_pled(struct int3472_discrete_device *int3472);
|
D | Kconfig | 31 The module will be named "intel-skl-int3472".
|
/Linux-v6.6/drivers/platform/x86/intel/ |
D | Makefile | 10 obj-$(CONFIG_INTEL_SKL_INT3472) += int3472/
|
D | Kconfig | 9 source "drivers/platform/x86/intel/int3472/Kconfig"
|
/Linux-v6.6/ |
D | MAINTAINERS | 10800 F: drivers/platform/x86/intel/int3472/
|