Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
947 B
C
25 lines
947 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
||
/*
|
||
* OPEN Alliance 10BASE‑T1x MAC‑PHY Serial Interface framework
|
||
*
|
||
* Link: https://opensig.org/download/document/OPEN_Alliance_10BASET1x_MAC-PHY_Serial_Interface_V1.1.pdf
|
||
*
|
||
* Author: Parthiban Veerasooran <parthiban.veerasooran@microchip.com>
|
||
*/
|
||
|
||
#include <linux/etherdevice.h>
|
||
#include <linux/spi/spi.h>
|
||
|
||
struct oa_tc6;
|
||
|
||
struct oa_tc6 *oa_tc6_init(struct spi_device *spi, struct net_device *netdev);
|
||
void oa_tc6_exit(struct oa_tc6 *tc6);
|
||
int oa_tc6_write_register(struct oa_tc6 *tc6, u32 address, u32 value);
|
||
int oa_tc6_write_registers(struct oa_tc6 *tc6, u32 address, u32 value[],
|
||
u8 length);
|
||
int oa_tc6_read_register(struct oa_tc6 *tc6, u32 address, u32 *value);
|
||
int oa_tc6_read_registers(struct oa_tc6 *tc6, u32 address, u32 value[],
|
||
u8 length);
|
||
netdev_tx_t oa_tc6_start_xmit(struct oa_tc6 *tc6, struct sk_buff *skb);
|
||
int oa_tc6_zero_align_receive_frame_enable(struct oa_tc6 *tc6);
|