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()
325 const struct fpga_bridge_ops *br_ops, in fpga_bridge_register() argument
331 if (!br_ops) { in fpga_bridge_register()
355 bridge->br_ops = br_ops; in fpga_bridge_register()
358 bridge->dev.groups = br_ops->groups; in fpga_bridge_register()
399 if (bridge->br_ops && bridge->br_ops->fpga_bridge_remove) in fpga_bridge_unregister()
400 bridge->br_ops->fpga_bridge_remove(bridge); in fpga_bridge_unregister()