Home
last modified time | relevance | path

Searched refs:dev_stat (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/net/hamradio/
Dscc.c538 scc->dev_stat.rx_dropped++; in scc_rxint()
1628 scc->dev_stat.rx_packets++; in scc_net_rx()
1629 scc->dev_stat.rx_bytes += skb->len; in scc_net_rx()
1648 scc->dev_stat.tx_dropped++; /* bogus frame */ in scc_net_tx()
1653 scc->dev_stat.tx_packets++; in scc_net_tx()
1654 scc->dev_stat.tx_bytes += skb->len; in scc_net_tx()
1964 scc->dev_stat.rx_errors = scc->stat.rxerrs + scc->stat.rx_over; in scc_net_get_stats()
1965 scc->dev_stat.tx_errors = scc->stat.txerrs + scc->stat.tx_under; in scc_net_get_stats()
1966 scc->dev_stat.rx_fifo_errors = scc->stat.rx_over; in scc_net_get_stats()
1967 scc->dev_stat.tx_fifo_errors = scc->stat.tx_under; in scc_net_get_stats()
[all …]
/Linux-v6.1/include/linux/
Dscc.h53 struct net_device_stats dev_stat;/* device statistics */ member
/Linux-v6.1/drivers/usb/gadget/udc/
Dpch_udc.c2520 u32 dev_stat, dev_speed; in pch_udc_svc_enum_interrupt() local
2523 dev_stat = pch_udc_read_device_status(dev); in pch_udc_svc_enum_interrupt()
2524 dev_speed = (dev_stat & UDC_DEVSTS_ENUM_SPEED_MASK) >> in pch_udc_svc_enum_interrupt()
2559 u32 reg, dev_stat = 0; in pch_udc_svc_intf_interrupt() local
2562 dev_stat = pch_udc_read_device_status(dev); in pch_udc_svc_intf_interrupt()
2563 dev->cfg_data.cur_intf = (dev_stat & UDC_DEVSTS_INTF_MASK) >> in pch_udc_svc_intf_interrupt()
2565 dev->cfg_data.cur_alt = (dev_stat & UDC_DEVSTS_ALT_MASK) >> in pch_udc_svc_intf_interrupt()
2599 u32 reg, dev_stat = 0; in pch_udc_svc_cfg_interrupt() local
2601 dev_stat = pch_udc_read_device_status(dev); in pch_udc_svc_cfg_interrupt()
2603 dev->cfg_data.cur_cfg = (dev_stat & UDC_DEVSTS_CFG_MASK) >> in pch_udc_svc_cfg_interrupt()
/Linux-v6.1/drivers/misc/habanalabs/common/
Dhabanalabs_ioctl.c32 struct hl_info_device_status dev_stat = {0}; in device_status_info() local
39 dev_stat.status = hl_device_status(hdev); in device_status_info()
41 return copy_to_user(out, &dev_stat, in device_status_info()
42 min((size_t)size, sizeof(dev_stat))) ? -EFAULT : 0; in device_status_info()
/Linux-v6.1/drivers/s390/net/
Dctcm_fsms.c2137 int dev_stat = fsm_getstate(fi); in dev_action_chup() local
2141 dev->name, dev->ml_priv, dev_stat, event); in dev_action_chup()
/Linux-v6.1/drivers/target/
Dtarget_core_configfs.c3258 TB_CIT_SETUP(dev_stat, NULL, &target_core_stat_group_ops, NULL);
/Linux-v6.1/Documentation/filesystems/
Dproc.rst1271 dev_stat network device status