/hardware/intel/common/wrs_omxil_core/utils/inc/ |
H A D | list.h | 2 * list.h, list 26 struct list { struct 27 struct list *next; 28 struct list *prev; 33 void __list_init(struct list *); 35 struct list *__list_alloc(void); 36 struct list *list_alloc(void *); 38 void __list_free(struct list *); 39 void list_free_all(struct list *); [all...] |
H A D | queue.h | 22 #include "list.h" 29 struct list *head; 30 struct list *tail; 41 void __queue_push_head(struct queue *queue, struct list *entry); 43 void __queue_push_tail(struct queue *queue, struct list *entry); 46 struct list *__queue_pop_head(struct queue *queue); 48 struct list *__queue_pop_tail(struct queue *queue); 51 inline struct list *__queue_peek_head(struct queue *queue); 52 inline struct list *__queue_peek_tail(struct queue *queue);
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
H A D | list.c | 2 * list.c, list 21 #include <list.h> 23 void __list_init(struct list *entry) 32 struct list *__list_alloc(void) 34 struct list *new; 36 new = malloc(sizeof(struct list)); 42 struct list *list_alloc(void *data) 44 struct list *new; 53 void __list_free(struct list *entr 58 list_free_all(struct list *list) argument 67 __list_last(struct list *list) argument 76 __list_first(struct list *list) argument 85 __list_entry(struct list *list, int index) argument 99 list_length(struct list *list) argument 145 __list_add_head(struct list *list, struct list *new) argument 157 __list_add_tail(struct list *list, struct list *new) argument 171 list_add_head(struct list *list, void *data) argument 182 list_add_tail(struct list *list, void *data) argument 193 __list_remove(struct list *list, struct list *entry) argument 215 __list_delete(struct list *list, struct list *entry) argument 224 list_delete(struct list *list, void *data) argument 238 list_delete_all(struct list *list, void *data) argument 250 list_find(struct list *list, void *data) argument 262 list_find_reverse(struct list *list, void *data) argument [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
H A D | viddec_pm_utils_list.c | 5 Initialize list. 17 Add a new ES buffer to list. If not succesful returns 0. 19 uint32_t viddec_pm_utils_list_addbuf(viddec_pm_utils_list_t *list, viddec_input_buffer_t *es_buf) argument 22 if((list->num_items + 1) <= MAX_IBUFS_PER_SC) 24 list->num_items +=1; 25 list->sc_ibuf[list->num_items - 1] = *es_buf; 33 EX: if byte=4, and the first es buffer in list is of length 100, we return lis_index=0, offset=3. 36 uint32_t viddec_pm_utils_list_getbyte_position(viddec_pm_utils_list_t *list, uint32_t byte, uint32_t *list_index, uint32_t *offset) argument 40 /* First buffer in list i 71 viddec_pm_utils_list_updatebytepos(viddec_pm_utils_list_t *list, uint8_t sc_prefix_length) argument 128 viddec_pm_utils_list_emit_slice_tags(viddec_pm_utils_list_t *list, uint32_t start, uint32_t end, viddec_emitter *emitter, uint32_t is_cur_wkld, viddec_workload_item_t *wi) argument 181 viddec_pm_utils_list_remove_used_entries(viddec_pm_utils_list_t *list, uint32_t length) argument [all...] |
H A D | viddec_pm_tags.c | 9 The current list has all the buffers which contribute to this particular workload. So we walkthrough the 10 list and throw buf done for all the buffers which were consumed. This can be deduced from total bytes we 11 in list which represents the bytes that were used for this acces unit. 21 frame_start_found: Indicates we saw the beggining of frame in current list of ES buffers(which represent current acces unit). 37 This function generates contribution tags current workload by walking through list of consumed buffers. 38 If frame is done(ignore_partial is false) we generate continue tags for the last item in list(if its not completely consumed). 45 viddec_pm_utils_list_t *list = &(cxt->list); local 47 if(list->num_items != 0) 52 while((num_items < list 88 viddec_pm_utils_list_t *list = &(cxt->list); local 129 viddec_pm_utils_list_t *list = &(cxt->list); local 214 viddec_pm_utils_list_t *list = &(cxt->list); local 250 viddec_pm_utils_list_t *list = &(cxt->list); local 280 viddec_pm_utils_list_t *list; local [all...] |
/hardware/qcom/gps/msm8909w_3100/core/data-items/common/ |
H A D | IDataItemIndex.h | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 33 #include <list> 44 // gets std :: list of subscribed clients 48 std :: list <CT> & out 54 // removes list of clients and returns a list of data items 58 const std :: list <CT> & r, 59 std :: list <DIT> & out 62 // removes list o [all...] |
H A D | ClientIndex.h | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 32 #include <list> 53 void getSubscribedList (CT client, std :: list <DIT> & out); 57 void remove (const std :: list <DIT> & r, std :: list <CT> & out); 59 void remove (CT client, const std :: list <DIT> & r, std :: list <DIT> & out); 61 void add (CT client, const std :: list <DIT> & l, std :: list <DI [all...] |
H A D | IClientIndex.h | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 33 #include <list> 46 // gets subscription list 47 virtual void getSubscribedList (CT client, std :: list <DIT> & out) = 0; 52 // removes std :: list of data items and returns a list of clients 56 const std :: list <DIT> & r, 57 std :: list <CT> & out 60 // removes list o [all...] |
H A D | DataItemIndex.h | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 33 #include <list> 52 void getListOfSubscribedClients (DIT id, std :: list <CT> & out); 56 void remove (const std :: list <CT> & r, std :: list <DIT> & out); 58 void remove (DIT id, const std :: list <CT> & r, std :: list <CT> & out); 60 void add (DIT id, const std :: list <CT> & l, std :: list <C [all...] |
/hardware/qcom/gps/msm8909w_3100/core/observer/ |
H A D | IDataItemSubscription.h | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 33 #include <list> 54 * for a list of DataItems by passing in their Ids. 57 * where the numbers enclosed in braces indicate a list of data item Ids 58 * will cause this class implementer to update its subscription list for 64 virtual void subscribe (const std :: list <DataItemId> & l, IDataItemObserver * o = NULL) = 0; 70 * subscription for a list of DataItems by passing in their Ids 73 * where the numbers enclosed in braces indicate a list of data item Ids 74 * will cause this class implementer to update its subscription list fo [all...] |
H A D | IOsObserver.h | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 33 #include <list> 65 inline virtual void notify (const std::list <IDataItemCore *> & /*dlist*/) {} 70 const std :: list <DataItemId> & /*l*/, 75 const std :: list <DataItemId> & /*l*/, 80 const std :: list <DataItemId> & /*l*/, 85 const std :: list <DataItemId> & /*l*/,
|
H A D | IDataItemObserver.h | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 33 #include <list> 65 virtual void notify (const std :: list <IDataItemCore *> & dlist) = 0;
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_mdpcomp.h | 40 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list); 42 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0; 48 int drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t* list); 61 void setDynRefreshRate(hwc_context_t *ctx, hwc_display_contents_1_t* list); 102 /* maps layer list to mdp list */ 106 /* maps mdp list to layer list */ 140 hwc_display_contents_1_t* list); 145 hwc_display_contents_1_t* list) [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/ |
H A D | viddec_pm_utils_list.h | 23 /* this structure is for storing all necessary information for list handling */ 27 uint16_t first_scprfx_length; /* Length of first sc prefix in this list */ 35 /* This function initialises the list to default values */ 38 /* This function adds a new entry to list and will emit tags if needed */ 39 uint32_t viddec_pm_utils_list_addbuf(viddec_pm_utils_list_t *list, viddec_input_buffer_t *es_buf); 41 /* This function updates au byte position of the current list. This should be called after sc codes are detected and before 43 void viddec_pm_utils_list_updatebytepos(viddec_pm_utils_list_t *list, uint8_t sc_prefix_length); 45 /* This function walks through the list and removes consumed buffers based on total bytes. It then moves 46 unused entires to the top of list. */ 47 void viddec_pm_utils_list_remove_used_entries(viddec_pm_utils_list_t *list, uint32_ [all...] |
/hardware/interfaces/thermal/1.0/default/ |
H A D | Thermal.cpp | 61 std::vector<temperature_t> list; local 62 list.resize(size); 63 size = mModule->getTemperatures(mModule, list.data(), list.size()); 65 temperatures.resize(list.size()); 66 for (size_t i = 0; i < list.size(); ++i) { 67 switch (list[i].type) { 84 ALOGE("Unknown temperature %s type", list[i].name); 87 temperatures[i].name = list[i].name; 88 temperatures[i].currentValue = finalizeTemperature(list[ 117 std::vector<cpu_usage_t> list; local 155 std::vector<cooling_device_t> list; local [all...] |
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
H A D | ThermalSensorAttrib.java | 48 public void setWeights(ArrayList<Integer> list) { argument 49 if (list != null) { 50 mWeights = new Integer[list.size()]; 52 mWeights = list.toArray(mWeights); 61 public void setOrder(ArrayList<Integer> list) { argument 62 if (list != null) { 63 mOrder = new Integer[list.size()]; 65 mOrder = list.toArray(mOrder);
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_copybit.h | 35 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list, 38 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list, 55 hwc_display_contents_1_t *list, int dpy); 57 const hwc_display_contents_1_t *list); 64 (const hwc_display_contents_1_t *list);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
H A D | cam_queue.h | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 37 struct cam_list list; member in struct:__anon2022 50 cam_list_init(&queue->head.list); 67 cam_list_add_tail_node(&node->list, &queue->head.list); 82 head = &queue->head.list; 85 node = member_of(pos, cam_node_t, list); 86 cam_list_del_node(&node->list); 106 head = &queue->head.list; [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_mdpcomp.h | 43 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list); 45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0; 51 int drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t* list); 100 /* maps layer list to mdp list */ 104 /* maps mdp list to layer list */ 137 void cacheAll(hwc_display_contents_1_t* list); 140 hwc_display_contents_1_t* list); 145 hwc_display_contents_1_t* list) [all...] |
H A D | hwc_virtual.cpp | 103 hwc_display_contents_1_t *list) { 109 if (list && list->outbuf && list->numHwLayers > 0) { 110 reset_layer_prop(ctx, dpy, (int)list->numHwLayers - 1); 111 uint32_t last = (uint32_t)list->numHwLayers - 1; 112 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; 133 private_handle_t *ohnd = (private_handle_t *)list->outbuf; 136 setListStats(ctx, list, dpy); 138 if(ctx->mMDPComp[dpy]->prepare(ctx, list) < 102 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 161 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument 290 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 326 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument [all...] |
/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_manager.c | 64 struct _WsbmListHead list; member in struct:_ValidateList 147 validateListAddNode(struct _ValidateList *list, void *item, argument 154 l = list->free.next; 155 if (l == &list->free) { 160 list->numCurrent++; 168 node->listItem = list->numOnList; 169 WSBMLISTADDTAIL(&node->head, &list->list); 170 list->numOnList++; 171 hashHead = list 196 validateFreeList(struct _ValidateList *list) argument 226 validateListAdjustNodes(struct _ValidateList *list) argument 268 validateCreateList(int numTarget, struct _ValidateList *list, int driverData) argument 298 validateResetList(struct _ValidateList *list) argument 1011 struct _WsbmBufferList *list = calloc(sizeof(*list), 1); local 1036 wsbmBOResetList(struct _WsbmBufferList *list) argument 1050 wsbmBOFreeList(struct _WsbmBufferList *list) argument 1059 wsbmAddValidateItem(struct _ValidateList *list, void *buf, uint64_t flags, uint64_t mask, int *itemLoc, struct _ValidateNode **pnode, int *newItem) argument 1122 wsbmBOAddListItem(struct _WsbmBufferList *list, struct _WsbmBufferObject *buf, uint64_t flags, uint64_t mask, int *itemLoc, struct _ValidateNode **node) argument 1178 wsbmBOUnrefUserList(struct _WsbmBufferList *list) argument 1197 wsbmBOFenceUserList(struct _WsbmBufferList *list, struct _WsbmFenceObject *fence) argument 1222 wsbmBOValidateUserList(struct _WsbmBufferList *list) argument 1250 wsbmBOUnvalidateUserList(struct _WsbmBufferList *list) argument 1296 wsbmGetKernelValidateList(struct _WsbmBufferList *list) argument 1302 wsbmGetUserValidateList(struct _WsbmBufferList *list) argument 1316 validateListIterator(struct _ValidateList *list) argument 1326 validateListNext(struct _ValidateList *list, void *iterator) argument [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_virtual.cpp | 92 hwc_display_contents_1_t *list) { 98 if (list && list->outbuf && list->numHwLayers > 0) { 99 reset_layer_prop(ctx, dpy, (int)list->numHwLayers - 1); 100 uint32_t last = (uint32_t)list->numHwLayers - 1; 101 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; 122 private_handle_t *ohnd = (private_handle_t *)list->outbuf; 125 setListStats(ctx, list, dpy); 127 if(ctx->mMDPComp[dpy]->prepare(ctx, list) < 91 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 149 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument 250 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 287 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument [all...] |
/hardware/invensense/6515/libsensors_iio/ |
H A D | CompassSensor.AKM.cpp | 150 void CompassSensor::fillList(struct sensor_t *list) argument 158 list->maxRange = COMPASS_AKM8963_RANGE; 159 list->resolution = COMPASS_AKM8963_RESOLUTION; 160 list->power = COMPASS_AKM8963_POWER; 161 list->minDelay = COMPASS_AKM8963_MINDELAY; 165 list->maxRange = COMPASS_AKM8975_RANGE; 166 list->resolution = COMPASS_AKM8975_RESOLUTION; 167 list->power = COMPASS_AKM8975_POWER; 168 list->minDelay = COMPASS_AKM8975_MINDELAY; 175 list [all...] |
H A D | CompassSensor.IIO.9150.cpp | 290 void CompassSensor::fillList(struct sensor_t *list) argument 298 list->maxRange = COMPASS_MPU9150_RANGE; 299 list->resolution = COMPASS_MPU9150_RESOLUTION; 300 list->power = COMPASS_MPU9150_POWER; 301 list->minDelay = COMPASS_MPU9150_MINDELAY; 308 list->maxRange = COMPASS_AKM8975_RANGE; 309 list->resolution = COMPASS_AKM8975_RESOLUTION; 310 list->power = COMPASS_AKM8975_POWER; 311 list->minDelay = COMPASS_AKM8975_MINDELAY; 318 list [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
H A D | CompassSensor.AKM.cpp | 150 void CompassSensor::fillList(struct sensor_t *list) argument 158 list->maxRange = COMPASS_AKM8963_RANGE; 159 list->resolution = COMPASS_AKM8963_RESOLUTION; 160 list->power = COMPASS_AKM8963_POWER; 161 list->minDelay = COMPASS_AKM8963_MINDELAY; 165 list->maxRange = COMPASS_AKM8975_RANGE; 166 list->resolution = COMPASS_AKM8975_RESOLUTION; 167 list->power = COMPASS_AKM8975_POWER; 168 list->minDelay = COMPASS_AKM8975_MINDELAY; 175 list [all...] |