Home
last modified time | relevance | path

Searched defs:sg (Results 1 – 25 of 44) sorted by relevance

12

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Doal_scatterlist.h35 #define sg_is_chain(sg) ((sg)->page_link & 0x01) argument
36 #define sg_is_last(sg) ((sg)->page_link & 0x02) argument
37 #define sg_chain_ptr(sg) ((struct scatterlist *) ((uintptr_t)((sg)->page_link) & ~0x03)) argument
39 #define for_each_sg(sglist, sg, nr, __i) for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_ne… argument
46 static struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
63 inline void *sg_virt(struct scatterlist *sg) in sg_virt()
68 static void sg_kfree(struct scatterlist *sg, unsigned int nents) in sg_kfree()
147 struct scatterlist *sg = NULL; in __sg_alloc_table() local
Doal_sdio_host.c557 struct scatterlist *sg = HI_NULL; in oal_sdio_transfer_rx_reserved_buff() local
1390 hi_void check_sg_format(struct scatterlist *sg, hi_u32 sg_len) in check_sg_format()
1404 hi_void dump_sg_format(struct scatterlist *sg, hi_u32 sg_len) in dump_sg_format()
1423 hi_s32 oal_sdio_tx_scatt_list_merge(oal_channel_stru *hi_sdio, struct scatterlist *sg, hi_u32 sg_le… in oal_sdio_tx_scatt_list_merge()
1489 hi_s32 incr_addr, struct scatterlist *sg, hi_u32 sg_len, hi_u32 blocks, hi_u32 blksz) in oal_mmc_io_rw_scat_extended()
1599 …hi_s32 _oal_sdio_transfer_scatt(struct BusDev *bus, hi_s32 rw, hi_u32 addr, struct scatterlist *sg, in _oal_sdio_transfer_scatt()
1668 hi_s32 oal_sdio_transfer_scatt(struct BusDev *bus, hi_s32 rw, hi_u32 addr, struct scatterlist *sg, in oal_sdio_transfer_scatt()
1742 struct scatterlist *sg = HI_NULL; in oal_sdio_transfer_netbuf_list() local
/device/soc/rockchip/common/sdk_linux/kernel/sched/
Dtopology.c604 static void free_sched_groups(struct sched_group *sg, int free_sgc) in free_sched_groups()
788 int group_balance_cpu(struct sched_group *sg) in group_balance_cpu()
897 static void build_balance_mask(struct sched_domain *sd, struct sched_group *sg, struct cpumask *mas… in build_balance_mask()
937 struct sched_group *sg; in build_group_from_child_sched_domain() local
956 static void init_overlap_sched_group(struct sched_domain *sd, struct sched_group *sg) in init_overlap_sched_group()
1008 struct sched_group *first = NULL, *last = NULL, *sg; in build_overlap_sched_groups() local
1179 struct sched_group *sg; in get_group() local
1236 struct sched_group *sg; in build_sched_groups() local
1272 struct sched_group *sg = sd->groups; in init_sched_groups_capacity() local
1902 struct sched_group *sg; in __sdt_alloc() local
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
Dcommon.c92 struct sg_table *sg = NULL; in rkcif_alloc_page_dummy_buf() local
133 struct sg_table *sg = buf->mem_priv; in rkcif_free_page_dummy_buf() local
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
Dcommon.c90 struct sg_table *sg = NULL; in rkcif_alloc_page_dummy_buf() local
134 struct sg_table *sg = buf->mem_priv; in rkcif_free_page_dummy_buf() local
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_secure.c65 struct scatterlist *sg; in mali_mem_secure_mali_map() local
111 struct scatterlist *sg; in mali_mem_secure_cpu_map() local
Dmali_memory_dma_buf.c42 struct scatterlist *sg; in mali_dma_buf_map() local
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_secure.c67 struct scatterlist *sg; in mali_mem_secure_mali_map() local
112 struct scatterlist *sg; in mali_mem_secure_cpu_map() local
Dmali_memory_dma_buf.c43 struct scatterlist *sg; in mali_dma_buf_map() local
/device/soc/rockchip/common/vendor/drivers/mmc/host/
Drk_sdmmc_ops.c56 static void rk_emmc_prepare_mrq(struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, u… in rk_emmc_prepare_mrq()
142 struct scatterlist sg; in rk_emmc_transfer() local
/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/
Drk_sdmmc_ops.c58 static void rk_emmc_prepare_mrq(struct mmc_request *mrq, struct scatterlist *sg, in rk_emmc_prepare_mrq()
144 struct scatterlist sg; in rk_emmc_transfer() local
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c656 static void rockchip_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg) in rockchip_gem_destroy()
798 …ip_gem_iommu_map_sg(struct drm_device *drm, struct dma_buf_attachment *attach, struct sg_table *sg, in rockchip_gem_iommu_map_sg()
805 …chip_gem_dma_map_sg(struct drm_device *drm, struct dma_buf_attachment *attach, struct sg_table *sg, in rockchip_gem_dma_map_sg()
825 struct sg_table *sg) in rockchip_gem_prime_import_sg_table()
970 struct scatterlist *sg; in rockchip_gem_prime_sgl_sync_range() local
/device/soc/rockchip/common/sdk_linux/drivers/iommu/
Ddma-iommu.c701 struct scatterlist *sg; in iommu_dma_alloc_remap() local
774 struct scatterlist *sg; in iommu_dma_sync_sg_for_cpu() local
787 struct scatterlist *sg; in iommu_dma_sync_sg_for_device() local
828 static int finalise_sg_ext(struct device *dev, struct scatterlist *sg, int nents, dma_addr_t dma_ad… in finalise_sg_ext()
882 static void invalidate_sg_ext(struct scatterlist *sg, int nents) in invalidate_sg_ext()
907 static int iommu_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_di… in iommu_dma_map_sg()
990 static void iommu_dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data… in iommu_dma_unmap_sg()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_prime.c833 struct sg_table *sg; in drm_prime_pages_to_sg() local
870 struct scatterlist *sg; in drm_prime_get_contiguous_size() local
1058 void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg) in drm_prime_gem_destroy()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
Dsystem_heap.c69 struct scatterlist *sg, *new_sg; in dup_sg_table() local
343 struct scatterlist *sg; in system_heap_buf_free() local
425 struct scatterlist *sg; in system_heap_do_allocate() local
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dcommon.c257 struct sg_table *sg = NULL; in rkisp_alloc_page_dummy_buf() local
302 struct sg_table *sg = dummy_buf->mem_priv; in rkisp_free_page_dummy_buf() local
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dcommon.c255 struct sg_table *sg = NULL; in rkisp_alloc_page_dummy_buf() local
297 struct sg_table *sg = dummy_buf->mem_priv; in rkisp_free_page_dummy_buf() local
/device/soc/rockchip/common/sdk_linux/include/linux/
Ddma-mapping.h160 static inline int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, enum dma_… in dma_map_sg_attrs()
165 static inline void dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, in dma_unmap_sg_attrs()
186 static inline void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu()
190 static inline void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device()
Drockchip-iovmm.h52 static inline dma_addr_t rockchip_iovmm_map(struct device *dev, struct scatterlist *sg, off_t offse… in rockchip_iovmm_map()
/device/soc/hisilicon/common/platform/mmc/himci_v200/
Dhimci.h116 #define HIMCI_SG_DMA_ADDRESS(sg) ((sg)->dma_address) argument
118 #define HIMCI_SG_DMA_LEN(sg) ((sg)->dma_length) argument
120 #define HIMCI_SG_DMA_LEN(sg) ((sg)->length) argument
529 struct scatterlist *sg; member
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Dcommon.c416 struct sg_table *sg = NULL; in rkispp_alloc_page_dummy_buf() local
458 struct sg_table *sg = dummy_buf->mem_priv; in rkispp_free_page_dummy_buf() local
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Dcommon.c427 struct sg_table *sg = NULL; in rkispp_alloc_page_dummy_buf() local
471 struct sg_table *sg = dummy_buf->mem_priv; in rkispp_free_page_dummy_buf() local
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
Drga_dma_buf.c469 struct scatterlist *sg; in rga_iommu_map_virt_addr() local
593 struct scatterlist *sg; in rga_viraddr_get_channel_info() local
Drga2_mmu_info.c356 static int rga2_MapION(struct sg_table *sg, in rga2_MapION()
477 static int rga2_sgt_to_page_table(struct sg_table *sg, in rga2_sgt_to_page_table()
/device/soc/hisilicon/common/platform/mmc/sdhci/
Dsdhci.h200 #define SDHCI_SG_DMA_ADDRESS(sg) ((sg)->dma_address) argument
202 #define SDHCI_SG_DMA_LEN(sg) ((sg)->dma_length) argument
204 #define SDHCI_SG_DMA_LEN(sg) ((sg)->length) argument
684 struct scatterlist *sg; member

12