@@ -79,6 +79,27 @@ static bool is_wake_capable(struct sdw_slave *slave)
7979 return false;
8080}
8181
82+ static int generic_bpt_send_async (struct sdw_bus * bus , struct sdw_slave * slave ,
83+ struct sdw_bpt_msg * msg )
84+ {
85+ struct sdw_cdns * cdns = bus_to_cdns (bus );
86+ struct sdw_intel * sdw = cdns_to_intel (cdns );
87+
88+ if (sdw -> link_res -> hw_ops -> bpt_send_async )
89+ return sdw -> link_res -> hw_ops -> bpt_send_async (sdw , slave , msg );
90+ return - EOPNOTSUPP ;
91+ }
92+
93+ static int generic_bpt_wait (struct sdw_bus * bus , struct sdw_slave * slave , struct sdw_bpt_msg * msg )
94+ {
95+ struct sdw_cdns * cdns = bus_to_cdns (bus );
96+ struct sdw_intel * sdw = cdns_to_intel (cdns );
97+
98+ if (sdw -> link_res -> hw_ops -> bpt_wait )
99+ return sdw -> link_res -> hw_ops -> bpt_wait (sdw , slave , msg );
100+ return - EOPNOTSUPP ;
101+ }
102+
82103static int generic_pre_bank_switch (struct sdw_bus * bus )
83104{
84105 struct sdw_cdns * cdns = bus_to_cdns (bus );
@@ -267,6 +288,9 @@ static struct sdw_master_ops sdw_intel_ops = {
267288 .get_device_num = intel_get_device_num_ida ,
268289 .put_device_num = intel_put_device_num_ida ,
269290 .new_peripheral_assigned = generic_new_peripheral_assigned ,
291+
292+ .bpt_send_async = generic_bpt_send_async ,
293+ .bpt_wait = generic_bpt_wait ,
270294};
271295
272296/*
0 commit comments