OpenBIC
OpenSource Bridge-IC
plat_hamsa_avdd_pcie.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef _PLAT_HAMSA_AVDD_PCIE_H_
18#define _PLAT_HAMSA_AVDD_PCIE_H_
19
20#include "plat_vr_test_mode.h"
21
22typedef struct {
23 uint8_t vr_rail;
24 uint16_t uvp;
25 uint16_t ovp;
26 uint16_t vout_max;
27 uint16_t lcr;
28 uint16_t ucr;
30
31typedef struct {
32 uint8_t vr_rail;
33 uint16_t lcr;
34 uint16_t ucr;
35 uint16_t vout_max;
37
40
43
44bool set_hamsa_avdd_pcie(uint16_t *millivolt, bool is_perm);
45
46#endif
const vr_mps_hamsa_avdd_pcie_mode_setting_t vr_mps_hamsa_avdd_pcie_mode_table[]
Definition: plat_hamsa_avdd_pcie.c:29
const vr_rns_hamsa_avdd_pcie_mode_setting_t vr_rns_hamsa_avdd_pcie_mode_table[]
Definition: plat_hamsa_avdd_pcie.c:24
const uint8_t vr_mps_hamsa_avdd_pcie_mode_table_size
Definition: plat_hamsa_avdd_pcie.c:42
bool set_hamsa_avdd_pcie(uint16_t *millivolt, bool is_perm)
Definition: plat_hamsa_avdd_pcie.c:45
const uint8_t vr_rns_hamsa_avdd_pcie_mode_table_size
Definition: plat_hamsa_avdd_pcie.c:39
Definition: plat_hamsa_avdd_pcie.h:31
uint16_t ucr
Definition: plat_hamsa_avdd_pcie.h:34
uint8_t vr_rail
Definition: plat_hamsa_avdd_pcie.h:32
uint16_t lcr
Definition: plat_hamsa_avdd_pcie.h:33
uint16_t vout_max
Definition: plat_hamsa_avdd_pcie.h:35
Definition: plat_hamsa_avdd_pcie.h:22
uint16_t vout_max
Definition: plat_hamsa_avdd_pcie.h:26
uint16_t uvp
Definition: plat_hamsa_avdd_pcie.h:24
uint8_t vr_rail
Definition: plat_hamsa_avdd_pcie.h:23
uint16_t ovp
Definition: plat_hamsa_avdd_pcie.h:25
uint16_t lcr
Definition: plat_hamsa_avdd_pcie.h:27
uint16_t ucr
Definition: plat_hamsa_avdd_pcie.h:28