@@ -79,6 +79,27 @@ static bool is_wake_capable(struct sdw_slave *slave)
79
79
return false;
80
80
}
81
81
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
+
82
103
static int generic_pre_bank_switch (struct sdw_bus * bus )
83
104
{
84
105
struct sdw_cdns * cdns = bus_to_cdns (bus );
@@ -267,6 +288,9 @@ static struct sdw_master_ops sdw_intel_ops = {
267
288
.get_device_num = intel_get_device_num_ida ,
268
289
.put_device_num = intel_put_device_num_ida ,
269
290
.new_peripheral_assigned = generic_new_peripheral_assigned ,
291
+
292
+ .bpt_send_async = generic_bpt_send_async ,
293
+ .bpt_wait = generic_bpt_wait ,
270
294
};
271
295
272
296
/*
0 commit comments