Home
last modified time | relevance | path

Searched refs:ramp (Results 1 – 25 of 51) sorted by relevance

123

/external/adhd/cras/src/server/
Dcras_ramp.c45 void cras_ramp_destroy(struct cras_ramp* ramp) in cras_ramp_destroy() argument
47 free(ramp); in cras_ramp_destroy()
52 struct cras_ramp* ramp; in cras_ramp_create() local
53 ramp = (struct cras_ramp*)malloc(sizeof(*ramp)); in cras_ramp_create()
54 if (ramp == NULL) { in cras_ramp_create()
57 cras_ramp_reset(ramp); in cras_ramp_create()
58 return ramp; in cras_ramp_create()
61 int cras_ramp_reset(struct cras_ramp *ramp) { in cras_ramp_reset() argument
62 ramp->state = CRAS_RAMP_STATE_IDLE; in cras_ramp_reset()
63 ramp->ramped_frames = 0; in cras_ramp_reset()
[all …]
Dcras_ramp.h46 void cras_ramp_destroy(struct cras_ramp* ramp);
60 int cras_ramp_start(struct cras_ramp *ramp, int is_up, int duration_frames,
64 int cras_ramp_reset(struct cras_ramp *ramp);
68 const struct cras_ramp *ramp);
72 struct cras_ramp *ramp, int num_frames);
Dcras_iodev.c242 if (odev->ramp && !output_should_mute(odev)) in cras_iodev_output_event_sample_ready()
630 if (iodev->ramp) in cras_iodev_free_resources()
631 cras_ramp_destroy(iodev->ramp); in cras_iodev_free_resources()
977 if (iodev->ramp) in cras_iodev_close()
978 cras_ramp_reset(iodev->ramp); in cras_iodev_close()
1023 if (iodev->ramp) { in cras_iodev_put_output_buffer()
1024 ramp_action = cras_ramp_get_current_action(iodev->ramp); in cras_iodev_put_output_buffer()
1067 cras_ramp_update_ramped_frames(iodev->ramp, nframes); in cras_iodev_put_output_buffer()
1443 odev->ramp, up, in cras_iodev_start_ramp()
/external/adhd/cras/src/tests/
Dramp_unittest.cc23 struct cras_ramp *ramp; in TEST() local
28 ramp = cras_ramp_create(); in TEST()
29 action = cras_ramp_get_current_action(ramp); in TEST()
35 cras_ramp_destroy(ramp); in TEST()
42 cras_ramp *ramp; in TEST() local
47 ramp = cras_ramp_create(); in TEST()
48 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
50 action = cras_ramp_get_current_action(ramp); in TEST()
56 cras_ramp_destroy(ramp); in TEST()
65 struct cras_ramp *ramp; in TEST() local
[all …]
Diodev_unittest.cc695 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1); in TEST()
744 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1); in TEST()
879 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1); in TEST()
947 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1); in TEST()
1701 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1); in TEST()
1783 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1); in TEST()
1846 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1); in TEST()
2503 void cras_ramp_destroy(struct cras_ramp* ramp) { in cras_ramp_destroy() argument
2507 int cras_ramp_start(struct cras_ramp *ramp, int is_up, int duration_frames, in cras_ramp_start() argument
2518 int cras_ramp_reset(struct cras_ramp *ramp) { in cras_ramp_reset() argument
[all …]
Diodev_list_unittest.cc840 d1_.ramp = reinterpret_cast<cras_ramp*>(0x123); in TEST_F()
841 d2_.ramp = NULL; in TEST_F()
842 d3_.ramp = reinterpret_cast<cras_ramp*>(0x124); in TEST_F()
924 d1_.ramp = reinterpret_cast<cras_ramp*>(0x123); in TEST_F()
925 d2_.ramp = NULL; in TEST_F()
926 d3_.ramp = reinterpret_cast<cras_ramp*>(0x124); in TEST_F()
/external/strace/
Devdev_mpers.c103 ffe.u.ramp.start_level, in ff_effect_ioctl()
104 ffe.u.ramp.end_level); in ff_effect_ioctl()
105 decode_envelope(&ffe.u.ramp.envelope); in ff_effect_ioctl()
/external/eigen/doc/examples/
Dclass_CwiseUnaryOp_ptrfun.cpp7 double ramp(double x) in ramp() function
18 cout << m1 << endl << "becomes: " << endl << m1.unaryExpr(ptr_fun(ramp)) << endl; in main()
/external/strace/tests-mx32/
Dioctl_evdev.c250 ffe->u.ramp.start_level, ffe->u.ramp.end_level); in main()
251 print_envelope(&ffe->u.ramp.envelope); in main()
/external/strace/tests/
Dioctl_evdev.c250 ffe->u.ramp.start_level, ffe->u.ramp.end_level); in main()
251 print_envelope(&ffe->u.ramp.envelope); in main()
/external/strace/tests-m32/
Dioctl_evdev.c250 ffe->u.ramp.start_level, ffe->u.ramp.end_level); in main()
251 print_envelope(&ffe->u.ramp.envelope); in main()
/external/u-boot/arch/arm/dts/
Drk3288-rock2-som.dtsi214 regulator-enable-ramp-delay = <300>;
218 regulator-ramp-delay = <8000>;
227 regulator-enable-ramp-delay = <300>;
231 regulator-ramp-delay = <8000>;
Dimx6dl-mamoj.dts48 regulator-ramp-delay = <6250>;
57 regulator-ramp-delay = <6250>;
Drk3399-firefly.dts256 regulator-ramp-delay = <6001>;
268 regulator-ramp-delay = <6001>;
414 regulator-ramp-delay = <1000>;
431 regulator-ramp-delay = <1000>;
Drk3328-evb.dts150 regulator-ramp-delay = <6001>;
163 regulator-ramp-delay = <6001>;
Drk3399-puma.dtsi232 regulator-ramp-delay = <1000>;
273 regulator-ramp-delay = <6001>;
285 regulator-ramp-delay = <6001>;
434 regulator-ramp-delay = <1000>;
Dimx6qdl-logicpd.dtsi64 regulator-ramp-delay = <6250>;
73 regulator-ramp-delay = <6250>;
Dimx7d-sdb.dts259 regulator-ramp-delay = <6250>;
268 regulator-ramp-delay = <6250>;
Drk3288-miqi.dtsi144 regulator-enable-ramp-delay = <300>;
145 regulator-ramp-delay = <8000>;
/external/u-boot/arch/x86/cpu/broadwell/
Dcpu.c231 int ramp, min_vid; in initialize_vr_config() local
264 ramp = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in initialize_vr_config()
266 if (ramp != -1) { in initialize_vr_config()
268 msr.hi |= ((ramp & 0x3) << (53 - 32)); in initialize_vr_config()
/external/swiftshader/src/D3D9/
DDirect3DDevice9Ex.cpp376 void Direct3DDevice9Ex::GetGammaRamp(unsigned int index, D3DGAMMARAMP *ramp) in GetGammaRamp() argument
378 TRACE("unsigned int index = %d, D3DGAMMARAMP *ramp = 0x%0.8p", index, ramp); in GetGammaRamp()
380 return Direct3DDevice9::GetGammaRamp(index, ramp); in GetGammaRamp()
684 … Direct3DDevice9Ex::SetGammaRamp(unsigned int index, unsigned long flags, const D3DGAMMARAMP *ramp) in SetGammaRamp() argument
686 …ndex = %d, unsigned long flags = 0x%0.8X, const D3DGAMMARAMP *ramp = 0x%0.8p", index, flags, ramp); in SetGammaRamp()
688 return Direct3DDevice9::SetGammaRamp(index, flags, ramp); in SetGammaRamp()
/external/u-boot/arch/arm/mach-omap2/omap5/
DKconfig67 3: Voltage ramp time, which can be derived using the PMIC slew rate
68 and value of voltage ramp needed.
/external/skqp/src/shaders/gradients/
DSk4fLinearGradient.cpp17 void ramp(const Sk4f& c, const Sk4f& dc, SkPMColor dst[], int n, in ramp() function
242 ramp<premul>(proc.currentColor(), proc.currentColorGrad(), dst, n, in shadeSpanInternal()
/external/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp17 void ramp(const Sk4f& c, const Sk4f& dc, SkPMColor dst[], int n, in ramp() function
242 ramp<premul>(proc.currentColor(), proc.currentColorGrad(), dst, n, in shadeSpanInternal()
/external/swiftshader/src/D3D8/
DDirect3DDevice8.hpp100 void __stdcall GetGammaRamp(D3DGAMMARAMP *ramp) override;
133 void __stdcall SetGammaRamp(unsigned long flags, const D3DGAMMARAMP *ramp) override;

123