Searched refs:ion_dev_fd_ (Results 1 – 10 of 10) sorted by relevance
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_ion_alloc.cpp | 48 if (ion_dev_fd_ == FD_INIT) { in Init() 49 ion_dev_fd_ = open(kIonDevice, O_RDONLY); in Init() 52 if (ion_dev_fd_ < 0) { in Init() 54 ion_dev_fd_ = FD_INIT; in Init() 62 if (ion_dev_fd_ > FD_INIT) { in CloseIonDevice() 63 close(ion_dev_fd_); in CloseIonDevice() 66 ion_dev_fd_ = FD_INIT; in CloseIonDevice() 82 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer() 90 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer() 93 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer() [all …]
|
D | gr_ion_alloc.h | 61 IonAlloc() { ion_dev_fd_ = FD_INIT; } in IonAlloc() 79 int ion_dev_fd_; variable
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_ion_alloc.cpp | 48 if (ion_dev_fd_ == FD_INIT) { in Init() 49 ion_dev_fd_ = open(kIonDevice, O_RDONLY); in Init() 52 if (ion_dev_fd_ < 0) { in Init() 54 ion_dev_fd_ = FD_INIT; in Init() 62 if (ion_dev_fd_ > FD_INIT) { in CloseIonDevice() 63 close(ion_dev_fd_); in CloseIonDevice() 66 ion_dev_fd_ = FD_INIT; in CloseIonDevice() 82 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer() 90 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer() 93 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer() [all …]
|
D | gr_ion_alloc.h | 61 IonAlloc() { ion_dev_fd_ = FD_INIT; } in IonAlloc() 79 int ion_dev_fd_; variable
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_ion_alloc.cpp | 48 if (ion_dev_fd_ == FD_INIT) { in Init() 49 ion_dev_fd_ = open(kIonDevice, O_RDONLY); in Init() 52 if (ion_dev_fd_ < 0) { in Init() 54 ion_dev_fd_ = FD_INIT; in Init() 62 if (ion_dev_fd_ > FD_INIT) { in CloseIonDevice() 63 close(ion_dev_fd_); in CloseIonDevice() 66 ion_dev_fd_ = FD_INIT; in CloseIonDevice() 82 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer() 90 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer() 93 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer() [all …]
|
D | gr_ion_alloc.h | 61 IonAlloc() { ion_dev_fd_ = FD_INIT; } in IonAlloc() 79 int ion_dev_fd_; variable
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_ion_alloc.cpp | 49 if (ion_dev_fd_ == FD_INIT) { in Init() 50 ion_dev_fd_ = open(kIonDevice, O_RDONLY); in Init() 53 if (ion_dev_fd_ < 0) { in Init() 55 ion_dev_fd_ = FD_INIT; in Init() 63 if (ion_dev_fd_ > FD_INIT) { in CloseIonDevice() 64 close(ion_dev_fd_); in CloseIonDevice() 67 ion_dev_fd_ = FD_INIT; in CloseIonDevice() 88 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer() 98 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer() 101 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer() [all …]
|
D | gr_ion_alloc.h | 61 IonAlloc() { ion_dev_fd_ = FD_INIT; } in IonAlloc() 79 int ion_dev_fd_; variable
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_ion_alloc.cpp | 54 if (ion_dev_fd_ == FD_INIT) { in Init() 55 ion_dev_fd_ = open(kIonDevice, O_RDONLY); in Init() 58 if (ion_dev_fd_ < 0) { in Init() 60 ion_dev_fd_ = FD_INIT; in Init() 68 if (ion_dev_fd_ > FD_INIT) { in CloseIonDevice() 69 close(ion_dev_fd_); in CloseIonDevice() 72 ion_dev_fd_ = FD_INIT; in CloseIonDevice() 93 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer() 103 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer() 106 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer() [all …]
|
D | gr_ion_alloc.h | 61 IonAlloc() { ion_dev_fd_ = FD_INIT; } in IonAlloc() 79 int ion_dev_fd_; variable
|