Home
last modified time | relevance | path

Searched refs:lmc_softc_t (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wan/lmc/
Dlmc_media.c46 static void lmc_set_protocol (lmc_softc_t * const, lmc_ctl_t *);
52 static void lmc_ds3_init (lmc_softc_t * const);
53 static void lmc_ds3_default (lmc_softc_t * const);
54 static void lmc_ds3_set_status (lmc_softc_t * const, lmc_ctl_t *);
55 static void lmc_ds3_set_100ft (lmc_softc_t * const, int);
56 static int lmc_ds3_get_link_status (lmc_softc_t * const);
57 static void lmc_ds3_set_crc_length (lmc_softc_t * const, int);
58 static void lmc_ds3_set_scram (lmc_softc_t * const, int);
59 static void lmc_ds3_watchdog (lmc_softc_t * const);
61 static void lmc_hssi_init (lmc_softc_t * const);
[all …]
Dlmc_proto.h7 void lmc_proto_attach(lmc_softc_t *sc);
8 int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd);
9 int lmc_proto_open(lmc_softc_t *sc);
10 void lmc_proto_close(lmc_softc_t *sc);
11 __be16 lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb);
12 void lmc_proto_netif(lmc_softc_t *sc, struct sk_buff *skb);
14 static inline lmc_softc_t* dev_to_sc(struct net_device *dev) in dev_to_sc()
16 return (lmc_softc_t *)dev_to_hdlc(dev)->priv; in dev_to_sc()
Dlmc.h11 unsigned lmc_mii_readreg(lmc_softc_t * const sc, unsigned
13 void lmc_mii_writereg(lmc_softc_t * const sc, unsigned devaddr,
15 void lmc_led_on(lmc_softc_t * const, u32);
16 void lmc_led_off(lmc_softc_t * const, u32);
17 unsigned lmc_mii_readreg(lmc_softc_t * const, unsigned, unsigned);
18 void lmc_mii_writereg(lmc_softc_t * const, unsigned, unsigned, unsigned);
19 void lmc_gpio_mkinput(lmc_softc_t * const sc, u32 bits);
20 void lmc_gpio_mkoutput(lmc_softc_t * const sc, u32 bits);
Dlmc_proto.c48 void lmc_proto_attach(lmc_softc_t *sc) /*FOLD00*/ in lmc_proto_attach()
61 int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd) in lmc_proto_ioctl()
68 int lmc_proto_open(lmc_softc_t *sc) in lmc_proto_open()
81 void lmc_proto_close(lmc_softc_t *sc) in lmc_proto_close()
87 __be16 lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb) /*FOLD00*/ in lmc_proto_type()
102 void lmc_proto_netif(lmc_softc_t *sc, struct sk_buff *skb) /*FOLD00*/ in lmc_proto_netif()
Dlmc_var.h22 typedef struct lmc___softc lmc_softc_t; typedef
206 void (* init)(lmc_softc_t * const);
207 void (* defaults)(lmc_softc_t * const);
208 void (* set_status)(lmc_softc_t * const, lmc_ctl_t *);
209 void (* set_clock_source)(lmc_softc_t * const, int);
210 void (* set_speed)(lmc_softc_t * const, lmc_ctl_t *);
211 void (* set_cable_length)(lmc_softc_t * const, int);
212 void (* set_scrambler)(lmc_softc_t * const, int);
213 int (* get_link_status)(lmc_softc_t * const);
214 void (* set_link_status)(lmc_softc_t * const, int);
[all …]
Dlmc_main.c95 static void lmc_initcsrs(lmc_softc_t * const sc, lmc_csrptr_t csr_base, size_t csr_size);
96 static void lmc_softreset(lmc_softc_t * const);
100 static void lmc_reset(lmc_softc_t * const sc);
101 static void lmc_dec_reset(lmc_softc_t * const sc);
110 lmc_softc_t *sc = dev_to_sc(dev); in lmc_ioctl()
627 lmc_softc_t *sc = from_timer(sc, t, timer); in lmc_watchdog()
800 lmc_softc_t *sc; in lmc_init_one()
822 sc = devm_kzalloc(&pdev->dev, sizeof(lmc_softc_t), GFP_KERNEL); in lmc_init_one()
971 lmc_softc_t *sc = dev_to_sc(dev); in lmc_open()
1075 lmc_softc_t *sc = dev_to_sc(dev); in lmc_running_reset()
[all …]