bec 371 drivers/net/can/at91_can.c struct can_berr_counter *bec) bec 376 drivers/net/can/at91_can.c bec->rxerr = reg_ecr & 0xff; bec 377 drivers/net/can/at91_can.c bec->txerr = reg_ecr >> 16; bec 880 drivers/net/can/at91_can.c struct can_berr_counter bec; bec 882 drivers/net/can/at91_can.c at91_get_berr_counter(dev, &bec); bec 897 drivers/net/can/at91_can.c cf->data[1] = (bec.txerr > bec.rxerr) ? bec 914 drivers/net/can/at91_can.c cf->data[1] = (bec.txerr > bec.rxerr) ? bec 988 drivers/net/can/at91_can.c struct can_berr_counter bec; bec 991 drivers/net/can/at91_can.c err = at91_get_berr_counter(dev, &bec); bec 995 drivers/net/can/at91_can.c if (bec.txerr < 96 && bec.rxerr < 96) bec 997 drivers/net/can/at91_can.c else if (bec.txerr < 128 && bec.rxerr < 128) bec 999 drivers/net/can/at91_can.c else if (bec.txerr < 256 && bec.rxerr < 256) bec 706 drivers/net/can/c_can/c_can.c struct can_berr_counter *bec) bec 712 drivers/net/can/c_can/c_can.c bec->rxerr = (reg_err_counter & ERR_CNT_REC_MASK) >> bec 714 drivers/net/can/c_can/c_can.c bec->txerr = reg_err_counter & ERR_CNT_TEC_MASK; bec 720 drivers/net/can/c_can/c_can.c struct can_berr_counter *bec) bec 726 drivers/net/can/c_can/c_can.c err = __c_can_get_berr_counter(dev, bec); bec 915 drivers/net/can/c_can/c_can.c struct can_berr_counter bec; bec 945 drivers/net/can/c_can/c_can.c __c_can_get_berr_counter(dev, &bec); bec 955 drivers/net/can/c_can/c_can.c cf->data[6] = bec.txerr; bec 956 drivers/net/can/c_can/c_can.c cf->data[7] = bec.rxerr; bec 961 drivers/net/can/c_can/c_can.c cf->data[1] = (bec.txerr > bec.rxerr) ? bec 964 drivers/net/can/c_can/c_can.c cf->data[6] = bec.txerr; bec 965 drivers/net/can/c_can/c_can.c cf->data[7] = bec.rxerr; bec 973 drivers/net/can/c_can/c_can.c if (bec.txerr > 127) bec 976 drivers/net/can/c_can/c_can.c cf->data[6] = bec.txerr; bec 977 drivers/net/can/c_can/c_can.c cf->data[7] = bec.rxerr; bec 375 drivers/net/can/cc770/cc770.c struct can_berr_counter *bec) bec 379 drivers/net/can/cc770/cc770.c bec->txerr = cc770_read_reg(priv, tx_error_counter); bec 380 drivers/net/can/cc770/cc770.c bec->rxerr = cc770_read_reg(priv, rx_error_counter); bec 1129 drivers/net/can/dev.c struct can_berr_counter bec; bec 1149 drivers/net/can/dev.c !priv->do_get_berr_counter(dev, &bec) && bec 1150 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_BERR_COUNTER, sizeof(bec), &bec)) || bec 599 drivers/net/can/flexcan.c struct can_berr_counter *bec) bec 605 drivers/net/can/flexcan.c bec->txerr = (reg >> 0) & 0xff; bec 606 drivers/net/can/flexcan.c bec->rxerr = (reg >> 8) & 0xff; bec 612 drivers/net/can/flexcan.c struct can_berr_counter *bec) bec 621 drivers/net/can/flexcan.c err = __flexcan_get_berr_counter(dev, bec); bec 743 drivers/net/can/flexcan.c struct can_berr_counter bec; bec 757 drivers/net/can/flexcan.c __flexcan_get_berr_counter(dev, &bec); bec 760 drivers/net/can/flexcan.c rx_state = bec.rxerr >= bec.txerr ? new_state : 0; bec 761 drivers/net/can/flexcan.c tx_state = bec.rxerr <= bec.txerr ? new_state : 0; bec 447 drivers/net/can/grcan.c struct can_berr_counter *bec) bec 453 drivers/net/can/grcan.c bec->txerr = (status & GRCAN_STAT_TXERRCNT) >> GRCAN_STAT_TXERRCNT_BIT; bec 454 drivers/net/can/grcan.c bec->rxerr = (status & GRCAN_STAT_RXERRCNT) >> GRCAN_STAT_RXERRCNT_BIT; bec 441 drivers/net/can/ifi_canfd/ifi_canfd.c struct can_berr_counter *bec) bec 447 drivers/net/can/ifi_canfd/ifi_canfd.c bec->rxerr = (err >> IFI_CANFD_ERROR_RX_OFFSET) & bec 449 drivers/net/can/ifi_canfd/ifi_canfd.c bec->txerr = (err >> IFI_CANFD_ERROR_TX_OFFSET) & bec 462 drivers/net/can/ifi_canfd/ifi_canfd.c struct can_berr_counter bec; bec 496 drivers/net/can/ifi_canfd/ifi_canfd.c ifi_canfd_get_berr_counter(ndev, &bec); bec 502 drivers/net/can/ifi_canfd/ifi_canfd.c cf->data[1] = (bec.txerr > bec.rxerr) ? bec 505 drivers/net/can/ifi_canfd/ifi_canfd.c cf->data[6] = bec.txerr; bec 506 drivers/net/can/ifi_canfd/ifi_canfd.c cf->data[7] = bec.rxerr; bec 512 drivers/net/can/ifi_canfd/ifi_canfd.c if (bec.txerr > 127) bec 514 drivers/net/can/ifi_canfd/ifi_canfd.c cf->data[6] = bec.txerr; bec 515 drivers/net/can/ifi_canfd/ifi_canfd.c cf->data[7] = bec.rxerr; bec 237 drivers/net/can/janz-ican3.c struct can_berr_counter bec; bec 1183 drivers/net/can/janz-ican3.c mod->bec.rxerr = msg->data[5]; bec 1184 drivers/net/can/janz-ican3.c mod->bec.txerr = msg->data[6]; bec 1795 drivers/net/can/janz-ican3.c struct can_berr_counter *bec) bec 1809 drivers/net/can/janz-ican3.c bec->rxerr = mod->bec.rxerr; bec 1810 drivers/net/can/janz-ican3.c bec->txerr = mod->bec.txerr; bec 256 drivers/net/can/kvaser_pciefd.c struct can_berr_counter bec; bec 638 drivers/net/can/kvaser_pciefd.c can->bec.txerr = 0; bec 639 drivers/net/can/kvaser_pciefd.c can->bec.rxerr = 0; bec 895 drivers/net/can/kvaser_pciefd.c struct can_berr_counter *bec) bec 899 drivers/net/can/kvaser_pciefd.c bec->rxerr = can->bec.rxerr; bec 900 drivers/net/can/kvaser_pciefd.c bec->txerr = can->bec.txerr; bec 942 drivers/net/can/kvaser_pciefd.c can->bec.txerr = 0; bec 943 drivers/net/can/kvaser_pciefd.c can->bec.rxerr = 0; bec 1221 drivers/net/can/kvaser_pciefd.c struct can_berr_counter *bec, bec 1229 drivers/net/can/kvaser_pciefd.c else if (bec->txerr >= 255 || bec->rxerr >= 255) bec 1233 drivers/net/can/kvaser_pciefd.c else if (bec->txerr >= 128 || bec->rxerr >= 128) bec 1237 drivers/net/can/kvaser_pciefd.c else if (bec->txerr >= 96 || bec->rxerr >= 96) bec 1242 drivers/net/can/kvaser_pciefd.c *tx_state = bec->txerr >= bec->rxerr ? *new_state : 0; bec 1243 drivers/net/can/kvaser_pciefd.c *rx_state = bec->txerr <= bec->rxerr ? *new_state : 0; bec 1249 drivers/net/can/kvaser_pciefd.c struct can_berr_counter bec; bec 1259 drivers/net/can/kvaser_pciefd.c bec.txerr = p->header[0] & 0xff; bec 1260 drivers/net/can/kvaser_pciefd.c bec.rxerr = (p->header[0] >> KVASER_PCIEFD_SPACK_RXERR_SHIFT) & 0xff; bec 1262 drivers/net/can/kvaser_pciefd.c kvaser_pciefd_packet_to_state(p, &bec, &new_state, &tx_state, bec 1284 drivers/net/can/kvaser_pciefd.c can->bec.txerr = bec.txerr; bec 1285 drivers/net/can/kvaser_pciefd.c can->bec.rxerr = bec.rxerr; bec 1298 drivers/net/can/kvaser_pciefd.c cf->data[6] = bec.txerr; bec 1299 drivers/net/can/kvaser_pciefd.c cf->data[7] = bec.rxerr; bec 1331 drivers/net/can/kvaser_pciefd.c struct can_berr_counter bec; bec 1336 drivers/net/can/kvaser_pciefd.c bec.txerr = p->header[0] & 0xff; bec 1337 drivers/net/can/kvaser_pciefd.c bec.rxerr = (p->header[0] >> KVASER_PCIEFD_SPACK_RXERR_SHIFT) & 0xff; bec 1339 drivers/net/can/kvaser_pciefd.c kvaser_pciefd_packet_to_state(p, &bec, &new_state, &tx_state, bec 1371 drivers/net/can/kvaser_pciefd.c cf->data[6] = bec.txerr; bec 1372 drivers/net/can/kvaser_pciefd.c cf->data[7] = bec.rxerr; bec 1376 drivers/net/can/kvaser_pciefd.c can->bec.txerr = bec.txerr; bec 1377 drivers/net/can/kvaser_pciefd.c can->bec.rxerr = bec.rxerr; bec 1379 drivers/net/can/kvaser_pciefd.c if (bec.txerr || bec.rxerr) bec 605 drivers/net/can/m_can/m_can.c struct can_berr_counter *bec) bec 611 drivers/net/can/m_can/m_can.c bec->rxerr = (ecr & ECR_REC_MASK) >> ECR_REC_SHIFT; bec 612 drivers/net/can/m_can/m_can.c bec->txerr = (ecr & ECR_TEC_MASK) >> ECR_TEC_SHIFT; bec 640 drivers/net/can/m_can/m_can.c struct can_berr_counter *bec) bec 649 drivers/net/can/m_can/m_can.c __m_can_get_berr_counter(dev, bec); bec 663 drivers/net/can/m_can/m_can.c struct can_berr_counter bec; bec 693 drivers/net/can/m_can/m_can.c __m_can_get_berr_counter(dev, &bec); bec 699 drivers/net/can/m_can/m_can.c cf->data[1] = (bec.txerr > bec.rxerr) ? bec 702 drivers/net/can/m_can/m_can.c cf->data[6] = bec.txerr; bec 703 drivers/net/can/m_can/m_can.c cf->data[7] = bec.rxerr; bec 711 drivers/net/can/m_can/m_can.c if (bec.txerr > 127) bec 713 drivers/net/can/m_can/m_can.c cf->data[6] = bec.txerr; bec 714 drivers/net/can/m_can/m_can.c cf->data[7] = bec.rxerr; bec 822 drivers/net/can/m_can/m_can.c struct can_berr_counter bec; bec 824 drivers/net/can/m_can/m_can.c __m_can_get_berr_counter(dev, &bec); bec 825 drivers/net/can/m_can/m_can.c if (bec.rxerr == 127) { bec 526 drivers/net/can/mscan/mscan.c struct can_berr_counter *bec) bec 531 drivers/net/can/mscan/mscan.c bec->txerr = in_8(®s->cantxerr); bec 532 drivers/net/can/mscan/mscan.c bec->rxerr = in_8(®s->canrxerr); bec 1157 drivers/net/can/pch_can.c struct can_berr_counter *bec) bec 1162 drivers/net/can/pch_can.c bec->txerr = errc & PCH_TEC; bec 1163 drivers/net/can/pch_can.c bec->rxerr = (errc & PCH_REC) >> 8; bec 311 drivers/net/can/peak_canfd/peak_canfd.c priv->bec.txerr = msg->tx_err_cnt; bec 312 drivers/net/can/peak_canfd/peak_canfd.c priv->bec.rxerr = msg->rx_err_cnt; bec 359 drivers/net/can/peak_canfd/peak_canfd.c cf->data[1] = (priv->bec.txerr > priv->bec.rxerr) ? bec 362 drivers/net/can/peak_canfd/peak_canfd.c cf->data[6] = priv->bec.txerr; bec 363 drivers/net/can/peak_canfd/peak_canfd.c cf->data[7] = priv->bec.rxerr; bec 372 drivers/net/can/peak_canfd/peak_canfd.c cf->data[1] = (priv->bec.txerr > priv->bec.rxerr) ? bec 375 drivers/net/can/peak_canfd/peak_canfd.c cf->data[6] = priv->bec.txerr; bec 376 drivers/net/can/peak_canfd/peak_canfd.c cf->data[7] = priv->bec.rxerr; bec 420 drivers/net/can/peak_canfd/peak_canfd.c cf->data[6] = priv->bec.txerr; bec 421 drivers/net/can/peak_canfd/peak_canfd.c cf->data[7] = priv->bec.rxerr; bec 500 drivers/net/can/peak_canfd/peak_canfd.c priv->bec.txerr = 0; bec 501 drivers/net/can/peak_canfd/peak_canfd.c priv->bec.rxerr = 0; bec 544 drivers/net/can/peak_canfd/peak_canfd.c struct can_berr_counter *bec) bec 548 drivers/net/can/peak_canfd/peak_canfd.c *bec = priv->bec; bec 21 drivers/net/can/peak_canfd/peak_canfd_user.h struct can_berr_counter bec; /* rx/tx err counters */ bec 723 drivers/net/can/rcar/rcar_can.c struct can_berr_counter *bec) bec 731 drivers/net/can/rcar/rcar_can.c bec->txerr = readb(&priv->regs->tecr); bec 732 drivers/net/can/rcar/rcar_can.c bec->rxerr = readb(&priv->regs->recr); bec 1537 drivers/net/can/rcar/rcar_canfd.c struct can_berr_counter *bec) bec 1544 drivers/net/can/rcar/rcar_canfd.c bec->txerr = RCANFD_CSTS_TECCNT(val); bec 1545 drivers/net/can/rcar/rcar_canfd.c bec->rxerr = RCANFD_CSTS_RECCNT(val); bec 265 drivers/net/can/sja1000/sja1000.c struct can_berr_counter *bec) bec 269 drivers/net/can/sja1000/sja1000.c bec->txerr = priv->read_reg(priv, SJA1000_TXERR); bec 270 drivers/net/can/sja1000/sja1000.c bec->rxerr = priv->read_reg(priv, SJA1000_RXERR); bec 408 drivers/net/can/spi/hi311x.c struct can_berr_counter *bec) bec 414 drivers/net/can/spi/hi311x.c bec->txerr = hi3110_read(spi, HI3110_READ_TEC); bec 415 drivers/net/can/spi/hi311x.c bec->rxerr = hi3110_read(spi, HI3110_READ_REC); bec 294 drivers/net/can/sun4i_can.c struct can_berr_counter *bec) bec 308 drivers/net/can/sun4i_can.c bec->txerr = errors & 0xFF; bec 309 drivers/net/can/sun4i_can.c bec->rxerr = (errors >> 16) & 0xFF; bec 444 drivers/net/can/ti_hecc.c struct can_berr_counter *bec) bec 448 drivers/net/can/ti_hecc.c bec->txerr = hecc_read(priv, HECC_CANTEC); bec 449 drivers/net/can/ti_hecc.c bec->rxerr = hecc_read(priv, HECC_CANREC); bec 211 drivers/net/can/usb/esd_usb2.c struct can_berr_counter bec; bec 291 drivers/net/can/usb/esd_usb2.c priv->bec.txerr = txerr; bec 292 drivers/net/can/usb/esd_usb2.c priv->bec.rxerr = rxerr; bec 939 drivers/net/can/usb/esd_usb2.c struct can_berr_counter *bec) bec 943 drivers/net/can/usb/esd_usb2.c bec->txerr = priv->bec.txerr; bec 944 drivers/net/can/usb/esd_usb2.c bec->rxerr = priv->bec.rxerr; bec 109 drivers/net/can/usb/kvaser_usb/kvaser_usb.h struct can_berr_counter bec; bec 150 drivers/net/can/usb/kvaser_usb/kvaser_usb.h struct can_berr_counter *bec); bec 818 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c const struct can_berr_counter *bec, bec 826 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (bec->txerr >= 128 || bec->rxerr >= 128) { bec 829 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c bec->txerr, bec->rxerr); bec 831 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c } else if (bec->txerr >= 96 || bec->rxerr >= 96) { bec 841 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c const struct can_berr_counter *bec) bec 851 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c kvaser_usb_hydra_bus_status_to_can_state(priv, bus_status, bec, bec 868 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c tx_state = (bec->txerr >= bec->rxerr) ? bec 870 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c rx_state = (bec->txerr <= bec->rxerr) ? bec 893 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cf->data[6] = bec->txerr; bec 894 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cf->data[7] = bec->rxerr; bec 906 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c struct can_berr_counter bec; bec 914 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c bec.txerr = cmd->chip_state_event.tx_err_counter; bec 915 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c bec.rxerr = cmd->chip_state_event.rx_err_counter; bec 917 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c kvaser_usb_hydra_update_state(priv, bus_status, &bec); bec 918 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c priv->bec.txerr = bec.txerr; bec 919 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c priv->bec.rxerr = bec.rxerr; bec 995 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c struct can_berr_counter bec; bec 1003 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c bec.txerr = err_frame_data->tx_err_counter; bec 1004 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c bec.rxerr = err_frame_data->rx_err_counter; bec 1007 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c kvaser_usb_hydra_bus_status_to_can_state(priv, bus_status, &bec, bec 1016 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c tx_state = (bec.txerr >= bec.rxerr) ? bec 1018 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c rx_state = (bec.txerr <= bec.rxerr) ? bec 1048 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cf->data[6] = bec.txerr; bec 1049 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cf->data[7] = bec.rxerr; bec 1055 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c priv->bec.txerr = bec.txerr; bec 1056 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c priv->bec.rxerr = bec.rxerr; bec 1571 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c struct can_berr_counter *bec) bec 1582 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c *bec = priv->bec; bec 688 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c priv->bec.txerr = es->txerr; bec 689 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c priv->bec.rxerr = es->rxerr; bec 806 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (es->txerr != priv->bec.txerr) { bec 810 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (es->rxerr != priv->bec.rxerr) { bec 1298 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c struct can_berr_counter *bec) bec 1302 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c *bec = priv->bec; bec 80 drivers/net/can/usb/mcba_usb.c struct can_berr_counter bec; bec 513 drivers/net/can/usb/mcba_usb.c priv->bec.txerr = msg->tx_err_cnt; bec 514 drivers/net/can/usb/mcba_usb.c priv->bec.rxerr = msg->rx_err_cnt; bec 519 drivers/net/can/usb/mcba_usb.c else if ((priv->bec.txerr > MCBA_CAN_STATE_ERR_PSV_TH) || bec 520 drivers/net/can/usb/mcba_usb.c (priv->bec.rxerr > MCBA_CAN_STATE_ERR_PSV_TH)) bec 523 drivers/net/can/usb/mcba_usb.c else if ((priv->bec.txerr > MCBA_CAN_STATE_WRN_TH) || bec 524 drivers/net/can/usb/mcba_usb.c (priv->bec.rxerr > MCBA_CAN_STATE_WRN_TH)) bec 744 drivers/net/can/usb/mcba_usb.c struct can_berr_counter *bec) bec 748 drivers/net/can/usb/mcba_usb.c bec->txerr = priv->bec.txerr; bec 749 drivers/net/can/usb/mcba_usb.c bec->rxerr = priv->bec.rxerr; bec 70 drivers/net/can/usb/peak_usb/pcan_usb_core.h struct can_berr_counter *bec); bec 63 drivers/net/can/usb/peak_usb/pcan_usb_fd.c struct can_berr_counter bec; bec 544 drivers/net/can/usb/peak_usb/pcan_usb_fd.c pdev->bec.txerr = 0; bec 545 drivers/net/can/usb/peak_usb/pcan_usb_fd.c pdev->bec.rxerr = 0; bec 554 drivers/net/can/usb/peak_usb/pcan_usb_fd.c tx_state = (pdev->bec.txerr >= pdev->bec.rxerr) ? new_state : 0; bec 555 drivers/net/can/usb/peak_usb/pcan_usb_fd.c rx_state = (pdev->bec.txerr <= pdev->bec.rxerr) ? new_state : 0; bec 587 drivers/net/can/usb/peak_usb/pcan_usb_fd.c pdev->bec.txerr = er->tx_err_cnt; bec 588 drivers/net/can/usb/peak_usb/pcan_usb_fd.c pdev->bec.rxerr = er->rx_err_cnt; bec 793 drivers/net/can/usb/peak_usb/pcan_usb_fd.c pdev->bec.txerr = 0; bec 794 drivers/net/can/usb/peak_usb/pcan_usb_fd.c pdev->bec.rxerr = 0; bec 801 drivers/net/can/usb/peak_usb/pcan_usb_fd.c struct can_berr_counter *bec) bec 807 drivers/net/can/usb/peak_usb/pcan_usb_fd.c *bec = pdev->bec; bec 135 drivers/net/can/usb/usb_8dev.c struct can_berr_counter bec; bec 448 drivers/net/can/usb/usb_8dev.c priv->bec.txerr = txerr; bec 449 drivers/net/can/usb/usb_8dev.c priv->bec.rxerr = rxerr; bec 717 drivers/net/can/usb/usb_8dev.c struct can_berr_counter *bec) bec 721 drivers/net/can/usb/usb_8dev.c bec->txerr = priv->bec.txerr; bec 722 drivers/net/can/usb/usb_8dev.c bec->rxerr = priv->bec.rxerr; bec 1462 drivers/net/can/xilinx_can.c struct can_berr_counter *bec) bec 1474 drivers/net/can/xilinx_can.c bec->txerr = priv->read_reg(priv, XCAN_ECR_OFFSET) & XCAN_ECR_TEC_MASK; bec 1475 drivers/net/can/xilinx_can.c bec->rxerr = ((priv->read_reg(priv, XCAN_ECR_OFFSET) & bec 70 include/linux/can/dev.h struct can_berr_counter *bec);