Home
last modified time | relevance | path

Searched +full:speed +full:- +full:bins (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8996pro.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
9 /delete-node/ opp-table-cluster0;
10 /delete-node/ opp-table-cluster1;
13 * On MSM8996 Pro the cpufreq driver shifts speed bins into the high
14 * nibble of supported hw, so speed bin 0 becomes 0x10, speed bin 1
15 * becomes 0x20, speed 2 becomes 0x40.
18 cluster0_opp: opp-table-cluster0 {
19 compatible = "operating-points-v2-kryo-cpu";
20 nvmem-cells = <&speedbin_efuse>;
21 opp-shared;
[all …]
H A Dmsm8996.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/qcom,gcc-msm8996.h>
8 #include <dt-bindings/clock/qcom,mmcc-msm8996.h>
9 #include <dt-bindings/clock/qcom,rpmcc.h>
10 #include <dt-bindings/interconnect/qcom,msm8996.h>
11 #include <dt-bindings/interconnect/qcom,msm8996-cbf.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/power/qcom-rpmpd.h>
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.c1 // SPDX-License-Identifier: GPL-2.0-only
5 Copyright (C) 2007-2011 STMicroelectronics Ltd
26 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins
28 * @mcast_bins: Multicast filtering bins
30 * this function validates the number of Multicast filtering bins specified
32 * 64 bins, 128 bins, or 256 bins. "bins" refer to the division of CRC
33 * number space. 64 bins correspond to 6 bits of the CRC, 128 corresponds
57 * dwmac1000_validate_ucast_entries - validate the Unicast address entries
88 * stmmac_axi_setup - parse DT parameters for programming the AXI register
91 * if required, from device-tree the AXI internal register can be tuned
[all …]
H A Ddwmac-intel.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/clk-provider.h>
8 #include "dwmac-intel.h"
44 int func = PCI_FUNC(pdev->devfn); in stmmac_pci_find_phy_addr()
49 return -ENODEV; in stmmac_pci_find_phy_addr()
51 dmi_data = dmi_id->driver_data; in stmmac_pci_find_phy_addr()
52 func_data = dmi_data->func; in stmmac_pci_find_phy_addr()
54 for (n = 0; n < dmi_data->nfuncs; n++, func_data++) in stmmac_pci_find_phy_addr()
55 if (func_data->func == func) in stmmac_pci_find_phy_addr()
56 return func_data->phy_addr; in stmmac_pci_find_phy_addr()
[all …]
/openbmc/linux/include/dt-bindings/clock/
H A Drk3399-ddr.h1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
7 * DDR3 SDRAM Standard Speed Bins include tCK, tRCD, tRP, tRAS and tRC for
11 /* DDR3-800 (5-5-5) */
13 /* DDR3-800 (6-6-6) */
15 /* DDR3-1066 (6-6-6) */
17 /* DDR3-1066 (7-7-7) */
19 /* DDR3-1066 (8-8-8) */
21 /* DDR3-1333 (7-7-7) */
23 /* DDR3-1333 (8-8-8) */
25 /* DDR3-1333 (9-9-9) */
[all …]
/openbmc/u-boot/drivers/ddr/fsl/
H A Dddr3_dimm_params.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2008-2012 Freescale Semiconductor, Inc.
8 * JEDEC standard No.21-C 4_01_02_11R18.pdf
27 * SPD byte4 - sdram density and banks
37 * SPD byte8 - module memory bus width
44 * SPD byte7 - module organiztion
61 if ((spd->density_banks & 0xf) < 7) in compute_ranksize()
62 nbit_sdram_cap_bsize = (spd->density_banks & 0xf) + 28; in compute_ranksize()
63 if ((spd->bus_width & 0x7) < 4) in compute_ranksize()
64 nbit_primary_bus_width = (spd->bus_width & 0x7) + 3; in compute_ranksize()
[all …]
H A Dddr2_dimm_params.c1 // SPDX-License-Identifier: GPL-2.0
18 * --- ----- ------
46 * Convert a two-nibble BCD value into a cycle time.
47 * While the spec calls for nano-seconds, picos are returned.
148 * shortest SPD-defined CAS latency.
152 * Do this by finding in the standard speed bin table the longest
160 * CAS latency de-rating based upon values JEDEC Standard No. 79-2C
161 * Table 40, "DDR2 SDRAM stanadard speed bins and tCK, tRCD, tRP, tRAS,
210 if (spd->mem_type) { in ddr_compute_dimm_parameters()
211 if (spd->mem_type != SPD_MEMTYPE_DDR2) { in ddr_compute_dimm_parameters()
[all …]
/openbmc/u-boot/common/
H A Ddlmalloc.c32 #define AlignPage(add) (((add) + (malloc_getpagesize-1)) & \
33 ~(malloc_getpagesize-1))
34 #define AlignPage64K(add) (((add) + (0x10000 - 1)) & ~(0x10000 - 1))
63 this->base = bas; in makeGmListElement()
64 this->next = head; in makeGmListElement()
73 assert ( (head == NULL) || (head->base == (void*)gAddressBase)); in gcleanup()
74 if (gAddressBase && (gNextAddress - gAddressBase)) in gcleanup()
77 gNextAddress - gAddressBase, in gcleanup()
83 GmListElement* next = head->next; in gcleanup()
84 rval = VirtualFree (head->base, 0, MEM_RELEASE); in gcleanup()
[all …]
H A Ddlmalloc.src1 /* ---------- To make a malloc.h, start cutting here ------------ */
16 This is not the fastest, most space-conserving, most portable, or
18 while also being among the most space-conserving, portable and tunable.
19 Consistent balance across these factors results in a good general-purpose
20 allocator. For a high-level description, see
38 size argument of zero (re)allocates a minimum-sized chunk.
48 Equivalent to valloc(minimum-page-that-holds(n)), that is,
56 Release all but pad bytes of freed top-most memory back
72 Alignment: 8-byte
77 Code for 8-byte pointers is untested by me but has worked
[all …]
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ddr/
H A Djedec,lpddr2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LPDDR2 SDRAM compliant to JEDEC JESD209-2
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 - $ref: jedec,lpddr-props.yaml#
18 - items:
19 - enum:
20 - elpida,ECB240ABACN
[all …]
H A Djedec,lpddr3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr3.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LPDDR3 SDRAM compliant to JEDEC JESD209-3
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 - $ref: jedec,lpddr-props.yaml#
18 - items:
19 - enum:
20 - samsung,K3QF2F20DB
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dsnps,dwmac.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandre Torgue <alexandre.torgue@foss.st.com>
11 - Giuseppe Cavallaro <peppe.cavallaro@st.com>
12 - Jose Abreu <joabreu@synopsys.com>
23 - snps,dwmac
24 - snps,dwmac-3.40a
25 - snps,dwmac-3.50a
26 - snps,dwmac-3.610
[all …]
/openbmc/linux/arch/arc/boot/dts/
H A Daxs10x_mb.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
14 compatible = "simple-bus";
15 #address-cells = <1>;
16 #size-cells = <1>;
18 interrupt-parent = <&mb_intc>;
20 creg_rst: reset-controller@11220 {
21 compatible = "snps,axs10x-reset";
22 #reset-cells = <1>;
27 compatible = "snps,axs10x-i2s-pll-clock";
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_vf.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
15 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_prep()
23 mutex_lock(&(p_iov->mutex)); in qed_vf_pf_prep()
31 p_iov->offset = (u8 *)p_iov->vf2pf_request; in qed_vf_pf_prep()
33 /* Clear mailbox - both request and reply */ in qed_vf_pf_prep()
34 memset(p_iov->vf2pf_request, 0, sizeof(union vfpf_tlvs)); in qed_vf_pf_prep()
35 memset(p_iov->pf2vf_reply, 0, sizeof(union pfvf_tlvs)); in qed_vf_pf_prep()
38 p_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, type, length); in qed_vf_pf_prep()
[all …]
H A Dqed_vf.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
45 /* general tlv header (used for both vf->pf request and pf->vf response) */
51 /* header of first vf->pf tlv carries the offset used to calculate response
60 /* header of pf->vf tlvs, carries the status of handling the request */
88 #define VFPF_ACQUIRE_CAP_PRE_FP_HSI BIT(0) /* VF pre-FP hsi version */
90 /* A requirement for supporting multi-Tx queues on a single queue-zone,
166 * mechanism [version-based] and allow a VF that can't be supported to pass
194 * non-matching versions to shed light in VF about failure.
227 /* Extended queue information - additional index for reference inside qzone.
[all …]
H A Dqed_sriov.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
27 return le16_to_cpu(entity_id) - MAX_NUM_PFS; in qed_vf_from_entity_id()
34 if (p_vf->acquire.vfdev_info.eth_fp_hsi_minor == in qed_vf_calculate_legacy()
38 if (!(p_vf->acquire.vfdev_info.capabilities & in qed_vf_calculate_legacy()
51 int rc = -EINVAL; in qed_sp_vf_start()
57 init_data.opaque_fid = p_vf->opaque_fid; in qed_sp_vf_start()
66 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start()
68 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start()
[all …]
/openbmc/u-boot/arch/arm/include/asm/
H A Demif.h4 * Copyright (C) 2009-2010 Texas Instruments, Inc.
815 * calculations. So, as a trade-off keep denominator(and consequently
816 * numerator) within a limit sacrificing some accuracy - but not much
885 /* Interleaving policies at EMIF level- between banks and Chip Selects */
909 /* To be used when voltage is changed for DPS/DVFS - 1us */
913 * 50us - or maximum value will do
921 * due to smart-reflex.
934 /* Enable ZQ Calibration on exiting Self-refresh */
937 * ZQ Calibration simultaneously on both chip-selects:
1005 * nWR : 3(default). EMIF does not do pre-charge.
[all …]
/openbmc/linux/arch/arm/boot/dts/renesas/
H A Dr9a06g032.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/clock/r9a06g032-sysctrl.h>
14 #address-cells = <1>;
15 #size-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
23 compatible = "arm,cortex-a7";
30 compatible = "arm,cortex-a7";
33 enable-method = "renesas,r9a06g032-smp";
[all …]
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Ddram_sun4i.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Based on sun4i Linux kernel sources mach-sunxi/pm/standby/dram*.c
8 * and earlier U-Boot Allwinner A10 SPL work
10 * (C) Copyright 2007-2012
68 writel(0, &timer->cpu_cfg); in mctl_ddr3_reset()
69 reg_val = readl(&timer->cpu_cfg); in mctl_ddr3_reset()
73 setbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()
75 clrbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()
79 clrbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()
81 setbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()
[all …]
/openbmc/qemu/qapi/
H A Dblock-core.json1 # -*- Mode: Python -*-
20 # @vm-state-size: size of the VM state
22 # @date-sec: UTC date of the snapshot in seconds
24 # @date-nsec: fractional part in nano seconds to be used with date-sec
26 # @vm-clock-sec: VM clock relative to boot in seconds
28 # @vm-clock-nsec: fractional part in nano seconds to be used with
29 # vm-clock-sec
32 # record/replay is enabled. Used for "time-traveling" to match
34 # counter may be obtained through @query-replay command (since
40 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int',
[all …]
/openbmc/u-boot/drivers/ram/rockchip/
H A Ddmc-rk3368.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <dt-bindings/memory/rk3368-dmc.h>
10 #include <dt-structs.h>
123 ((n <= 8) ? ((n - 4) << 9) : (((n >> 1) & 0x7) << 9))
125 ((((n - 4) & 0x7) << 4) | (((n - 4) & 0x8) >> 2))
133 (((n - 5) & 0x7) << 3)
141 rk_setreg(&grf->ddrc0_con0, NOC_RSP_ERR_STALL); in ddr_set_noc_spr_err_stall()
143 rk_clrreg(&grf->ddrc0_con0, NOC_RSP_ERR_STALL); in ddr_set_noc_spr_err_stall()
149 rk_setreg(&grf->ddrc0_con0, MSCH0_MAINDDR3_DDR3); in ddr_set_ddr3_mode()
151 rk_clrreg(&grf->ddrc0_con0, MSCH0_MAINDDR3_DDR3); in ddr_set_ddr3_mode()
[all …]
/openbmc/linux/include/linux/
H A Dmmzone.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 #include <linux/pageblock-flags.h>
20 #include <linux/page-flags-layout.h>
23 #include <linux/page-flags.h>
27 /* Free memory management - zoned buddy allocator. */
105 #define MIGRATETYPE_MASK ((1UL << PB_migratetype_bits) - 1)
111 get_pfnblock_flags_mask(&folio->page, folio_pfn(folio), \
196 NR_KERNEL_MISC_RECLAIMABLE, /* reclaimable non-slab kernel pages */
240 * Global and per-node slab counters track slab pages. in vmstat_item_in_bytes()
244 * Per-memcg and per-lruvec counters track memory, consumed in vmstat_item_in_bytes()
[all …]
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_common.c4 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org>
228 #define B53_MAX_MTU_25 (1536 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN)
229 #define B53_MAX_MTU (9720 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN)
235 b53_write8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], VTA_START_CMD | op); in b53_do_vlan_op()
240 b53_read8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], &vta); in b53_do_vlan_op()
247 return -EIO; in b53_do_vlan_op()
256 if (vlan->members) { in b53_set_vlan_entry()
257 entry = ((vlan->untag & VA_UNTAG_MASK_25) << in b53_set_vlan_entry()
258 VA_UNTAG_S_25) | vlan->members; in b53_set_vlan_entry()
259 if (dev->core_rev >= 3) in b53_set_vlan_entry()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */
29 #define MLXSW_REG_LEN(type) MLXSW_REG(type)->len
30 #define MLXSW_REG_ZERO(type, payload) memset(payload, 0, MLXSW_REG(type)->len)
32 /* SGCR - Switch General Configuration Register
33 * --------------------------------------------
55 /* SPAD - Switch Physical Address Register
56 * ---------------------------------------
72 /* SSPR - Switch System Port Record Register
73 * -----------------------------------------
[all …]
/openbmc/linux/mm/
H A Dvmscan.c1 // SPDX-License-Identifier: GPL-2.0
31 #include <linux/backing-dev.h>
46 #include <linux/memory-tiers.h>
175 if ((_folio)->lru.prev != _base) { \
178 prev = lru_to_folio(&(_folio->lru)); \
179 prefetchw(&prev->_field); \
211 return rcu_dereference_protected(memcg->nodeinfo[nid]->shrinker_info, in shrinker_info_protected()
226 pn = memcg->nodeinfo[nid]; in expand_one_shrinker_info()
233 if (new_nr_max <= old->map_nr_max) in expand_one_shrinker_info()
238 return -ENOMEM; in expand_one_shrinker_info()
[all …]