Home
last modified time | relevance | path

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

/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c706 priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
712 priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
718 priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
722 priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, queue_num, in sxgbe_mtl_operation_mode()
982 priv->hw->mtl->mtl_set_txfifosize(priv->ioaddr, queue_num, in sxgbe_init_mtl_engine()
984 priv->hw->mtl->mtl_enable_txqueue(priv->ioaddr, queue_num); in sxgbe_init_mtl_engine()
999 priv->hw->mtl->mtl_disable_txqueue(priv->ioaddr, queue_num); in sxgbe_disable_mtl_engine()
1648 priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, in sxgbe_tx_interrupt()
1683 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.h371 const struct sxgbe_mtl_ops *mtl; member
/drivers/target/
Dtarget_core_transport.c1143 u32 mtl; in target_check_max_data_sg_nents() local
1153 mtl = (cmd->se_tfo->max_data_sg_nents * PAGE_SIZE); in target_check_max_data_sg_nents()
1154 if (cmd->data_length > mtl) { in target_check_max_data_sg_nents()
1167 cmd->residual_count = (size - mtl); in target_check_max_data_sg_nents()
1170 cmd->residual_count = (orig_dl - mtl); in target_check_max_data_sg_nents()
1173 cmd->residual_count = (cmd->data_length - mtl); in target_check_max_data_sg_nents()
1175 cmd->data_length = mtl; in target_check_max_data_sg_nents()
1181 u32 sectors = (mtl / dev->dev_attrib.block_size); in target_check_max_data_sg_nents()
Dtarget_core_spc.c493 u32 mtl = 0; in spc_emulate_evpd_b0() local
530 mtl = (cmd->se_tfo->max_data_sg_nents * PAGE_SIZE) / in spc_emulate_evpd_b0()
533 put_unaligned_be32(min_not_zero(mtl, dev->dev_attrib.hw_max_sectors), &buf[8]); in spc_emulate_evpd_b0()