Searched refs:lstatus (Results 1 – 14 of 14) sorted by relevance
113 u32 lstatus; in gfar_init_rxbdp() local117 lstatus = BD_LFLAG(RXBD_EMPTY | RXBD_INTERRUPT); in gfar_init_rxbdp()119 lstatus |= BD_LFLAG(RXBD_WRAP); in gfar_init_rxbdp()123 bdp->lstatus = cpu_to_be32(lstatus); in gfar_init_rxbdp()1105 txbdp->lstatus = 0; in free_skb_tx_queue()1132 rxbdp->lstatus = 0; in free_skb_rx_queue()1333 txbdp->lstatus = 0; in gfar_init_bds()1806 u32 lstatus; in gfar_start_xmit() local1865 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()1876 lstatus |= BD_LFLAG(TXBD_TOE); in gfar_start_xmit()[all …]
520 __be32 lstatus; member541 __be32 lstatus; member1269 u32 lstatus = be32_to_cpu(bdp->lstatus); in gfar_clear_txbd_status() local1271 lstatus &= BD_LFLAG(TXBD_WRAP); in gfar_clear_txbd_status()1272 bdp->lstatus = cpu_to_be32(lstatus); in gfar_clear_txbd_status()
247 int status, lstatus, retval = 0; in uhci_hub_control() local278 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()
564 u32 lstatus = be32_to_cpu(port_rpl.u.info.lstatus_to_modtype); in t4vf_port_init() local566 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_port_init()567 mdio_addr = ((lstatus & FW_PORT_CMD_MDIOCAP_F) in t4vf_port_init()568 ? FW_PORT_CMD_MDIOADDR_G(lstatus) in t4vf_port_init()1927 u32 lstatus = be32_to_cpu(cmd->u.info.lstatus_to_modtype); in t4vf_handle_get_port_info() local1929 link_ok = (lstatus & FW_PORT_CMD_LSTATUS_F) != 0; in t4vf_handle_get_port_info()1930 linkdnrc = FW_PORT_CMD_LINKDNRC_G(lstatus); in t4vf_handle_get_port_info()1931 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_handle_get_port_info()1932 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4vf_handle_get_port_info()1942 if (lstatus & FW_PORT_CMD_RXPAUSE_F) in t4vf_handle_get_port_info()[all …]
279 u8 lstatus; in spi_ppc4xx_int() local285 lstatus = in_8(&hw->regs->sr); in spi_ppc4xx_int()286 } while (++cnt < 100 && lstatus & SPI_PPC4XX_SR_BSY); in spi_ppc4xx_int()
1491 enum fw_fcoe_link_status lstatus; in csio_fcoe_fwevt_handler() local1498 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()
1651 fw_port_cap32_t lstatus_to_fwcap(u32 lstatus) in lstatus_to_fwcap() argument1659 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()
643 fw_port_cap32_t lstatus_to_fwcap(u32 lstatus);
333 u8 lstatus; member
856 cmdp->lstatus = link_status; in csio_write_fcoe_link_cond_init_mb()
8552 static fw_port_cap32_t lstatus_to_fwcap(u32 lstatus) in lstatus_to_fwcap() argument8560 if (lstatus & FW_PORT_CMD_RXPAUSE_F) in lstatus_to_fwcap()8562 if (lstatus & FW_PORT_CMD_TXPAUSE_F) in lstatus_to_fwcap()8564 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100M)) in lstatus_to_fwcap()8566 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_1G)) in lstatus_to_fwcap()8568 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_10G)) in lstatus_to_fwcap()8570 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_25G)) in lstatus_to_fwcap()8572 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_40G)) in lstatus_to_fwcap()8574 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100G)) in lstatus_to_fwcap()8603 u32 lstatus = be32_to_cpu(cmd->u.info.lstatus_to_modtype); in t4_handle_get_port_info() local[all …]
489 __le32 lstatus; member559 __le32 lstatus; member
135 temp_bd.lstatus = 0; in enetc_map_tx_buffs()522 rxbd->r.lstatus = 0; in enetc_refill_rx_ring()714 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()743 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()758 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()
2403 u32 lstatus; in cy_tiocmget() local2410 lstatus = readl(&info->u.cyz.ch_ctrl->rs_status); in cy_tiocmget()2411 result = ((lstatus & C_RS_RTS) ? TIOCM_RTS : 0) | in cy_tiocmget()2412 ((lstatus & C_RS_DTR) ? TIOCM_DTR : 0) | in cy_tiocmget()2413 ((lstatus & C_RS_DCD) ? TIOCM_CAR : 0) | in cy_tiocmget()2414 ((lstatus & C_RS_RI) ? TIOCM_RNG : 0) | in cy_tiocmget()2415 ((lstatus & C_RS_DSR) ? TIOCM_DSR : 0) | in cy_tiocmget()2416 ((lstatus & C_RS_CTS) ? TIOCM_CTS : 0); in cy_tiocmget()