ub: ubcore provide query resources ops
driver inclusion category: feature bugzilla: NA CVE: NA -------------------------------- Ubcore provide query_res ops. - query_res: ubcore will call UBN vendor driver registered methods to query specified res info like tp, jetty, etc. Input parameter: dev: contains vendor-defined private device data. key: specifies the type and key value of the information to be queried. Multiple consecutive keys can be queried. val: specifies the address for storing query results and the total length of the allocated buffer. In the case of consecutive key queries, ensure that the buffer can store the query results of a specified number of keys. Output parameter: val: indicates the address for storing the query result and the length of the actual data. Return value: The value 0 indicates that the query is successful. The value other than 0 indicates that the query fails. If the buffer specified in Val is sufficient, the query is successful and the actual data length is returned. If the buffer is insufficient, a failure message is returned. The driver fills in the expected buffer length. Signed-off-by:Guoxin Qian <qianguoxin@huawei.com> Signed-off-by:
Yizhen Fan <fanyizhen@huawei.com>
Loading
Please sign in to comment