Searched refs:cm32181 (Results 1 – 4 of 4) sorted by relevance
91 static int cm32181_read_als_it(struct cm32181_chip *cm32181, int *val2);140 static void cm32181_acpi_parse_cpm_tables(struct cm32181_chip *cm32181) in cm32181_acpi_parse_cpm_tables() argument143 struct device *dev = cm32181->dev; in cm32181_acpi_parse_cpm_tables()152 cm32181->init_regs_bitmap = vals[CPM0_REGS_BITMAP]; in cm32181_acpi_parse_cpm_tables()153 cm32181->init_regs_bitmap &= GENMASK(count - 1, 0); in cm32181_acpi_parse_cpm_tables()154 for_each_set_bit(i, &cm32181->init_regs_bitmap, count) in cm32181_acpi_parse_cpm_tables()155 cm32181->conf_regs[i] = vals[CPM0_HEADER_SIZE + i]; in cm32181_acpi_parse_cpm_tables()161 cm32181->lux_per_bit = vals[CPM1_LUX_PER_BIT]; in cm32181_acpi_parse_cpm_tables()167 cm32181->calibscale = vals[CPM1_CALIBSCALE]; in cm32181_acpi_parse_cpm_tables()169 cm32181_read_als_it(cm32181, &cm32181->lux_per_bit_base_it); in cm32181_acpi_parse_cpm_tables()[all …]
19 obj-$(CONFIG_CM32181) += cm32181.o
154 Say Y here if you use cm32181.156 Capella cm32181 device driver.159 the module will be called cm32181.
524 cm32181@10 {525 compatible = "capella,cm32181";684 cm32181 {