Searched refs:lstatus (Results 1 – 14 of 14) sorted by relevance
115 u32 lstatus; in gfar_init_rxbdp() local119 lstatus = BD_LFLAG(RXBD_EMPTY | RXBD_INTERRUPT); in gfar_init_rxbdp()121 lstatus |= BD_LFLAG(RXBD_WRAP); in gfar_init_rxbdp()125 bdp->lstatus = cpu_to_be32(lstatus); in gfar_init_rxbdp()1100 txbdp->lstatus = 0; in free_skb_tx_queue()1127 rxbdp->lstatus = 0; in free_skb_rx_queue()1328 txbdp->lstatus = 0; in gfar_init_bds()1801 u32 lstatus; in gfar_start_xmit() local1868 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()1879 lstatus |= BD_LFLAG(TXBD_TOE); in gfar_start_xmit()[all …]
521 __be32 lstatus; member542 __be32 lstatus; member1270 u32 lstatus = be32_to_cpu(bdp->lstatus); in gfar_clear_txbd_status() local1272 lstatus &= BD_LFLAG(TXBD_WRAP); in gfar_clear_txbd_status()1273 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()
566 u32 lstatus = be32_to_cpu(port_rpl.u.info.lstatus_to_modtype); in t4vf_port_init() local568 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_port_init()569 mdio_addr = ((lstatus & FW_PORT_CMD_MDIOCAP_F) in t4vf_port_init()570 ? 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() local1930 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()[all …]
304 u8 lstatus; in spi_ppc4xx_int() local310 lstatus = in_8(&hw->regs->sr); in spi_ppc4xx_int()311 } while (++cnt < 100 && lstatus & SPI_PPC4XX_SR_BSY); in spi_ppc4xx_int()
353 __le32 lstatus; member423 __le32 lstatus; member
133 temp_bd.lstatus = 0; in enetc_map_tx_buffs()457 rxbd->r.lstatus = 0; in enetc_refill_rx_ring()647 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()673 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()690 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()
1489 enum fw_fcoe_link_status lstatus; in csio_fcoe_fwevt_handler() local1496 lstatus = lcmd->lstatus; in csio_fcoe_fwevt_handler()1502 if (lstatus == FCOE_LINKUP) { in csio_fcoe_fwevt_handler()1510 } else if (lstatus == FCOE_LINKDOWN) { in csio_fcoe_fwevt_handler()1519 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()
8528 static fw_port_cap32_t lstatus_to_fwcap(u32 lstatus) in lstatus_to_fwcap() argument8536 if (lstatus & FW_PORT_CMD_RXPAUSE_F) in lstatus_to_fwcap()8538 if (lstatus & FW_PORT_CMD_TXPAUSE_F) in lstatus_to_fwcap()8540 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100M)) in lstatus_to_fwcap()8542 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_1G)) in lstatus_to_fwcap()8544 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_10G)) in lstatus_to_fwcap()8546 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_25G)) in lstatus_to_fwcap()8548 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_40G)) in lstatus_to_fwcap()8550 if (lstatus & FW_PORT_CMD_LSPEED_V(FW_PORT_CAP_SPEED_100G)) in lstatus_to_fwcap()8579 u32 lstatus = be32_to_cpu(cmd->u.info.lstatus_to_modtype); in t4_handle_get_port_info() local[all …]
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()