Lines Matching refs:param
667 static bool valid_register_param(const struct bt_csip_set_member_register_param *param) in valid_register_param() argument
669 if (param->lockable && param->rank == 0) { in valid_register_param()
674 if (param->rank > 0 && param->set_size > 0 && param->rank > param->set_size) { in valid_register_param()
676 param->rank, param->set_size); in valid_register_param()
681 if (param->parent == NULL) { in valid_register_param()
814 int bt_csip_set_member_register(const struct bt_csip_set_member_register_param *param, in bt_csip_set_member_register() argument
827 CHECKIF(param == NULL) { in bt_csip_set_member_register()
832 CHECKIF(!valid_register_param(param)) { in bt_csip_set_member_register()
855 if (param->rank == 0U) { in bt_csip_set_member_register()
859 if (param->set_size == 0U) { in bt_csip_set_member_register()
863 if (!param->lockable) { in bt_csip_set_member_register()
875 inst->rank = param->rank; in bt_csip_set_member_register()
876 inst->set_size = param->set_size; in bt_csip_set_member_register()
879 inst->cb = param->cb; in bt_csip_set_member_register()
890 (void)memcpy(inst->sirk.value, param->sirk, sizeof(inst->sirk.value)); in bt_csip_set_member_register()