Searched refs:mic_ctlr (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/ |
D | micp_mic_ctlr.c | 58 struct bt_micp_mic_ctlr *mic_ctlr; in mute_notify_handler() local 64 mic_ctlr = &mic_ctlrs[bt_conn_index(conn)]; in mute_notify_handler() 72 micp_mic_ctlr_cb->mute(mic_ctlr, 0, *mute_val); in mute_notify_handler() 88 struct bt_micp_mic_ctlr *mic_ctlr = &mic_ctlrs[bt_conn_index(conn)]; in micp_mic_ctlr_read_mute_cb() local 90 mic_ctlr->busy = false; in micp_mic_ctlr_read_mute_cb() 105 micp_mic_ctlr_cb->mute(mic_ctlr, cb_err, mute_val); in micp_mic_ctlr_read_mute_cb() 114 struct bt_micp_mic_ctlr *mic_ctlr = &mic_ctlrs[bt_conn_index(conn)]; in micp_mic_ctlr_write_mics_mute_cb() local 115 uint8_t mute_val = mic_ctlr->mute_val_buf[0]; in micp_mic_ctlr_write_mics_mute_cb() 119 mic_ctlr->busy = false; in micp_mic_ctlr_write_mics_mute_cb() 124 micp_mic_ctlr_cb->unmute_written(mic_ctlr, err); in micp_mic_ctlr_write_mics_mute_cb() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/audio/ |
D | micp.h | 156 void (*mute)(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute); 166 void (*discover)(struct bt_micp_mic_ctlr *mic_ctlr, int err, 175 void (*mute_written)(struct bt_micp_mic_ctlr *mic_ctlr, int err); 183 void (*unmute_written)(struct bt_micp_mic_ctlr *mic_ctlr, int err); 205 int bt_micp_mic_ctlr_included_get(struct bt_micp_mic_ctlr *mic_ctlr, 218 int bt_micp_mic_ctlr_conn_get(const struct bt_micp_mic_ctlr *mic_ctlr, 235 struct bt_micp_mic_ctlr **mic_ctlr); 244 int bt_micp_mic_ctlr_unmute(struct bt_micp_mic_ctlr *mic_ctlr); 253 int bt_micp_mic_ctlr_mute(struct bt_micp_mic_ctlr *mic_ctlr); 262 int bt_micp_mic_ctlr_mute_get(struct bt_micp_mic_ctlr *mic_ctlr);
|
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/shell/ |
D | micp_mic_ctlr.c | 19 static struct bt_micp_mic_ctlr *mic_ctlr; variable 24 static void micp_mic_ctlr_discover_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_discover_cb() argument 34 if (bt_micp_mic_ctlr_included_get(mic_ctlr, in micp_mic_ctlr_discover_cb() 42 static void micp_mic_ctlr_mute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_mute_written_cb() argument 52 static void micp_mic_ctlr_unmute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_unmute_written_cb() argument 62 static void micp_mic_ctlr_mute_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, in micp_mic_ctlr_mute_cb() argument 236 result = bt_micp_mic_ctlr_discover(default_conn, &mic_ctlr); in cmd_micp_mic_ctlr_discover() 249 if (mic_ctlr == NULL) { in cmd_micp_mic_ctlr_mute_get() 253 result = bt_micp_mic_ctlr_mute_get(mic_ctlr); in cmd_micp_mic_ctlr_mute_get() 267 if (mic_ctlr == NULL) { in cmd_micp_mic_ctlr_mute() [all …]
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/audio/src/ |
D | micp_mic_ctlr_test.c | 18 static struct bt_micp_mic_ctlr *mic_ctlr; variable 121 static void micp_mic_ctlr_discover_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_discover_cb() argument 134 static void micp_mic_ctlr_mute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_mute_written_cb() argument 145 static void micp_mic_ctlr_unmute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, in micp_mic_ctlr_unmute_written_cb() argument 156 static void micp_mic_ctlr_mute_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, in micp_mic_ctlr_mute_cb() argument 372 err = bt_micp_mic_ctlr_discover(default_conn, &mic_ctlr); in test_main() 378 err = bt_micp_mic_ctlr_included_get(mic_ctlr, &micp_included); in test_main() 385 err = bt_micp_mic_ctlr_conn_get(mic_ctlr, &cached_conn); in test_main() 397 err = bt_micp_mic_ctlr_mute_get(mic_ctlr); in test_main() 408 err = bt_micp_mic_ctlr_mute(mic_ctlr); in test_main() [all …]
|