Lines Matching refs:callback
103 static void set_callback(vendor_async_opcode_t opcode, vendor_cb callback) { in set_callback() argument
104 callbacks[opcode] = callback; in set_callback()
113 vendor_cb callback = callbacks[VENDOR_CONFIGURE_FIRMWARE]; in firmware_config_cb() local
114 assert(callback != NULL); in firmware_config_cb()
115 callback(result == BT_VND_OP_RESULT_SUCCESS); in firmware_config_cb()
123 vendor_cb callback = callbacks[VENDOR_CONFIGURE_SCO]; in sco_config_cb() local
124 assert(callback != NULL); in sco_config_cb()
125 callback(result == BT_VND_OP_RESULT_SUCCESS); in sco_config_cb()
132 vendor_cb callback = callbacks[VENDOR_SET_LPM_MODE]; in low_power_mode_cb() local
133 assert(callback != NULL); in low_power_mode_cb()
134 callback(result == BT_VND_OP_RESULT_SUCCESS); in low_power_mode_cb()
173 static uint8_t transmit_cb(UNUSED_ATTR uint16_t opcode, void *buffer, tINT_CMD_CBACK callback) { in transmit_cb() argument
175 hci->transmit_command((BT_HDR *)buffer, transmit_completed_callback, NULL, callback); in transmit_cb()
184 vendor_cb callback = callbacks[VENDOR_DO_EPILOG]; in epilog_cb() local
185 assert(callback != NULL); in epilog_cb()
186 callback(result == BT_VND_OP_RESULT_SUCCESS); in epilog_cb()