Searched refs:lmc_device (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wan/lmc/ |
D | lmc_proto.c | 50 lmc_trace(sc->lmc_device, "lmc_proto_attach in"); in lmc_proto_attach() 52 struct net_device *dev = sc->lmc_device; in lmc_proto_attach() 60 lmc_trace(sc->lmc_device, "lmc_proto_attach out"); in lmc_proto_attach() 65 lmc_trace(sc->lmc_device, "lmc_proto_ioctl"); in lmc_proto_ioctl() 67 return hdlc_ioctl(sc->lmc_device, ifr, cmd); in lmc_proto_ioctl() 75 lmc_trace(sc->lmc_device, "lmc_proto_open in"); in lmc_proto_open() 78 ret = hdlc_open(sc->lmc_device); in lmc_proto_open() 84 lmc_trace(sc->lmc_device, "lmc_proto_open out"); in lmc_proto_open() 90 lmc_trace(sc->lmc_device, "lmc_proto_close in"); in lmc_proto_close() 93 hdlc_close(sc->lmc_device); in lmc_proto_close() [all …]
|
D | lmc_main.c | 250 if (copy_to_user(ifr->ifr_data, &sc->lmc_device->stats, in lmc_ioctl() 251 sizeof(sc->lmc_device->stats)) || in lmc_ioctl() 252 copy_to_user(ifr->ifr_data + sizeof(sc->lmc_device->stats), in lmc_ioctl() 266 memset(&sc->lmc_device->stats, 0, sizeof(sc->lmc_device->stats)); in lmc_ioctl() 270 sizeof(sc->lmc_device->stats) + sizeof(sc->extra_stats); in lmc_ioctl() 632 struct net_device *dev = sc->lmc_device; in lmc_watchdog() 665 sc->lmc_device->stats.tx_packets > sc->lasttx_packets && in lmc_watchdog() 673 sc->lmc_device->stats.tx_packets > sc->lasttx_packets && in lmc_watchdog() 700 sc->lasttx_packets = sc->lmc_device->stats.tx_packets; in lmc_watchdog() 704 sc->lasttx_packets = sc->lmc_device->stats.tx_packets; in lmc_watchdog() [all …]
|
D | lmc_var.h | 31 #define LMC_PRINTF_ARGS (sc->lmc_device->name) 296 struct net_device *lmc_device; member
|
D | lmc_media.c | 1029 lmc_trace(sc->lmc_device, "lmc_t1_get_link_status in"); in lmc_t1_get_link_status() 1124 lmc_trace(sc->lmc_device, "lmc_t1_get_link_status out"); in lmc_t1_get_link_status()
|