/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | marvell,kirkwood-pinctrl.txt | 47 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 D | marvell,orion-pinctrl.txt | 33 mpp9 9 gpio, ge(rxerr) 58 mpp9 9 gpio, ge(rxerr) 83 mpp9 9 gpio, ge(rxerr)
|
/openbmc/linux/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb_leaf.c | 413 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() 1013 tx_state = (es->txerr >= es->rxerr) ? new_state : 0; in kvaser_usb_leaf_rx_error_update_can_state() 1014 rx_state = (es->txerr <= es->rxerr) ? new_state : 0; in kvaser_usb_leaf_rx_error_update_can_state() 1042 priv->bec.rxerr = es->rxerr; in kvaser_usb_leaf_rx_error_update_can_state() 1150 cf->data[7] = es->rxerr; in kvaser_usb_leaf_rx_error() 1181 if (es->rxerr != priv->bec.rxerr) { in kvaser_usb_leaf_usbcan_conditionally_rx_error() 1227 es.rxerr = in kvaser_usb_leaf_usbcan_rx_error() 1250 es.rxerr = cmd->u.leaf.can_error_event.rx_errors_count; in kvaser_usb_leaf_leaf_rx_error() [all …]
|
H A D | kvaser_usb_hydra.c | 905 if (bec->txerr >= 128 || bec->rxerr >= 128) { in kvaser_usb_hydra_bus_status_to_can_state() 908 bec->txerr, bec->rxerr); in kvaser_usb_hydra_bus_status_to_can_state() 946 tx_state = (bec->txerr >= bec->rxerr) ? in kvaser_usb_hydra_update_state() 948 rx_state = (bec->txerr <= bec->rxerr) ? in kvaser_usb_hydra_update_state() 974 cf->data[7] = bec->rxerr; in kvaser_usb_hydra_update_state() 997 priv->bec.rxerr = bec.rxerr; in kvaser_usb_hydra_state_event() 1082 bec.rxerr = err_frame_data->rx_err_counter; in kvaser_usb_hydra_error_frame() 1094 tx_state = (bec.txerr >= bec.rxerr) ? in kvaser_usb_hydra_error_frame() 1096 rx_state = (bec.txerr <= bec.rxerr) ? in kvaser_usb_hydra_error_frame() 1129 cf->data[7] = bec.rxerr; in kvaser_usb_hydra_error_frame() [all …]
|
/openbmc/linux/drivers/net/can/ |
H A D | kvaser_pciefd.c | 623 can->bec.rxerr = 0; in kvaser_pciefd_bus_on() 880 bec->rxerr = can->bec.rxerr; in kvaser_pciefd_get_berr_counter() 929 can->bec.rxerr = 0; in kvaser_pciefd_setup_can_ctrls() 1205 else if (bec->txerr >= 255 || bec->rxerr >= 255) in kvaser_pciefd_packet_to_state() 1209 else if (bec->txerr >= 128 || bec->rxerr >= 128) in kvaser_pciefd_packet_to_state() 1213 else if (bec->txerr >= 96 || bec->rxerr >= 96) in kvaser_pciefd_packet_to_state() 1257 can->bec.rxerr = bec.rxerr; in kvaser_pciefd_rx_error_frame() 1267 cf->data[7] = bec.rxerr; in kvaser_pciefd_rx_error_frame() 1328 cf->data[7] = bec.rxerr; in kvaser_pciefd_handle_status_resp() 1333 can->bec.rxerr = bec.rxerr; in kvaser_pciefd_handle_status_resp() [all …]
|
H A D | sun4i_can.c | 324 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() 629 tx_state = txerr >= rxerr ? state : 0; in sun4i_can_err() 630 rx_state = txerr <= rxerr ? state : 0; in sun4i_can_err()
|
H A D | janz-ican3.c | 1038 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()
|
H A D | at91_can.c | 376 bec->rxerr = reg_ecr & 0xff; in at91_get_berr_counter() 888 cf->data[1] = (bec.txerr > bec.rxerr) ? in at91_irq_err_state() 904 cf->data[1] = (bec.txerr > bec.rxerr) ? in at91_irq_err_state() 982 if (bec.txerr < 96 && bec.rxerr < 96) in at91_get_state_by_bec() 984 else if (bec.txerr < 128 && bec.rxerr < 128) in at91_get_state_by_bec() 986 else if (bec.txerr < 256 && bec.rxerr < 256) in at91_get_state_by_bec()
|
H A D | bxcan.c | 480 bec.rxerr = FIELD_GET(BXCAN_ESR_REC_MASK, esr); in bxcan_handle_state_change() 495 tx_state = bec.txerr >= bec.rxerr ? new_state : 0; in bxcan_handle_state_change() 496 rx_state = bec.txerr <= bec.rxerr ? new_state : 0; in bxcan_handle_state_change() 504 cf->data[7] = bec.rxerr; in bxcan_handle_state_change() 925 bec->rxerr = FIELD_GET(BXCAN_ESR_REC_MASK, esr); in bxcan_get_berr_counter()
|
/openbmc/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 332 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()
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | usb_8dev.c | 349 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 D | f81604.c | 169 u8 rxerr; member 494 cf->data[7] = data->rxerr; in f81604_handle_can_bus_errors() 587 tx_state = data->txerr >= data->rxerr ? can_state : 0; in f81604_handle_can_bus_errors() 588 rx_state = data->txerr <= data->rxerr ? can_state : 0; in f81604_handle_can_bus_errors() 992 u8 txerr, rxerr; in f81604_get_berr_counter() local 999 ret = f81604_sja1000_read(priv, F81604_SJA1000_RXERR, &rxerr); in f81604_get_berr_counter() 1004 bec->rxerr = rxerr; in f81604_get_berr_counter()
|
H A D | mcba_usb.c | 509 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 D | esd_usb.c | 307 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()
|
/openbmc/linux/drivers/net/can/sja1000/ |
H A D | sja1000.c | 272 bec->rxerr = priv->read_reg(priv, SJA1000_RXERR); in sja1000_get_berr_counter() 414 unsigned int rxerr, txerr; in sja1000_err() local 423 rxerr = priv->read_reg(priv, SJA1000_RXERR); in sja1000_err() 458 cf->data[7] = rxerr; in sja1000_err() 510 tx_state = txerr >= rxerr ? state : 0; in sja1000_err() 511 rx_state = txerr <= rxerr ? state : 0; in sja1000_err()
|
/openbmc/u-boot/arch/arm/include/asm/ti-common/ |
H A D | keystone_nav.h | 106 #define CPDMA_REG_VAL_MAKE_RX_FLOW_A(einfo, psinfo, rxerr, desc, \ argument 110 ((rxerr & 1) << 28) | \
|
/openbmc/linux/drivers/net/can/rcar/ |
H A D | rcar_canfd.c | 997 u16 txerr, u16 rxerr) in rcar_canfd_error() argument 1076 cf->data[7] = rxerr; in rcar_canfd_error() 1086 cf->data[7] = rxerr; in rcar_canfd_error() 1220 u16 txerr, u16 rxerr) in rcar_canfd_state_change() argument 1229 if (txerr < 96 && rxerr < 96) in rcar_canfd_state_change() 1231 else if (txerr < 128 && rxerr < 128) in rcar_canfd_state_change() 1242 tx_state = txerr >= rxerr ? state : 0; in rcar_canfd_state_change() 1243 rx_state = txerr <= rxerr ? state : 0; in rcar_canfd_state_change() 1276 u16 txerr, rxerr; in rcar_canfd_handle_channel_err() local 1283 rxerr = RCANFD_CSTS_RECCNT(sts); in rcar_canfd_handle_channel_err() [all …]
|
H A D | rcar_can.c | 227 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()
|
/openbmc/linux/drivers/net/can/slcan/ |
H A D | slcan-core.c | 264 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()
|
/openbmc/linux/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb.c | 505 (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()
|
/openbmc/linux/drivers/net/can/spi/ |
H A D | hi311x.c | 415 bec->rxerr = hi3110_read(spi, HI3110_READ_REC); in hi3110_get_berr_counter() 663 u8 rxerr, txerr; in hi3110_can_ist() local 670 rxerr = hi3110_read(spi, HI3110_READ_REC); in hi3110_can_ist() 671 tx_state = txerr >= rxerr ? new_state : 0; in hi3110_can_ist() 672 rx_state = txerr <= rxerr ? new_state : 0; in hi3110_can_ist() 686 cf->data[7] = rxerr; in hi3110_can_ist()
|
/openbmc/linux/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 788 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()
|
/openbmc/linux/include/uapi/linux/can/ |
H A D | netlink.h | 84 __u16 rxerr; member
|
/openbmc/linux/drivers/net/ethernet/arc/ |
H A D | emac_main.c | 650 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()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pcsx-defs.h | 514 uint64_t rxerr:1; member 528 uint64_t rxerr:1; 546 uint64_t rxerr:1; member 560 uint64_t rxerr:1;
|