Searched refs:mic_ctlr (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/ |
D | micp_mic_ctlr.c | 41 struct bt_micp_mic_ctlr *mic_ctlr; in mute_notify_handler() local 47 mic_ctlr = &mic_ctlrs[bt_conn_index(conn)]; in mute_notify_handler() 55 micp_mic_ctlr_cb->mute(mic_ctlr, 0, *mute_val); in mute_notify_handler() 71 struct bt_micp_mic_ctlr *mic_ctlr = &mic_ctlrs[bt_conn_index(conn)]; in micp_mic_ctlr_read_mute_cb() local 73 mic_ctlr->busy = false; in micp_mic_ctlr_read_mute_cb() 88 micp_mic_ctlr_cb->mute(mic_ctlr, cb_err, mute_val); in micp_mic_ctlr_read_mute_cb() 97 struct bt_micp_mic_ctlr *mic_ctlr = &mic_ctlrs[bt_conn_index(conn)]; in micp_mic_ctlr_write_mics_mute_cb() local 98 uint8_t mute_val = mic_ctlr->mute_val_buf[0]; in micp_mic_ctlr_write_mics_mute_cb() 102 mic_ctlr->busy = false; in micp_mic_ctlr_write_mics_mute_cb() 107 micp_mic_ctlr_cb->unmute_written(mic_ctlr, err); in micp_mic_ctlr_write_mics_mute_cb() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/audio/ |
D | micp.h | 155 void (*mute)(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute); 165 void (*discover)(struct bt_micp_mic_ctlr *mic_ctlr, int err, 174 void (*mute_written)(struct bt_micp_mic_ctlr *mic_ctlr, int err); 182 void (*unmute_written)(struct bt_micp_mic_ctlr *mic_ctlr, int err); 204 int bt_micp_mic_ctlr_included_get(struct bt_micp_mic_ctlr *mic_ctlr, 217 int bt_micp_mic_ctlr_conn_get(const struct bt_micp_mic_ctlr *mic_ctlr, 234 struct bt_micp_mic_ctlr **mic_ctlr); 243 int bt_micp_mic_ctlr_unmute(struct bt_micp_mic_ctlr *mic_ctlr); 252 int bt_micp_mic_ctlr_mute(struct bt_micp_mic_ctlr *mic_ctlr); 261 int bt_micp_mic_ctlr_mute_get(struct bt_micp_mic_ctlr *mic_ctlr);
|
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/ |
D | btp_micp.c | 33 static struct bt_micp_mic_ctlr *mic_ctlr; variable 84 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() argument 88 bt_micp_mic_ctlr_conn_get(mic_ctlr, &conn); in micp_mic_ctlr_mute_cb() 94 static void micp_mic_ctlr_mute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err) in micp_mic_ctlr_mute_written_cb() argument 97 uint8_t mute_state = bt_micp_mic_ctlr_mute_get(mic_ctlr); in micp_mic_ctlr_mute_written_cb() 99 bt_micp_mic_ctlr_conn_get(mic_ctlr, &conn); in micp_mic_ctlr_mute_written_cb() 105 static void micp_mic_ctlr_unmute_written_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err) in micp_mic_ctlr_unmute_written_cb() argument 108 uint8_t mute_state = bt_micp_mic_ctlr_mute_get(mic_ctlr); in micp_mic_ctlr_unmute_written_cb() 110 bt_micp_mic_ctlr_conn_get(mic_ctlr, &conn); in micp_mic_ctlr_unmute_written_cb() 116 static void micp_mic_ctlr_discover_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, in micp_mic_ctlr_discover_cb() argument [all …]
|
/Zephyr-Core-3.5.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 374 err = bt_micp_mic_ctlr_discover(default_conn, &mic_ctlr); in test_main() 380 err = bt_micp_mic_ctlr_included_get(mic_ctlr, &micp_included); in test_main() 387 err = bt_micp_mic_ctlr_conn_get(mic_ctlr, &cached_conn); in test_main() 399 err = bt_micp_mic_ctlr_mute_get(mic_ctlr); in test_main() 410 err = bt_micp_mic_ctlr_mute(mic_ctlr); in test_main() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/ |
D | micp_mic_ctlr.c | 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
|