Home
last modified time | relevance | path

Searched refs:phyAddr (Results 1 - 25 of 40) sorted by relevance

12

/device/soc/hisilicon/common/platform/hieth-sf/src/
H A Deth_phy.c30 phyState = HiethMdioRead(ld, phyAccess->phyAddr, PHY_BMSR); in HiethGetPhyStat()
37 phyState = HiethMdioRead(ld, phyAccess->phyAddr, PHY_BMSR); in HiethGetPhyStat()
57 reg = HiethMdioRead(ld, phyAccess->phyAddr, PHY_BMSR); in MiiphyLink()
80 reg = HiethMdioRead(ld, phyAccess->phyAddr, PHY_EXSR); in MiiphyIs1000baseX()
97 val = HiethMdioRead(ld, phyAccess->phyAddr, PHY_BMSR); in MiiphySpeed()
107 btsr = HiethMdioRead(ld, phyAccess->phyAddr, PHY_1000BTSR); in MiiphySpeed()
118 bmcr = HiethMdioRead(ld, phyAccess->phyAddr, PHY_BMCR); in MiiphySpeed()
125 anlpar = HiethMdioRead(ld, phyAccess->phyAddr, PHY_ANLPAR); in MiiphySpeed()
141 val = HiethMdioRead(ld, phyAccess->phyAddr, PHY_BMSR); in MiiphyDuplex()
152 anlpar = HiethMdioRead(ld, phyAccess->phyAddr, PHY_ANLPA in MiiphyDuplex()
[all...]
H A Dmdio.c29 int32_t HiethMdioRead(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum) in HiethMdioRead() argument
33 HiethAssert((!((uint32_t)phyAddr & (~0x1F))) && (!((uint32_t)regNum & (~0x1F)))); in HiethMdioRead()
38 MdioStartPhyread(ld, phyAddr, regNum); in HiethMdioRead()
48 int32_t HiethMdioWrite(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum, int32_t val) in HiethMdioWrite() argument
50 HiethAssert((!((uint32_t)phyAddr & (~0x1F))) && (!((uint32_t)regNum & (~0x1F)))); in HiethMdioWrite()
51 HiethTrace(HIETHTRACE_LEVEL_L4, "phyAddr = %d, regNum = %d", phyAddr, regNum); in HiethMdioWrite()
60 MdioPhyWrite(ld, phyAddr, regNum, val); in HiethMdioWrite()
H A Dctrl.c27 static inline int32_t FephyExpandedRead(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum) in FephyExpandedRead() argument
29 HiethMdioWrite(ld, phyAddr, MII_EXPMA, regNum); in FephyExpandedRead()
30 return HiethMdioRead(ld, phyAddr, MII_EXPMD); in FephyExpandedRead()
33 static inline int32_t FephyExpandedWrite(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum, int32_t val) in FephyExpandedWrite() argument
35 HiethMdioWrite(ld, phyAddr, MII_EXPMA, regNum); in FephyExpandedWrite()
36 return HiethMdioWrite(ld, phyAddr, MII_EXPMD, val); in FephyExpandedWrite()
46 val = FephyExpandedRead(ld, phyAccess->phyAddr, REG_DEF_ATE); in HiethFephyUseDefaultTrim()
70 val = FephyExpandedRead(ld, phyAccess->phyAddr, REG_LD_AM); in HiethFephyTrim()
72 FephyExpandedWrite(ld, phyAccess->phyAddr, REG_LD_AM, val); in HiethFephyTrim()
74 val = FephyExpandedRead(ld, phyAccess->phyAddr, REG_LDO_A in HiethFephyTrim()
[all...]
H A Dinterface.c476 priv->phy->phyAddr = g_phyAddrVal; in HiethHwInit()
477 HDF_LOGE("hisi_eth: User set phy addr=%d", priv->phy->phyAddr); in HiethHwInit()
479 id = ScanPhyId(ld, priv->phy->phyAddr); in HiethHwInit()
502 priv->phy->phyAddr = addr; in HiethHwInit()
510 HDF_LOGE("Detected phy addr %d, phyid: 0x%x.", priv->phy->phyAddr, ld->phyId); in HiethHwInit()
/device/qemu/riscv32_virt/liteos_m/board/ui/
H A Ddisp_dev.cpp41 bufferInfo.phyAddr = surfaceData->phyAddr; in GetFBBufferInfo()
46 this->fbAddr = surfaceData->phyAddr; in GetFBBufferInfo()
53 if (this->fbAddr != bufferInfo->phyAddr) { in UpdateFBBuffer()
54 this->fbAddr = bufferInfo->phyAddr; in UpdateFBBuffer()
H A Dfbdev.cpp155 uintptr_t phyAddr = g_display.buffer.data.phyAddr; in FbdevInit() local
156 g_devSurfaceData.phyAddr = reinterpret_cast<uint8_t*>(phyAddr); in FbdevInit()
H A Dfbdev.h35 uint8_t *phyAddr; member
/device/soc/hisilicon/common/platform/hieth-sf/include/internal/
H A Dmdio.h49 #define MdioStartPhyread(ld, phyAddr, regNum) \
50 HiethWrite(ld, MDIO_MK_RWCTL(0, 0, 0, phyAddr, (ld)->mdioFrqdiv, regNum), MDIO_RWCTRL)
54 #define MdioPhyWrite(ld, phyAddr, regNum, val) \
55 HiethWrite(ld, MDIO_MK_RWCTL(val, 0, 1, phyAddr, (ld)->mdioFrqdiv, regNum), MDIO_RWCTRL)
69 int32_t HiethMdioRead(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum);
70 int32_t HiethMdioWrite(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum, int32_t val);
/device/board/hisilicon/hispark_taurus/audio_drivers/soc/src/
H A Dhi3516_dma_ops.c134 data->captureBufInfo.virtAddr = (uint32_t *)LOS_DmaMemAlloc(&data->captureBufInfo.phyAddr, in Hi3516DmaBufAlloc()
139 (dma_addr_t *)&data->captureBufInfo.phyAddr, GFP_DMA | GFP_KERNEL); in Hi3516DmaBufAlloc()
143 data->renderBufInfo.virtAddr = (uint32_t *)LOS_DmaMemAlloc(&data->renderBufInfo.phyAddr, in Hi3516DmaBufAlloc()
149 (dma_addr_t *)&data->renderBufInfo.phyAddr, GFP_DMA | GFP_KERNEL); in Hi3516DmaBufAlloc()
171 data->captureBufInfo.phyAddr); in Hi3516DmaBufFree()
180 data->renderBufInfo.phyAddr); in Hi3516DmaBufFree()
H A Dhi3516_aiao_impl.c572 if (platformData == NULL || platformData->renderBufInfo.phyAddr == 0) { in AudioAoInit()
577 ret = AopHalSetBufferAddr(0, platformData->renderBufInfo.phyAddr); in AudioAoInit()
601 if (platformData == NULL || platformData->captureBufInfo.phyAddr == 0) { in AudioAiInit()
606 ret = AipHalSetBufferAddr(0, platformData->captureBufInfo.phyAddr); in AudioAiInit()
/device/qemu/hardware/display/
H A Ddisplay_gralloc.c239 buffer->phyAddr = mmz.paddr; in AllocMmz()
255 mmz.paddr = buffer->phyAddr; in MmzFlushCache()
264 mmz.paddr = buffer->phyAddr; in MmzInvalidateCache()
328 ret = FreeMmz(buffer->phyAddr, buffer->virAddr); in FreeMem()
372 mmz.paddr = buffer->phyAddr; in UnmapMmz()
395 return MmapMmzCache(buffer->phyAddr, buffer->size); in MmapCache()
412 return MmapMmzCache(buffer->phyAddr, buffer->size); in Mmap()
414 return MmapMmzNoCache(buffer->phyAddr, buffer->size); in Mmap()
/device/board/hihope/dayu210/audio_drivers/soc/src/
H A Drk3588_dma_ops.c157 (dma_addr_t *)&data->captureBufInfo.phyAddr, GFP_DMA | GFP_KERNEL); in Rk3588DmaBufAlloc()
165 (dma_addr_t *)&data->renderBufInfo.phyAddr, GFP_DMA | GFP_KERNEL); in Rk3588DmaBufAlloc()
188 data->captureBufInfo.phyAddr); in Rk3588DmaBufFree()
192 data->renderBufInfo.phyAddr); in Rk3588DmaBufFree()
339 data->renderBufInfo.phyAddr, in Rk3588DmaSubmit()
356 data->captureBufInfo.phyAddr, in Rk3588DmaSubmit()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
H A Dvgs_img.c50 const VB_CAL_CONFIG_S *vbCfg, HI_U64 phyAddr, uint8_t *virAddr) in MppFrmSetBuf()
59 frm->stVFrame.u64HeaderPhyAddr[0] = phyAddr; in MppFrmSetBuf()
136 HI_U64 phyAddr = HI_MPI_VB_Handle2PhysAddr(vbHnd); in MppFrmCreate() local
137 HI_ASSERT(phyAddr); in MppFrmCreate()
138 uint8_t* virAddr = (uint8_t*)HI_MPI_SYS_Mmap(phyAddr, vbCfg.u32VBSize); in MppFrmCreate()
162 MppFrmSetBuf(frm, &vbCfg, phyAddr, virAddr); in MppFrmCreate()
49 MppFrmSetBuf(VIDEO_FRAME_INFO_S* frm, const VB_CAL_CONFIG_S *vbCfg, HI_U64 phyAddr, uint8_t *virAddr) MppFrmSetBuf() argument
/device/soc/rockchip/common/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c174 dst.phy_addr = 0; // (void*)iSurface->phyAddr; in rkFillRect()
176 dst.fd = (int32_t)iSurface->phyAddr; in rkFillRect()
327 dstRgaBuffer.phy_addr = 0; // (void *)dstSurface->phyAddr; in doFlit()
330 dstRgaBuffer.fd = (int32_t)dstSurface->phyAddr; in doFlit()
340 srcRgaBuffer.phy_addr = 0; // (void *)srcSurface->phyAddr; in doFlit()
344 srcRgaBuffer.fd = (int32_t)srcSurface->phyAddr; in doFlit()
352 (int32_t)srcSurface->phyAddr, srcSurface->width, srcSurface->height, in doFlit()
355 (int32_t)dstSurface->phyAddr, dstSurface->width, dstSurface->height, in doFlit()
447 bRgbBuffer.phy_addr = 0; // (void *) buffer->phyAddr; in doFlit()
450 bRgbBuffer.fd = (int32_t)buffer->phyAddr; in doFlit()
[all...]
/device/soc/rockchip/rk3399/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c174 dst.phy_addr = 0; // (void*)iSurface->phyAddr; in rkFillRect()
176 dst.fd = (int32_t)iSurface->phyAddr; in rkFillRect()
325 dstRgaBuffer.phy_addr = 0; // (void *)dstSurface->phyAddr; in doFlit()
328 dstRgaBuffer.fd = (int32_t)dstSurface->phyAddr; in doFlit()
338 srcRgaBuffer.phy_addr = 0; // (void *)srcSurface->phyAddr; in doFlit()
342 srcRgaBuffer.fd = (int32_t)srcSurface->phyAddr; in doFlit()
350 (int32_t)srcSurface->phyAddr, srcSurface->width, srcSurface->height, ALIGN_UP(srcSurface->width, 16), in doFlit()
353 (int32_t)dstSurface->phyAddr, dstSurface->width, dstSurface->height, ALIGN_UP(dstSurface->width, 16), in doFlit()
442 bRgbBuffer.phy_addr = 0; // (void *) buffer->phyAddr; in doFlit()
445 bRgbBuffer.fd = (int32_t)buffer->phyAddr; in doFlit()
[all...]
/device/soc/rockchip/rk3566/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c172 dst.phy_addr = 0; // (void*)iSurface->phyAddr; in rkFillRect()
174 dst.fd = (int32_t)iSurface->phyAddr; in rkFillRect()
317 dstRgaBuffer.phy_addr = 0; // (void *)dstSurface->phyAddr; in doFlit()
320 dstRgaBuffer.fd = (int32_t)dstSurface->phyAddr; in doFlit()
330 srcRgaBuffer.phy_addr = 0; // (void *)srcSurface->phyAddr; in doFlit()
334 srcRgaBuffer.fd = (int32_t)srcSurface->phyAddr; in doFlit()
342 (int32_t)srcSurface->phyAddr, srcSurface->width, srcSurface->height, ALIGN_UP(srcSurface->width, 16), in doFlit()
345 (int32_t)dstSurface->phyAddr, dstSurface->width, dstSurface->height, ALIGN_UP(dstSurface->width, 16), in doFlit()
417 bRgbBuffer.phy_addr = 0; // (void *) buffer->phyAddr; in doFlit()
/device/soc/rockchip/rk3568/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c172 dst.phy_addr = 0; // (void*)iSurface->phyAddr; in rkFillRect()
174 dst.fd = (int32_t)iSurface->phyAddr; in rkFillRect()
317 dstRgaBuffer.phy_addr = 0; // (void *)dstSurface->phyAddr; in doFlit()
320 dstRgaBuffer.fd = (int32_t)dstSurface->phyAddr; in doFlit()
330 srcRgaBuffer.phy_addr = 0; // (void *)srcSurface->phyAddr; in doFlit()
334 srcRgaBuffer.fd = (int32_t)srcSurface->phyAddr; in doFlit()
342 (int32_t)srcSurface->phyAddr, srcSurface->width, srcSurface->height, ALIGN_UP(srcSurface->width, 16), in doFlit()
345 (int32_t)dstSurface->phyAddr, dstSurface->width, dstSurface->height, ALIGN_UP(dstSurface->width, 16), in doFlit()
417 bRgbBuffer.phy_addr = 0; // (void *) buffer->phyAddr; in doFlit()
/device/soc/rockchip/rk3588/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c172 dst.phy_addr = 0; // (void*)iSurface->phyAddr; in rkFillRect()
174 dst.fd = (int32_t)iSurface->phyAddr; in rkFillRect()
317 dstRgaBuffer.phy_addr = 0; // (void *)dstSurface->phyAddr; in doFlit()
320 dstRgaBuffer.fd = (int32_t)dstSurface->phyAddr; in doFlit()
330 srcRgaBuffer.phy_addr = 0; // (void *)srcSurface->phyAddr; in doFlit()
334 srcRgaBuffer.fd = (int32_t)srcSurface->phyAddr; in doFlit()
342 (int32_t)srcSurface->phyAddr, srcSurface->width, srcSurface->height, ALIGN_UP(srcSurface->width, 16), in doFlit()
345 (int32_t)dstSurface->phyAddr, dstSurface->width, dstSurface->height, ALIGN_UP(dstSurface->width, 16), in doFlit()
417 bRgbBuffer.phy_addr = 0; // (void *) buffer->phyAddr; in doFlit()
/device/board/hihope/rk3568/audio_drivers/soc/src/
H A Drk3568_dma_ops.c246 (dma_addr_t *)&data->captureBufInfo.phyAddr, GFP_DMA | GFP_KERNEL); in Rk3568DmaBufAlloc()
253 (dma_addr_t *)&data->renderBufInfo.phyAddr, GFP_DMA | GFP_KERNEL); in Rk3568DmaBufAlloc()
283 data->captureBufInfo.phyAddr); in Rk3568DmaBufFree()
286 data->renderBufInfo.phyAddr); in Rk3568DmaBufFree()
497 data->renderBufInfo.phyAddr, in Rk3568DmaSubmit()
517 data->captureBufInfo.phyAddr, in Rk3568DmaSubmit()
/device/soc/hisilicon/common/platform/hieth-sf/include/
H A Dhieth.h93 int32_t phyAddr; member
/device/soc/hisilicon/common/hal/display/source/display_device/src/composer/
H A Dhdi_gfx_composition.cpp118 surface.phyAddr = buffer.GetMemHandle(); in InitGfxSurface()
126 surface.width, surface.height, surface.phyAddr, surface.enColorFmt, surface.stride); in InitGfxSurface()
/device/soc/hisilicon/common/hal/display/source/display_device/src/core/
H A Dhdi_layer.cpp27 : mPhyAddr(hdl.phyAddr), mHeight(hdl.height), mWidth(hdl.width), mStride(hdl.stride), mFormat(hdl.format) in HdiLayerBuffer()
52 mPhyAddr = right.phyAddr; in operator =()
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
H A Dframebuffer_allocator.cpp117 handle.phyAddr = smemAddress; in Allocate()
184 freeBuffers_.push(handle->phyAddr); in FreeMem()
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Dhdi_layer.cpp28 : mPhyAddr(hdl.phyAddr), mHeight(hdl.height), mWidth(hdl.width), mStride(hdl.stride), in HdiLayerBuffer()
54 mPhyAddr = right.phyAddr; in operator =()
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_layer.cpp28 : mPhyAddr(hdl.phyAddr), mHeight(hdl.height), mWidth(hdl.width), mStride(hdl.stride), mFormat(hdl.format) in HdiLayerBuffer()
53 mPhyAddr = right.phyAddr; in operator =()

Completed in 14 milliseconds

12