Home
last modified time | relevance | path

Searched refs:phy_base (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-csidphy.c150 void __iomem *phy_base; member
210 val = readl(priv->phy_base + drv_data->ths_settle_offset + offset); in rockchip_inno_csidphy_ths_settle()
213 writel(val, priv->phy_base + drv_data->ths_settle_offset + offset); in rockchip_inno_csidphy_ths_settle()
272 priv->phy_base + drv_data->pwrctl_offset); in rockchip_inno_csidphy_power_on()
278 writel(val, priv->phy_base + CSIDPHY_CTRL_LANE_ENABLE); in rockchip_inno_csidphy_power_on()
283 priv->phy_base + drv_data->pwrctl_offset); in rockchip_inno_csidphy_power_on()
288 priv->phy_base + CSIDPHY_CTRL_DIG_RST); in rockchip_inno_csidphy_power_on()
290 priv->phy_base + CSIDPHY_CTRL_DIG_RST); in rockchip_inno_csidphy_power_on()
298 priv->phy_base + drv_data->calib_offset + in rockchip_inno_csidphy_power_on()
302 priv->phy_base + drv_data->calib_offset + in rockchip_inno_csidphy_power_on()
[all …]
H A Dphy-rockchip-inno-dsidphy.c233 void __iomem *phy_base; member
330 orig = readl(inno->phy_base + reg); in phy_update_bits()
333 writel(tmp, inno->phy_base + reg); in phy_update_bits()
789 inno->phy_base = devm_platform_ioremap_resource(pdev, 0); in inno_dsidphy_probe()
790 if (IS_ERR(inno->phy_base)) in inno_dsidphy_probe()
791 return PTR_ERR(inno->phy_base); in inno_dsidphy_probe()
/linux/drivers/phy/marvell/
H A Dphy-berlin-sata.c63 u32 phy_base; member
67 u32 phy_base, u32 reg, u32 mask, u32 val) in phy_berlin_sata_reg_setbits() argument
72 writel(phy_base + reg, ctrl_reg + PORT_VSR_ADDR); in phy_berlin_sata_reg_setbits()
105 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x01, in phy_berlin_sata_power_on()
110 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x25, in phy_berlin_sata_power_on()
114 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x23, in phy_berlin_sata_power_on()
118 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x02, in phy_berlin_sata_power_on()
225 priv->phy_base = BG2_PHY_BASE; in phy_berlin_sata_probe()
227 priv->phy_base = BG2Q_PHY_BASE; in phy_berlin_sata_probe()
/linux/drivers/phy/spacemit/
H A Dphy-k3-common.c248 void __iomem *phy_base = lg->base + lg->data->offsets[0]; in k3_pcie_phy_init() local
253 val = readl(phy_base + PHY_PLL_REG1); in k3_pcie_phy_init()
255 writel(val, phy_base + PHY_PLL_REG1); in k3_pcie_phy_init()
257 val = readl(phy_base + PHY_PLL_REG2); in k3_pcie_phy_init()
259 writel(val, phy_base + PHY_PLL_REG2); in k3_pcie_phy_init()
269 val = readl(phy_base + PHY_PLL_REG2); in k3_pcie_phy_init()
271 writel(val, phy_base + PHY_PLL_REG2); in k3_pcie_phy_init()
277 writel(val, phy_base + PCIE_RX_REG1); in k3_pcie_phy_init()
280 val = readl(phy_base + PHY_PLL_REG1); in k3_pcie_phy_init()
282 writel(val, phy_base + PHY_PLL_REG1); in k3_pcie_phy_init()
[all …]
/linux/drivers/clk/ux500/
H A Dclk-prcc.c95 resource_size_t phy_base, in clk_reg_prcc() argument
113 clk->base = ioremap(phy_base, SZ_4K); in clk_reg_prcc()
143 resource_size_t phy_base, in clk_reg_prcc_pclk() argument
147 return clk_reg_prcc(name, parent_name, phy_base, cg_sel, flags, in clk_reg_prcc_pclk()
153 resource_size_t phy_base, in clk_reg_prcc_kclk() argument
157 return clk_reg_prcc(name, parent_name, phy_base, cg_sel, flags, in clk_reg_prcc_kclk()
H A Dclk.h20 resource_size_t phy_base,
26 resource_size_t phy_base,
H A Dreset-prcc.c166 ur->base[i] = ioremap(ur->phy_base[i], SZ_4K); in u8500_prcc_reset_init()
169 i, ur->phy_base[i]); in u8500_prcc_reset_init()
H A Dreset-prcc.h17 u32 phy_base[CLKRST_MAX]; member
H A Du8500_of_clk.c152 rstc->phy_base[i] = r.start; in u8500_clk_init()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmmio.c510 wed->wlan.phy_base = pci_resource_start(pci_dev, 0); in mt7996_mmio_wed_init()
513 wed->wlan.wpdma_int = wed->wlan.phy_base + in mt7996_mmio_wed_init()
515 wed->wlan.wpdma_mask = wed->wlan.phy_base + in mt7996_mmio_wed_init()
517 wed->wlan.wpdma_tx = wed->wlan.phy_base + hif1_ofs + in mt7996_mmio_wed_init()
522 wed->wlan.wpdma_txfree = wed->wlan.phy_base + hif1_ofs + in mt7996_mmio_wed_init()
527 wed->wlan.wpdma_txfree = wed->wlan.phy_base + hif1_ofs + in mt7996_mmio_wed_init()
532 wed->wlan.wpdma_rx_glo = wed->wlan.phy_base + hif1_ofs + MT_WFDMA0_GLO_CFG; in mt7996_mmio_wed_init()
533 wed->wlan.wpdma_rx[0] = wed->wlan.phy_base + hif1_ofs + in mt7996_mmio_wed_init()
541 wed->wlan.wpdma_int = wed->wlan.phy_base + MT_INT_SOURCE_CSR; in mt7996_mmio_wed_init()
542 wed->wlan.wpdma_mask = wed->wlan.phy_base + MT_INT_MASK_CSR; in mt7996_mmio_wed_init()
[all …]
/linux/drivers/phy/ti/
H A Dphy-omap-usb2.c58 void __iomem *phy_base; member
241 val = omap_usb_readl(phy->phy_base, USB2PHY_ANA_CONFIG1); in omap_usb_init()
243 omap_usb_writel(phy->phy_base, USB2PHY_ANA_CONFIG1, val); in omap_usb_init()
247 val = omap_usb_readl(phy->phy_base, USB2PHY_CHRG_DET); in omap_usb_init()
250 omap_usb_writel(phy->phy_base, USB2PHY_CHRG_DET, val); in omap_usb_init()
410 phy->phy_base = devm_platform_ioremap_resource(pdev, 0); in omap_usb2_probe()
411 if (IS_ERR(phy->phy_base)) in omap_usb2_probe()
412 return PTR_ERR(phy->phy_base); in omap_usb2_probe()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-mcd-phy.c577 void __iomem *phy_base; in ipu6_isys_mcd_phy_common_init() local
584 phy_base = isp_base + IPU6_ISYS_MCD_PHY_BASE(phy_id); in ipu6_isys_mcd_phy_common_init()
588 phy_base + common_init_regs[i].reg); in ipu6_isys_mcd_phy_common_init()
634 void __iomem *phy_base; in ipu6_isys_mcd_phy_config() local
648 phy_base = isp_base + IPU6_ISYS_MCD_PHY_BASE(phy_id); in ipu6_isys_mcd_phy_config()
656 phy_base + phy_config_regs[cfg.port][i].reg); in ipu6_isys_mcd_phy_config()
/linux/arch/arm/mach-ux500/
H A Dpm.c176 void __init ux500_pm_init(u32 phy_base, u32 size) in ux500_pm_init() argument
180 prcmu_base = ioremap(phy_base, size); in ux500_pm_init()
/linux/drivers/phy/broadcom/
H A Dphy-brcm-sata.c73 void __iomem *phy_base; member
215 void __iomem *pcb_base = priv->phy_base; in brcm_sata_phy_wr()
232 void __iomem *pcb_base = priv->phy_base; in brcm_sata_phy_rd()
769 priv->phy_base = devm_platform_ioremap_resource_byname(pdev, "phy"); in brcm_sata_phy_probe()
770 if (IS_ERR(priv->phy_base)) in brcm_sata_phy_probe()
771 return PTR_ERR(priv->phy_base); in brcm_sata_phy_probe()
/linux/include/linux/platform_data/
H A Darm-ux500-pm.h18 void ux500_pm_init(u32 phy_base, u32 size);
/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_init.c385 u32 phy_base = readl(mp2->mmio + amd_get_c2p_val(mp2, 22)); in amd_sfh1_1_init() local
390 phy_base <<= 21; in amd_sfh1_1_init()
391 if (!devm_request_mem_region(dev, phy_base, 128 * 1024, "amd_sfh")) { in amd_sfh1_1_init()
396 mp2->vsbase = devm_ioremap(dev, phy_base, 128 * 1024); in amd_sfh1_1_init()
/linux/drivers/usb/musb/
H A Dux500_dma.c47 dma_addr_t phy_base; member
84 ux500_channel->controller->phy_base); in ux500_configure_channel()
378 controller->phy_base = (dma_addr_t) iomem->start; in ux500_dma_controller_create()
/linux/sound/soc/atmel/
H A Datmel-pdmic.c28 dma_addr_t phy_base; member
206 slave_config->src_addr = dd->phy_base + PDMIC_CDR; in atmel_pdmic_platform_configure_dma()
622 dd->phy_base = res->start; in atmel_pdmic_probe()
/linux/arch/arm/include/asm/hardware/
H A Dcache-l2x0.h172 unsigned long phy_base; member
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c1207 u64 phy_base, const struct hns_roce_buf_region *r, in alloc_fake_root_bt() argument
1225 hem_list_assign_bt(hem, cpu_base, phy_base); in alloc_fake_root_bt()
1266 u64 phy_base; in setup_root_hem() local
1281 phy_base = root_hem->dma_addr + total * BA_BYTE_LEN; in setup_root_hem()
1287 ret = alloc_fake_root_bt(hr_dev, cpu_base, phy_base, r, in setup_root_hem()
/linux/drivers/net/dsa/
H A Dlan9303-core.c1082 int phy_base = chip->phy_addr_base; in lan9303_phy_read() local
1089 return chip->ops->phy_read(chip, phy_base + port, regnum); in lan9303_phy_read()
1096 int phy_base = chip->phy_addr_base; in lan9303_phy_write() local
1103 return chip->ops->phy_write(chip, phy_base + port, regnum, val); in lan9303_phy_write()
/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_rcb.c535 ring_pair_cb->q.phy_base = in hns_rcb_get_cfg()
536 RCB_COMM_BASE_TO_RING_BASE(rcb_common->phy_base, i); in hns_rcb_get_cfg()
797 rcb_common->phy_base = hns_rcb_common_get_paddr(rcb_common); in hns_rcb_common_get_cfg()
/linux/arch/arm/kernel/
H A Dasm-offsets.c97 DEFINE(L2X0_R_PHY_BASE, offsetof(struct l2x0_regs, phy_base)); in main()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmmio.c654 wed->wlan.phy_base = pci_resource_start(pci_dev, 0); in mt7915_mmio_wed_init()
684 wed->wlan.phy_base = res->start; in mt7915_mmio_wed_init()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c2153 dev->wlan.phy_base) | MTK_WFMDA_RX_DMA_EN; in mtk_wed_dma_enable()
2155 dev->wlan.wpdma_rx_glo - dev->wlan.phy_base, in mtk_wed_dma_enable()
2276 wed_w32(dev, MTK_WED_RRO_CFG0, dev->wlan.phy_base + in mtk_wed_ind_rx_ring_setup()

12