Lines Matching refs:bridge
86 struct vexpress_config_bridge *bridge = dev_get_drvdata(dev->parent); in vexpress_config_devres_release() local
89 bridge->ops->regmap_exit(regmap, bridge->context); in vexpress_config_devres_release()
94 struct vexpress_config_bridge *bridge; in devm_regmap_init_vexpress_config() local
101 bridge = dev_get_drvdata(dev->parent); in devm_regmap_init_vexpress_config()
102 if (WARN_ON(!bridge)) in devm_regmap_init_vexpress_config()
110 regmap = (bridge->ops->regmap_init)(dev, bridge->context); in devm_regmap_init_vexpress_config()
127 struct vexpress_config_bridge *bridge; in vexpress_config_bridge_register() local
142 bridge = devm_kmalloc(dev, sizeof(*bridge), GFP_KERNEL); in vexpress_config_bridge_register()
143 if (!bridge) { in vexpress_config_bridge_register()
148 bridge->ops = ops; in vexpress_config_bridge_register()
149 bridge->context = context; in vexpress_config_bridge_register()
151 dev_set_drvdata(dev, bridge); in vexpress_config_bridge_register()
172 struct device_node *bridge; in vexpress_config_populate() local
176 bridge = of_parse_phandle(node, "arm,vexpress,config-bridge", 0); in vexpress_config_populate()
177 if (!bridge) in vexpress_config_populate()
180 parent = class_find_device(vexpress_config_class, NULL, bridge, in vexpress_config_populate()
182 of_node_put(bridge); in vexpress_config_populate()