Home
last modified time | relevance | path

Searched refs:bt_micp_mic_ctlr (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmicp.h68 struct bt_micp_mic_ctlr;
188 void (*mute)(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute);
198 void (*discover)(struct bt_micp_mic_ctlr *mic_ctlr, int err,
207 void (*mute_written)(struct bt_micp_mic_ctlr *mic_ctlr, int err);
215 void (*unmute_written)(struct bt_micp_mic_ctlr *mic_ctlr, int err);
240 int bt_micp_mic_ctlr_included_get(struct bt_micp_mic_ctlr *mic_ctlr,
253 int bt_micp_mic_ctlr_conn_get(const struct bt_micp_mic_ctlr *mic_ctlr,
268 struct bt_micp_mic_ctlr *bt_micp_mic_ctlr_get_by_conn(const struct bt_conn *conn);
284 struct bt_micp_mic_ctlr **mic_ctlr);
293 int bt_micp_mic_ctlr_unmute(struct bt_micp_mic_ctlr *mic_ctlr);
[all …]
/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Dmicp.c13 static struct bt_micp_mic_ctlr { struct
18 struct bt_micp_mic_ctlr *bt_micp_mic_ctlr_get_by_conn(const struct bt_conn *conn) in bt_micp_mic_ctlr_get_by_conn() argument
29 int bt_micp_mic_ctlr_conn_get(const struct bt_micp_mic_ctlr *mic_ctlr, struct bt_conn **conn) in bt_micp_mic_ctlr_conn_get()
36 int bt_micp_mic_ctlr_mute(struct bt_micp_mic_ctlr *mic_ctlr) in bt_micp_mic_ctlr_mute()
45 int bt_micp_mic_ctlr_unmute(struct bt_micp_mic_ctlr *mic_ctlr) in bt_micp_mic_ctlr_unmute()
54 int bt_micp_mic_ctlr_discover(struct bt_conn *conn, struct bt_micp_mic_ctlr **mic_ctlr) in bt_micp_mic_ctlr_discover()
91 int bt_micp_mic_ctlr_included_get(struct bt_micp_mic_ctlr *mic_ctlr, in bt_micp_mic_ctlr_included_get()
/Zephyr-latest/subsys/bluetooth/audio/
Dmicp_mic_ctlr.c38 LOG_MODULE_REGISTER(bt_micp_mic_ctlr, CONFIG_BT_MICP_MIC_CTLR_LOG_LEVEL);
43 static struct bt_micp_mic_ctlr mic_ctlrs[CONFIG_BT_MAX_CONN];
46 static struct bt_micp_mic_ctlr *mic_ctlr_get_by_conn(const struct bt_conn *conn) in mic_ctlr_get_by_conn()
51 static void micp_mic_ctlr_mute_changed(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute_val) in micp_mic_ctlr_mute_changed()
62 static void micp_mic_ctlr_mute_written(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute_val) in micp_mic_ctlr_mute_written()
79 static void micp_mic_ctlr_discover_complete(struct bt_micp_mic_ctlr *mic_ctlr, int err) in micp_mic_ctlr_discover_complete()
104 struct bt_micp_mic_ctlr *mic_ctlr; in mute_notify_handler()
129 struct bt_micp_mic_ctlr *mic_ctlr = mic_ctlr_get_by_conn(conn); in micp_mic_ctlr_read_mute_cb()
155 struct bt_micp_mic_ctlr *mic_ctlr = mic_ctlr_get_by_conn(conn); in micp_mic_ctlr_write_mics_mute_cb()
166 static struct bt_micp_mic_ctlr *lookup_micp_by_aics(const struct bt_aics *aics) in lookup_micp_by_aics()
[all …]
Dmicp_internal.h29 struct bt_micp_mic_ctlr { struct
Dcap_commander.c1619 static void cap_commander_micp_mic_mute_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err) in cap_commander_micp_mic_mute_cb()
1774 struct bt_micp_mic_ctlr *mic_ctlr; in valid_change_microphone_gain_param()
1906 struct bt_micp_mic_ctlr *mic_ctlr; in bt_cap_commander_change_microphone_gain_setting()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmicp_mic_ctlr_test.c25 static struct bt_micp_mic_ctlr *mic_ctlr;
128 static void micp_mic_ctlr_discover_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_discover_cb()
141 static void micp_mic_ctlr_mute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_mute_written_cb()
152 static void micp_mic_ctlr_unmute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_unmute_written_cb()
163 static void micp_mic_ctlr_mute_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, in micp_mic_ctlr_mute_cb()
354 static void discover_mics(struct bt_micp_mic_ctlr **mic_ctlr) in discover_mics()
Dcap_commander_test.c234 static void cap_micp_discover_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t aics_count) in cap_micp_discover_cb()
825 struct bt_micp_mic_ctlr *mic_ctlr; in discover_mics()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_micp.c33 static struct bt_micp_mic_ctlr *mic_ctlr;
85 static void micp_mic_ctlr_mute_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute) in micp_mic_ctlr_mute_cb()
97 static void micp_mic_ctlr_mute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err) in micp_mic_ctlr_mute_written_cb()
107 static void micp_mic_ctlr_unmute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err) in micp_mic_ctlr_unmute_written_cb()
117 static void micp_mic_ctlr_discover_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, in micp_mic_ctlr_discover_cb()
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_micp.c92 struct bt_micp_mic_ctlr *mic_ctlr; /* We don't care about this */ in ZTEST_F()
125 struct bt_micp_mic_ctlr *mic_ctlr; /* We don't care about this */ in ZTEST_F()
209 struct bt_micp_mic_ctlr *mic_ctlr; /* We don't care about this */ in ZTEST_F()
303 struct bt_micp_mic_ctlr *mic_ctlr; /* We don't care about this */ in ZTEST_F()
335 struct bt_micp_mic_ctlr *mic_ctlr; /* We don't care about this */ in ZTEST_F()
418 struct bt_micp_mic_ctlr *mic_ctlr; /* We don't care about this */ in ZTEST_F()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmicp_mic_ctlr.c26 static struct bt_micp_mic_ctlr *micp_mic_ctlr;
31 static void micp_mic_ctlr_discover_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_discover_cb()
49 static void micp_mic_ctlr_mute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_mute_written_cb()
59 static void micp_mic_ctlr_unmute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_unmute_written_cb()
69 static void micp_mic_ctlr_mute_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, in micp_mic_ctlr_mute_cb()