Lines Matching refs:cp_val
317 switch (inst->cli.cp_val.cp.opcode) { in aics_cp_notify_app()
344 LOG_DBG("Unknown opcode 0x%02x", inst->cli.cp_val.cp.opcode); in aics_cp_notify_app()
377 if (inst->cli.cp_val.cp.opcode == BT_AICS_OPCODE_SET_GAIN) { in internal_read_state_cb()
379 inst->cli.cp_val.gain_setting); in internal_read_state_cb()
381 write_err = aics_client_common_control(inst->cli.cp_val.cp.opcode, in internal_read_state_cb()
476 inst->cli.cp_val.cp.opcode = opcode; in aics_client_common_control()
477 inst->cli.cp_val.cp.counter = inst->cli.change_counter; in aics_client_common_control()
480 inst->cli.write_params.data = &inst->cli.cp_val.cp; in aics_client_common_control()
481 inst->cli.write_params.length = sizeof(inst->cli.cp_val.cp); in aics_client_common_control()
964 inst->cli.cp_val.cp.opcode = BT_AICS_OPCODE_SET_GAIN; in bt_aics_client_gain_set()
965 inst->cli.cp_val.cp.counter = inst->cli.change_counter; in bt_aics_client_gain_set()
966 inst->cli.cp_val.gain_setting = gain; in bt_aics_client_gain_set()
968 inst->cli.write_params.data = &inst->cli.cp_val; in bt_aics_client_gain_set()
969 inst->cli.write_params.length = sizeof(inst->cli.cp_val); in bt_aics_client_gain_set()