/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-msg.h | 112 static inline int xf_msg_enqueue(xf_msg_queue_t *queue, xf_message_t *m) in xf_msg_enqueue() argument 117 m->next = NULL; in xf_msg_enqueue() 120 queue->head = m; in xf_msg_enqueue() 122 queue->tail->next = m; in xf_msg_enqueue() 125 queue->tail = m; in xf_msg_enqueue() 131 #define xf_msg_enqueue(queue, m) \ argument 133 BUG((m)->next != NULL, _x("message is active: %p"), (m)); \ 134 (xf_msg_enqueue)((queue), (m)); \ 140 xf_message_t *m = queue->head; in xf_msg_dequeue() local 143 if (m != NULL) in xf_msg_dequeue() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-shmem.c | 72 static inline void xf_msg_proxy_put(xf_message_t *m) in xf_msg_proxy_put() argument 74 u32 dst = XF_MSG_DST_CORE(m->id); in xf_msg_proxy_put() 75 u32 src = XF_MSG_SRC_CORE(m->id); in xf_msg_proxy_put() 89 first = xf_msg_enqueue(&rw->remote, m); in xf_msg_proxy_put() 92 XF_PROXY_FLUSH(rw, sizeof(*rw)), XF_PROXY_FLUSH(m, sizeof(*m)); in xf_msg_proxy_put() 97 first = xf_msg_enqueue(&rw->remote, m); in xf_msg_proxy_put() 114 xf_message_t *m; in xf_msg_proxy_get() local 126 m = xf_msg_dequeue(&rw->remote); in xf_msg_proxy_get() 132 (m ? XF_PROXY_INVALIDATE(m, sizeof(*m)) : 0); in xf_msg_proxy_get() 137 m = xf_msg_dequeue(&rw->remote); in xf_msg_proxy_get() [all …]
|
D | xf-core.c | 94 static int xf_proxy_register(u32 core, xf_message_t *m) in xf_proxy_register() argument 97 u32 src = XF_MSG_SRC(m->id); in xf_proxy_register() 105 if ((component = xf_component_factory(core, m->buffer, m->length)) == NULL) in xf_proxy_register() 123 m->id = __XF_MSG_ID(src, component->id); in xf_proxy_register() 126 xf_ipc_component_addref(m->id); in xf_proxy_register() 128 TRACE(REG, _b("registered client: %u:%u (%s)"), core, client, (xf_id_t)m->buffer); in xf_proxy_register() 131 xf_response_ok(m); in xf_proxy_register() 137 static int xf_proxy_alloc(u32 core, xf_message_t *m) in xf_proxy_alloc() argument 143 xf_shmem_alloc(core, m); in xf_proxy_alloc() 146 xf_response(m); in xf_proxy_alloc() [all …]
|
D | xf-io.c | 84 int xf_input_port_put(xf_input_port_t *port, xf_message_t *m) in xf_input_port_put() argument 93 xf_response_ok(m); in xf_input_port_put() 98 else if (m->length == 0) in xf_input_port_put() 111 TRACE(INPUT, _b("input-port[%p]: buffer received - %u bytes"), port, m->length); in xf_input_port_put() 115 if (xf_msg_enqueue(&port->queue, m)) in xf_input_port_put() 118 port->access = m->buffer, port->remaining = m->length; in xf_input_port_put() 137 xf_message_t *m = xf_msg_dequeue(&port->queue); in xf_input_port_complete() local 140 BUG(m == NULL, _x("invalid port state")); in xf_input_port_complete() 143 xf_response(m); in xf_input_port_complete() 146 if ((m = xf_msg_queue_head(&port->queue)) != NULL) in xf_input_port_complete() [all …]
|
D | xf-isr.c | 43 void xf_msg_schedule_isr(xf_message_t *m) in xf_msg_schedule_isr() argument 45 u32 core = XF_MSG_DST_CORE(m->id); in xf_msg_schedule_isr() 49 if (xf_msg_enqueue(&cd->queue, m)) in xf_msg_schedule_isr() 57 void xf_msg_complete_isr(xf_message_t *m) in xf_msg_complete_isr() argument 59 u32 core = XF_MSG_DST_CORE(m->id); in xf_msg_complete_isr() 63 if (xf_msg_enqueue(&cd->response, m)) in xf_msg_complete_isr()
|
/device/linaro/hikey/gralloc960/ |
D | framebuffer_device.cpp | 68 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_set_swap_interval() local 69 m->swapInterval = interval; in fb_set_swap_interval() 91 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_post() local 93 if (m->currentBuffer) in fb_post() 95 mali_gralloc_unlock(m, m->currentBuffer); in fb_post() 96 m->currentBuffer = 0; in fb_post() 101 mali_gralloc_lock(m, buffer, private_module_t::PRIV_USAGE_LOCKED_FOR_POST, -1, -1, -1, -1, NULL); in fb_post() 104 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 105 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post() 109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post() [all …]
|
D | mali_gralloc_module.cpp | 80 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_register_buffer() local 82 return mali_gralloc_reference_retain(m, handle); in gralloc_register_buffer() 87 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_unregister_buffer() local 89 return mali_gralloc_reference_release(m, handle, false); in gralloc_unregister_buffer() 95 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_lock() local 97 return mali_gralloc_lock(m, handle, usage, l, t, w, h, vaddr); in gralloc_lock() 103 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_lock_ycbcr() local 105 return mali_gralloc_lock_ycbcr(m, handle, usage, l, t, w, h, ycbcr); in gralloc_lock_ycbcr() 110 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_unlock() local 112 return mali_gralloc_unlock(m, handle); in gralloc_unlock() [all …]
|
D | mali_gralloc_bufferaccess.h | 25 int mali_gralloc_lock(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, int l, … 27 int mali_gralloc_lock_ycbcr(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… 29 int mali_gralloc_unlock(const mali_gralloc_module *m, buffer_handle_t buffer); 31 int mali_gralloc_get_num_flex_planes(const mali_gralloc_module *m, buffer_handle_t buffer, uint32_t… 32 int mali_gralloc_lock_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… 34 int mali_gralloc_lock_ycbcr_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t us… 36 int mali_gralloc_lock_flex_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usa… 38 int mali_gralloc_unlock_async(const mali_gralloc_module *m, buffer_handle_t buffer, int32_t *fence_…
|
D | gralloc_vsync_s3cfb.cpp | 30 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_vsync_enable() local 33 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_enable() 43 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_vsync_disable() local 46 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_disable() 56 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_wait_for_vsync() local 58 if (m->swapInterval) in gralloc_wait_for_vsync() 63 if (ioctl(m->framebuffer->fd, FBIO_WAITFORVSYNC, &crtc) < 0) in gralloc_wait_for_vsync()
|
D | mali_gralloc_public_interface.cpp | 167 mali_gralloc_module *m; in mali_gralloc_allocate() local 168 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_allocate() 196 …if (fb_alloc_framebuffer(m, bufDescriptor->consumer_usage, bufDescriptor->producer_usage, outBuffe… in mali_gralloc_allocate() 226 …if (mali_gralloc_buffer_allocate(m, (gralloc_buffer_descriptor_t *)descriptors, numDescriptors, ou… in mali_gralloc_allocate() 244 mali_gralloc_module *m; in mali_gralloc_retain() local 245 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_retain() 252 if (mali_gralloc_reference_retain(m, buffer) < 0) in mali_gralloc_retain() 262 mali_gralloc_module *m; in mali_gralloc_release() local 263 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_release() 265 if (mali_gralloc_reference_release(m, buffer, true) < 0) in mali_gralloc_release() [all …]
|
/device/amlogic/yukawa/hal/gralloc/ |
D | framebuffer_device.cpp | 68 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_set_swap_interval() local 69 m->swapInterval = interval; in fb_set_swap_interval() 91 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_post() local 93 if (m->currentBuffer) in fb_post() 95 mali_gralloc_unlock(m, m->currentBuffer); in fb_post() 96 m->currentBuffer = 0; in fb_post() 101 mali_gralloc_lock(m, buffer, private_module_t::PRIV_USAGE_LOCKED_FOR_POST, -1, -1, -1, -1, NULL); in fb_post() 104 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 105 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post() 109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post() [all …]
|
D | mali_gralloc_module.cpp | 80 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_register_buffer() local 82 return mali_gralloc_reference_retain(m, handle); in gralloc_register_buffer() 87 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_unregister_buffer() local 89 return mali_gralloc_reference_release(m, handle, false); in gralloc_unregister_buffer() 95 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_lock() local 97 return mali_gralloc_lock(m, handle, usage, l, t, w, h, vaddr); in gralloc_lock() 103 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_lock_ycbcr() local 105 return mali_gralloc_lock_ycbcr(m, handle, usage, l, t, w, h, ycbcr); in gralloc_lock_ycbcr() 110 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_unlock() local 112 return mali_gralloc_unlock(m, handle); in gralloc_unlock() [all …]
|
D | mali_gralloc_bufferaccess.h | 25 int mali_gralloc_lock(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, int l, … 27 int mali_gralloc_lock_ycbcr(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… 29 int mali_gralloc_unlock(const mali_gralloc_module *m, buffer_handle_t buffer); 31 int mali_gralloc_get_num_flex_planes(const mali_gralloc_module *m, buffer_handle_t buffer, uint32_t… 32 int mali_gralloc_lock_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… 34 int mali_gralloc_lock_ycbcr_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t us… 36 int mali_gralloc_lock_flex_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usa… 38 int mali_gralloc_unlock_async(const mali_gralloc_module *m, buffer_handle_t buffer, int32_t *fence_…
|
D | mali_gralloc_ion.cpp | 393 int mali_gralloc_ion_allocate(mali_gralloc_module *m, const gralloc_buffer_descriptor_t *descriptor… in mali_gralloc_ion_allocate() argument 404 if (m->ion_client < 0) in mali_gralloc_ion_allocate() 406 m->ion_client = ion_open(); in mali_gralloc_ion_allocate() 408 if (m->ion_client < 0) in mali_gralloc_ion_allocate() 414 gralloc_legacy_ion = ion_is_legacy(m->ion_client); in mali_gralloc_ion_allocate() 417 system_heap_id = find_heap_id(m->ion_client, ION_SYSTEM); in mali_gralloc_ion_allocate() 418 cma_heap_id = find_heap_id(m->ion_client, ION_CMA); in mali_gralloc_ion_allocate() 421 ion_close(m->ion_client); in mali_gralloc_ion_allocate() 422 m->ion_client = -1; in mali_gralloc_ion_allocate() 454 …shared_fd = alloc_from_ion_heap(m->ion_client, max_bufDescriptor->size, heap_mask, ion_flags, &min… in mali_gralloc_ion_allocate() [all …]
|
D | gralloc_vsync_s3cfb.cpp | 30 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_vsync_enable() local 33 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_enable() 43 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_vsync_disable() local 46 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_disable() 56 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_wait_for_vsync() local 58 if (m->swapInterval) in gralloc_wait_for_vsync() 63 if (ioctl(m->framebuffer->fd, FBIO_WAITFORVSYNC, &crtc) < 0) in gralloc_wait_for_vsync()
|
D | mali_gralloc_public_interface.cpp | 167 mali_gralloc_module *m; in mali_gralloc_allocate() local 168 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_allocate() 196 …if (fb_alloc_framebuffer(m, bufDescriptor->consumer_usage, bufDescriptor->producer_usage, outBuffe… in mali_gralloc_allocate() 227 …if (mali_gralloc_buffer_allocate(m, (gralloc_buffer_descriptor_t *)descriptors, numDescriptors, ou… in mali_gralloc_allocate() 245 mali_gralloc_module *m; in mali_gralloc_retain() local 246 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_retain() 253 if (mali_gralloc_reference_retain(m, buffer) < 0) in mali_gralloc_retain() 263 mali_gralloc_module *m; in mali_gralloc_release() local 264 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_release() 266 if (mali_gralloc_reference_release(m, buffer, true) < 0) in mali_gralloc_release() [all …]
|
/device/linaro/hikey/gralloc/ |
D | framebuffer_device.cpp | 76 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_post() local 78 if (m->currentBuffer) in fb_post() 80 m->base.unlock(&m->base, m->currentBuffer); in fb_post() 81 m->currentBuffer = 0; in fb_post() 86 m->base.lock(&m->base, buffer, private_module_t::PRIV_USAGE_LOCKED_FOR_POST, in fb_post() 87 0, 0, m->info.xres, m->info.yres, NULL); in fb_post() 90 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 91 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post() 97 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post() 99 AERR("FBIOPAN_DISPLAY failed for fd: %d", m->framebuffer->fd); in fb_post() [all …]
|
D | alloc_device.cpp | 116 static int fb_get_framebuffer_dmabuf(private_module_t *m, private_handle_t *hnd) in fb_get_framebuffer_dmabuf() argument 120 res = ioctl(m->framebuffer->fd, FBIOGET_DMABUF, &fb_dma_buf); in fb_get_framebuffer_dmabuf() 203 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_alloc_buffer() local 226 ret = alloc_ion_fd(m->ion_client, size, heap_mask, 0, &shared_fd); in gralloc_alloc_buffer() 228 AERR("Failed to ion_alloc_fd from ion_client:%d", m->ion_client); in gralloc_alloc_buffer() 245 AERR("ion_map( %d ) failed", m->ion_client); in gralloc_alloc_buffer() 263 AERR("Gralloc out of mem for ion_client:%d", m->ion_client); in gralloc_alloc_buffer() 369 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_alloc_framebuffer_locked() local 372 if (m->framebuffer == NULL) in gralloc_alloc_framebuffer_locked() 375 int err = init_frame_buffer_locked(m); in gralloc_alloc_framebuffer_locked() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/ |
D | xa-class-base.c | 166 XA_ERRORCODE xa_base_set_param(XACodecBase *base, xf_message_t *m) in xa_base_set_param() argument 168 xf_set_param_msg_t *cmd = m->buffer; in xa_base_set_param() 173 n = m->length / sizeof(*param); in xa_base_set_param() 176 XF_CHK_ERR(m->length == XF_SET_PARAM_CMD_LEN(n), XA_API_FATAL_INVALID_CMD_TYPE); in xa_base_set_param() 197 XA_CHK(xa_base_postinit(base, XF_MSG_DST_CORE(m->id))); in xa_base_set_param() 204 xf_response_ok(m); in xa_base_set_param() 210 XA_ERRORCODE xa_base_get_param(XACodecBase *base, xf_message_t *m) in xa_base_get_param() argument 212 xf_get_param_msg_t *cmd = m->buffer; in xa_base_get_param() 218 n = m->length / sizeof(*id); in xa_base_get_param() 221 XF_CHK_ERR(XF_GET_PARAM_CMD_LEN(n) == m->length, XA_API_FATAL_INVALID_CMD_TYPE); in xa_base_get_param() [all …]
|
D | xa-class-audio-codec.c | 109 xf_message_t *m = xf_msg_queue_head(&codec->output.queue); in xa_codec_prepare_runtime() local 110 xf_start_msg_t *msg = m->buffer; in xa_codec_prepare_runtime() 159 static XA_ERRORCODE xa_codec_empty_this_buffer(XACodecBase *base, xf_message_t *m) in xa_codec_empty_this_buffer() argument 164 XF_CHK_ERR(XF_MSG_DST_PORT(m->id) == 0, XA_API_FATAL_INVALID_CMD); in xa_codec_empty_this_buffer() 170 if (xf_input_port_put(&codec->input, m)) in xa_codec_empty_this_buffer() 195 TRACE(INPUT, _b("Received buffer [%p]:%u"), m->buffer, m->length); in xa_codec_empty_this_buffer() 201 static XA_ERRORCODE xa_codec_fill_this_buffer(XACodecBase *base, xf_message_t *m) in xa_codec_fill_this_buffer() argument 206 XF_CHK_ERR(XF_MSG_DST_PORT(m->id) == 1, XA_API_FATAL_INVALID_CMD); in xa_codec_fill_this_buffer() 215 BUG(m->length != 0, _x("Invalid message length: %u"), m->length); in xa_codec_fill_this_buffer() 217 else if (m == xf_output_port_control_msg(&codec->output)) in xa_codec_fill_this_buffer() [all …]
|
D | xa-class-mixer.c | 178 xf_message_t *m = xf_msg_dequeue(&mixer->output.queue); in xa_mixer_prepare_runtime() local 179 xf_start_msg_t *msg = m->buffer; in xa_mixer_prepare_runtime() 198 xf_response_data(m, sizeof(*msg)); in xa_mixer_prepare_runtime() 208 static XA_ERRORCODE xa_mixer_empty_this_buffer(XACodecBase *base, xf_message_t *m) in xa_mixer_empty_this_buffer() argument 211 u32 i = XF_MSG_DST_PORT(m->id); in xa_mixer_empty_this_buffer() 220 TRACE(INPUT, _b("track-%u: received buffer [%p]:%u"), i, m->buffer, m->length); in xa_mixer_empty_this_buffer() 223 if (m->length) in xa_mixer_empty_this_buffer() 229 if (xf_input_port_put(&track->input, m)) in xa_mixer_empty_this_buffer() 255 static XA_ERRORCODE xa_mixer_fill_this_buffer(XACodecBase *base, xf_message_t *m) in xa_mixer_fill_this_buffer() argument 258 u32 i = XF_MSG_DST_PORT(m->id); in xa_mixer_fill_this_buffer() [all …]
|
/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-proxy.c | 51 xf_proxy_msg_t m; in xf_proxy_cmd_exec() local 54 m.id = msg->id, m.opcode = msg->opcode, m.length = msg->length; in xf_proxy_cmd_exec() 57 XF_CHK_ERR((m.address = xf_proxy_b2a(proxy, msg->buffer)) != XF_PROXY_BADADDR, -EINVAL); in xf_proxy_cmd_exec() 60 XF_CHK_API(xf_ipc_send(&proxy->ipc, &m, msg->buffer)); in xf_proxy_cmd_exec() 63 XF_CHK_API(xf_proxy_response_get(proxy, &m)); in xf_proxy_cmd_exec() 66 msg->id = m.id, msg->opcode = m.opcode, msg->length = m.length; in xf_proxy_cmd_exec() 69 XF_CHK_ERR((msg->buffer = xf_proxy_a2b(proxy, m.address)) != (void *)-1, -EBADFD); in xf_proxy_cmd_exec() 78 static inline int xf_proxy_cmd(xf_proxy_t *proxy, xf_handle_t *handle, xf_user_msg_t *m) 83 msg.id = __XF_MSG_ID(__XF_AP_CLIENT(proxy->core, handle->client), m->id); 84 msg.opcode = m->opcode; [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/ |
D | xf-mem.h | 48 static inline void xf_shmem_alloc_addref(u32 core, xf_message_t *m) in xf_shmem_alloc_addref() argument 53 static inline void xf_shmem_alloc_rmref(u32 core, xf_message_t *m) in xf_shmem_alloc_rmref() argument 114 static inline int xf_shmem_alloc(u32 core, xf_message_t *m) in xf_shmem_alloc() argument 119 if ((m->buffer = xf_mm_alloc(pool, XF_ALIGNED(m->length))) != NULL) in xf_shmem_alloc() 122 xf_shmem_alloc_addref(core, m); in xf_shmem_alloc() 133 static inline void xf_shmem_free(u32 core, xf_message_t *m) in xf_shmem_free() argument 138 xf_mm_free(pool, m->buffer, XF_ALIGNED(m->length)); in xf_shmem_free() 141 xf_shmem_alloc_rmref(core, m); in xf_shmem_free()
|
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/ |
D | e_atan2f.c | 36 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2f() local 46 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */ in __ieee754_atan2f() 50 switch(m) { in __ieee754_atan2f() 63 switch(m) { in __ieee754_atan2f() 70 switch(m) { in __ieee754_atan2f() 85 m&=1; in __ieee754_atan2f() 89 switch (m) { in __ieee754_atan2f()
|
/device/google/contexthub/firmware/lib/libm/ |
D | ef_sqrt.c | 33 __int32_t ix,s,q,m,t,i; local 47 m = (ix>>23); 50 m -= i-1; 52 m -= 127; /* unbias exponent */ 54 if(m&1) /* odd m, double x to make it even */ 56 m >>= 1; /* m = [m/2] */ 86 ix += (m <<23);
|