Home
last modified time | relevance | path

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

/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c709 priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
715 priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
721 priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
725 priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
990 priv->hw->mtl->mtl_set_txfifosize(priv->ioaddr, queue_num, in sxgbe_init_mtl_engine()
992 priv->hw->mtl->mtl_enable_txqueue(priv->ioaddr, queue_num); in sxgbe_init_mtl_engine()
1007 priv->hw->mtl->mtl_disable_txqueue(priv->ioaddr, queue_num); in sxgbe_disable_mtl_engine()
1665 priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, in sxgbe_tx_interrupt()
1700 priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, in sxgbe_rx_interrupt()
2015 ops_ptr->mtl = sxgbe_get_mtl_ops(); in sxgbe_get_ops()
Dsxgbe_common.h371 const struct sxgbe_mtl_ops *mtl; member
/drivers/target/
Dtarget_core_transport.c1117 u32 mtl; in target_check_max_data_sg_nents() local
1127 mtl = (cmd->se_tfo->max_data_sg_nents * PAGE_SIZE); in target_check_max_data_sg_nents()
1128 if (cmd->data_length > mtl) { in target_check_max_data_sg_nents()
1141 cmd->residual_count = (size - mtl); in target_check_max_data_sg_nents()
1144 cmd->residual_count = (orig_dl - mtl); in target_check_max_data_sg_nents()
1147 cmd->residual_count = (cmd->data_length - mtl); in target_check_max_data_sg_nents()
1149 cmd->data_length = mtl; in target_check_max_data_sg_nents()
1155 u32 sectors = (mtl / dev->dev_attrib.block_size); in target_check_max_data_sg_nents()
Dtarget_core_spc.c494 u32 mtl = 0; in spc_emulate_evpd_b0() local
531 mtl = (cmd->se_tfo->max_data_sg_nents * PAGE_SIZE) / in spc_emulate_evpd_b0()
534 put_unaligned_be32(min_not_zero(mtl, dev->dev_attrib.hw_max_sectors), &buf[8]); in spc_emulate_evpd_b0()