Home
last modified time | relevance | path

Searched refs:p_params (Results 1 – 3 of 3) sorted by relevance

/third_party/wayland-ivi-extension/ivi-layermanagement-examples/multi-touch-viewer/src/
Dmulti-touch-viewer.c78 update_touch_point(struct touch_event_test_params *p_params, int ev, in update_touch_point() argument
84 if (NULL == p_params) in update_touch_point()
89 wl_list_for_each(p_point_params, &p_params->touch_point_list, link) in update_touch_point()
123 log_array_add(&p_params->log_array, &elog); in update_touch_point()
238 struct touch_event_test_params *p_params = in seat_capabilities() local
241 if ((caps & WL_SEAT_CAPABILITY_TOUCH) && !p_params->p_touch) in seat_capabilities()
243 p_params->p_touch = wl_seat_get_touch(p_seat); in seat_capabilities()
244 wl_touch_add_listener(p_params->p_touch, &touch_listener, p_data); in seat_capabilities()
246 else if (!(caps & WL_SEAT_CAPABILITY_TOUCH) && p_params->p_touch) in seat_capabilities()
248 wl_touch_destroy(p_params->p_touch); in seat_capabilities()
[all …]
/third_party/alsa-lib/test/
Dlatency.c174 snd_pcm_hw_params_t *p_params, *c_params; in setparams() local
180 snd_pcm_hw_params_alloca(&p_params); in setparams()
209 if ((err = setparams_bufsize(phandle, p_params, pt_params, *bufsize, "playback")) < 0) { in setparams()
218 snd_pcm_hw_params_get_period_size(p_params, &p_psize, NULL); in setparams()
224 snd_pcm_hw_params_get_period_time(p_params, &p_time, NULL); in setparams()
229 snd_pcm_hw_params_get_buffer_size(p_params, &p_size); in setparams()
231 snd_pcm_hw_params_get_periods_min(p_params, &val, NULL); in setparams()
247 if ((err = setparams_set(phandle, p_params, p_swparams, "playback")) < 0) { in setparams()
/third_party/alsa-utils/alsaloop/
Dpcmjob.c325 snd_pcm_hw_params_t *p_params, *c_params; in setparams() local
328 snd_pcm_hw_params_alloca(&p_params); in setparams()
343 if ((err = setparams_bufsize(loop->play, p_params, pt_params, bufsize / loop->play->pitch)) < 0) { in setparams()
352 if ((err = setparams_set(loop->play, p_params, p_swparams, bufsize / loop->play->pitch)) < 0) { in setparams()