Home
last modified time | relevance | path

Searched refs:pmt (Results 1 – 20 of 20) sorted by relevance

/drivers/media/test-drivers/vidtv/
Dvidtv_psi.c646 void vidtv_pmt_desc_assign(struct vidtv_psi_table_pmt *pmt, in vidtv_pmt_desc_assign() argument
651 vidtv_psi_pmt_table_update_sec_len(pmt); in vidtv_pmt_desc_assign()
653 if (vidtv_psi_get_sec_len(&pmt->header) > MAX_SECTION_LEN) in vidtv_pmt_desc_assign()
656 vidtv_psi_update_version_num(&pmt->header); in vidtv_pmt_desc_assign()
831 void vidtv_psi_pmt_table_update_sec_len(struct vidtv_psi_table_pmt *pmt) in vidtv_psi_pmt_table_update_sec_len() argument
833 struct vidtv_psi_table_pmt_stream *s = pmt->stream; in vidtv_psi_pmt_table_update_sec_len()
842 desc_loop_len = vidtv_psi_desc_comp_loop_len(pmt->descriptor); in vidtv_psi_pmt_table_update_sec_len()
843 vidtv_psi_set_desc_loop_len(&pmt->bitfield2, desc_loop_len, 10); in vidtv_psi_pmt_table_update_sec_len()
863 vidtv_psi_set_sec_len(&pmt->header, length); in vidtv_psi_pmt_table_update_sec_len()
1116 void vidtv_psi_pmt_stream_assign(struct vidtv_psi_table_pmt *pmt, in vidtv_psi_pmt_stream_assign() argument
[all …]
Dvidtv_psi.h391 vidtv_psi_pmt_table_destroy(struct vidtv_psi_table_pmt *pmt);
432 void vidtv_pmt_desc_assign(struct vidtv_psi_table_pmt *pmt,
471 void vidtv_psi_pmt_stream_assign(struct vidtv_psi_table_pmt *pmt,
516 void vidtv_psi_pmt_table_update_sec_len(struct vidtv_psi_table_pmt *pmt);
606 struct vidtv_psi_table_pmt *pmt; member
Dvidtv_mux.c191 pmt_args.pmt = m->si.pmt_secs[i]; in vidtv_mux_push_si()
/drivers/video/fbdev/aty/
Dradeon_monitor.c72 const u8 *pmt = NULL; in radeon_parse_montype_prop() local
77 pmt = of_get_property(dp, "display-type", NULL); in radeon_parse_montype_prop()
78 if (!pmt) in radeon_parse_montype_prop()
80 pr_debug("display-type: %s\n", pmt); in radeon_parse_montype_prop()
84 if (!strcmp(pmt, "LCD") || !strcmp(pmt, "DFP")) in radeon_parse_montype_prop()
86 else if (!strcmp(pmt, "CRT")) in radeon_parse_montype_prop()
89 if (strcmp(pmt, "NONE") != 0) in radeon_parse_montype_prop()
91 pmt); in radeon_parse_montype_prop()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c508 plat->pmt = 1; in stmmac_probe_config_dt()
516 plat->pmt = 1; in stmmac_probe_config_dt()
525 plat->pmt = 1; in stmmac_probe_config_dt()
538 plat->pmt = 1; in stmmac_probe_config_dt()
790 if (!device_may_wakeup(priv->device) || !priv->plat->pmt) { in stmmac_pltfr_noirq_suspend()
811 if (!device_may_wakeup(priv->device) || !priv->plat->pmt) { in stmmac_pltfr_noirq_resume()
Ddwmac1000_core.c259 unsigned int pmt = 0; in dwmac1000_pmt() local
263 pmt |= power_down | magic_pkt_en; in dwmac1000_pmt()
267 pmt |= power_down | global_unicast | wake_up_frame_en; in dwmac1000_pmt()
270 writel(pmt, ioaddr + GMAC_PMT); in dwmac1000_pmt()
521 .pmt = dwmac1000_pmt,
Ddwmac4_core.c302 unsigned int pmt = 0; in dwmac4_pmt() local
307 pmt |= power_down | magic_pkt_en; in dwmac4_pmt()
311 pmt |= power_down | global_unicast | wake_up_frame_en; in dwmac4_pmt()
314 if (pmt) { in dwmac4_pmt()
320 writel(pmt, ioaddr + GMAC_PMT); in dwmac4_pmt()
1113 .pmt = dwmac4_pmt,
1154 .pmt = dwmac4_pmt,
1198 .pmt = dwmac4_pmt,
Ddwmac100_core.c173 .pmt = dwmac100_pmt,
Dstmmac_pci.c81 plat->pmt = 1; in snps_gmac5_default_data()
Dcommon.h479 unsigned int pmt; member
Ddwmac-mediatek.c417 plat_dat->pmt = 0; in mediatek_dwmac_probe()
Dstmmac_ethtool.c645 if (!priv->plat->pmt) in stmmac_get_wol()
666 if (!priv->plat->pmt) { in stmmac_set_wol()
Ddwmac-dwc-qos-eth.c117 plat_dat->pmt = 1; in dwc_eth_dwmac_config_dt()
Dhwif.h332 void (*pmt)(struct mac_device_info *hw, unsigned long mode); member
434 stmmac_do_void_callback(__priv, mac, pmt, __args)
Dstmmac_main.c1143 if (!priv->plat->pmt) { in stmmac_init_phy()
4825 priv->plat->pmt = priv->dma_cap.pmt_remote_wake_up; in stmmac_hw_init()
4826 priv->hw->pmt = priv->plat->pmt; in stmmac_hw_init()
4861 if (priv->plat->pmt) { in stmmac_hw_init()
5311 if (device_may_wakeup(priv->device) && priv->plat->pmt) { in stmmac_suspend()
5382 if (device_may_wakeup(priv->device) && priv->plat->pmt) { in stmmac_resume()
5402 if (!device_may_wakeup(priv->device) || !priv->plat->pmt) { in stmmac_resume()
Ddwmac-qcom-ethqos.c506 plat_dat->pmt = 1; in qcom_ethqos_probe()
Ddwxgmac2_core.c1538 .pmt = dwxgmac2_pmt,
1599 .pmt = dwxgmac2_pmt,
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c260 .pmt = sxgbe_core_pmt,
Dsxgbe_common.h330 void (*pmt)(void __iomem *ioaddr, unsigned long mode); member
/drivers/net/ethernet/calxeda/
Dxgmac.c1848 unsigned int pmt = 0; in xgmac_pmt() local
1851 pmt |= XGMAC_PMT_POWERDOWN | XGMAC_PMT_MAGIC_PKT_EN; in xgmac_pmt()
1853 pmt |= XGMAC_PMT_POWERDOWN | XGMAC_PMT_GLBL_UNICAST; in xgmac_pmt()
1855 writel(pmt, ioaddr + XGMAC_PMT); in xgmac_pmt()