Lines Matching refs:br_ops
33 if (bridge->br_ops && bridge->br_ops->enable_set) in fpga_bridge_enable()
34 return bridge->br_ops->enable_set(bridge, 1); in fpga_bridge_enable()
51 if (bridge->br_ops && bridge->br_ops->enable_set) in fpga_bridge_disable()
52 return bridge->br_ops->enable_set(bridge, 0); in fpga_bridge_disable()
298 if (bridge->br_ops && bridge->br_ops->enable_show) in state_show()
299 enable = bridge->br_ops->enable_show(bridge); in state_show()
327 const struct fpga_bridge_ops *br_ops, in fpga_bridge_create() argument
350 bridge->br_ops = br_ops; in fpga_bridge_create()
354 bridge->dev.groups = br_ops->groups; in fpga_bridge_create()
412 const struct fpga_bridge_ops *br_ops, void *priv) in devm_fpga_bridge_create() argument
420 bridge = fpga_bridge_create(parent, name, br_ops, priv); in devm_fpga_bridge_create()
469 if (bridge->br_ops && bridge->br_ops->fpga_bridge_remove) in fpga_bridge_unregister()
470 bridge->br_ops->fpga_bridge_remove(bridge); in fpga_bridge_unregister()