Home
last modified time | relevance | path

Searched full:lan9303 (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/dsa/
H A Dlan9303-core.c18 #include "lan9303.h"
20 /* For the LAN9303 and LAN9354, only port 0 is an XMII port. */
264 static int lan9303_read_wait(struct lan9303 *chip, int offset, u32 mask) in lan9303_read_wait()
286 static int lan9303_virt_phy_reg_read(struct lan9303 *chip, int regnum) in lan9303_virt_phy_reg_read()
301 static int lan9303_virt_phy_reg_write(struct lan9303 *chip, int regnum, u16 val) in lan9303_virt_phy_reg_write()
309 static int lan9303_indirect_phy_wait_for_completion(struct lan9303 *chip) in lan9303_indirect_phy_wait_for_completion()
315 static int lan9303_indirect_phy_read(struct lan9303 *chip, int addr, int regnum) in lan9303_indirect_phy_read()
352 static int lan9303_indirect_phy_write(struct lan9303 *chip, int addr, in lan9303_indirect_phy_write()
387 static int lan9303_switch_wait_for_completion(struct lan9303 *chip) in lan9303_switch_wait_for_completion()
393 static int lan9303_write_switch_reg(struct lan9303 *chip, u16 regnum, u32 val) in lan9303_write_switch_reg()
[all …]
H A Dlan9303.h6 #include <linux/dsa/lan9303.h>
11 int lan9303_probe(struct lan9303 *chip, struct device_node *np);
12 int lan9303_remove(struct lan9303 *chip);
13 void lan9303_shutdown(struct lan9303 *chip);
H A Dlan9303_mdio.c14 #include "lan9303.h"
22 struct lan9303 chip;
61 static int lan9303_mdio_phy_write(struct lan9303 *chip, int addr, int reg, in lan9303_mdio_phy_write()
69 static int lan9303_mdio_phy_read(struct lan9303 *chip, int addr, int reg) in lan9303_mdio_phy_read()
128 dev_info(&mdiodev->dev, "LAN9303 MDIO driver loaded successfully\n"); in lan9303_mdio_probe()
158 { .compatible = "smsc,lan9303-mdio" },
176 MODULE_DESCRIPTION("Driver for SMSC/Microchip LAN9303 three port ethernet switch in MDIO managed mo…
H A DKconfig124 This enables support for the Microchip LAN9303/LAN9354 3 port ethernet
128 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
134 Enable access functions if the SMSC/Microchip LAN9303 is configured
138 tristate "Microchip LAN9303/LAN9354 3-ports 10/100 ethernet switch in MDIO managed mode"
142 Enable access functions if the Microchip LAN9303/LAN9354 is configured
H A DMakefile12 obj-$(CONFIG_NET_DSA_SMSC_LAN9303) += lan9303-core.o
/linux/include/linux/dsa/
H A Dlan9303.h1 /* Included by drivers/net/dsa/lan9303.h and net/dsa/tag_lan9303.c */
4 struct lan9303;
8 int (*phy_read)(struct lan9303 *chip, int addr, int regnum);
9 int (*phy_write)(struct lan9303 *chip, int addr,
20 struct lan9303 { struct
35 /* LAN9303 do not offer reading specific ALR entry. Cache all
/linux/net/dsa/
H A Dtag_lan9303.c5 #include <linux/dsa/lan9303.h>
13 * VLAN tag is used by the LAN9303. But its VID meaning is 'special':
33 #define LAN9303_NAME "lan9303"
48 * See also: lan9303_separate_ports() and lan9303.pdf 6.4.10.1
52 struct lan9303 *chip = dp->ds->priv; in lan9303_xmit_use_arl()
124 MODULE_DESCRIPTION("DSA tag driver for SMSC/Microchip LAN9303 family of switches");
H A DKconfig192 tristate "Tag driver for SMSC/Microchip LAN9303 family of switches"
195 SMSC/Microchip LAN9303 family of switches.
H A Dport.c1797 "smsc,lan9303-mdio",
1800 "smsc,lan9303-i2c",
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx53-kp-hsc.dts18 fixed-link { /* RMII fixed link to LAN9303 */
26 compatible = "smsc,lan9303-i2c";
/linux/Documentation/networking/dsa/
H A Dindex.rst11 lan9303