Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_sync_android.c88 struct mali_sync_timeline *mtl = to_mali_sync_timeline( in timeline_has_signaled() local
92 int diff = atomic_read(&mtl->signaled) - mpt->order; in timeline_has_signaled()
116 struct mali_sync_timeline *mtl = to_mali_sync_timeline(timeline); in timeline_value_str() local
118 snprintf(str, size, "%d", atomic_read(&mtl->signaled)); in timeline_value_str()
144 struct mali_sync_timeline *mtl; in mali_sync_timeline_alloc() local
152 mtl = to_mali_sync_timeline(tl); in mali_sync_timeline_alloc()
153 atomic_set(&mtl->counter, 0); in mali_sync_timeline_alloc()
154 atomic_set(&mtl->signaled, 0); in mali_sync_timeline_alloc()
205 struct mali_sync_timeline *mtl = to_mali_sync_timeline(parent); in kbase_sync_pt_alloc() local
212 mpt->order = atomic_inc_return(&mtl->counter); in kbase_sync_pt_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A 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()
H A Ddwxgmac2_core.c847 u32 mtl, dma; in dwxgmac3_safety_feat_irq_status() local
853 mtl = readl(ioaddr + XGMAC_MTL_SAFETY_INT_STATUS); in dwxgmac3_safety_feat_irq_status()
856 err = (mtl & XGMAC_MCSIS) || (dma & XGMAC_MCSIS); in dwxgmac3_safety_feat_irq_status()
863 err = (mtl & (XGMAC_MEUIS | XGMAC_MECIS)) || in dwxgmac3_safety_feat_irq_status()
865 corr = (mtl & XGMAC_MECIS) || (dma & XGMAC_MSCIS); in dwxgmac3_safety_feat_irq_status()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/samsung/sxgbe/
H A 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()
H A Dsxgbe_common.h368 const struct sxgbe_mtl_ops *mtl; member
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_transport.c1246 u32 mtl; in target_check_max_data_sg_nents() local
1256 mtl = (cmd->se_tfo->max_data_sg_nents * PAGE_SIZE); in target_check_max_data_sg_nents()
1257 if (cmd->data_length > mtl) { in target_check_max_data_sg_nents()
1270 cmd->residual_count = (size - mtl); in target_check_max_data_sg_nents()
1273 cmd->residual_count = (orig_dl - mtl); in target_check_max_data_sg_nents()
1276 cmd->residual_count = (cmd->data_length - mtl); in target_check_max_data_sg_nents()
1278 cmd->data_length = mtl; in target_check_max_data_sg_nents()
1284 u32 sectors = (mtl / dev->dev_attrib.block_size); in target_check_max_data_sg_nents()
H A 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()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dartpec6.dtsi298 snps,mtl-rx-config = <&mtl_rx_setup>;
299 snps,mtl-tx-config = <&mtl_tx_setup>;
H A Drv1106.dtsi1285 snps,mtl-rx-config = <&mtl_rx_setup>;
1286 snps,mtl-tx-config = <&mtl_tx_setup>;
H A Drv1126.dtsi2328 snps,mtl-rx-config = <&mtl_rx_setup>;
2329 snps,mtl-tx-config = <&mtl_tx_setup>;
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Drk3588.dtsi392 snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
393 snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
H A Drk3528.dtsi1786 snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
1787 snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
1849 snps,mtl-rx-config = <&gmac1_mtl_rx_setup>;
1850 snps,mtl-tx-config = <&gmac1_mtl_tx_setup>;
H A Drv1106.dtsi1060 snps,mtl-rx-config = <&mtl_rx_setup>;
1061 snps,mtl-tx-config = <&mtl_tx_setup>;
H A Drk3568.dtsi1209 snps,mtl-rx-config = <&gmac1_mtl_rx_setup>;
1210 snps,mtl-tx-config = <&gmac1_mtl_tx_setup>;
1786 snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
1787 snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
H A D.OK3568-C.dtb.dts.tmp
H A Drv1126.dtsi1842 snps,mtl-rx-config = <&mtl_rx_setup>;
1843 snps,mtl-tx-config = <&mtl_tx_setup>;
H A Drk3562.dtsi2123 snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
2124 snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
H A Drk3588s.dtsi1284 snps,mtl-rx-config = <&gmac1_mtl_rx_setup>;
1285 snps,mtl-tx-config = <&gmac1_mtl_tx_setup>;
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3588.dtsi711 snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
712 snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
H A Drk3528.dtsi2058 snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
2059 snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
2121 snps,mtl-rx-config = <&gmac1_mtl_rx_setup>;
2122 snps,mtl-tx-config = <&gmac1_mtl_tx_setup>;
H A Drk3568.dtsi1799 snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
1800 snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
1850 snps,mtl-rx-config = <&gmac1_mtl_rx_setup>;
1851 snps,mtl-tx-config = <&gmac1_mtl_tx_setup>;
H A Drk3562.dtsi2687 snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
2688 snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
H A Drk3588s.dtsi5490 snps,mtl-rx-config = <&gmac1_mtl_rx_setup>;
5491 snps,mtl-tx-config = <&gmac1_mtl_tx_setup>;
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/mediatek/
H A Dmt2712e.dtsi749 snps,mtl-rx-config = <&mtl_rx_setup>;
750 snps,mtl-tx-config = <&mtl_tx_setup>;