greybus: svc: add stub functions for v_sys, refclk and unipro
Add stub functions for v_sys, refclk and unipro resource management. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Родитель
1e1565e5fe
Коммит
017482b28d
|
@ -253,6 +253,27 @@ int gb_svc_intf_eject(struct gb_svc *svc, u8 intf_id)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int gb_svc_intf_vsys_set(struct gb_svc *svc, u8 intf_id, bool enable)
|
||||||
|
{
|
||||||
|
/* FIXME: implement */
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int gb_svc_intf_refclk_set(struct gb_svc *svc, u8 intf_id, bool enable)
|
||||||
|
{
|
||||||
|
/* FIXME: implement */
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int gb_svc_intf_unipro_set(struct gb_svc *svc, u8 intf_id, bool enable)
|
||||||
|
{
|
||||||
|
/* FIXME: implement */
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
int gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
|
int gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
|
||||||
u32 *value)
|
u32 *value)
|
||||||
{
|
{
|
||||||
|
|
|
@ -69,6 +69,9 @@ int gb_svc_connection_create(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
|
||||||
void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
|
void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
|
||||||
u8 intf2_id, u16 cport2_id);
|
u8 intf2_id, u16 cport2_id);
|
||||||
int gb_svc_intf_eject(struct gb_svc *svc, u8 intf_id);
|
int gb_svc_intf_eject(struct gb_svc *svc, u8 intf_id);
|
||||||
|
int gb_svc_intf_vsys_set(struct gb_svc *svc, u8 intf_id, bool enable);
|
||||||
|
int gb_svc_intf_refclk_set(struct gb_svc *svc, u8 intf_id, bool enable);
|
||||||
|
int gb_svc_intf_unipro_set(struct gb_svc *svc, u8 intf_id, bool enable);
|
||||||
int gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
|
int gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
|
||||||
u32 *value);
|
u32 *value);
|
||||||
int gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
|
int gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче