Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/freescale/
Dgianfar.c113 u32 lstatus; in gfar_init_rxbdp() local
117 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() local
1865 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
1876 lstatus |= BD_LFLAG(TXBD_TOE); in gfar_start_xmit()
[all …]
Dgianfar.h520 __be32 lstatus; member
541 __be32 lstatus; member
1269 u32 lstatus = be32_to_cpu(bdp->lstatus); in gfar_clear_txbd_status() local
1271 lstatus &= BD_LFLAG(TXBD_WRAP); in gfar_clear_txbd_status()
1272 bdp->lstatus = cpu_to_be32(lstatus); in gfar_clear_txbd_status()
/Linux-v5.10/drivers/usb/host/
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()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c564 u32 lstatus = be32_to_cpu(port_rpl.u.info.lstatus_to_modtype); in t4vf_port_init() local
566 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() local
1929 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 …]
/Linux-v5.10/drivers/spi/
Dspi-ppc4xx.c279 u8 lstatus; in spi_ppc4xx_int() local
285 lstatus = in_8(&hw->regs->sr); in spi_ppc4xx_int()
286 } while (++cnt < 100 && lstatus & SPI_PPC4XX_SR_BSY); in spi_ppc4xx_int()
/Linux-v5.10/drivers/scsi/csiostor/
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()
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()
Dcsio_hw.h643 fw_port_cap32_t lstatus_to_fwcap(u32 lstatus);
Dt4fw_api_stor.h333 u8 lstatus; member
Dcsio_mb.c856 cmdp->lstatus = link_status; in csio_write_fcoe_link_cond_init_mb()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c8552 static fw_port_cap32_t lstatus_to_fwcap(u32 lstatus) in lstatus_to_fwcap() argument
8560 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 …]
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h489 __le32 lstatus; member
559 __le32 lstatus; member
Denetc.c135 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()
/Linux-v5.10/drivers/tty/
Dcyclades.c2403 u32 lstatus; in cy_tiocmget() local
2410 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()