Home
last modified time | relevance | path

Searched +full:setup +full:- +full:duration +full:- +full:ns (Results 1 – 25 of 67) sorted by relevance

123

/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dst,stm32-fmc2-ebi-props.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Christophe Kerello <christophe.kerello@foss.st.com>
11 - Marek Vasut <marex@denx.de>
14 st,fmc2-ebi-cs-transaction-type:
33 st,fmc2-ebi-cs-cclk-enable:
40 st,fmc2-ebi-cs-mux-enable:
46 st,fmc2-ebi-cs-buswidth:
[all …]
/openbmc/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-latch.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/gpio-latch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sascha Hauer <s.hauer@pengutronix.de>
16 CLK0 ----------------------. ,--------.
17 CLK1 -------------------. `--------|> #0 |
19 OUT0 ----------------+--|-----------|D0 Q0|-----|<
20 OUT1 --------------+-|--|-----------|D1 Q1|-----|<
21 OUT2 ------------+-|-|--|-----------|D2 Q2|-----|<
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-latch.c1 // SPDX-License-Identifier: GPL-2.0
10 * CLK0 ----------------------. ,--------.
11 * CLK1 -------------------. `--------|> #0 |
13 * OUT0 ----------------+--|-----------|D0 Q0|-----|<
14 * OUT1 --------------+-|--|-----------|D1 Q1|-----|<
15 * OUT2 ------------+-|-|--|-----------|D2 Q2|-----|<
16 * OUT3 ----------+-|-|-|--|-----------|D3 Q3|-----|<
17 * OUT4 --------+-|-|-|-|--|-----------|D4 Q4|-----|<
18 * OUT5 ------+-|-|-|-|-|--|-----------|D5 Q5|-----|<
19 * OUT6 ----+-|-|-|-|-|-|--|-----------|D6 Q6|-----|<
[all …]
/openbmc/qemu/include/hw/
H A Dclock.h4 * Copyright GreenSocs 2016-2020
11 * See the COPYING file in the top-level directory.
19 #include "qemu/host-utils.h"
39 * clock store a value representing the clock's period in 2^-32ns unit.
41 * + periods from 2^-32ns up to 4seconds
53 #define CLOCK_PERIOD_FROM_NS(ns) ((ns) * (CLOCK_PERIOD_1SEC / 1000000000llu)) argument
157 * Setup @src as the clock source of @clk. The current @src period
176 return clk->source != NULL; in clock_has_source()
195 static inline bool clock_set_ns(Clock *clk, unsigned ns) in clock_set_ns() argument
197 return clock_set(clk, CLOCK_PERIOD_FROM_NS(ns)); in clock_set_ns()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A DKconfig.profile35 that complements the runtime-pm autosuspend and provides a lower
46 check the health of the GPU and undertake regular house-keeping of
93 int "Busywait for request completion limit (ns)"
98 take a non-negligible time to setup, we do a short spin first to
133 is scheduled for execution for the timeslice duration, before
/openbmc/linux/tools/testing/selftests/bpf/
H A Dbench.c1 // SPDX-License-Identifier: GPL-2.0
41 long total = res->false_hits + res->hits + res->drops; in false_hits_report_progress()
44 iter, (delta_ns - 1000000000) / 1000.0); in false_hits_report_progress()
47 res->false_hits, total, ((float)res->false_hits / total) * 100); in false_hits_report_progress()
73 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
75 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
78 iter, (delta_ns - 1000000000) / 1000.0); in hits_drops_report_progress()
92 gp_stat->mean += res[i].gp_ns / 1000.0 / (double)res[i].gp_ct / (0.0 + res_cnt); in grace_period_latency_basic_stats()
94 #define IT_MEAN_DIFF (res[i].gp_ns / 1000.0 / (double)res[i].gp_ct - gp_stat->mean) in grace_period_latency_basic_stats()
97 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_latency_basic_stats()
[all …]
/openbmc/linux/tools/tracing/rtla/src/
H A Dutils.c1 // SPDX-License-Identifier: GPL-2.0
24 * err_msg - print an error message to the stderr
39 * debug_msg - print a debug message to stderr if debug is set
57 * get_llong_from_str - get a long long int from a string
67 return -1; in get_llong_from_str()
73 * get_duration - fill output with a human readable duration since start_time
79 time_t duration; in get_duration() local
81 duration = difftime(now, start_time); in get_duration()
82 tm_info = gmtime(&duration); in get_duration()
85 tm_info->tm_yday, in get_duration()
[all …]
/openbmc/linux/tools/include/uapi/sound/
H A Dasound.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Advanced Linux Sound Architecture - ALSA - Driver
4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
5 * Abramo Bagnara <abramo@alsa-project.org>
54 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort *
63 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */
68 * Section for driver hardware dependent interface - /dev/snd/hw? *
91 SNDRV_HWDEP_IFACE_HDA, /* HD-audio */
118 unsigned int version; /* R: driver-specific version */
119 unsigned char id[32]; /* R: driver-specific ID string */
[all …]
/openbmc/linux/include/uapi/sound/
H A Dasound.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Advanced Linux Sound Architecture - ALSA - Driver
4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
5 * Abramo Bagnara <abramo@alsa-project.org>
54 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort *
63 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */
68 * Section for driver hardware dependent interface - /dev/snd/hw? *
91 SNDRV_HWDEP_IFACE_HDA, /* HD-audio */
118 unsigned int version; /* R: driver-specific version */
119 unsigned char id[32]; /* R: driver-specific ID string */
[all …]
/openbmc/linux/fs/btrfs/
H A Dfs.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include "extent-io-tree.h"
12 #include "async-thread.h"
13 #include "block-rsv.h"
46 * Runtime (in-memory) states of filesystem
63 /* The btrfs_fs_info created for self-tests */
247 /* Seconds since 1-Jan-1970 */
249 /* Seconds since 1-Jan-1970 */
355 /* The maximum commit duration so far in ns */
357 /* The last commit duration in ns */
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dti-lmp92064.c1 // SPDX-License-Identifier: GPL-2.0
7 * Based on linux/drivers/iio/adc/ti-tsc2046.c
46 * - IN Current (INC)
47 * - IN Voltage (INV)
134 * The ADC auto-decrements the register index with each clocked byte. in lmp92064_read_meas()
140 ret = regmap_bulk_read(priv->regmap, TI_LMP92064_REG_DATA_COUT_MSB, in lmp92064_read_meas()
144 dev_err(&priv->spi->dev, "regmap_bulk_read failed: %pe\n", in lmp92064_read_meas()
169 *val = (chan->address == TI_LMP92064_CHAN_INC) ? raw[0] : raw[1]; in lmp92064_read_raw()
173 if (chan->address == TI_LMP92064_CHAN_INC) { in lmp92064_read_raw()
180 *val2 = priv->shunt_resistor_uohm; in lmp92064_read_raw()
[all …]
H A Dhx711.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2016 Andreas Klinger <ak@it-klinger.de>
76 return -EINVAL; in hx711_get_scale_to_gain()
89 * 2x32-bit channel + 64-bit naturally aligned timestamp
95 * maximum value of 100 ns
112 gpiod_set_value(hx711_data->gpiod_pd_sck, 1); in hx711_cycle()
119 ndelay(hx711_data->data_ready_delay_ns); in hx711_cycle()
127 gpiod_set_value(hx711_data->gpiod_pd_sck, 0); in hx711_cycle()
134 ndelay(hx711_data->data_ready_delay_ns); in hx711_cycle()
137 return gpiod_get_value(hx711_data->gpiod_dout); in hx711_cycle()
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DComputerSystem_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!--# Redfish Schema: ComputerSystem v1.23.1 -->
5 <!--# -->
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7 <!--# available at http://www.dmtf.org/standards/redfish -->
8 <!--# Copyright 2014-2024 DMTF. -->
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10 <!--################################################################################ -->
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/
H A DComputerSystem_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!-
[all...]
/openbmc/linux/tools/perf/
H A Dbuiltin-kvm.c1 // SPDX-License-Identifier: GPL-2.0
5 #include "util/build-id.h"
16 #include <subcmd/parse-options.h>
17 #include "util/trace-event.h"
21 #include "util/synthetic-events.h"
24 #include "util/ordered-events.h"
25 #include "util/kvm-stat.h"
59 if (vcpu == -1) \
60 return event->total.field; \
62 if (vcpu >= event->max_vcpu) \
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dspd_sdram.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2006-2007 Freescale Semiconductor, Inc.
8 * Copyright (C) 2004-2006 Freescale Semiconductor, Inc.
28 volatile ddr83xx_t *ddr = &immap->ddr; in board_add_ram_info()
31 printf(" (DDR%d", ((ddr->sdram_cfg & SDRAM_CFG_SDRAM_TYPE_MASK) in board_add_ram_info()
32 >> SDRAM_CFG_SDRAM_TYPE_SHIFT) - 1); in board_add_ram_info()
35 if ((ddr->sdram_cfg & SDRAM_CFG_DBW_MASK) == SDRAM_CFG_DBW_16) in board_add_ram_info()
36 puts(", 16-bit"); in board_add_ram_info()
37 else if ((ddr->sdram_cfg & SDRAM_CFG_DBW_MASK) == SDRAM_CFG_DBW_32) in board_add_ram_info()
38 puts(", 32-bit"); in board_add_ram_info()
[all …]
/openbmc/linux/block/
H A Dbfq-iosched.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 #include "blk-cgroup-rwstat.h"
29 * Soft real-time applications are extremely more latency sensitive
30 * than interactive ones. Over-raise the weight of the former to
38 * per-actuator data. The current value is hopefully a good upper
46 * struct bfq_service_tree - per ioprio_class service tree.
48 * Each service tree represents a B-WF2Q+ scheduler on its own. Each
71 * struct bfq_sched_data - multi-class scheduler.
75 * intermediate queue in a hierarchical setup.
81 * queue requests are served according to B-WF2Q+.
[all …]
/openbmc/u-boot/drivers/net/
H A Dfec_mxc.c1 // SPDX-License-Identifier: GPL-2.0+
25 #include <asm/arch/imx-regs.h>
26 #include <asm/mach-imx/sys_proto.h>
27 #include <asm-generic/gpio.h>
40 * The standard 32-byte DMA alignment does not work on mx6solox, which requires
41 * 64-byte alignment in the DMA RX FEC buffer.
43 * satisfies the alignment on other SoCs (32-bytes)
87 /* MII-interface related functions */
100 writel(FEC_IEVENT_MII, &eth->ievent); in fec_mdio_read()
105 phy | reg, &eth->mii_data); in fec_mdio_read()
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * fec.h -- Fast Ethernet Controller for Motorola ColdFire SoC
8 * (C) Copyright 2000-2005, Greg Ungerer (gerg@snapgear.com)
9 * (C) Copyright 2000-2001, Lineo (www.lineo.com)
23 #include <dt-bindings/firmware/imx/rsrc.h>
47 #define FEC_OPD 0x0ec /* Opcode + Pause duration */
353 #define FEC_ENET_RX_FRSIZE (PAGE_SIZE - FEC_ENET_XDP_HEADROOM \
354 - SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
410 /* Controller is ENET-MAC */
430 * frames not being transmitted until there is a 0-to-1 transition on
[all …]
/openbmc/linux/drivers/ata/
H A Dpata_octeon_cf.c8 * Copyright (C) 2005 - 2012 Cavium Inc.
31 * -- 8 bits no irq, no DMA
32 * -- 16 bits no irq, no DMA
33 * -- 16 bits True IDE mode with DMA, but no irq.
43 /* Poll interval in nS. */
78 * Compute # of eclock periods to get desired duration in in ns_to_tim_reg()
128 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_piomode()
150 BUG_ON(ata_timing_compute(dev, dev->pio_mode, &timing, T, T)); in octeon_cf_set_piomode()
154 t2--; in octeon_cf_set_piomode()
158 trh--; in octeon_cf_set_piomode()
[all …]
/openbmc/linux/drivers/net/dsa/qca/
H A Dqca8k-8xxx.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
47 ret = bus->write(bus, phy_id, regnum, lo); in qca8k_mii_write_lo()
49 dev_err_ratelimited(&bus->dev, in qca8k_mii_write_lo()
62 ret = bus->write(bus, phy_id, regnum, hi); in qca8k_mii_write_hi()
64 dev_err_ratelimited(&bus->dev, in qca8k_mii_write_hi()
75 ret = bus->read(bus, phy_id, regnum); in qca8k_mii_read_lo()
83 dev_err_ratelimited(&bus->dev, in qca8k_mii_read_lo()
95 ret = bus->read(bus, phy_id, regnum); in qca8k_mii_read_hi()
103 dev_err_ratelimited(&bus->dev, in qca8k_mii_read_hi()
[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/linux/tools/perf/Documentation/
H A Dperf-config.txt1 perf-config(1)
5 ----
6 perf-config - Get and set variables in a configuration file.
9 --------
11 'perf config' [<file-option>] [section.name[=value] ...]
13 'perf config' [<file-option>] -l | --list
16 -----------
20 -------
22 -l::
23 --list::
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dxmit.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
17 #include <linux/dma-mapping.h>
30 #define SYMBOL_TIME(_ns) ((_ns) << 2) /* ns * 4 us */
31 #define SYMBOL_TIME_HALFGI(_ns) (((_ns) * 18 + 4) / 5) /* ns * 3.6 us */
33 #define TIME_SYMBOLS_HALFGI(t) (((t) * 5 - 4) / 18)
35 #define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18)
49 { 104, 216 }, /* 3: 16-QAM 1/2 */
50 { 156, 324 }, /* 4: 16-QAM 3/4 */
51 { 208, 432 }, /* 5: 64-QAM 2/3 */
52 { 234, 486 }, /* 6: 64-QAM 3/4 */
[all …]
/openbmc/linux/include/uapi/linux/
H A Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2023 Intel Corporation
32 * be careful not to break things - i.e. don't move anything around or so
72 * For drivers supporting TDLS with external setup (WIPHY_FLAG_SUPPORTS_TDLS
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
95 * Frame registration is done on a per-interface basis and registrations
[all …]

123