Message ID | 20231106110336.358-51-philmd@linaro.org |
---|---|
State | Accepted |
Commit | 144729b9f1156174d41df54f05f4b57ce80e30de |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:fd90:0:b0:32d:baff:b0ca with SMTP id d16csp1028057wrr; Mon, 6 Nov 2023 03:20:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwwD2cJhkMlF+rIon2f188ui66j1Mop93DRURIP2tPLg+pX5H/tYgDPaJwksRJRyVoTqed X-Received: by 2002:a05:6214:2a8b:b0:64c:9d23:8f55 with SMTP id jr11-20020a0562142a8b00b0064c9d238f55mr31412127qvb.58.1699269620026; Mon, 06 Nov 2023 03:20:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699269620; cv=none; d=google.com; s=arc-20160816; b=D5bUFr0iHGb7uLI1eIJLI0zeOpACqpTL1lJ4teMjcmISd5hllsApuVYIOa9lpLctTz iRrQmghlbozoCLKzMnuq8fCDdR7Ur4jGvDIuIVu3XuYA1REQAzj9SeXWUvxWSlvb0cc0 ot4unYwwEOzmLh9KfEaC+zQfM6CAUU+py0O5Vc0sqqQX32uKciF2cJvmhHMN5zw4m8m8 LhX3XRxexZ39oQr9ciowkgJFTQrrdL+13j3ILE8yu0wgQ1LEYjhIErzw1eKcKB4ZbFhm G9UPh1mhfnHFX3jcQbNDXb/Lnuvzt6hlno/UfZFYx574iKopSPs1v6qwB9R2cum4uO0j VlDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=X3TRJ7mvtWFdvHNvT+G6kpqIlBzXe7wSn3LOLdu3gVg=; fh=c1Hsd908U9PKLwue3PgIR6OEtkIdu11a71wsyXYOJoE=; b=PZdJ7vl2/5eENzzhuBA5qHiIg0hpyh8ssp8lUvVBzFVDrvuGSCySwh8O1DiDvqERb2 w1sV7C7CtVet7i1qdgTteYLgZ9gRdc4zV+U2G/2MRk7N5GWphm/JpDBlhkVHJ0TYPs75 BgWFQPNv64dYYCzsxIrqpFKJh05VFWqxiuavQE3PhL9L/VvHA5yi1b0EOxzrQFJn9Wkz j24Jf5laQAo87EPcgi3tW9h+NkxZmpQvRw+WX8PjSN+oaQIdtWp7XQHEzjoaxIEy0N+1 6M2/O0qm4J9QgR8EXC6fzm42Qpuod2oO3QH3osbQeOgJ4ZNDG6+i98esv021R6pdjHIp aL0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SQyhIko2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a1-20020a056214062100b0065afba57627si6087040qvx.186.2023.11.06.03.20.19 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2023 03:20:20 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SQyhIko2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1qzxUQ-0002NJ-Tv; Mon, 06 Nov 2023 06:09:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1qzxUB-0001pT-2W for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:09:39 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1qzxTv-0005Px-RC for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:09:38 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40806e40fccso27278345e9.2 for <qemu-devel@nongnu.org>; Mon, 06 Nov 2023 03:09:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699268960; x=1699873760; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=X3TRJ7mvtWFdvHNvT+G6kpqIlBzXe7wSn3LOLdu3gVg=; b=SQyhIko2VznGmqP3eJ8bayWLSd/SUGbpV/yedTmrjHaH/iph1e0y/d+iwUrGI81z2X RSrmb2mBx4rEyB0oG1bnLmFoT3SCU26BREhswEUGHgnLu6JCaL1fE40eiENccelZEJL0 VhwgDD1OiLUjxSgQ3S0TA3U+bVuaiE9O6s9uw0XrwuHCBxMxk2ZnzyGomPYGT8997Hqt lWaV1VyhBoehAasHmOhFAG05k6iL6tLYlslQBqVwlK98Gibws5+6i/KmPWHmdHthX97n PlltvpfqtbHIRQYlFiUSVKbvyiDOuMg21PFa4GD8klyJixCLpQxCLeDnsWIRL2VHUUoJ EBNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699268960; x=1699873760; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X3TRJ7mvtWFdvHNvT+G6kpqIlBzXe7wSn3LOLdu3gVg=; b=p5iRZhDKXLCC+HQJjqzCfGxXk0nEVdF9e2fiDVuPTx8b/8h+UbptWRCS3KpOnqIUMC P/CmGGI79PbDnH6aZca2I/M+HGNGrk2QVulXp3YDDGPZpE58vCOtwaGWQD6Vr2WwLz6C NwypFj+qWxytnzEd8UXhQ80bgleFUHrZy3hQYYOnB6xv7AawdHaG0G9SvYuguv82ngIr dkqSVvQnekM+jaGluVE6h0XS2eRr/PEn52OlJQW6Kt71VJBBB3xq0QDGnl/MslTJ/ZRc zrQa2fyClowloc+C5wDqTCm/4BcTOV/v8ia4oh4TS6xYBqpIYFNjKbJmLse39A3L+FC8 tUow== X-Gm-Message-State: AOJu0YziunsA6SRiCtfzyvjAxYSgAO9U9Vw4vJqBMsADAF+s3+2aHCbn FXe0QCmw+GzzSK1Yq+yaQxXUk0MNu5IqlQpArRM= X-Received: by 2002:a05:600c:46c8:b0:3ff:233f:2cfb with SMTP id q8-20020a05600c46c800b003ff233f2cfbmr23090503wmo.23.1699268960044; Mon, 06 Nov 2023 03:09:20 -0800 (PST) Received: from m1x-phil.lan (176-131-220-199.abo.bbox.fr. [176.131.220.199]) by smtp.gmail.com with ESMTPSA id t14-20020a05600c198e00b00405d9a950a2sm11977070wmq.28.2023.11.06.03.09.18 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 06 Nov 2023 03:09:19 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, qemu-arm@nongnu.org, Titus Rwantare <titusr@google.com>, Hao Wu <wuhaotsh@google.com>, Corey Minyard <cminyard@mvista.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL 50/60] hw/i2c: pmbus: add vout mode bitfields Date: Mon, 6 Nov 2023 12:03:22 +0100 Message-ID: <20231106110336.358-51-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231106110336.358-1-philmd@linaro.org> References: <20231106110336.358-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philmd@linaro.org; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/60] vl: Free machine list
|
expand
|
diff --git a/include/hw/i2c/pmbus_device.h b/include/hw/i2c/pmbus_device.h index 7dc00cc4d9..2e95164aa1 100644 --- a/include/hw/i2c/pmbus_device.h +++ b/include/hw/i2c/pmbus_device.h @@ -444,6 +444,14 @@ typedef struct PMBusCoefficients { int32_t R; /* exponent */ } PMBusCoefficients; +/** + * VOUT_Mode bit fields + */ +typedef struct PMBusVoutMode { + uint8_t mode:3; + int8_t exp:5; +} PMBusVoutMode; + /** * Convert sensor values to direct mode format *