Home
last modified time | relevance | path

Searched refs:mtl (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/stmicro/stmmac/
Ddwmac5.c247 u32 mtl, dma; in dwmac5_safety_feat_irq_status() local
253 mtl = readl(ioaddr + MTL_SAFETY_INT_STATUS); in dwmac5_safety_feat_irq_status()
256 err = (mtl & MCSIS) || (dma & MCSIS); in dwmac5_safety_feat_irq_status()
263 err = (mtl & (MEUIS | MECIS)) || (dma & (MSUIS | MSCIS)); in dwmac5_safety_feat_irq_status()
264 corr = (mtl & MECIS) || (dma & MSCIS); in dwmac5_safety_feat_irq_status()
Ddwxgmac2_core.c898 u32 mtl, dma; in dwxgmac3_safety_feat_irq_status() local
904 mtl = readl(ioaddr + XGMAC_MTL_SAFETY_INT_STATUS); in dwxgmac3_safety_feat_irq_status()
907 err = (mtl & XGMAC_MCSIS) || (dma & XGMAC_MCSIS); in dwxgmac3_safety_feat_irq_status()
914 err = (mtl & (XGMAC_MEUIS | XGMAC_MECIS)) || in dwxgmac3_safety_feat_irq_status()
916 corr = (mtl & XGMAC_MECIS) || (dma & XGMAC_MSCIS); in dwxgmac3_safety_feat_irq_status()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c707 priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
713 priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
719 priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
723 priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
984 priv->hw->mtl->mtl_set_txfifosize(priv->ioaddr, queue_num, in sxgbe_init_mtl_engine()
986 priv->hw->mtl->mtl_enable_txqueue(priv->ioaddr, queue_num); in sxgbe_init_mtl_engine()
1001 priv->hw->mtl->mtl_disable_txqueue(priv->ioaddr, queue_num); in sxgbe_disable_mtl_engine()
1650 priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, in sxgbe_tx_interrupt()
1685 priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, in sxgbe_rx_interrupt()
1980 ops_ptr->mtl = sxgbe_get_mtl_ops(); in sxgbe_get_ops()
Dsxgbe_common.h368 const struct sxgbe_mtl_ops *mtl; member
/drivers/target/
Dtarget_core_transport.c1244 u32 mtl; in target_check_max_data_sg_nents() local
1254 mtl = (cmd->se_tfo->max_data_sg_nents * PAGE_SIZE); in target_check_max_data_sg_nents()
1255 if (cmd->data_length > mtl) { in target_check_max_data_sg_nents()
1268 cmd->residual_count = (size - mtl); in target_check_max_data_sg_nents()
1271 cmd->residual_count = (orig_dl - mtl); in target_check_max_data_sg_nents()
1274 cmd->residual_count = (cmd->data_length - mtl); in target_check_max_data_sg_nents()
1276 cmd->data_length = mtl; in target_check_max_data_sg_nents()
1282 u32 sectors = (mtl / dev->dev_attrib.block_size); in target_check_max_data_sg_nents()
Dtarget_core_spc.c483 u32 mtl = 0; in spc_emulate_evpd_b0() local
520 mtl = (cmd->se_tfo->max_data_sg_nents * PAGE_SIZE) / in spc_emulate_evpd_b0()
523 put_unaligned_be32(min_not_zero(mtl, dev->dev_attrib.hw_max_sectors), &buf[8]); in spc_emulate_evpd_b0()