summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/mxl862xx/mxl862xx-host.h
blob: 84512a30bc18599314c255fab4d2a62814144718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef __MXL862XX_HOST_H
#define __MXL862XX_HOST_H

#include "mxl862xx.h"

void mxl862xx_host_init(struct mxl862xx_priv *priv);
void mxl862xx_host_shutdown(struct mxl862xx_priv *priv);
int mxl862xx_api_wrap(struct mxl862xx_priv *priv, u16 cmd, void *data, u16 size,
		      bool read, bool quiet);
int mxl862xx_reset(struct mxl862xx_priv *priv);

#endif /* __MXL862XX_HOST_H */