Lines Matching refs:lochnagar
53 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = { \
59 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = \
94 .name = lochnagar##REV##_##ID##_pin.name, \
95 .drv_data = (void *)&lochnagar##REV##_##ID##_pin, \
443 LN_FUNC(lochnagar##REV##_##ID##_pin.name, PIN, OP)
449 LN_FUNC(lochnagar##REV##_##ID##_aif.name, AIF, OP)
608 .name = lochnagar##REV##_##ID##_pin.name, \
610 .pins = &lochnagar##REV##_pins[LOCHNAGAR##REV##_PIN_##ID].number, \
612 .priv = &lochnagar##REV##_pins[LOCHNAGAR##REV##_PIN_##ID], \
616 .name = lochnagar##REV##_##ID##_aif.name, \
618 .pins = lochnagar##REV##_##ID##_aif.pins, \
619 .npins = ARRAY_SIZE(lochnagar##REV##_##ID##_aif.pins), \
620 .priv = &lochnagar##REV##_##ID##_aif, \
710 struct lochnagar *lochnagar; member
797 struct regmap *regmap = priv->lochnagar->regmap; in lochnagar2_get_gpio_chan()
839 switch (priv->lochnagar->type) { in lochnagar_pin_set_mux()
856 ret = regmap_write(priv->lochnagar->regmap, pin->reg, op); in lochnagar_pin_set_mux()
868 struct regmap *regmap = priv->lochnagar->regmap; in lochnagar_aif_set_mux()
939 struct lochnagar *lochnagar = priv->lochnagar; in lochnagar_gpio_request() local
945 if (lochnagar->type == LOCHNAGAR1 || pin->type != LN_PTYPE_MUX) in lochnagar_gpio_request()
990 struct regmap *regmap = priv->lochnagar->regmap; in lochnagar_aif_set_master()
1064 struct lochnagar *lochnagar = priv->lochnagar; in lochnagar_gpio_set() local
1083 ret = regmap_update_bits(lochnagar->regmap, pin->reg, in lochnagar_gpio_set()
1138 struct lochnagar *lochnagar = dev_get_drvdata(pdev->dev.parent); in lochnagar_pin_probe() local
1150 priv->lochnagar = lochnagar; in lochnagar_pin_probe()
1167 switch (lochnagar->type) { in lochnagar_pin_probe()
1189 dev_err(dev, "Unknown Lochnagar type: %d\n", lochnagar->type); in lochnagar_pin_probe()