Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 46) sorted by relevance

12

/hardware/nxp/secure_element/libese-spi/p73/utils/
Dringbuffer.cpp25 size_t total; member
39 p->total = p->available = size; in ringbuffer_init()
56 return rb->total - rb->available; in ringbuffer_size()
67 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base; in ringbuffer_insert()
80 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_delete()
93 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; in ringbuffer_peek()
100 if (b >= (rb->base + rb->total)) b = rb->base; in ringbuffer_peek()
112 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_pop()
/hardware/libhardware/modules/thermal/
Dthermal.c89 uint64_t user, nice, system, idle, active, total; in get_cpu_usages() local
124 total = active + idle; in get_cpu_usages()
149 .total = total, in get_cpu_usages()
/hardware/qcom/sdm845/thermal/
Dthermal.c83 uint64_t user, nice, system, idle, active, total; in get_cpu_usages() local
132 total = active + idle; in get_cpu_usages()
155 .total = total, in get_cpu_usages()
/hardware/qcom/sm8150/thermal/
Dthermal.c83 uint64_t user, nice, system, idle, active, total; in get_cpu_usages() local
132 total = active + idle; in get_cpu_usages()
155 .total = total, in get_cpu_usages()
/hardware/interfaces/health/2.0/
Dtypes.hal91 * total wait time for read requests.
107 * total wait time for write requests.
115 * total time this block device has been active.
119 * total wait time for all requests.
/hardware/libhardware/include/hardware/
Dthermal.h126 uint64_t total; member
Dhdmi_cec.h386 struct hdmi_port_info* list[], int* total);
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Ddhdioctl.h96 uint total; /* Total packets (or bursts) */ member
/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp148 (cpuUsage.active >= 0 && cpuUsage.total >= 0 && in checkCpuUsage()
149 cpuUsage.total >= cpuUsage.active)); in checkCpuUsage()
/hardware/interfaces/thermal/1.0/default/
DThermal.cpp126 cpuUsages[i].total = list[i].total; in getCpuUsages()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c124 uint total; in pkttotlen() local
127 total = 0; in pkttotlen()
130 total += len; in pkttotlen()
133 return (total); in pkttotlen()
192 uint total = pkttotlen(osh, p); in pktdataoffset() local
196 if (offset > total) in pktdataoffset()
214 uint total = pkttotlen(osh, p); in pktoffset() local
217 if (offset > total) in pktoffset()
/hardware/interfaces/audio/2.0/
Dtypes.hal82 int32_t bufferSizeFrames; // total buffer size in frames
/hardware/interfaces/gnss/1.0/
DIGnssNavigationMessageCallback.hal133 * 4-byte word (skip B31 and B32), with MSB first, for a total of 40
149 * a total of 2x114 = 228 bits, (sync & tail excluded) that must fit
/hardware/interfaces/thermal/1.0/
Dtypes.hal108 uint64_t total;
DIThermal.hal42 * Retrieves CPU usage information of each core: active and total times
/hardware/qcom/sm8150/display/hdmi_cec/
Dqhdmi_cec.cpp344 struct hdmi_port_info* list[], int* total) in cec_get_port_info() argument
348 *total = NUM_HDMI_PORTS; in cec_get_port_info()
/hardware/qcom/display/msm8998/hdmi_cec/
Dqhdmi_cec.cpp348 struct hdmi_port_info* list[], int* total) in cec_get_port_info() argument
352 *total = NUM_HDMI_PORTS; in cec_get_port_info()
/hardware/qcom/display/msm8996/hdmi_cec/
Dqhdmi_cec.cpp342 struct hdmi_port_info* list[], int* total) in cec_get_port_info() argument
346 *total = NUM_HDMI_PORTS; in cec_get_port_info()
/hardware/qcom/sdm845/display/hdmi_cec/
Dqhdmi_cec.cpp344 struct hdmi_port_info* list[], int* total) in cec_get_port_info() argument
348 *total = NUM_HDMI_PORTS; in cec_get_port_info()
/hardware/interfaces/camera/common/1.0/
Dtypes.hal269 * The total resource "cost" of using this camera, represented as an integer
270 * value in the range [0, 100] where 100 represents total usage of the
286 * of camera devices with a total resource cost > 100. This may succeed or
289 * must fail during the configure calls. If the total resource cost is <=
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp1604 OMX_U32 total = 0; in Init_Decoder() local
1627 OMX_GetComponentsOfRole(role, &total, 0); in Init_Decoder()
1628 DEBUG_PRINT("\nTotal components of role=%s :%d", role, total); in Init_Decoder()
1630 if(total) in Init_Decoder()
1633 OMX_U8** vidCompNames = (OMX_U8**)malloc((sizeof(OMX_U8*))*total); in Init_Decoder()
1639 for (i = 0; i < total; ++i) { in Init_Decoder()
1646 OMX_GetComponentsOfRole(role, &total, vidCompNames); in Init_Decoder()
1648 for (i = 0; i < total; ++i) { in Init_Decoder()
3910 ALOGE("Available free space %lx largest chunk %lx\n", fs.total, fs.largest); in getFreePmem()
/hardware/interfaces/thermal/2.0/default/
DThermal.cpp80 .total = 0,
/hardware/qcom/display/msm8909w_3100/hdmi_cec/
Dqhdmi_cec.cpp355 struct hdmi_port_info* list[], int* total) in cec_get_port_info() argument
359 *total = NUM_HDMI_PORTS; in cec_get_port_info()
/hardware/qcom/display/msm8909/hdmi_cec/
Dqhdmi_cec.cpp355 struct hdmi_port_info* list[], int* total) in cec_get_port_info() argument
359 *total = NUM_HDMI_PORTS; in cec_get_port_info()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp1812 OMX_U32 total = 0; in Init_Decoder() local
1835 OMX_GetComponentsOfRole(role, &total, 0); in Init_Decoder()
1836 DEBUG_PRINT("\nTotal components of role=%s :%d", role, total); in Init_Decoder()
1838 if (total) { in Init_Decoder()
1840 OMX_U8** vidCompNames = (OMX_U8**)malloc((sizeof(OMX_U8*))*total); in Init_Decoder()
1846 for (i = 0; i < total; ++i) { in Init_Decoder()
1853 OMX_GetComponentsOfRole(role, &total, vidCompNames); in Init_Decoder()
1855 for (i = 0; i < total; ++i) { in Init_Decoder()
4364 ALOGE("Available free space %lx largest chunk %lx\n", fs.total, fs.largest); in getFreePmem()

12