| /kernel/linux/linux-5.10/drivers/staging/android/ion/ |
| D | Kconfig | 2 menuconfig ION config 3 bool "Ion Memory Manager" 8 Choose this option to enable the ION Memory Manager, 15 bool "Ion system heap" 16 depends on ION 18 Choose this option to enable the Ion system heap. The system heap 22 bool "Ion CMA heap support" 23 depends on ION && DMA_CMA 25 Choose this option to enable CMA heaps with Ion. This heap is backed
|
| D | ion.h | 3 * ION Memory Allocator kernel interface header 22 #include "../uapi/ion.h" 58 * struct ion_device - the metadata of the ion device node 98 * heap flags - flags between the heaps and core ion code 103 * private flags - flags internal to ion 166 * ion_device_add_heap - adds a heap to the ion device
|
| D | ion_cma_heap.c | 3 * ION Memory Allocator CMA heap exporter 17 #include "ion.h" 26 /* ION CMA heap operations functions */
|
| D | ion_page_pool.c | 3 * ION Memory Allocator page pool helpers 13 #include "ion.h"
|
| D | ion.c | 3 * ION Memory Allocator 27 #include "ion.h" 636 idev->dev.name = "ion"; in ion_device_create() 641 pr_err("ion: failed to register misc device.\n"); in ion_device_create() 646 idev->debug_root = debugfs_create_dir("ion", NULL); in ion_device_create()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/android/ion/ |
| D | README | 1 ION BUFFER SHARING UTILITY 3 File: ion_test.sh : Utility to test ION driver buffer sharing mechanism. 8 This is a test utility to verify ION buffer sharing in user space 12 This utility demonstrates how ION buffer sharing can be implemented between 14 The following heap types are supported by ION driver. 25 It is responsible for creating an ION client, allocating the buffer based on 28 This FD is called as buffer FD (which is different than the ION client FD). 38 ION driver and only one time allocation. 42 This utility works only if /dev/ion interface is present. 43 The following configs needs to be enabled in kernel to include ion driver. [all …]
|
| D | ion.h | 3 * ion.h 8 /* This file is copied from drivers/staging/android/uapi/ion.h 12 * ion driver is moved outside the staging tree. 48 * allocation flags - the lower 16 bits are used by core ion, the upper 16 53 * mappings of this buffer should be cached, ion will do cache maintenance 59 * DOC: Ion Userspace API 61 * create a client by opening /dev/ion 129 * available Ion heaps.
|
| D | ionutils.c | 57 fprintf(stderr, "<%s>: Invalid ion info\n", __func__); in ion_export_buffer_fd() 61 /* Create an ION client */ in ion_export_buffer_fd() 64 fprintf(stderr, "<%s>: Failed to open ion client: %s\n", in ion_export_buffer_fd() 72 /* Query ION heap_id_mask from ION heap */ in ion_export_buffer_fd() 98 /* Allocate memory for this ION client as per heap_type */ in ion_export_buffer_fd() 143 /* In case of error: close the ion client fd */ in ion_export_buffer_fd() 157 fprintf(stderr, "<%s>: Invalid ion info\n", __func__); in ion_import_buffer_fd()
|
| D | ionutils.h | 4 #include "ion.h" 7 #define ION_DEVICE "/dev/ion" 35 /* This is used to create an ION buffer FD for the kernel buffer 45 /* This is used to close all references for the ION client */
|
| D | ionmap_test.c | 16 #include "ion.h" 97 printf("ion buffer alloc failed\n"); in main()
|
| D | ionapp_export.c | 6 * ion memory buffer fd to another process using unix domain socket as IPC. 108 /* share ion buf fd with other user process */ in main()
|
| /kernel/linux/common_modules/tzdriver/ion/ |
| D | Kconfig | 2 bool "Dynamic Ion Feature" 6 TEEOS dynamic ion 9 bool "Static Ion Feature" 13 TEEOS static ion
|
| D | dynamic_ion_mem.c | 3 * Description: dynamic Ion memory allocation and free. 35 #include <linux/ion.h> 42 #include <linux/ion/mm_ion.h> 88 tloge("send release ion srv cmd failed\n"); in release_ion_srv() 112 tloge("an error sg when get ion sglist\n"); in get_ion_sglist() 181 tlogd("send loadapp ion failed\n"); in send_dyn_ion_cmd() 217 tloge("ion size is error, size = %x\n", mem_item->size); in proc_alloc_dyn_mem() 225 tloge("failed to get ion page, configid = %d\n", in proc_alloc_dyn_mem() 337 tloge("log import:alloc ion configid=%d\n", in trans_configid2memid() 366 tloge("log import: free ion\n"); in release_configid_mem_locked() [all …]
|
| D | dynamic_ion_mem.h | 3 * Description: dynamic ion memory function declaration. 26 #include <linux/ion/mm_ion.h> 146 tloge("not support ion and related feature!\n"); in alloc_for_ion()
|
| D | static_ion_mem.c | 31 /* send the ion static memory to tee */ 66 tloge("send ion mem info failed\n"); in tc_ns_register_ion_mem()
|
| /kernel/linux/linux-5.10/drivers/staging/android/uapi/ |
| D | ion.h | 3 * drivers/staging/android/uapi/ion.h 41 * allocation flags - the lower 16 bits are used by core ion, the upper 16 46 * mappings of this buffer should be cached, ion will do cache maintenance 52 * DOC: Ion Userspace API 54 * create a client by opening /dev/ion 122 * available Ion heaps.
|
| /kernel/linux/linux-5.10/tools/lib/perf/ |
| D | lib.c | 10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() function 38 return ion(true, fd, buf, n); in readn() 46 /* ion does not modify buf. */ in writen() 47 return ion(false, fd, (void *)buf, n); in writen()
|
| /kernel/linux/linux-6.6/tools/lib/perf/ |
| D | lib.c | 10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() function 38 return ion(true, fd, buf, n); in readn() 66 /* ion does not modify buf. */ in writen() 67 return ion(false, fd, (void *)buf, n); in writen()
|
| /kernel/linux/linux-5.10/drivers/staging/android/ |
| D | TODO | 8 ion/ 9 - Split /dev/ion up into multiple nodes (e.g. /dev/ion/heap0)
|
| D | Makefile | 4 obj-y += ion/
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | battery.yaml | 39 - const: lithium-ion 40 description: This is a blanket type for all lithium-ion batteries, 43 lithium ion battery is employed and this wide compatible can be used. 44 - const: lithium-ion-polymer 45 - const: lithium-ion-iron-phosphate 46 - const: lithium-ion-manganese-oxide
|
| /kernel/linux/linux-5.10/drivers/staging/iio/adc/ |
| D | Kconfig | 19 tristate "Analog Devices AD7280A Lithium Ion Battery Monitoring System" 24 Lithium Ion Battery Monitoring System.
|
| /kernel/linux/common_modules/tzdriver/ |
| D | dynamic_mem.h | 3 * Description: dynamic ion memory function declaration. 26 #include <linux/ion/mm_ion.h> 146 tloge("not support ion and related feature!\n"); in alloc_for_ion()
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | Kconfig | 380 Driver supports Maxim fuel-gauge systems for lithium-ion (Li+) 395 MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries 410 MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries 627 is an integrated, single-cell lithium-ion battery charger. DT 705 cell Li-ion and Li-polymer batteries. 794 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger 814 patch manageable device for single cell Li-Ion and Li-polymer battery.
|
| /kernel/linux/linux-5.10/tools/testing/selftests/android/ |
| D | run.sh | 3 (cd ion; ./ion_test.sh)
|