Home
last modified time | relevance | path

Searched refs:pa (Results 1 – 25 of 63) sorted by relevance

123

/device/soc/esp/esp32/components/bt/host/bluedroid/external/sbc/decoder/srce/
Dsynthesis-sbc.c396 OI_INT32 pa; in SynthWindow40_int32_int32_symmetry_with_sum() local
413 pa = dec_window_4[ 4] * (buffer[12] + buffer[76]); in SynthWindow40_int32_int32_symmetry_with_sum()
414 pa += dec_window_4[ 8] * (buffer[16] - buffer[64]); in SynthWindow40_int32_int32_symmetry_with_sum()
415 pa += dec_window_4[12] * (buffer[28] + buffer[60]); in SynthWindow40_int32_int32_symmetry_with_sum()
416 pa += dec_window_4[16] * (buffer[32] - buffer[48]); in SynthWindow40_int32_int32_symmetry_with_sum()
417 pa += dec_window_4[20] * buffer[44]; in SynthWindow40_int32_int32_symmetry_with_sum()
418 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum()
419 CLIP_INT16(pa); in SynthWindow40_int32_int32_symmetry_with_sum()
420 pcm[0 << strideShift] = (OI_INT16)pa; in SynthWindow40_int32_int32_symmetry_with_sum()
423 pa = dec_window_4[ 1] * buffer[ 1]; pb = dec_window_4[ 1] * buffer[79]; in SynthWindow40_int32_int32_symmetry_with_sum()
[all …]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/himedia/
Dhimedia_base.c525 struct himedia_devobj *pa = container_of(dev, struct himedia_devobj, in himedia_device_release() local
527 kfree(pa); in himedia_device_release()
534 struct himedia_devobj *pa; in himedia_device_alloc() local
536 pa = kmalloc(sizeof(struct himedia_devobj) + size, GFP_KERNEL | __GFP_ZERO); in himedia_device_alloc()
537 if (pa != NULL) { in himedia_device_alloc()
538 ret = snprintf_s(pa->name, sizeof(struct himedia_devobj) + size - sizeof(pa->pdev), in himedia_device_alloc()
543 pa->pdev.name = pa->name; in himedia_device_alloc()
544 pa->pdev.id = id; in himedia_device_alloc()
545 device_initialize(&pa->pdev.dev); in himedia_device_alloc()
546 pa->pdev.dev.release = himedia_device_release; in himedia_device_alloc()
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Dlinux_osl.h197 #define DMA_FREE_CONSISTENT(osh, va, size, pa, dmah) \ argument
198 osl_dma_free_consistent((osh), (void*)(va), (size), (pa))
202 #define DMA_FREE_CONSISTENT_FORCE32(osh, va, size, pa, dmah) \ argument
203 osl_dma_free_consistent((osh), (void*)(va), (size), (pa))
208 extern void osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa);
216 #define DMA_UNMAP(osh, pa, size, direction, p, dmah) \ argument
217 osl_dma_unmap((osh), (pa), (size), (direction))
222 extern void osl_dma_unmap(osl_t *osh, dmaaddr_t pa, uint size, int direction);
225 #define PHYS_TO_VIRT(pa) osl_phys_to_virt(pa) argument
230 extern void * osl_phys_to_virt(void * pa);
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Dlinux_osl.h209 #define DMA_FREE_CONSISTENT(osh, va, size, pa, dmah) \ argument
210 osl_dma_free_consistent((osh), (void *)(va), (size), (pa))
214 #define DMA_FREE_CONSISTENT_FORCE32(osh, va, size, pa, dmah) \ argument
215 osl_dma_free_consistent((osh), (void *)(va), (size), (pa))
221 dmaaddr_t pa);
229 #define DMA_UNMAP(osh, pa, size, direction, p, dmah) \ argument
230 osl_dma_unmap((osh), (pa), (size), (direction))
235 extern void osl_dma_unmap(osl_t *osh, dmaaddr_t pa, uint size, int direction);
238 #define PHYS_TO_VIRT(pa) osl_phys_to_virt(pa) argument
243 extern void *osl_phys_to_virt(void *pa);
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddhd_msgbuf.c465 static INLINE void dhd_base_addr_htolpa(sh_addr_t *base_addr, dmaaddr_t pa);
975 dhd_base_addr_htolpa(sh_addr_t *base_addr, dmaaddr_t pa) in dhd_base_addr_htolpa() argument
977 base_addr->low_addr = htol32(PHYSADDRLO(pa)); in dhd_base_addr_htolpa()
978 base_addr->high_addr = htol32(PHYSADDRHI(pa)); in dhd_base_addr_htolpa()
990 pa_lowaddr = PHYSADDRLO(dma_buf->pa); in dhd_dma_buf_audit()
991 ASSERT(PHYSADDRLO(dma_buf->pa) || PHYSADDRHI(dma_buf->pa)); in dhd_dma_buf_audit()
1029 dma_align, &dma_buf->_alloced, &dma_buf->pa, &dma_buf->dmah); in dhd_dma_buf_alloc()
1084 dma_buf->pa, dma_buf->dmah); in dhd_dma_buf_free()
1095 void *va, uint32 len, dmaaddr_t pa, void *dmah, void *secdma) in dhd_dma_buf_init() argument
1102 dma_buf->pa = pa; in dhd_dma_buf_init()
[all …]
Ddhd_flowring.h166 #define DHD_PKTTAG_SET_PA(tag, pa) ((tag)->physaddr = (pa)) argument
Dlinux_osl.c216 phys_addr_t pa; member
237 static void osl_sec_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa);
1791 osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa) in osl_dma_free_consistent() argument
1803 PHYSADDRTOULONG(pa, paddr); in osl_dma_free_consistent()
1806 pci_free_consistent(osh->pdev, size, va, (dma_addr_t)pa); in osl_dma_free_consistent()
1810 osl_sec_dma_free_consistent(osh, va, size, pa); in osl_dma_free_consistent()
1849 osl_dma_unmap(osl_t *osh, dmaaddr_t pa, uint size, int direction) in osl_dma_unmap() argument
1861 PHYSADDRTOULONG(pa, paddr); in osl_dma_unmap()
1864 pci_unmap_single(osh->pdev, (uint32)pa, size, dir); in osl_dma_unmap()
2565 osh->sec_cma_coherent[i].pa = temp_pa; in osl_sec_dma_init_consistent()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Dlinux_osl.h226 #define DMA_FREE_CONSISTENT(osh, va, size, pa, dmah) \ argument
227 osl_dma_free_consistent((osh), (void*)(va), (size), (pa))
231 #define DMA_FREE_CONSISTENT_FORCE32(osh, va, size, pa, dmah) \ argument
232 osl_dma_free_consistent((osh), (void*)(va), (size), (pa))
237 extern void osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa);
245 #define DMA_UNMAP(osh, pa, size, direction, p, dmah) \ argument
246 osl_dma_unmap((osh), (pa), (size), (direction))
251 extern void osl_dma_unmap(osl_t *osh, dmaaddr_t pa, uint size, int direction);
254 #define PHYS_TO_VIRT(pa) osl_phys_to_virt(pa) argument
259 extern void * osl_phys_to_virt(void * pa);
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_msgbuf.c580 static INLINE void dhd_base_addr_htolpa(sh_addr_t *base_addr, dmaaddr_t pa);
1394 static INLINE void dhd_base_addr_htolpa(sh_addr_t *base_addr, dmaaddr_t pa) in dhd_base_addr_htolpa() argument
1396 base_addr->low_addr = htol32(PHYSADDRLO(pa)); in dhd_base_addr_htolpa()
1397 base_addr->high_addr = htol32(PHYSADDRHI(pa)); in dhd_base_addr_htolpa()
1407 pa_lowaddr = PHYSADDRLO(dma_buf->pa); in dhd_dma_buf_audit()
1408 ASSERT(PHYSADDRLO(dma_buf->pa) || PHYSADDRHI(dma_buf->pa)); in dhd_dma_buf_audit()
1447 &dma_buf->_alloced, &dma_buf->pa, &dma_buf->dmah); in dhd_dma_buf_alloc()
1501 DMA_FREE_CONSISTENT(osh, dma_buf->va, dma_buf->_alloced, dma_buf->pa, in dhd_dma_buf_free()
1512 dmaaddr_t pa, void *dmah, void *secdma) in dhd_dma_buf_init() argument
1519 dma_buf->pa = pa; in dhd_dma_buf_init()
[all …]
Dlinux_osl.c100 dmaaddr_t pa);
228 dmaaddr_t pa; /* DMA address (physical) */ member
294 static void osl_dma_map_logging(osl_t *osh, void *handle, dmaaddr_t pa, in osl_dma_map_logging() argument
307 log->map[idx].pa = pa; in osl_dma_map_logging()
960 void osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa) in osl_dma_free_consistent() argument
973 PHYSADDRTOULONG(pa, paddr); in osl_dma_free_consistent()
976 pci_free_consistent(osh->pdev, size, va, (dma_addr_t)pa); in osl_dma_free_consistent()
980 osl_sec_dma_free_consistent(osh, va, size, pa); in osl_dma_free_consistent()
1051 void BCMFASTPATH osl_dma_unmap(osl_t *osh, dmaaddr_t pa, uint size, in osl_dma_unmap() argument
1066 osl_dma_map_logging(osh, osh->dhd_unmap_log, pa, size); in osl_dma_unmap()
[all …]
Ddhd_flowring.h186 #define DHD_PKTTAG_SET_PA(tag, pa) ((tag)->physaddr = (pa)) argument
Dlinux_osl_priv.h162 phys_addr_t pa; member
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_msgbuf.c590 static INLINE void dhd_base_addr_htolpa(sh_addr_t *base_addr, dmaaddr_t pa);
1359 dhd_base_addr_htolpa(sh_addr_t *base_addr, dmaaddr_t pa) in dhd_base_addr_htolpa() argument
1361 base_addr->low_addr = htol32(PHYSADDRLO(pa)); in dhd_base_addr_htolpa()
1362 base_addr->high_addr = htol32(PHYSADDRHI(pa)); in dhd_base_addr_htolpa()
1373 pa_lowaddr = PHYSADDRLO(dma_buf->pa); in dhd_dma_buf_audit()
1374 ASSERT(PHYSADDRLO(dma_buf->pa) || PHYSADDRHI(dma_buf->pa)); in dhd_dma_buf_audit()
1412 dma_align, &dma_buf->_alloced, &dma_buf->pa, &dma_buf->dmah); in dhd_dma_buf_alloc()
1467 dma_buf->pa, dma_buf->dmah); in dhd_dma_buf_free()
1478 void *va, uint32 len, dmaaddr_t pa, void *dmah, void *secdma) in dhd_dma_buf_init() argument
1485 dma_buf->pa = pa; in dhd_dma_buf_init()
[all …]
Dlinux_osl.c99 static void osl_sec_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa);
221 dmaaddr_t pa; /* DMA address (physical) */ member
291 osl_dma_map_logging(osl_t *osh, void *handle, dmaaddr_t pa, uint32 len) in osl_dma_map_logging() argument
303 log->map[idx].pa = pa; in osl_dma_map_logging()
961 osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa) in osl_dma_free_consistent() argument
974 PHYSADDRTOULONG(pa, paddr); in osl_dma_free_consistent()
977 pci_free_consistent(osh->pdev, size, va, (dma_addr_t)pa); in osl_dma_free_consistent()
981 osl_sec_dma_free_consistent(osh, va, size, pa); in osl_dma_free_consistent()
1054 osl_dma_unmap(osl_t *osh, dmaaddr_t pa, uint size, int direction) in osl_dma_unmap() argument
1068 osl_dma_map_logging(osh, osh->dhd_unmap_log, pa, size); in osl_dma_unmap()
[all …]
Ddhd_flowring.h179 #define DHD_PKTTAG_SET_PA(tag, pa) ((tag)->physaddr = (pa)) argument
Dlinux_osl_priv.h165 phys_addr_t pa; member
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_msgbuf.c789 static INLINE void dhd_base_addr_htolpa(sh_addr_t *base_addr, dmaaddr_t pa);
1671 dhd_base_addr_htolpa(sh_addr_t *base_addr, dmaaddr_t pa) in dhd_base_addr_htolpa() argument
1673 base_addr->low_addr = htol32(PHYSADDRLO(pa)); in dhd_base_addr_htolpa()
1674 base_addr->high_addr = htol32(PHYSADDRHI(pa)); in dhd_base_addr_htolpa()
1685 pa_lowaddr = PHYSADDRLO(dma_buf->pa); in dhd_dma_buf_audit()
1686 ASSERT(PHYSADDRLO(dma_buf->pa) || PHYSADDRHI(dma_buf->pa)); in dhd_dma_buf_audit()
1724 dma_align, &dma_buf->_alloced, &dma_buf->pa, &dma_buf->dmah); in dhd_dma_buf_alloc()
1787 dma_buf->pa, dma_buf->dmah); in dhd_dma_buf_free()
1798 void *va, uint32 len, dmaaddr_t pa, void *dmah, void *secdma) in dhd_dma_buf_init() argument
1805 dma_buf->pa = pa; in dhd_dma_buf_init()
[all …]
Dlinux_osl.c180 dmaaddr_t pa; /* DMA address (physical) */ member
250 osl_dma_map_logging(osl_t *osh, void *handle, dmaaddr_t pa, uint32 len) in osl_dma_map_logging() argument
262 log->map[idx].pa = pa; in osl_dma_map_logging()
1153 osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa) argument
1164 PHYSADDRTOULONG(pa, paddr);
1167 pci_free_consistent(osh->pdev, size, va, (dma_addr_t)pa);
1223 BCMFASTPATH(osl_dma_unmap)(osl_t *osh, dmaaddr_t pa, uint size, int direction)
1237 osl_dma_map_logging(osh, osh->dhd_unmap_log, pa, size);
1241 PHYSADDRTOULONG(pa, paddr);
1244 pci_unmap_single(osh->pdev, (uint32)pa, size, dir);
[all …]
Ddhd_flowring.h221 #define DHD_PKTTAG_SET_PA(tag, pa) ((tag)->physaddr = (pa)) argument
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/
Dlinux_osl.h185 #define DMA_FREE_CONSISTENT(osh, va, size, pa, dmah) \ argument
186 osl_dma_free_consistent((osh), (void*)(va), (size), (pa))
190 #define DMA_FREE_CONSISTENT_FORCE32(osh, va, size, pa, dmah) \ argument
191 osl_dma_free_consistent((osh), (void*)(va), (size), (pa))
196 extern void osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa);
204 #define DMA_UNMAP(osh, pa, size, direction, p, dmah) \ argument
205 osl_dma_unmap((osh), (pa), (size), (direction))
208 extern void osl_dma_unmap(osl_t *osh, dmaaddr_t pa, uint size, int direction);
407 #define REG_MAP(pa, size) ioremap((unsigned long)(pa), (unsigned long)(size)) argument
409 #define REG_MAP(pa, size) (void *)(0) argument
[all …]
/device/soc/rockchip/rk3588/kernel/include/linux/
Dprotected_memory_allocator.h34 phys_addr_t pa; member
/device/soc/rockchip/rk3588/hardware/rga/include/
Dim2d.hpp44 IM_API rga_buffer_handle_t importbuffer_physicaladdr(uint64_t pa, int size);
62 IM_API rga_buffer_handle_t importbuffer_physicaladdr(uint64_t pa, int width, int height, int format…
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/iommu/
Dsunxi-iommu-debug.c744 phys_addr_t pa, pa2; in __functional_dma_api_basic_test() local
757 pa = iommu_iova_to_phys(domain, iova); in __functional_dma_api_basic_test()
759 if (pa != pa2) { in __functional_dma_api_basic_test()
762 &pa, &pa2); in __functional_dma_api_basic_test()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/ctp/gslx680new/
Dgsl_point_id.c164 #define pa pressure_pointer macro
760 pa[i] = pressure_array[pn]; in PointPointer()
940 pa[0][i] = pa[1][i]; in PointPredict()
1059 pa[0][distance.i] = pressure_now[distance.j]; in PointId()
1090 pa[0][id-1] = pressure_now[j]; in PointNewId()
2094 if (pa[0][i] != 0 && pa[1][i] == 0) { in PointPressure()
2095 pressure_report[i] = pa[0][i] * 5; in PointPressure()
2097 pa[j][i] = pa[0][i]; in PointPressure()
2100 j = (pressure_report[i]+1) / 2 + pa[0][i] + pa[1][i] + in PointPressure()
2101 (pa[2][i]+1) / 2 - pressure_report[i]; in PointPressure()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_rm.h109 void rm_update_cap(u8 *frame_head, _adapter *pa, u32 pktlen, int offset);

123