Searched refs:mtl (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac5.c | 272 u32 mtl, dma; in dwmac5_safety_feat_irq_status() local 278 mtl = readl(ioaddr + MTL_SAFETY_INT_STATUS); in dwmac5_safety_feat_irq_status() 281 err = (mtl & MCSIS) || (dma & MCSIS); in dwmac5_safety_feat_irq_status() 288 err = (mtl & (MEUIS | MECIS)) || (dma & (MSUIS | MSCIS)); in dwmac5_safety_feat_irq_status() 289 corr = (mtl & MECIS) || (dma & MSCIS); in dwmac5_safety_feat_irq_status()
|
D | dwxgmac2_core.c | 901 u32 mtl, dma; in dwxgmac3_safety_feat_irq_status() local 907 mtl = readl(ioaddr + XGMAC_MTL_SAFETY_INT_STATUS); in dwxgmac3_safety_feat_irq_status() 910 err = (mtl & XGMAC_MCSIS) || (dma & XGMAC_MCSIS); in dwxgmac3_safety_feat_irq_status() 917 err = (mtl & (XGMAC_MEUIS | XGMAC_MECIS)) || in dwxgmac3_safety_feat_irq_status() 919 corr = (mtl & XGMAC_MECIS) || (dma & XGMAC_MSCIS); in dwxgmac3_safety_feat_irq_status()
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 707 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()
|
D | sxgbe_common.h | 368 const struct sxgbe_mtl_ops *mtl; member
|
/drivers/target/ |
D | target_core_transport.c | 1294 u32 mtl; in target_check_max_data_sg_nents() local 1304 mtl = (cmd->se_tfo->max_data_sg_nents * PAGE_SIZE); in target_check_max_data_sg_nents() 1305 if (cmd->data_length > mtl) { in target_check_max_data_sg_nents() 1318 cmd->residual_count = (size - mtl); in target_check_max_data_sg_nents() 1321 cmd->residual_count = (orig_dl - mtl); in target_check_max_data_sg_nents() 1324 cmd->residual_count = (cmd->data_length - mtl); in target_check_max_data_sg_nents() 1326 cmd->data_length = mtl; in target_check_max_data_sg_nents() 1332 u32 sectors = (mtl / dev->dev_attrib.block_size); in target_check_max_data_sg_nents()
|
D | target_core_spc.c | 514 u32 mtl = 0; in spc_emulate_evpd_b0() local 551 mtl = (cmd->se_tfo->max_data_sg_nents * PAGE_SIZE) / in spc_emulate_evpd_b0() 554 put_unaligned_be32(min_not_zero(mtl, dev->dev_attrib.hw_max_sectors), &buf[8]); in spc_emulate_evpd_b0()
|