Home
last modified time | relevance | path

Searched refs:rxerr (Results 1 – 25 of 45) sorted by relevance

12

/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,kirkwood-pinctrl.txt47 mpp35 35 gpio, mii(rxerr)
71 mii(col), mii-1(rxerr)
100 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr)
115 mii(col), mii-1(rxerr), sata1(prsnt)
149 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr), tdm(tx0ql)
164 mii(col), mii-1(rxerr), sata1(prsnt)
198 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr), tdm(tx0ql)
227 mii-1(rxerr), sata1(prsnt)
267 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr), tdm(tx0ql),
H A Dmarvell,orion-pinctrl.txt33 mpp9 9 gpio, ge(rxerr)
58 mpp9 9 gpio, ge(rxerr)
83 mpp9 9 gpio, ge(rxerr)
/linux/drivers/net/can/
H A Dkvaser_pciefd.c668 can->bec.rxerr = 0; in kvaser_pciefd_bus_on()
925 bec->rxerr = can->bec.rxerr; in kvaser_pciefd_get_berr_counter()
974 can->bec.rxerr = 0; in kvaser_pciefd_setup_can_ctrls()
1268 else if (bec->txerr >= 255 || bec->rxerr >= 255) in kvaser_pciefd_packet_to_state()
1272 else if (bec->txerr >= 128 || bec->rxerr >= 128) in kvaser_pciefd_packet_to_state()
1276 else if (bec->txerr >= 96 || bec->rxerr >= 96) in kvaser_pciefd_packet_to_state()
1281 *tx_state = bec->txerr >= bec->rxerr ? *new_state : 0; in kvaser_pciefd_packet_to_state()
1282 *rx_state = bec->txerr <= bec->rxerr ? *new_state : 0; in kvaser_pciefd_packet_to_state()
1297 bec.rxerr = FIELD_GET(KVASER_PCIEFD_SPACK_RXERR_MASK, p->header[0]); in kvaser_pciefd_rx_error_frame()
1320 can->bec.rxerr = bec.rxerr; in kvaser_pciefd_rx_error_frame()
[all …]
H A Dsun4i_can.c324 bec->rxerr = (errors >> 16) & 0xFF; in sun4ican_get_berr_counter()
533 unsigned int rxerr, txerr, errc; in sun4i_can_err() local
540 rxerr = (errc >> 16) & 0xFF; in sun4i_can_err()
576 cf->data[7] = rxerr; in sun4i_can_err()
633 tx_state = txerr >= rxerr ? state : 0; in sun4i_can_err()
634 rx_state = txerr <= rxerr ? state : 0; in sun4i_can_err()
H A Djanz-ican3.c1038 u8 isrc, ecc, status, rxerr, txerr; in ican3_handle_cevtind() local
1057 rxerr = msg->data[4]; in ican3_handle_cevtind()
1119 if (rxerr >= 128 || txerr >= 128) in ican3_handle_cevtind()
1152 cf->data[7] = rxerr; in ican3_handle_cevtind()
1160 cf->data[1] = (txerr > rxerr) ? in ican3_handle_cevtind()
1165 cf->data[1] = (txerr > rxerr) ? in ican3_handle_cevtind()
1171 cf->data[7] = rxerr; in ican3_handle_cevtind()
1184 mod->bec.rxerr = msg->data[5]; in ican3_handle_inquiry()
1818 bec->rxerr = mod->bec.rxerr; in ican3_get_berr_counter()
/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_leaf.c439 u8 channel, status, txerr, rxerr; member
1063 } else if (es->txerr >= 128 || es->rxerr >= 128) { in kvaser_usb_leaf_rx_error_update_can_state()
1065 } else if (es->txerr >= 96 || es->rxerr >= 96) { in kvaser_usb_leaf_rx_error_update_can_state()
1088 tx_state = (es->txerr >= es->rxerr) ? new_state : 0; in kvaser_usb_leaf_rx_error_update_can_state()
1089 rx_state = (es->txerr <= es->rxerr) ? new_state : 0; in kvaser_usb_leaf_rx_error_update_can_state()
1117 priv->bec.rxerr = es->rxerr; in kvaser_usb_leaf_rx_error_update_can_state()
1166 (es->rxerr || es->txerr || new_state == CAN_STATE_ERROR_PASSIVE || in kvaser_usb_leaf_rx_error()
1225 cf->data[7] = es->rxerr; in kvaser_usb_leaf_rx_error()
1256 if (es->rxerr != priv->bec.rxerr) { in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1281 es.rxerr = cmd->u.usbcan.chip_state_event.rx_errors_count; in kvaser_usb_leaf_usbcan_rx_error()
[all …]
H A Dkvaser_usb_hydra.c916 if (bec->txerr >= 128 || bec->rxerr >= 128) { in kvaser_usb_hydra_bus_status_to_can_state()
919 bec->txerr, bec->rxerr); in kvaser_usb_hydra_bus_status_to_can_state()
921 } else if (bec->txerr >= 96 || bec->rxerr >= 96) { in kvaser_usb_hydra_bus_status_to_can_state()
957 tx_state = (bec->txerr >= bec->rxerr) ? in kvaser_usb_hydra_update_state()
959 rx_state = (bec->txerr <= bec->rxerr) ? in kvaser_usb_hydra_update_state()
985 cf->data[7] = bec->rxerr; in kvaser_usb_hydra_update_state()
1004 bec.rxerr = cmd->chip_state_event.rx_err_counter; in kvaser_usb_hydra_state_event()
1008 priv->bec.rxerr = bec.rxerr; in kvaser_usb_hydra_state_event()
1093 bec.rxerr = err_frame_data->rx_err_counter; in kvaser_usb_hydra_error_frame()
1105 tx_state = (bec.txerr >= bec.rxerr) ? in kvaser_usb_hydra_error_frame()
[all …]
/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c332 priv->bec.rxerr = msg->rx_err_cnt; in pucan_handle_error()
378 cf->data[1] = (priv->bec.txerr > priv->bec.rxerr) ? in pucan_handle_status()
382 cf->data[7] = priv->bec.rxerr; in pucan_handle_status()
391 cf->data[1] = (priv->bec.txerr > priv->bec.rxerr) ? in pucan_handle_status()
395 cf->data[7] = priv->bec.rxerr; in pucan_handle_status()
438 cf->data[7] = priv->bec.rxerr; in pucan_handle_cache_critical()
516 priv->bec.rxerr = 0; in peak_canfd_start()
/linux/drivers/net/can/esd/
H A Desdacc.c306 bec->rxerr = core_status & 0xff; in acc_get_berr_counter()
532 const u8 rxerr = reg_status; in handle_core_msg_buserr() local
574 cf->data[7] = rxerr; in handle_core_msg_buserr()
589 const u8 rxerr = reg_status; in handle_core_msg_errstatechange() local
612 tx_state = (txerr >= rxerr) ? in handle_core_msg_errstatechange()
614 rx_state = (rxerr >= txerr) ? in handle_core_msg_errstatechange()
627 cf->data[7] = rxerr; in handle_core_msg_errstatechange()
/linux/drivers/net/can/usb/
H A Dusb_8dev.c349 u8 rxerr = msg->data[1] & USB_8DEV_RP_MASK; in usb_8dev_rx_err_msg() local
417 cf->data[1] = (txerr > rxerr) ? in usb_8dev_rx_err_msg()
424 cf->data[1] = (txerr > rxerr) ? in usb_8dev_rx_err_msg()
445 cf->data[7] = rxerr; in usb_8dev_rx_err_msg()
449 priv->bec.rxerr = rxerr; in usb_8dev_rx_err_msg()
712 bec->rxerr = priv->bec.rxerr; in usb_8dev_get_berr_counter()
H A Df81604.c169 u8 rxerr; member
494 cf->data[7] = data->rxerr; in f81604_handle_can_bus_errors()
591 tx_state = data->txerr >= data->rxerr ? can_state : 0; in f81604_handle_can_bus_errors()
592 rx_state = data->txerr <= data->rxerr ? can_state : 0; in f81604_handle_can_bus_errors()
996 u8 txerr, rxerr; in f81604_get_berr_counter() local
1003 ret = f81604_sja1000_read(priv, F81604_SJA1000_RXERR, &rxerr); in f81604_get_berr_counter()
1008 bec->rxerr = rxerr; in f81604_get_berr_counter()
H A Dmcba_usb.c509 priv->bec.rxerr = msg->rx_err_cnt; in mcba_usb_process_ka_can()
515 (priv->bec.rxerr > MCBA_CAN_STATE_ERR_PSV_TH)) in mcba_usb_process_ka_can()
519 (priv->bec.rxerr > MCBA_CAN_STATE_WRN_TH)) in mcba_usb_process_ka_can()
755 bec->rxerr = priv->bec.rxerr; in mcba_net_get_berr_counter()
H A Desd_usb.c307 priv->bec.rxerr = msg->rx.ev_can_err_ext.rec; in esd_usb_rx_event()
313 priv->bec.rxerr, priv->bec.txerr); in esd_usb_rx_event()
344 priv->bec.rxerr = 0; in esd_usb_rx_event()
349 tx_state = (priv->bec.txerr >= priv->bec.rxerr) ? new_state : 0; in esd_usb_rx_event()
350 rx_state = (priv->bec.txerr <= priv->bec.rxerr) ? new_state : 0; in esd_usb_rx_event()
385 cf->data[7] = priv->bec.rxerr; in esd_usb_rx_event()
1165 bec->rxerr = priv->bec.rxerr; in esd_usb_get_berr_counter()
/linux/drivers/net/can/sja1000/
H A Dsja1000.c272 bec->rxerr = priv->read_reg(priv, SJA1000_RXERR); in sja1000_get_berr_counter()
414 unsigned int rxerr, txerr; in sja1000_err() local
421 rxerr = priv->read_reg(priv, SJA1000_RXERR); in sja1000_err()
459 cf->data[7] = rxerr; in sja1000_err()
518 tx_state = txerr >= rxerr ? state : 0; in sja1000_err()
519 rx_state = txerr <= rxerr ? state : 0; in sja1000_err()
/linux/drivers/net/can/rockchip/
H A Drockchip_canfd-rx.c254 if (priv->bec.rxerr) in rkcanfd_handle_rx_int_one()
255 priv->bec.rxerr = min(CAN_ERROR_PASSIVE_THRESHOLD, in rkcanfd_handle_rx_int_one()
256 priv->bec.rxerr) - 1; in rkcanfd_handle_rx_int_one()
H A Drockchip_canfd-core.c168 bec->rxerr = rkcanfd_read(priv, RKCANFD_REG_RXERRORCNT); in rkcanfd_get_berr_counter_corrected()
191 if (!bec->rxerr && !bec->txerr) in rkcanfd_get_berr_counter_corrected()
200 bec_raw.txerr, bec->txerr, bec_raw.rxerr, bec->rxerr, in rkcanfd_get_berr_counter_corrected()
548 cf->data[7] = bec.rxerr; in rkcanfd_handle_error_int()
599 cf->data[7] = bec.rxerr; in rkcanfd_handle_state_error_int()
633 cf->data[7] = bec.rxerr; in rkcanfd_handle_rx_fifo_overflow_int()
/linux/drivers/net/can/rcar/
H A Drcar_canfd.c991 u16 txerr, u16 rxerr) in rcar_canfd_error() argument
999 netdev_dbg(ndev, "ch erfl %x txerr %u rxerr %u\n", cerfl, txerr, rxerr); in rcar_canfd_error()
1067 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_WARNING : in rcar_canfd_error()
1070 cf->data[7] = rxerr; in rcar_canfd_error()
1077 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_PASSIVE : in rcar_canfd_error()
1080 cf->data[7] = rxerr; in rcar_canfd_error()
1214 u16 txerr, u16 rxerr) in rcar_canfd_state_change() argument
1223 if (txerr < 96 && rxerr < 96) in rcar_canfd_state_change()
1225 else if (txerr < 128 && rxerr < 128) in rcar_canfd_state_change()
1230 state, priv->can.state, txerr, rxerr); in rcar_canfd_state_change()
[all …]
H A Drcar_can.c227 u8 eifr, txerr = 0, rxerr = 0; in rcar_can_error() local
235 rxerr = readb(&priv->regs->recr); in rcar_can_error()
312 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_WARNING : in rcar_can_error()
322 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_PASSIVE : in rcar_can_error()
340 cf->data[7] = rxerr; in rcar_can_error()
728 bec->rxerr = readb(&priv->regs->recr); in rcar_can_get_berr_counter()
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c505 (mc->pdev->bec.rxerr >= 128)) ? in pcan_usb_decode_error()
515 (mc->pdev->bec.txerr >= mc->pdev->bec.rxerr) ? in pcan_usb_decode_error()
518 (mc->pdev->bec.txerr <= mc->pdev->bec.rxerr) ? in pcan_usb_decode_error()
531 cf->data[7] = mc->pdev->bec.rxerr; in pcan_usb_decode_error()
563 pdev->bec.rxerr = mc->ptr[1]; in pcan_usb_handle_bus_evt()
862 pdev->bec.rxerr = 0; in pcan_usb_start()
/linux/drivers/net/can/slcan/
H A Dslcan-core.c264 u32 rxerr, txerr; in slcan_bump_state() local
294 if (kstrtou32(cmd, 10, &rxerr)) in slcan_bump_state()
299 tx_state = txerr >= rxerr ? state : 0; in slcan_bump_state()
300 rx_state = txerr <= rxerr ? state : 0; in slcan_bump_state()
308 cf->data[7] = rxerr; in slcan_bump_state()
/linux/drivers/net/can/spi/
H A Dhi311x.c415 bec->rxerr = hi3110_read(spi, HI3110_READ_REC); in hi3110_get_berr_counter()
663 u8 rxerr, txerr; in hi3110_can_ist() local
668 rxerr = hi3110_read(spi, HI3110_READ_REC); in hi3110_can_ist()
669 tx_state = txerr >= rxerr ? new_state : 0; in hi3110_can_ist()
670 rx_state = txerr <= rxerr ? new_state : 0; in hi3110_can_ist()
685 cf->data[7] = rxerr; in hi3110_can_ist()
/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_base.c788 bec->rxerr = FIELD_GET(REG_REC_REC_VAL, err_ctrs); in ctucan_get_rec_tec()
817 __func__, isr, bec.rxerr, bec.txerr, in ctucan_err_interrupt()
851 cf->data[1] = (bec.rxerr > 127) ? in ctucan_err_interrupt()
855 cf->data[7] = bec.rxerr; in ctucan_err_interrupt()
862 cf->data[1] |= (bec.txerr > bec.rxerr) ? in ctucan_err_interrupt()
866 cf->data[7] = bec.rxerr; in ctucan_err_interrupt()
873 cf->data[7] = bec.rxerr; in ctucan_err_interrupt()
/linux/drivers/net/ethernet/arc/
H A Demac_main.c650 unsigned long miss, rxerr; in arc_emac_stats() local
653 rxerr = arc_reg_get(priv, R_RXERR); in arc_emac_stats()
656 rxcrc = rxerr; in arc_emac_stats()
657 rxfram = rxerr >> 8; in arc_emac_stats()
658 rxoflow = rxerr >> 16; in arc_emac_stats()
/linux/include/uapi/linux/can/
H A Dnetlink.h84 __u16 rxerr; member
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pcsx-defs.h514 uint64_t rxerr:1; member
528 uint64_t rxerr:1;
546 uint64_t rxerr:1; member
560 uint64_t rxerr:1;

12