Home
last modified time | relevance | path

Searched refs:eps (Results 51 - 75 of 175) sorted by relevance

1234567

/third_party/ffmpeg/libavfilter/
H A Dvf_vif.c119 float sigma1_sq, sigma2_sq, sigma12, g, sv_sq, eps = 1.0e-10f; in vif_statistic() local
145 g = sigma12 / (sigma1_sq + eps); in vif_statistic()
148 if (sigma1_sq < eps) { in vif_statistic()
154 if (sigma2_sq < eps) { in vif_statistic()
163 sv_sq = FFMAX(sv_sq, eps); in vif_statistic()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c168 double eps; in test_one() local
213 eps = MAX2(lp_const_eps(src_type), lp_const_eps(dst_type)); in test_one()
220 eps *= 2; in test_one()
264 if(!compare_vec_with_eps(dst_type, dst + j*dst_stride, ref + j*dst_stride, eps)) in test_one()
H A Dlp_test.h128 compare_vec_with_eps(struct lp_type type, const void *res, const void *ref, double eps);
/third_party/vk-gl-cts/modules/egl/
H A DteglColorClearCase.cpp247 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); in executeForContexts() local
248 bool imagesOk = tcu::pixelThresholdCompare(log, "ComparisonResult", "Image comparison result", refFrame, frame, eps + pixelFmt.getColorThreshold(), tcu::COMPARE_LOG_RESULT); in executeForContexts()
435 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); in executeForContexts() local
436 bool imagesOk = tcu::pixelThresholdCompare(log, "ComparisonResult", "Image comparison result", refFrame, frame, eps + pixelFmt.getColorThreshold(), tcu::COMPARE_LOG_RESULT); in executeForContexts()
/third_party/alsa-utils/topology/nhlt/intel/
H A Dssp-nhlt.h15 int nhlt_ssp_get_ep(struct intel_nhlt_params *nhlt, struct endpoint_descriptor **eps,
/third_party/python/Python/
H A Ddtoa.c2292 U d2, eps, u; in _Py_dg_dtoa() local
2483 dval(&eps) = ieps*dval(&u) + 7.; in _Py_dg_dtoa()
2484 word0(&eps) -= (P-1)*Exp_msk1; in _Py_dg_dtoa()
2488 if (dval(&u) > dval(&eps)) in _Py_dg_dtoa()
2490 if (dval(&u) < -dval(&eps)) in _Py_dg_dtoa()
2498 dval(&eps) = 0.5/tens[ilim-1] - dval(&eps); in _Py_dg_dtoa()
2503 if (dval(&u) < dval(&eps)) in _Py_dg_dtoa()
2505 if (1. - dval(&u) < dval(&eps)) in _Py_dg_dtoa()
2509 dval(&eps) * in _Py_dg_dtoa()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Dgadget.c149 dwc3_ep0_end_control_data(dwc, dwc->eps[dir]); in dwc3_ep0_reset_state()
151 dwc3_ep0_end_control_data(dwc, dwc->eps[!dir]); in dwc3_ep0_reset_state()
153 dwc->eps[0]->trb_enqueue = 0; in dwc3_ep0_reset_state()
154 dwc->eps[1]->trb_enqueue = 0; in dwc3_ep0_reset_state()
584 struct dwc3_ep *dep = dwc->eps[i]; in dwc3_gadget_start_config()
732 dep = dwc->eps[1]; in dwc3_gadget_clear_tx_fifos()
740 /* Clear existing TXFIFO for all IN eps except ep0 */ in dwc3_gadget_clear_tx_fifos()
743 dep = dwc->eps[num]; in dwc3_gadget_clear_tx_fifos()
968 * All stream eps will reinitiate stream on NoStream in __dwc3_gadget_ep_enable()
2501 dep = dwc->eps[epnu in dwc3_stop_active_transfers()
[all...]
/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A Dgadget.c549 struct dwc3_ep *dep = dwc->eps[i]; in dwc3_gadget_start_config()
743 * All stream eps will reinitiate stream on NoStream in __dwc3_gadget_ep_enable()
2093 dep = dwc->eps[epnum]; in dwc3_stop_active_transfers()
2362 dep = dwc->eps[0]; in __dwc3_gadget_start()
2369 dep = dwc->eps[1]; in __dwc3_gadget_start()
2387 __dwc3_gadget_ep_disable(dwc->eps[0]); in __dwc3_gadget_start()
2435 __dwc3_gadget_ep_disable(dwc->eps[0]); in __dwc3_gadget_stop()
2436 __dwc3_gadget_ep_disable(dwc->eps[1]); in __dwc3_gadget_stop()
2692 dwc->eps[epnum] = dep; in dwc3_gadget_init_endpoint()
2751 dep = dwc->eps[epnu in dwc3_gadget_free_endpoints()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c1280 ep = &udc->eps[0]; in ep0_prime_status()
1338 ep = &udc->eps[0]; in ch9getstatus()
1999 nuke(&udc_controller->eps[0], -ESHUTDOWN); in fsl_udc_stop()
2167 ep = &udc->eps[0]; in fsl_proc_read()
2248 udc->eps = kcalloc(udc->max_ep, sizeof(struct fsl_ep), GFP_KERNEL); in struct_udc_setup()
2249 if (!udc->eps) { in struct_udc_setup()
2300 kfree(udc->eps); in struct_udc_setup()
2308 * Setup the fsl_ep struct for eps
2316 struct fsl_ep *ep = &udc->eps[index]; in struct_ep_setup()
2339 * for other eps, max in struct_ep_setup()
[all...]
H A Dmv_udc_core.c77 ep = &udc->eps[i]; in ep0_reset()
141 udc->eps[index].name); in process_ep_req()
1242 ep = &udc->eps[0]; in eps_init()
1261 ep = &udc->eps[i]; in eps_init()
1313 nuke(&udc->eps[0], -ESHUTDOWN); in gadget_reset()
1331 nuke(&udc->eps[0], -ESHUTDOWN); in stop_activity()
1447 ep = &udc->eps[0]; in udc_prime_status()
1584 ep = &udc->eps[ep_num * 2 + direction]; in ch9clearfeature()
1662 nuke(&udc->eps[ep_num * 2 + EP_DIR_OUT], -ESHUTDOWN);
1831 curr_ep = &udc->eps[ in irq_process_tr_complete()
[all...]
H A Dfsl_usb2_udc.h477 struct fsl_ep *eps; member
575 #define get_ep_by_pipe(udc, pipe) ((pipe == 1)? &udc->eps[0]: \
576 &udc->eps[pipe])
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-gadget.c659 if ((pdev->eps[i - 1].ring && !(ctrl_ctx->drop_flags & le32)) || in cdnsp_update_eps_configuration()
704 pdev->eps[0].ep_state & EP_HALTED) { in cdnsp_reset_device()
705 cdnsp_halt_endpoint(pdev, &pdev->eps[0], 0); in cdnsp_reset_device()
712 pdev->eps[0].ep_state &= ~(EP_STOPPED | EP_HALTED); in cdnsp_reset_device()
713 pdev->eps[0].ep_state |= EP_ENABLED; in cdnsp_reset_device()
727 pdev->eps[i].ep_state |= EP_STOPPED | EP_UNCONFIGURED; in cdnsp_reset_device()
1427 cdnsp_cmd_flush_ep(pdev, &pdev->eps[0]); in cdnsp_stop()
1430 if (!list_empty(&pdev->eps[0].pending_list)) { in cdnsp_stop()
1433 req = next_request(&pdev->eps[0].pending_list); in cdnsp_stop()
1435 cdnsp_ep_dequeue(&pdev->eps[ in cdnsp_stop()
[all...]
H A Dcdnsp-mem.c673 cdnsp_free_endpoint_rings(pdev, &pdev->eps[0]); in cdnsp_free_priv_device()
696 pdev->eps[0].ring = cdnsp_ring_alloc(pdev, 2, TYPE_CTRL, 0, GFP_ATOMIC); in cdnsp_alloc_priv_device()
697 if (!pdev->eps[0].ring) in cdnsp_alloc_priv_device()
717 struct cdnsp_ep_ctx *ep0_ctx = pdev->eps[0].in_ctx; in cdnsp_copy_ep0_dequeue_into_input_ctx()
718 struct cdnsp_ring *ep_ring = pdev->eps[0].ring; in cdnsp_copy_ep0_dequeue_into_input_ctx()
769 ep0_ctx->deq = cpu_to_le64(pdev->eps[0].ring->first_seg->dma | in cdnsp_setup_addressable_priv_dev()
770 pdev->eps[0].ring->cycle_state); in cdnsp_setup_addressable_priv_dev()
861 * The "Mult" field in the endpoint context is only set for SuperSpeed isoc eps.
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c1279 ep = &udc->eps[0]; in ep0_prime_status()
1337 ep = &udc->eps[0]; in ch9getstatus()
1997 nuke(&udc_controller->eps[0], -ESHUTDOWN); in fsl_udc_stop()
2163 ep = &udc->eps[0]; in fsl_proc_read()
2244 udc->eps = kcalloc(udc->max_ep, sizeof(struct fsl_ep), GFP_KERNEL); in struct_udc_setup()
2245 if (!udc->eps) { in struct_udc_setup()
2296 kfree(udc->eps); in struct_udc_setup()
2304 * Setup the fsl_ep struct for eps
2312 struct fsl_ep *ep = &udc->eps[index]; in struct_ep_setup()
2335 * for other eps, max in struct_ep_setup()
[all...]
H A Dmv_udc_core.c77 ep = &udc->eps[i]; in ep0_reset()
141 udc->eps[index].name); in process_ep_req()
1244 ep = &udc->eps[0]; in eps_init()
1263 ep = &udc->eps[i]; in eps_init()
1315 nuke(&udc->eps[0], -ESHUTDOWN); in gadget_reset()
1333 nuke(&udc->eps[0], -ESHUTDOWN); in stop_activity()
1448 ep = &udc->eps[0]; in udc_prime_status()
1585 ep = &udc->eps[ep_num * 2 + direction]; in ch9clearfeature()
1663 nuke(&udc->eps[ep_num * 2 + EP_DIR_OUT], -ESHUTDOWN);
1832 curr_ep = &udc->eps[ in irq_process_tr_complete()
[all...]
H A Dfsl_usb2_udc.h477 struct fsl_ep *eps; member
575 #define get_ep_by_pipe(udc, pipe) ((pipe == 1)? &udc->eps[0]: \
576 &udc->eps[pipe])
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Du_midi2.h78 struct f_midi2_ep_opts *eps[MAX_UMP_EPS]; member
H A Df_generic.c56 struct ffs_ep *eps; member
1377 ep = epfile->ffs->eps + i; in ffs_epfile_ioctl()
1827 struct ffs_ep *ep = func->eps; in ffs_func_eps_disable()
1850 struct ffs_ep *ep = func->eps; in ffs_func_eps_enable()
2711 ffs_ep = func->eps + idx; in __ffs_func_bind_do_descs()
2740 ep->driver_data = func->eps + idx; in __ffs_func_bind_do_descs()
2802 if (unlikely(!func->eps[idx].ep)) in __ffs_func_bind_do_nums()
2807 descs = func->eps[idx].descs; in __ffs_func_bind_do_nums()
2958 vla_item_with_sz(d, struct ffs_ep, eps, ffs->eps_count); in _ffs_func_bind()
3003 eps_ptr = vla_ptr(vlabuf, d, eps); in _ffs_func_bind()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_ladspa.c313 static void snd_pcm_ladspa_free_eps(snd_pcm_ladspa_eps_t *eps) in snd_pcm_ladspa_free_eps() argument
315 free(eps->channels.array); in snd_pcm_ladspa_free_eps()
316 free(eps->ports.array); in snd_pcm_ladspa_free_eps()
408 snd_pcm_ladspa_eps_t *eps) in snd_pcm_ladspa_connect_plugin1()
429 err = snd_pcm_ladspa_add_to_carray(&eps->channels, idx1, idx); in snd_pcm_ladspa_connect_plugin1()
434 err = snd_pcm_ladspa_add_to_array(&eps->ports, idx1, port); in snd_pcm_ladspa_connect_plugin1()
460 snd_pcm_ladspa_eps_t *eps, in snd_pcm_ladspa_connect_plugin_duplicate1()
476 err = snd_pcm_ladspa_add_to_carray(&eps->channels, 0, idx); in snd_pcm_ladspa_connect_plugin_duplicate1()
481 err = snd_pcm_ladspa_add_to_array(&eps->ports, 0, port); in snd_pcm_ladspa_connect_plugin_duplicate1()
590 snd_pcm_ladspa_eps_t *eps, in snd_pcm_ladspa_check_connect()
406 snd_pcm_ladspa_connect_plugin1(snd_pcm_ladspa_plugin_t *plugin, snd_pcm_ladspa_plugin_io_t *io, snd_pcm_ladspa_eps_t *eps) snd_pcm_ladspa_connect_plugin1() argument
458 snd_pcm_ladspa_connect_plugin_duplicate1(snd_pcm_ladspa_plugin_t *plugin, snd_pcm_ladspa_plugin_io_t *io, snd_pcm_ladspa_eps_t *eps, unsigned int idx) snd_pcm_ladspa_connect_plugin_duplicate1() argument
588 snd_pcm_ladspa_check_connect(snd_pcm_ladspa_plugin_t *plugin, snd_pcm_ladspa_plugin_io_t *io, snd_pcm_ladspa_eps_t *eps, unsigned int depth) snd_pcm_ladspa_check_connect() argument
[all...]
/kernel/linux/linux-6.6/sound/usb/
H A Dmidi2.c84 struct snd_usb_midi2_endpoint *eps[2]; /* USB MIDI endpoints */ member
340 return rmidi->eps[dir]; in ump_to_endpoint()
740 rmidi->eps[STR_IN] = ep_in; in create_midi2_ump()
741 rmidi->eps[STR_OUT] = ep_out; in create_midi2_ump()
898 if (!rmidi->eps[dir]) in create_blocks_from_gtb()
900 for (i = 0; i < rmidi->eps[dir]->ms_ep->bNumGrpTrmBlock; i++) { in create_blocks_from_gtb()
901 blk = rmidi->eps[dir]->ms_ep->baAssoGrpTrmBlkID[i]; in create_blocks_from_gtb()
/third_party/python/Lib/test/
H A Dtest_complex.py40 def assertCloseAbs(self, x, y, eps=1e-9):
46 return abs(x) < eps
48 return abs(y) < eps
49 # check that relative difference < eps
50 self.assertTrue(abs((x-y)/y) < eps)
75 def assertClose(self, x, y, eps=1e-9):
77 self.assertCloseAbs(x.real, y.real, eps)
78 self.assertCloseAbs(x.imag, y.imag, eps)
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dhcd.c2024 * @eps: array of endpoints that need streams.
2037 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_alloc_streams()
2055 if (!usb_endpoint_xfer_bulk(&eps[i]->desc)) in usb_alloc_streams()
2058 if (eps[i]->streams) in usb_alloc_streams()
2062 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, in usb_alloc_streams()
2068 eps[i]->streams = ret; in usb_alloc_streams()
2077 * @eps: array of endpoints to remove streams from.
2087 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_free_streams()
2101 if (!eps[i] || !eps[ in usb_free_streams()
2036 usb_alloc_streams(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) usb_alloc_streams() argument
2086 usb_free_streams(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) usb_free_streams() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dhcd.c2003 * @eps: array of endpoints that need streams.
2016 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_alloc_streams()
2034 if (!usb_endpoint_xfer_bulk(&eps[i]->desc)) in usb_alloc_streams()
2037 if (eps[i]->streams) in usb_alloc_streams()
2041 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, in usb_alloc_streams()
2047 eps[i]->streams = ret; in usb_alloc_streams()
2056 * @eps: array of endpoints to remove streams from.
2066 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_free_streams()
2080 if (!eps[i] || !eps[ in usb_free_streams()
2015 usb_alloc_streams(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) usb_alloc_streams() argument
2065 usb_free_streams(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) usb_free_streams() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_generic.c56 struct ffs_ep *eps; member
1376 ep = epfile->ffs->eps + i; in ffs_epfile_ioctl()
1825 struct ffs_ep *ep = func->eps; in ffs_func_eps_disable()
1848 struct ffs_ep *ep = func->eps; in ffs_func_eps_enable()
2709 ffs_ep = func->eps + idx; in __ffs_func_bind_do_descs()
2738 ep->driver_data = func->eps + idx; in __ffs_func_bind_do_descs()
2800 if (unlikely(!func->eps[idx].ep)) in __ffs_func_bind_do_nums()
2805 descs = func->eps[idx].descs; in __ffs_func_bind_do_nums()
2956 vla_item_with_sz(d, struct ffs_ep, eps, ffs->eps_count); in _ffs_func_bind()
3001 eps_ptr = vla_ptr(vlabuf, d, eps); in _ffs_func_bind()
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/usb/
H A Draw_gadget.h148 * eps: Structures that store information about non-control endpoints.
151 struct usb_raw_ep_info eps[USB_RAW_EPS_NUM_MAX]; member

Completed in 49 milliseconds

1234567