Home
last modified time | relevance | path

Searched refs:dev_ptr (Results 1 – 19 of 19) sorted by relevance

/external/adhd/cras/src/server/
Dcras_apm_list.h46 void *dev_ptr,
56 void *dev_ptr);
75 void cras_apm_list_remove(struct cras_apm_list *list, void *dev_ptr);
120 void *dev_ptr,
145 void *dev_ptr, in cras_apm_list_add() argument
151 void *dev_ptr) in cras_apm_list_get() argument
164 void *dev_ptr) in cras_apm_list_remove() argument
193 void *dev_ptr, in cras_apm_list_set_aec_dump() argument
Dcras_apm_list.c65 void *dev_ptr; member
166 struct cras_apm *cras_apm_list_get(struct cras_apm_list *list, void *dev_ptr) in cras_apm_list_get() argument
174 if (apm->dev_ptr == dev_ptr) in cras_apm_list_get()
188 void cras_apm_list_remove(struct cras_apm_list *list, void *dev_ptr) in cras_apm_list_remove() argument
193 if (apm->dev_ptr == dev_ptr ) { in cras_apm_list_remove()
240 void *dev_ptr, in cras_apm_list_add() argument
246 if (apm->dev_ptr == dev_ptr) { in cras_apm_list_add()
280 apm->dev_ptr = dev_ptr; in cras_apm_list_add()
612 void cras_apm_list_set_aec_dump(struct cras_apm_list *list, void *dev_ptr, in cras_apm_list_set_aec_dump() argument
620 DL_SEARCH_SCALAR(list->apms, apm, dev_ptr, dev_ptr); in cras_apm_list_set_aec_dump()
Dinput_data.c54 struct input_data *input_data_create(void *dev_ptr) in input_data_create() argument
58 data->dev_ptr = dev_ptr; in input_data_create()
109 apm = cras_apm_list_get(stream->apm_list, data->dev_ptr); in input_data_get_for_stream()
131 stream->apm_list, data->dev_ptr); in input_data_put_for_stream()
Dcras_rstream.c240 stream->master_dev.dev_ptr = NULL; in cras_rstream_create()
290 const struct cras_rstream *stream, void *dev_ptr) in cras_rstream_post_processing_format() argument
297 apm = cras_apm_list_get(stream->apm_list, dev_ptr); in cras_rstream_post_processing_format()
372 void *dev_ptr) in cras_rstream_dev_attach() argument
374 if (buffer_share_add_id(rstream->buf_state, dev_id, dev_ptr) == 0) in cras_rstream_dev_attach()
382 rstream->master_dev.dev_ptr = dev_ptr; in cras_rstream_dev_attach()
397 rstream->master_dev.dev_ptr = NULL; in cras_rstream_dev_detach()
402 rstream->master_dev.dev_ptr = o->data; in cras_rstream_dev_detach()
Dinput_data.h24 void *dev_ptr; member
34 struct input_data *input_data_create(void *dev_ptr);
Dcras_rstream.h37 void *dev_ptr; member
277 const struct cras_rstream *stream, void *dev_ptr);
294 void *dev_ptr);
Ddev_stream.h47 void *dev_ptr, struct timespec *cb_ts);
Ddev_stream.c70 void *dev_ptr, in dev_stream_create() argument
101 stream, dev_ptr) ? : dev_fmt, in dev_stream_create()
145 cras_rstream_dev_attach(stream, dev_id, dev_ptr); in dev_stream_create()
Ddev_io.c42 return (struct cras_iodev *)stream->stream->master_dev.dev_ptr; in get_master_dev()
/external/adhd/cras/src/tests/
Dapm_list_unittest.cc22 static void *dev_ptr = reinterpret_cast<void *>(0x345); variable
55 EXPECT_NE((void *)NULL, cras_apm_list_add(list, dev_ptr, &fmt)); in TEST()
59 EXPECT_NE((void *)NULL, cras_apm_list_get(list, dev_ptr)); in TEST()
61 cras_apm_list_remove(list, dev_ptr); in TEST()
62 EXPECT_EQ((void *)NULL, cras_apm_list_get(list, dev_ptr)); in TEST()
84 apm = cras_apm_list_add(list, dev_ptr, &fmt); in TEST()
163 apm = cras_apm_list_add(list, dev_ptr, &fmt); in TEST()
Ddev_io_unittest.cc107 const struct cras_rstream *stream, void *dev_ptr) in cras_rstream_post_processing_format() argument
Drstream_stub.cc59 void *dev_ptr) { in cras_rstream_dev_attach() argument
Daudio_thread_unittest.cc884 void *dev_ptr) in cras_rstream_dev_attach() argument
967 void *dev_ptr, struct timespec *cb_ts) in dev_stream_create() argument
1198 void *dev_ptr, in cras_apm_list_set_aec_dump() argument
Drstream_unittest.cc411 void *dev_ptr) in cras_apm_list_get() argument
Dtiming_unittest.cc448 const struct cras_rstream *stream, void *dev_ptr) in cras_rstream_post_processing_format() argument
Ddev_stream_unittest.cc1112 void *dev_ptr) in cras_rstream_dev_attach() argument
1152 const struct cras_rstream *stream, void *dev_ptr) in cras_rstream_post_processing_format() argument
Diodev_list_unittest.cc1909 void *dev_ptr, in cras_apm_list_add() argument
1914 void cras_apm_list_remove(struct cras_apm_list *list, void *dev_ptr) in cras_apm_list_remove() argument
Diodev_unittest.cc2553 struct input_data *input_data_create(void *dev_ptr) in input_data_create() argument
/external/strace/
Ddm.c194 dm_print_dev(struct tcb *tcp, void *dev_ptr, size_t dev_size, void *dummy) in dm_print_dev() argument
196 uint64_t *dev = (uint64_t *) dev_ptr; in dm_print_dev()