Searched refs:cras_alsa_jack (Results 1 – 6 of 6) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_jack.h | 15 struct cras_alsa_jack; 26 typedef void(jack_state_change_callback)(const struct cras_alsa_jack *jack, 76 struct cras_alsa_jack **result_jack); 97 cras_alsa_jack_get_mixer_output(const struct cras_alsa_jack *jack); 106 cras_alsa_jack_get_mixer_input(const struct cras_alsa_jack *jack); 118 const char *cras_alsa_jack_get_name(const struct cras_alsa_jack *jack); 124 const char *cras_alsa_jack_get_ucm_device(const struct cras_alsa_jack *jack); 126 void cras_alsa_jack_update_monitor_name(const struct cras_alsa_jack *jack, 139 void cras_alsa_jack_update_node_type(const struct cras_alsa_jack *jack, 146 void cras_alsa_jack_enable_ucm(const struct cras_alsa_jack *jack, int enable);
|
D | cras_alsa_jack.c | 84 struct cras_alsa_jack { struct 102 struct cras_alsa_jack *prev, *next; argument 130 struct cras_alsa_jack *jacks; 142 struct cras_alsa_jack *result_jack; 177 static inline struct cras_alsa_jack *cras_alloc_jack(int is_gpio) in cras_alloc_jack() 179 struct cras_alsa_jack *jack = calloc(1, sizeof(*jack)); in cras_alloc_jack() 186 static void cras_free_jack(struct cras_alsa_jack *jack, int rm_select_fd) in cras_free_jack() 218 static int get_jack_current_state(struct cras_alsa_jack *jack) in get_jack_current_state() 231 static int read_jack_edid(const struct cras_alsa_jack *jack, uint8_t *edid) in read_jack_edid() 247 static int check_jack_edid(struct cras_alsa_jack *jack) in check_jack_edid() [all …]
|
D | cras_alsa_io.c | 92 const struct cras_alsa_jack *jack; 99 const struct cras_alsa_jack *jack; 1334 const struct cras_alsa_jack *jack) in get_output_node_from_jack() 1356 get_input_node_from_jack(struct alsa_io *aio, const struct cras_alsa_jack *jack) in get_input_node_from_jack() 1374 static const struct cras_alsa_jack *get_jack_from_node(struct cras_ionode *node) in get_jack_from_node() 1376 const struct cras_alsa_jack *jack = NULL; in get_jack_from_node() 1408 const struct cras_alsa_jack *jack) in create_volume_curve_for_jack() 1498 static void jack_output_plug_event(const struct cras_alsa_jack *jack, in jack_output_plug_event() 1570 static void jack_input_plug_event(const struct cras_alsa_jack *jack, in jack_input_plug_event() 1768 const struct cras_alsa_jack *jack; in enable_active_ucm() [all …]
|
/external/adhd/cras/src/tests/ |
D | alsa_io_unittest.cc | 90 static struct cras_alsa_jack* 821 const struct cras_alsa_jack* jack = (struct cras_alsa_jack*)4; in TEST() 860 const struct cras_alsa_jack* jack = (struct cras_alsa_jack*)4; in TEST() 1046 reinterpret_cast<struct cras_alsa_jack*>(10); in TEST() 1057 reinterpret_cast<struct cras_alsa_jack*>(20); in TEST() 1066 jack_output_plug_event(reinterpret_cast<struct cras_alsa_jack*>(10), 0, aio); in TEST() 1069 jack_output_plug_event(reinterpret_cast<struct cras_alsa_jack*>(20), 0, aio); in TEST() 1144 reinterpret_cast<struct cras_alsa_jack*>(1); in TEST() 1166 jack_output_plug_event(reinterpret_cast<struct cras_alsa_jack*>(4), 0, aio); in TEST() 1203 jack_output_plug_event(reinterpret_cast<struct cras_alsa_jack*>(4), 0, aio); in TEST() [all …]
|
D | alsa_jack_unittest.cc | 145 static void fake_jack_cb(const struct cras_alsa_jack* jack, in fake_jack_cb() 249 struct cras_alsa_jack* jack; in run_test_with_section() 265 EXPECT_NE(jack, reinterpret_cast<struct cras_alsa_jack*>(NULL)); in run_test_with_section() 267 EXPECT_EQ(jack, reinterpret_cast<struct cras_alsa_jack*>(NULL)); in run_test_with_section() 765 struct cras_alsa_jack* jack; in TEST()
|
/external/adhd/cras/src/ |
D | Makefile.am | 635 server/cras_alsa_jack.c \
|