Home
last modified time | relevance | path

Searched refs:lstatus (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar.c112 u32 lstatus; in gfar_init_rxbdp() local
122 bdp->lstatus = cpu_to_be32(lstatus); in gfar_init_rxbdp()
1777 u32 lstatus; in gfar_start_xmit() local
1836 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
1900 lstatus = be32_to_cpu(txbdp->lstatus) | size | in gfar_start_xmit()
1914 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
1952 txbdp_start->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
1995 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
2000 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
2189 lstatus = be32_to_cpu(lbdp->lstatus); in gfar_clean_tx_ring()
[all …]
H A Dgianfar.h571 __be32 lstatus; member
592 __be32 lstatus; member
1313 u32 lstatus = be32_to_cpu(bdp->lstatus); in gfar_clear_txbd_status() local
1315 lstatus &= BD_LFLAG(TXBD_WRAP); in gfar_clear_txbd_status()
1316 bdp->lstatus = cpu_to_be32(lstatus); in gfar_clear_txbd_status()
/openbmc/linux/drivers/usb/host/
H A Duhci-hub.c247 int status, lstatus, retval = 0; in uhci_hub_control() local
278 wPortChange = lstatus = 0; in uhci_hub_control()
288 lstatus |= 1; in uhci_hub_control()
291 lstatus |= 4; in uhci_hub_control()
311 wIndex, status, lstatus); in uhci_hub_control()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c567 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_port_init()
568 mdio_addr = ((lstatus & FW_PORT_CMD_MDIOCAP_F) in t4vf_port_init()
569 ? FW_PORT_CMD_MDIOADDR_G(lstatus) in t4vf_port_init()
1928 u32 lstatus = be32_to_cpu(cmd->u.info.lstatus_to_modtype); in t4vf_handle_get_port_info() local
1930 link_ok = (lstatus & FW_PORT_CMD_LSTATUS_F) != 0; in t4vf_handle_get_port_info()
1931 linkdnrc = FW_PORT_CMD_LINKDNRC_G(lstatus); in t4vf_handle_get_port_info()
1932 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_handle_get_port_info()
1933 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4vf_handle_get_port_info()
1943 if (lstatus & FW_PORT_CMD_RXPAUSE_F) in t4vf_handle_get_port_info()
1945 if (lstatus & FW_PORT_CMD_TXPAUSE_F) in t4vf_handle_get_port_info()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-ppc4xx.c273 u8 lstatus; in spi_ppc4xx_int() local
279 lstatus = in_8(&hw->regs->sr); in spi_ppc4xx_int()
280 } while (++cnt < 100 && lstatus & SPI_PPC4XX_SR_BSY); in spi_ppc4xx_int()
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_lnode.c1491 enum fw_fcoe_link_status lstatus; in csio_fcoe_fwevt_handler() local
1498 lstatus = lcmd->lstatus; in csio_fcoe_fwevt_handler()
1504 if (lstatus == FCOE_LINKUP) { in csio_fcoe_fwevt_handler()
1512 } else if (lstatus == FCOE_LINKDOWN) { in csio_fcoe_fwevt_handler()
1521 lcmd->lstatus); in csio_fcoe_fwevt_handler()
H A Dcsio_hw.c1651 fw_port_cap32_t lstatus_to_fwcap(u32 lstatus) in lstatus_to_fwcap() argument
1659 if (lstatus & FW_PORT_CMD_RXPAUSE_F) in lstatus_to_fwcap()
1661 if (lstatus & FW_PORT_CMD_TXPAUSE_F) in lstatus_to_fwcap()
1663 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100M)) in lstatus_to_fwcap()
1665 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_1G)) in lstatus_to_fwcap()
1667 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_10G)) in lstatus_to_fwcap()
1669 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_25G)) in lstatus_to_fwcap()
1671 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_40G)) in lstatus_to_fwcap()
1673 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100G)) in lstatus_to_fwcap()
H A Dcsio_hw.h643 fw_port_cap32_t lstatus_to_fwcap(u32 lstatus);
H A Dt4fw_api_stor.h333 u8 lstatus; member
H A Dcsio_mb.c856 cmdp->lstatus = link_status; in csio_write_fcoe_link_cond_init_mb()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c8542 if (lstatus & FW_PORT_CMD_RXPAUSE_F) in lstatus_to_fwcap()
8544 if (lstatus & FW_PORT_CMD_TXPAUSE_F) in lstatus_to_fwcap()
8588 linkdnrc = FW_PORT_CMD_LINKDNRC_G(lstatus); in t4_handle_get_port_info()
8589 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4_handle_get_port_info()
8590 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4_handle_get_port_info()
8594 linkattr = lstatus_to_fwcap(lstatus); in t4_handle_get_port_info()
8813 link_ok = !!(lstatus & FW_PORT_CMD_LSTATUS_F); in t4_get_link_params()
8814 linkattr = lstatus_to_fwcap(lstatus); in t4_get_link_params()
9648 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4_init_portinfo()
9649 mdio_addr = ((lstatus & FW_PORT_CMD_MDIOCAP_F) in t4_init_portinfo()
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c172 temp_bd.lstatus = 0; in enetc_map_tx_buffs()
964 rxbd->r.lstatus = 0; in enetc_refill_rx_ring()
1142 bd_status = le32_to_cpu((*rxbd)->r.lstatus); in enetc_check_bd_errors_and_consume()
1174 bd_status = le32_to_cpu((*rxbd)->r.lstatus); in enetc_build_skb()
1217 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()
1478 bd_status = le32_to_cpu((*rxbd)->r.lstatus); in enetc_build_xdp_buff()
1558 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring_xdp()
H A Denetc_hw.h544 __le32 lstatus; member
612 __le32 lstatus; member