Searched refs:lmc_softc_t (Results 1 – 6 of 6) sorted by relevance
/drivers/net/wan/lmc/ |
D | lmc_media.c | 48 static void lmc_set_protocol (lmc_softc_t * const, lmc_ctl_t *); 54 static void lmc_ds3_init (lmc_softc_t * const); 55 static void lmc_ds3_default (lmc_softc_t * const); 56 static void lmc_ds3_set_status (lmc_softc_t * const, lmc_ctl_t *); 57 static void lmc_ds3_set_100ft (lmc_softc_t * const, int); 58 static int lmc_ds3_get_link_status (lmc_softc_t * const); 59 static void lmc_ds3_set_crc_length (lmc_softc_t * const, int); 60 static void lmc_ds3_set_scram (lmc_softc_t * const, int); 61 static void lmc_ds3_watchdog (lmc_softc_t * const); 63 static void lmc_hssi_init (lmc_softc_t * const); [all …]
|
D | lmc_proto.h | 6 void lmc_proto_attach(lmc_softc_t *sc); 7 int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd); 8 int lmc_proto_open(lmc_softc_t *sc); 9 void lmc_proto_close(lmc_softc_t *sc); 10 __be16 lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb); 11 void lmc_proto_netif(lmc_softc_t *sc, struct sk_buff *skb); 13 static inline lmc_softc_t* dev_to_sc(struct net_device *dev) in dev_to_sc() 15 return (lmc_softc_t *)dev_to_hdlc(dev)->priv; in dev_to_sc()
|
D | lmc.h | 10 unsigned lmc_mii_readreg(lmc_softc_t * const sc, unsigned 12 void lmc_mii_writereg(lmc_softc_t * const sc, unsigned devaddr, 14 void lmc_led_on(lmc_softc_t * const, u32); 15 void lmc_led_off(lmc_softc_t * const, u32); 16 unsigned lmc_mii_readreg(lmc_softc_t * const, unsigned, unsigned); 17 void lmc_mii_writereg(lmc_softc_t * const, unsigned, unsigned, unsigned); 18 void lmc_gpio_mkinput(lmc_softc_t * const sc, u32 bits); 19 void lmc_gpio_mkoutput(lmc_softc_t * const sc, u32 bits);
|
D | lmc_var.h | 24 typedef struct lmc___softc lmc_softc_t; typedef 208 void (* init)(lmc_softc_t * const); 209 void (* defaults)(lmc_softc_t * const); 210 void (* set_status)(lmc_softc_t * const, lmc_ctl_t *); 211 void (* set_clock_source)(lmc_softc_t * const, int); 212 void (* set_speed)(lmc_softc_t * const, lmc_ctl_t *); 213 void (* set_cable_length)(lmc_softc_t * const, int); 214 void (* set_scrambler)(lmc_softc_t * const, int); 215 int (* get_link_status)(lmc_softc_t * const); 216 void (* set_link_status)(lmc_softc_t * const, int); [all …]
|
D | lmc_proto.c | 50 void lmc_proto_attach(lmc_softc_t *sc) /*FOLD00*/ in lmc_proto_attach() 65 int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd) in lmc_proto_ioctl() 73 int lmc_proto_open(lmc_softc_t *sc) in lmc_proto_open() 90 void lmc_proto_close(lmc_softc_t *sc) in lmc_proto_close() 100 __be16 lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb) /*FOLD00*/ in lmc_proto_type() 122 void lmc_proto_netif(lmc_softc_t *sc, struct sk_buff *skb) /*FOLD00*/ in lmc_proto_netif()
|
D | lmc_main.c | 98 static void lmc_initcsrs(lmc_softc_t * const sc, lmc_csrptr_t csr_base, size_t csr_size); 99 static void lmc_softreset(lmc_softc_t * const); 103 static void lmc_reset(lmc_softc_t * const sc); 104 static void lmc_dec_reset(lmc_softc_t * const sc); 113 lmc_softc_t *sc = dev_to_sc(dev); in lmc_ioctl() 642 lmc_softc_t *sc = dev_to_sc(dev); in lmc_watchdog() 820 lmc_softc_t *sc; in lmc_init_one() 844 sc = devm_kzalloc(&pdev->dev, sizeof(lmc_softc_t), GFP_KERNEL); in lmc_init_one() 992 lmc_softc_t *sc = dev_to_sc(dev); in lmc_open() 1105 lmc_softc_t *sc = dev_to_sc(dev); in lmc_running_reset() [all …]
|