Home
last modified time | relevance | path

Searched refs:lmc_device (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/wan/lmc/
Dlmc_proto.c52 lmc_trace(sc->lmc_device, "lmc_proto_attach in"); in lmc_proto_attach()
54 struct net_device *dev = sc->lmc_device; in lmc_proto_attach()
62 lmc_trace(sc->lmc_device, "lmc_proto_attach out"); in lmc_proto_attach()
67 lmc_trace(sc->lmc_device, "lmc_proto_ioctl"); in lmc_proto_ioctl()
69 return hdlc_ioctl(sc->lmc_device, ifr, cmd); in lmc_proto_ioctl()
77 lmc_trace(sc->lmc_device, "lmc_proto_open in"); in lmc_proto_open()
80 ret = hdlc_open(sc->lmc_device); in lmc_proto_open()
86 lmc_trace(sc->lmc_device, "lmc_proto_open out"); in lmc_proto_open()
92 lmc_trace(sc->lmc_device, "lmc_proto_close in"); in lmc_proto_close()
95 hdlc_close(sc->lmc_device); in lmc_proto_close()
[all …]
Dlmc_main.c253 if (copy_to_user(ifr->ifr_data, &sc->lmc_device->stats, in lmc_ioctl()
254 sizeof(sc->lmc_device->stats)) || in lmc_ioctl()
255 copy_to_user(ifr->ifr_data + sizeof(sc->lmc_device->stats), in lmc_ioctl()
269 memset(&sc->lmc_device->stats, 0, sizeof(sc->lmc_device->stats)); in lmc_ioctl()
273 sizeof(sc->lmc_device->stats) + sizeof(sc->extra_stats); in lmc_ioctl()
635 struct net_device *dev = sc->lmc_device; in lmc_watchdog()
668 sc->lmc_device->stats.tx_packets > sc->lasttx_packets && in lmc_watchdog()
676 sc->lmc_device->stats.tx_packets > sc->lasttx_packets && in lmc_watchdog()
703 sc->lasttx_packets = sc->lmc_device->stats.tx_packets; in lmc_watchdog()
707 sc->lasttx_packets = sc->lmc_device->stats.tx_packets; in lmc_watchdog()
[all …]
Dlmc_var.h33 #define LMC_PRINTF_ARGS (sc->lmc_device->name)
298 struct net_device *lmc_device; member
Dlmc_media.c1031 lmc_trace(sc->lmc_device, "lmc_t1_get_link_status in"); in lmc_t1_get_link_status()
1126 lmc_trace(sc->lmc_device, "lmc_t1_get_link_status out"); in lmc_t1_get_link_status()