Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/
H A Dmt7530-mmio.c22 static struct regmap_config *sw_regmap_config; in mt7988_probe() local
50 sw_regmap_config = devm_kzalloc(&pdev->dev, sizeof(*sw_regmap_config), GFP_KERNEL); in mt7988_probe()
51 if (!sw_regmap_config) in mt7988_probe()
54 sw_regmap_config->name = "switch"; in mt7988_probe()
55 sw_regmap_config->reg_bits = 16; in mt7988_probe()
56 sw_regmap_config->val_bits = 32; in mt7988_probe()
57 sw_regmap_config->reg_stride = 4; in mt7988_probe()
58 sw_regmap_config->max_register = MT7530_CREV; in mt7988_probe()
59 priv->regmap = devm_regmap_init_mmio(&pdev->dev, base_addr, sw_regmap_config); in mt7988_probe()