Searched refs:lmc_device (Results 1 – 3 of 3) sorted by relevance
51 struct net_device *dev = sc->lmc_device; in lmc_proto_attach()64 return hdlc_ioctl(sc->lmc_device, ifr, cmd); in lmc_proto_ioctl()73 ret = hdlc_open(sc->lmc_device); in lmc_proto_open()84 hdlc_close(sc->lmc_device); in lmc_proto_close()91 return hdlc_type_trans(skb, sc->lmc_device); in lmc_proto_type()
248 if (copy_to_user(ifr->ifr_data, &sc->lmc_device->stats, in lmc_ioctl()249 sizeof(sc->lmc_device->stats)) || in lmc_ioctl()250 copy_to_user(ifr->ifr_data + sizeof(sc->lmc_device->stats), in lmc_ioctl()264 memset(&sc->lmc_device->stats, 0, sizeof(sc->lmc_device->stats)); in lmc_ioctl()268 sizeof(sc->lmc_device->stats) + sizeof(sc->extra_stats); in lmc_ioctl()628 struct net_device *dev = sc->lmc_device; in lmc_watchdog()659 sc->lmc_device->stats.tx_packets > sc->lasttx_packets && in lmc_watchdog()667 sc->lmc_device->stats.tx_packets > sc->lasttx_packets && in lmc_watchdog()694 sc->lasttx_packets = sc->lmc_device->stats.tx_packets; in lmc_watchdog()698 sc->lasttx_packets = sc->lmc_device->stats.tx_packets; in lmc_watchdog()[all …]
31 #define LMC_PRINTF_ARGS (sc->lmc_device->name)296 struct net_device *lmc_device; member