Home
last modified time | relevance | path

Searched refs:rmconfig (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/pinctrl/berlin/
H A Dpinctrl-as370.c336 struct regmap_config *rmconfig; in as370_pinctrl_probe() local
341 rmconfig = devm_kzalloc(&pdev->dev, sizeof(*rmconfig), GFP_KERNEL); in as370_pinctrl_probe()
342 if (!rmconfig) in as370_pinctrl_probe()
349 rmconfig->reg_bits = 32, in as370_pinctrl_probe()
350 rmconfig->val_bits = 32, in as370_pinctrl_probe()
351 rmconfig->reg_stride = 4, in as370_pinctrl_probe()
352 rmconfig->max_register = resource_size(res); in as370_pinctrl_probe()
354 regmap = devm_regmap_init_mmio(&pdev->dev, base, rmconfig); in as370_pinctrl_probe()
H A Dberlin-bg4ct.c455 struct regmap_config *rmconfig; in berlin4ct_pinctrl_probe() local
460 rmconfig = devm_kzalloc(&pdev->dev, sizeof(*rmconfig), GFP_KERNEL); in berlin4ct_pinctrl_probe()
461 if (!rmconfig) in berlin4ct_pinctrl_probe()
468 rmconfig->reg_bits = 32, in berlin4ct_pinctrl_probe()
469 rmconfig->val_bits = 32, in berlin4ct_pinctrl_probe()
470 rmconfig->reg_stride = 4, in berlin4ct_pinctrl_probe()
471 rmconfig->max_register = resource_size(res); in berlin4ct_pinctrl_probe()
473 regmap = devm_regmap_init_mmio(&pdev->dev, base, rmconfig); in berlin4ct_pinctrl_probe()