Home
last modified time | relevance | path

Searched refs:lochnagar (Results 1 – 9 of 9) sorted by relevance

/drivers/regulator/
Dlochnagar-regulator.c46 struct lochnagar *lochnagar = rdev_get_drvdata(rdev); in lochnagar_micbias_enable() local
49 mutex_lock(&lochnagar->analogue_config_lock); in lochnagar_micbias_enable()
55 ret = lochnagar_update_config(lochnagar); in lochnagar_micbias_enable()
58 mutex_unlock(&lochnagar->analogue_config_lock); in lochnagar_micbias_enable()
65 struct lochnagar *lochnagar = rdev_get_drvdata(rdev); in lochnagar_micbias_disable() local
68 mutex_lock(&lochnagar->analogue_config_lock); in lochnagar_micbias_disable()
74 ret = lochnagar_update_config(lochnagar); in lochnagar_micbias_disable()
77 mutex_unlock(&lochnagar->analogue_config_lock); in lochnagar_micbias_disable()
116 struct lochnagar *lochnagar = config->driver_data; in lochnagar_micbias_of_parse() local
125 mutex_lock(&lochnagar->analogue_config_lock); in lochnagar_micbias_of_parse()
[all …]
DMakefile55 obj-$(CONFIG_REGULATOR_LOCHNAGAR) += lochnagar-regulator.o
/drivers/mfd/
Dlochnagar-i2c.c231 int lochnagar_update_config(struct lochnagar *lochnagar) in lochnagar_update_config() argument
233 struct regmap *regmap = lochnagar->regmap; in lochnagar_update_config()
239 lockdep_assert_held(&lochnagar->analogue_config_lock); in lochnagar_update_config()
241 if (lochnagar->type != LOCHNAGAR2) in lochnagar_update_config()
274 struct lochnagar *lochnagar; in lochnagar_i2c_probe() local
281 lochnagar = devm_kzalloc(dev, sizeof(*lochnagar), GFP_KERNEL); in lochnagar_i2c_probe()
282 if (!lochnagar) in lochnagar_i2c_probe()
291 lochnagar->dev = dev; in lochnagar_i2c_probe()
292 mutex_init(&lochnagar->analogue_config_lock); in lochnagar_i2c_probe()
294 dev_set_drvdata(dev, lochnagar); in lochnagar_i2c_probe()
[all …]
DMakefile42 obj-$(CONFIG_MFD_LOCHNAGAR) += lochnagar-i2c.o
/drivers/pinctrl/cirrus/
Dpinctrl-lochnagar.c51 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = { \
57 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = \
92 .name = lochnagar##REV##_##ID##_pin.name, \
93 .drv_data = (void *)&lochnagar##REV##_##ID##_pin, \
441 LN_FUNC(lochnagar##REV##_##ID##_pin.name, PIN, OP)
447 LN_FUNC(lochnagar##REV##_##ID##_aif.name, AIF, OP)
606 .name = lochnagar##REV##_##ID##_pin.name, \
608 .pins = &lochnagar##REV##_pins[LOCHNAGAR##REV##_PIN_##ID].number, \
610 .priv = &lochnagar##REV##_pins[LOCHNAGAR##REV##_PIN_##ID], \
614 .name = lochnagar##REV##_##ID##_aif.name, \
[all …]
DMakefile3 obj-$(CONFIG_PINCTRL_LOCHNAGAR) += pinctrl-lochnagar.o
/drivers/clk/
DMakefile39 obj-$(CONFIG_COMMON_CLK_LOCHNAGAR) += clk-lochnagar.o
/drivers/hwmon/
DMakefile99 obj-$(CONFIG_SENSORS_LOCHNAGAR) += lochnagar-hwmon.o
DKconfig811 will be called lochnagar-hwmon.