Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
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),
Dmarvell,orion-pinctrl.txt33 mpp9 9 gpio, ge(rxerr)
58 mpp9 9 gpio, ge(rxerr)
83 mpp9 9 gpio, ge(rxerr)
/kernel/linux/linux-5.10/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_leaf.c412 u8 channel, status, txerr, rxerr; member
988 } else if (es->txerr >= 128 || es->rxerr >= 128) { in kvaser_usb_leaf_rx_error_update_can_state()
990 } else if (es->txerr >= 96 || es->rxerr >= 96) { in kvaser_usb_leaf_rx_error_update_can_state()
997 tx_state = (es->txerr >= es->rxerr) ? new_state : 0; in kvaser_usb_leaf_rx_error_update_can_state()
998 rx_state = (es->txerr <= es->rxerr) ? new_state : 0; in kvaser_usb_leaf_rx_error_update_can_state()
1026 priv->bec.rxerr = es->rxerr; in kvaser_usb_leaf_rx_error_update_can_state()
1073 (es->rxerr || es->txerr || new_state == CAN_STATE_ERROR_PASSIVE)) in kvaser_usb_leaf_rx_error()
1130 cf->data[7] = es->rxerr; in kvaser_usb_leaf_rx_error()
1163 if (es->rxerr != priv->bec.rxerr) { in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1188 es.rxerr = cmd->u.usbcan.chip_state_event.rx_errors_count; in kvaser_usb_leaf_usbcan_rx_error()
[all …]
Dkvaser_usb_hydra.c873 if (bec->txerr >= 128 || bec->rxerr >= 128) { in kvaser_usb_hydra_bus_status_to_can_state()
876 bec->txerr, bec->rxerr); in kvaser_usb_hydra_bus_status_to_can_state()
878 } else if (bec->txerr >= 96 || bec->rxerr >= 96) { in kvaser_usb_hydra_bus_status_to_can_state()
915 tx_state = (bec->txerr >= bec->rxerr) ? in kvaser_usb_hydra_update_state()
917 rx_state = (bec->txerr <= bec->rxerr) ? in kvaser_usb_hydra_update_state()
942 cf->data[7] = bec->rxerr; in kvaser_usb_hydra_update_state()
964 bec.rxerr = cmd->chip_state_event.rx_err_counter; in kvaser_usb_hydra_state_event()
968 priv->bec.rxerr = bec.rxerr; in kvaser_usb_hydra_state_event()
1053 bec.rxerr = err_frame_data->rx_err_counter; in kvaser_usb_hydra_error_frame()
1065 tx_state = (bec.txerr >= bec.rxerr) ? in kvaser_usb_hydra_error_frame()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/
Dkvaser_pciefd.c643 can->bec.rxerr = 0; in kvaser_pciefd_bus_on()
905 bec->rxerr = can->bec.rxerr; in kvaser_pciefd_get_berr_counter()
949 can->bec.rxerr = 0; in kvaser_pciefd_setup_can_ctrls()
1238 else if (bec->txerr >= 255 || bec->rxerr >= 255) in kvaser_pciefd_packet_to_state()
1242 else if (bec->txerr >= 128 || bec->rxerr >= 128) in kvaser_pciefd_packet_to_state()
1246 else if (bec->txerr >= 96 || bec->rxerr >= 96) in kvaser_pciefd_packet_to_state()
1251 *tx_state = bec->txerr >= bec->rxerr ? *new_state : 0; in kvaser_pciefd_packet_to_state()
1252 *rx_state = bec->txerr <= bec->rxerr ? *new_state : 0; in kvaser_pciefd_packet_to_state()
1269 bec.rxerr = (p->header[0] >> KVASER_PCIEFD_SPACK_RXERR_SHIFT) & 0xff; in kvaser_pciefd_rx_error_frame()
1297 can->bec.rxerr = bec.rxerr; in kvaser_pciefd_rx_error_frame()
[all …]
Dsun4i_can.c309 bec->rxerr = (errors >> 16) & 0xFF; in sun4ican_get_berr_counter()
518 unsigned int rxerr, txerr, errc; in sun4i_can_err() local
525 rxerr = (errc >> 16) & 0xFF; in sun4i_can_err()
560 cf->data[7] = rxerr; in sun4i_can_err()
613 tx_state = txerr >= rxerr ? state : 0; in sun4i_can_err()
614 rx_state = txerr <= rxerr ? state : 0; in sun4i_can_err()
Djanz-ican3.c1037 u8 isrc, ecc, status, rxerr, txerr; in ican3_handle_cevtind() local
1056 rxerr = msg->data[4]; in ican3_handle_cevtind()
1118 if (rxerr >= 128 || txerr >= 128) in ican3_handle_cevtind()
1151 cf->data[7] = rxerr; in ican3_handle_cevtind()
1159 cf->data[1] = (txerr > rxerr) ? in ican3_handle_cevtind()
1164 cf->data[1] = (txerr > rxerr) ? in ican3_handle_cevtind()
1170 cf->data[7] = rxerr; in ican3_handle_cevtind()
1183 mod->bec.rxerr = msg->data[5]; in ican3_handle_inquiry()
1809 bec->rxerr = mod->bec.rxerr; in ican3_get_berr_counter()
Dat91_can.c376 bec->rxerr = reg_ecr & 0xff; in at91_get_berr_counter()
897 cf->data[1] = (bec.txerr > bec.rxerr) ? in at91_irq_err_state()
914 cf->data[1] = (bec.txerr > bec.rxerr) ? in at91_irq_err_state()
995 if (bec.txerr < 96 && bec.rxerr < 96) in at91_get_state_by_bec()
997 else if (bec.txerr < 128 && bec.rxerr < 128) in at91_get_state_by_bec()
999 else if (bec.txerr < 256 && bec.rxerr < 256) in at91_get_state_by_bec()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb.c541 cf->data[1] = (mc->pdev->bec.txerr > mc->pdev->bec.rxerr) ? in pcan_usb_decode_error()
545 cf->data[7] = mc->pdev->bec.rxerr; in pcan_usb_decode_error()
552 cf->data[1] = (mc->pdev->bec.txerr > mc->pdev->bec.rxerr) ? in pcan_usb_decode_error()
556 cf->data[7] = mc->pdev->bec.rxerr; in pcan_usb_decode_error()
567 mc->pdev->bec.rxerr = 0; in pcan_usb_decode_error()
584 cf->data[7] = mc->pdev->bec.rxerr; in pcan_usb_decode_error()
619 pdev->bec.rxerr = mc->ptr[1]; in pcan_usb_handle_bus_evt()
896 pdev->bec.rxerr = 0; in pcan_usb_start()
Dpcan_usb_fd.c557 pdev->bec.rxerr = 0; in pcan_usb_fd_decode_status()
565 tx_state = (pdev->bec.txerr >= pdev->bec.rxerr) ? new_state : 0; in pcan_usb_fd_decode_status()
566 rx_state = (pdev->bec.txerr <= pdev->bec.rxerr) ? new_state : 0; in pcan_usb_fd_decode_status()
604 pdev->bec.rxerr = er->rx_err_cnt; in pcan_usb_fd_decode_error()
819 pdev->bec.rxerr = 0; in pcan_usb_fd_start()
/kernel/linux/linux-5.10/drivers/net/can/rcar/
Drcar_canfd.c917 u16 txerr, u16 rxerr) in rcar_canfd_error() argument
925 netdev_dbg(ndev, "ch erfl %x txerr %u rxerr %u\n", cerfl, txerr, rxerr); in rcar_canfd_error()
993 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_WARNING : in rcar_canfd_error()
996 cf->data[7] = rxerr; in rcar_canfd_error()
1003 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_PASSIVE : in rcar_canfd_error()
1006 cf->data[7] = rxerr; in rcar_canfd_error()
1112 u16 txerr, u16 rxerr) in rcar_canfd_state_change() argument
1121 if (txerr < 96 && rxerr < 96) in rcar_canfd_state_change()
1123 else if (txerr < 128 && rxerr < 128) in rcar_canfd_state_change()
1128 state, priv->can.state, txerr, rxerr); in rcar_canfd_state_change()
[all …]
Drcar_can.c229 u8 eifr, txerr = 0, rxerr = 0; in rcar_can_error() local
237 rxerr = readb(&priv->regs->recr); in rcar_can_error()
314 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_WARNING : in rcar_can_error()
324 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_PASSIVE : in rcar_can_error()
341 cf->data[7] = rxerr; in rcar_can_error()
732 bec->rxerr = readb(&priv->regs->recr); in rcar_can_get_berr_counter()
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/
Dpeak_canfd.c331 priv->bec.rxerr = msg->rx_err_cnt; in pucan_handle_error()
377 cf->data[1] = (priv->bec.txerr > priv->bec.rxerr) ? in pucan_handle_status()
381 cf->data[7] = priv->bec.rxerr; in pucan_handle_status()
390 cf->data[1] = (priv->bec.txerr > priv->bec.rxerr) ? in pucan_handle_status()
394 cf->data[7] = priv->bec.rxerr; in pucan_handle_status()
439 cf->data[7] = priv->bec.rxerr; in pucan_handle_cache_critical()
519 priv->bec.rxerr = 0; in peak_canfd_start()
/kernel/linux/linux-5.10/drivers/net/can/usb/
Dusb_8dev.c352 u8 rxerr = msg->data[1] & USB_8DEV_RP_MASK; in usb_8dev_rx_err_msg() local
420 cf->data[1] = (txerr > rxerr) ? in usb_8dev_rx_err_msg()
427 cf->data[1] = (txerr > rxerr) ? in usb_8dev_rx_err_msg()
447 cf->data[7] = rxerr; in usb_8dev_rx_err_msg()
451 priv->bec.rxerr = rxerr; in usb_8dev_rx_err_msg()
722 bec->rxerr = priv->bec.rxerr; in usb_8dev_get_berr_counter()
Desd_usb2.c227 u8 rxerr = msg->msg.rx.data[2]; in esd_usb2_rx_event() local
232 msg->msg.rx.dlc, state, ecc, rxerr, txerr); in esd_usb2_rx_event()
261 rxerr = 0; in esd_usb2_rx_event()
291 cf->data[1] = (txerr > rxerr) ? in esd_usb2_rx_event()
296 cf->data[7] = rxerr; in esd_usb2_rx_event()
300 priv->bec.rxerr = rxerr; in esd_usb2_rx_event()
964 bec->rxerr = priv->bec.rxerr; in esd_usb2_get_berr_counter()
Dmcba_usb.c515 priv->bec.rxerr = msg->rx_err_cnt; in mcba_usb_process_ka_can()
521 (priv->bec.rxerr > MCBA_CAN_STATE_ERR_PSV_TH)) in mcba_usb_process_ka_can()
525 (priv->bec.rxerr > MCBA_CAN_STATE_WRN_TH)) in mcba_usb_process_ka_can()
763 bec->rxerr = priv->bec.rxerr; in mcba_net_get_berr_counter()
Dems_usb.c162 u8 rxerr; member
359 u8 rxerr = msg->msg.error.cc.regs.sja1000.rxerr; in ems_usb_rx_err() local
389 cf->data[1] = (txerr > rxerr) ? in ems_usb_rx_err()
/kernel/linux/linux-5.10/drivers/net/can/sja1000/
Dsja1000.c270 bec->rxerr = priv->read_reg(priv, SJA1000_RXERR); in sja1000_get_berr_counter()
398 unsigned int rxerr, txerr; in sja1000_err() local
406 rxerr = priv->read_reg(priv, SJA1000_RXERR); in sja1000_err()
431 cf->data[7] = rxerr; in sja1000_err()
483 tx_state = txerr >= rxerr ? state : 0; in sja1000_err()
484 rx_state = txerr <= rxerr ? state : 0; in sja1000_err()
/kernel/linux/linux-5.10/drivers/net/can/spi/
Dhi311x.c415 bec->rxerr = hi3110_read(spi, HI3110_READ_REC); in hi3110_get_berr_counter()
665 u8 rxerr, txerr; in hi3110_can_ist() local
672 rxerr = hi3110_read(spi, HI3110_READ_REC); in hi3110_can_ist()
673 tx_state = txerr >= rxerr ? new_state : 0; in hi3110_can_ist()
674 rx_state = txerr <= rxerr ? new_state : 0; in hi3110_can_ist()
687 cf->data[7] = rxerr; in hi3110_can_ist()
/kernel/linux/linux-5.10/include/uapi/linux/can/
Dnetlink.h84 __u16 rxerr; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/can/
Dnetlink.h44 __u16 rxerr; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/can/
Dnetlink.h57 __u16 rxerr; member
/kernel/linux/linux-5.10/drivers/net/ethernet/arc/
Demac_main.c645 unsigned long miss, rxerr; in arc_emac_stats() local
648 rxerr = arc_reg_get(priv, R_RXERR); in arc_emac_stats()
651 rxcrc = rxerr; in arc_emac_stats()
652 rxfram = rxerr >> 8; in arc_emac_stats()
653 rxoflow = rxerr >> 16; in arc_emac_stats()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
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;
/kernel/linux/linux-5.10/drivers/net/can/c_can/
Dc_can.c691 bec->rxerr = (reg_err_counter & ERR_CNT_REC_MASK) >> in __c_can_get_berr_counter()
935 cf->data[7] = bec.rxerr; in c_can_handle_state_change()
940 cf->data[1] = (bec.txerr > bec.rxerr) ? in c_can_handle_state_change()
944 cf->data[7] = bec.rxerr; in c_can_handle_state_change()
956 cf->data[7] = bec.rxerr; in c_can_handle_state_change()

12