/openbmc/linux/Documentation/fb/ |
H A D | viafb.modes | 15 # Sync Width 3.813 us 0.064 ms 17 # Front Porch 0.636 us 0.318 ms 19 # Back Porch 1.907 us 1.048 ms 21 # Active Time 25.422 us 15.253 ms 23 # Blank Time 6.356 us 1.430 ms 33 geometry 480 640 480 640 32 timings 39722 72 24 19 1 48 3 endmode 40 # Sync Width 2.032 us 0.080 ms 42 # Front Porch 0.508 us 0.027 ms 43 # 2 chars 1 lines 44 # Back Porch 3.810 us 0.427 ms [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mpc52xx.c | 35 #define SPI_CTRL1_SPIE (1 << 7) 36 #define SPI_CTRL1_SPE (1 << 6) 37 #define SPI_CTRL1_MSTR (1 << 4) 38 #define SPI_CTRL1_CPOL (1 << 3) 39 #define SPI_CTRL1_CPHA (1 << 2) 40 #define SPI_CTRL1_SSOE (1 << 1) 41 #define SPI_CTRL1_LSBFE (1 << 0) 47 #define SPI_STATUS_SPIF (1 << 7) 48 #define SPI_STATUS_WCOL (1 << 6) 49 #define SPI_STATUS_MODF (1 << 4) [all …]
|
/openbmc/qemu/hw/riscv/ |
H A D | numa.c | 28 static bool numa_enabled(const MachineState *ms) in numa_enabled() argument 30 return (ms->numa_state && ms->numa_state->num_nodes) ? true : false; in numa_enabled() 33 int riscv_socket_count(const MachineState *ms) in riscv_socket_count() argument 35 return (numa_enabled(ms)) ? ms->numa_state->num_nodes : 1; in riscv_socket_count() 38 int riscv_socket_first_hartid(const MachineState *ms, int socket_id) in riscv_socket_first_hartid() argument 40 int i, first_hartid = ms->smp.cpus; in riscv_socket_first_hartid() 42 if (!numa_enabled(ms)) { in riscv_socket_first_hartid() 43 return (!socket_id) ? 0 : -1; in riscv_socket_first_hartid() 46 for (i = 0; i < ms->smp.cpus; i++) { in riscv_socket_first_hartid() 47 if (ms->possible_cpus->cpus[i].props.node_id != socket_id) { in riscv_socket_first_hartid() [all …]
|
H A D | virt.c | 135 s->flash[1] = virt_flash_create1(s, "virt.flash1", "pflash1"); in virt_flash_create() 162 virt_flash_map1(s->flash[1], flashbase + flashsize, flashsize, in virt_flash_map() 195 irq_map[i] = cpu_to_be32(pin + 1); in create_pcie_irq_map() 226 MachineState *ms = MACHINE(s); in create_fdt_socket_cpus() local 230 for (cpu = s->soc[socket].num_harts - 1; cpu >= 0; cpu--) { in create_fdt_socket_cpus() 241 qemu_fdt_add_subnode(ms->fdt, cpu_name); in create_fdt_socket_cpus() 247 qemu_fdt_setprop_string(ms->fdt, cpu_name, "mmu-type", sv_name); in create_fdt_socket_cpus() 250 riscv_isa_write_fdt(cpu_ptr, ms->fdt, cpu_name); in create_fdt_socket_cpus() 253 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "riscv,cbom-block-size", in create_fdt_socket_cpus() 258 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "riscv,cboz-block-size", in create_fdt_socket_cpus() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | mesh.c | 52 #if 1 82 #define ALLOW_SYNC(tgt) ((sync_targets >> (tgt)) & 1) 83 #define ALLOW_RESEL(tgt) ((resel_targets >> (tgt)) & 1) 84 #define ALLOW_DEBUG(tgt) ((debug_targets >> (tgt)) & 1) 186 static void mesh_done(struct mesh_state *ms, int start_next); 187 static void mesh_interrupt(struct mesh_state *ms); 188 static void cmd_complete(struct mesh_state *ms); 189 static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd); 190 static void halt_dma(struct mesh_state *ms); 191 static void phase_mismatch(struct mesh_state *ms); [all …]
|
/openbmc/linux/include/crypto/ |
H A D | gf128mul.h | 24 1. distributions of this source code include the above copyright 61 * The elements of GF(2^128) := GF(2)[X]/(X^128-X^7-X^2-X^1-1) can 70 * b[0] b[1] b[2] b[3] b[13] b[14] b[15] 75 * The above buffer represents the polynomial 1, and X^7+X^2+X^1+1 looks 82 * represents X^127. X^7+X^2+X^1+1 looks like 00000000 .... 10000111, 105 * MS x[0] LS MS x[1] LS 106 * ms ls ms ls ms ls ms ls ms ls ms ls ms ls ms ls 109 * MS x[2] LS MS x[3] LS 110 * ms ls ms ls ms ls ms ls ms ls ms ls ms ls ms ls 115 * MS x[0] LS MS x[1] LS [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-raid1.c | 27 #define MAX_RECOVERY 1 /* Maximum number of regions recovered in parallel. */ 29 #define MAX_NR_MIRRORS (DM_KCOPYD_MAX_REGIONS + 1) 51 struct mirror_set *ms; member 99 struct mirror_set *ms = context; in wakeup_mirrord() local 101 queue_work(ms->kmirrord_wq, &ms->kmirrord_work); in wakeup_mirrord() 106 struct mirror_set *ms = from_timer(ms, t, timer); in delayed_wake_fn() local 108 clear_bit(0, &ms->timer_pending); in delayed_wake_fn() 109 wakeup_mirrord(ms); in delayed_wake_fn() 112 static void delayed_wake(struct mirror_set *ms) in delayed_wake() argument 114 if (test_and_set_bit(0, &ms->timer_pending)) in delayed_wake() [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | netem.json | 15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem", 18 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ limit", 19 "matchCount": "1", 21 "$TC qdisc del dev $DUMMY handle 1: root", 38 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem limit 200", 41 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ limit 200", 42 "matchCount": "1", 44 "$TC qdisc del dev $DUMMY handle 1: root", 61 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem delay 100ms", 64 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ .*delay 100ms", [all …]
|
H A D | codel.json | 15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel", 18 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms", 19 "matchCount": "1", 21 "$TC qdisc del dev $DUMMY handle 1: root", 38 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel limit 1500", 41 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1500p target 5ms interval 100ms", 42 "matchCount": "1", 44 "$TC qdisc del dev $DUMMY handle 1: root", 61 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel target 100ms", 64 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 100ms interval 100ms", [all …]
|
H A D | fq_codel.json | 15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel", 18 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … 19 "matchCount": "1", 21 "$TC qdisc del dev $DUMMY handle 1: root", 38 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel limit 1000", 41 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 1024 quantum.*target 5ms i… 42 "matchCount": "1", 44 "$TC qdisc del dev $DUMMY handle 1: root", 61 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel memory_limit 100000", 64 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … [all …]
|
/openbmc/qemu/hw/core/ |
H A D | machine-smp.c | 31 static char *cpu_hierarchy_to_string(MachineState *ms) in cpu_hierarchy_to_string() argument 33 MachineClass *mc = MACHINE_GET_CLASS(ms); in cpu_hierarchy_to_string() 37 g_string_append_printf(s, "drawers (%u) * ", ms->smp.drawers); in cpu_hierarchy_to_string() 41 g_string_append_printf(s, "books (%u) * ", ms->smp.books); in cpu_hierarchy_to_string() 44 g_string_append_printf(s, "sockets (%u)", ms->smp.sockets); in cpu_hierarchy_to_string() 47 g_string_append_printf(s, " * dies (%u)", ms->smp.dies); in cpu_hierarchy_to_string() 51 g_string_append_printf(s, " * clusters (%u)", ms->smp.clusters); in cpu_hierarchy_to_string() 55 g_string_append_printf(s, " * modules (%u)", ms->smp.modules); in cpu_hierarchy_to_string() 58 g_string_append_printf(s, " * cores (%u)", ms->smp.cores); in cpu_hierarchy_to_string() 59 g_string_append_printf(s, " * threads (%u)", ms->smp.threads); in cpu_hierarchy_to_string() [all …]
|
H A D | machine.c | 58 { "virtio-gpu-device", "x-scanout-vmstate-version", "1" }, 75 { TYPE_PCI_DEVICE, "x-pcie-ari-nextfn-1", "on" }, 132 { "vhost-scsi", "num_queues", "1"}, 133 { "vhost-user-blk", "num-queues", "1"}, 134 { "vhost-user-scsi", "num_queues", "1"}, 135 { "virtio-blk-device", "num-queues", "1"}, 136 { "virtio-scsi-device", "num_queues", "1"}, 138 { "pvpanic", "events", "1"}, /* PVPANIC_PANICKED */ 190 { "pcie-root-port", "x-width", "1" }, 292 MachineState *ms = MACHINE(obj); in machine_get_kernel() local [all …]
|
H A D | numa.c | 62 static void parse_numa_node(MachineState *ms, NumaNodeOptions *node, in parse_numa_node() argument 68 MachineClass *mc = MACHINE_GET_CLASS(ms); in parse_numa_node() 69 unsigned int max_cpus = ms->smp.max_cpus; in parse_numa_node() 70 NodeInfo *numa_info = ms->numa_state->nodes; in parse_numa_node() 75 nodenr = ms->numa_state->num_nodes; in parse_numa_node() 95 if (!ms->numa_state->hmat_enabled) { in parse_numa_node() 105 MAX_NODES - 1); in parse_numa_node() 121 props = mc->cpu_index_to_instance_props(ms, cpus->value); in parse_numa_node() 124 machine_set_cpu_numa_node(ms, &props, &err); in parse_numa_node() 167 max_numa_nodeid = MAX(max_numa_nodeid, nodenr + 1); in parse_numa_node() [all …]
|
/openbmc/qemu/hw/loongarch/ |
H A D | virt.c | 102 lvms->flash[1] = virt_flash_create1(lvms, "virt.flash1", "pflash1"); in virt_flash_create() 132 PFlashCFI01 *flash1 = lvms->flash[1]; in virt_flash_map() 141 MachineState *ms = MACHINE(lvms); in fdt_add_cpuic_node() local 144 *cpuintc_phandle = qemu_fdt_alloc_phandle(ms->fdt); in fdt_add_cpuic_node() 146 qemu_fdt_add_subnode(ms->fdt, nodename); in fdt_add_cpuic_node() 147 qemu_fdt_setprop_cell(ms->fdt, nodename, "phandle", *cpuintc_phandle); in fdt_add_cpuic_node() 148 qemu_fdt_setprop_string(ms->fdt, nodename, "compatible", in fdt_add_cpuic_node() 150 qemu_fdt_setprop(ms->fdt, nodename, "interrupt-controller", NULL, 0); in fdt_add_cpuic_node() 151 qemu_fdt_setprop_cell(ms->fdt, nodename, "#interrupt-cells", 1); in fdt_add_cpuic_node() 159 MachineState *ms = MACHINE(lvms); in fdt_add_eiointc_node() local [all …]
|
/openbmc/telemetry/tests/src/ |
H A D | test_numeric_threshold.cpp | 52 makeThreshold(0ms, numeric::Direction::increasing, 90.0, in SetUp() 91 Milliseconds sleepAfter = 0ms) : in UpdateParams() 103 Milliseconds waitMin = 0ms) : in ExpectedParams() 146 *os << "{ DwellTime: " << o.dwellTime.count() << "ms "; in PrintTo() 160 << ", SleepAfter: " << sleepAfter.count() << "ms }, "; in PrintTo() 166 << ", waitMin: " << waitMin.count() << "ms }, "; in PrintTo() 173 Milliseconds dwellTime = 0ms; 186 if (duration != 0ms) in sleep() 218 sut->sensorUpdated(*sensorMocks[idx], 0ms, value); in testBodySensorIsUpdatedMultipleTimes() 227 sut->sensorUpdated(*sensorMocks[index], 42ms, value); in testBodySensorIsUpdatedMultipleTimes() [all …]
|
H A D | test_discrete_threshold.cpp | 54 sut = makeThreshold(0ms, "90.0", discrete::Severity::critical); in SetUp() 86 sut = makeThreshold(0ms, GetParam(), discrete::Severity::critical); in TEST_P() 102 EXPECT_THROW(makeThreshold(0ms, GetParam()), std::invalid_argument); in TEST_P() 112 auto sut = makeThreshold(0ms, "12.3", discrete::Severity::ok, "non-empty"); in TEST_F() 121 auto sut = makeThreshold(0ms, "12.3", discrete::Severity::ok, ""); in TEST_F() 137 Milliseconds sleepAfter = 0ms) : in UpdateParams() 149 Milliseconds waitMin = 0ms) : in ExpectedParams() 180 *os << "{ DwellTime: " << o.dwellTime.count() << "ms "; in PrintTo() 186 << ", SleepAfter: " << sleepAfter.count() << "ms }, "; in PrintTo() 192 << ", waitMin: " << waitMin.count() << "ms }, "; in PrintTo() [all …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_lazy.c | 20 ZSTD_updateDUBT(ZSTD_matchState_t* ms, in ZSTD_updateDUBT() argument 24 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_updateDUBT() 25 U32* const hashTable = ms->hashTable; in ZSTD_updateDUBT() 28 U32* const bt = ms->chainTable; in ZSTD_updateDUBT() 29 U32 const btLog = cParams->chainLog - 1; in ZSTD_updateDUBT() 30 U32 const btMask = (1 << btLog) - 1; in ZSTD_updateDUBT() 32 const BYTE* const base = ms->window.base; in ZSTD_updateDUBT() 34 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT() 38 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 42 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ in ZSTD_updateDUBT() [all …]
|
/openbmc/qemu/hw/mem/ |
H A D | memory-device.c | 49 return 1; in memory_device_addr_sort() 51 return -1; in memory_device_addr_sort() 78 return 1; in memory_device_get_memslots() 85 static unsigned int get_reserved_memslots(MachineState *ms) in get_reserved_memslots() argument 87 if (ms->device_memory->used_memslots > in get_reserved_memslots() 88 ms->device_memory->required_memslots) { in get_reserved_memslots() 92 return ms->device_memory->required_memslots - in get_reserved_memslots() 93 ms->device_memory->used_memslots; in get_reserved_memslots() 113 static unsigned int memory_device_memslot_decision_limit(MachineState *ms, in memory_device_memslot_decision_limit() argument 116 const unsigned int reserved = get_reserved_memslots(ms); in memory_device_memslot_decision_limit() [all …]
|
/openbmc/qemu/include/hw/riscv/ |
H A D | numa.h | 28 * @ms: pointer to machine state 30 * Returns: number of sockets for a numa system and 1 for a non-numa system 32 int riscv_socket_count(const MachineState *ms); 36 * @ms: pointer to machine state 39 * Returns: first hartid for a valid socket and -1 for an invalid socket 41 int riscv_socket_first_hartid(const MachineState *ms, int socket_id); 45 * @ms: pointer to machine state 48 * Returns: last hartid for a valid socket and -1 for an invalid socket 50 int riscv_socket_last_hartid(const MachineState *ms, int socket_id); 54 * @ms: pointer to machine state [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | ssm2518.c | 47 #define SSM2518_POWER1_MCS_MASK (0xf << 1) 48 #define SSM2518_POWER1_MCS_64FS (0x0 << 1) 49 #define SSM2518_POWER1_MCS_128FS (0x1 << 1) 50 #define SSM2518_POWER1_MCS_256FS (0x2 << 1) 51 #define SSM2518_POWER1_MCS_384FS (0x3 << 1) 52 #define SSM2518_POWER1_MCS_512FS (0x4 << 1) 53 #define SSM2518_POWER1_MCS_768FS (0x5 << 1) 54 #define SSM2518_POWER1_MCS_100FS (0x6 << 1) 55 #define SSM2518_POWER1_MCS_200FS (0x7 << 1) 56 #define SSM2518_POWER1_MCS_400FS (0x8 << 1) [all …]
|
H A D | adau1761.c | 59 #define ADAU1761_PLAY_MONO_OUTPUT_VOL_UNMUTE BIT(1) 125 static const DECLARE_TLV_DB_SCALE(adau1761_sing_in_tlv, -1500, 300, 1); 128 static const DECLARE_TLV_DB_SCALE(adau1761_sidetone_tlv, -1800, 300, 1); 129 static const DECLARE_TLV_DB_SCALE(adau1761_boost_tlv, -600, 600, 1); 130 static const DECLARE_TLV_DB_SCALE(adau1761_pga_boost_tlv, -2000, 2000, 1); 159 ADAU17X1_REC_POWER_MGMT, 1, 0x3, adau1761_bias_select_text, 163 3, 0, 1, 2, 168 "24 ms", 169 "48 ms", 170 "96 ms", [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-microsoft.c | 23 #define MS_ERGONOMY BIT(1) 42 #define ENABLE_STRONG BIT(1) 62 struct ms_data *ms = hid_get_drvdata(hdev); in ms_report_fixup() local 63 unsigned long quirks = ms->quirks; in ms_report_fixup() 89 * the MS office kb labelled "Office Home" and "Task Pane". in ms_ergonomy_kb_quirk() 93 return 1; in ms_ergonomy_kb_quirk() 96 return 1; in ms_ergonomy_kb_quirk() 121 * (this usage is found on interface 1). in ms_ergonomy_kb_quirk() 126 return -1; in ms_ergonomy_kb_quirk() 139 return 1; in ms_ergonomy_kb_quirk() [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | virt.c | 150 * 256MB..1GB is reserved for possible future PCI support (ie where the 152 * 1GB and up is RAM (which may happily spill over into the 220 [VIRT_UART0] = 1, 226 [VIRT_MMIO] = 16, /* ...to 16 + NUM_VIRTIO_TRANSPORTS - 1 */ 227 [VIRT_GIC_V2M] = 48, /* ...to 48 + NUM_GICV2M_SPIS - 1 */ 228 [VIRT_SMMU] = 74, /* ...to 74 + NUM_SMMU_IRQS - 1 */ 229 [VIRT_PLATFORM_BUS] = 112, /* ...to 112 + PLATFORM_BUS_NUM_IRQS -1 */ 232 static void create_randomness(MachineState *ms, const char *node) in create_randomness() argument 242 qemu_fdt_setprop_u64(ms->fdt, node, "kaslr-seed", seed.kaslr); in create_randomness() 243 qemu_fdt_setprop(ms->fdt, node, "rng-seed", seed.rng, sizeof(seed.rng)); in create_randomness() [all …]
|
/openbmc/linux/Documentation/sound/cards/ |
H A D | serial-u16550.rst | 8 * 1 - Midiator MS-124T support (1) 9 * 2 - Midiator MS-124W S/A mode (2) 10 * 3 - MS-124W M/B mode support (3) 13 For the Midiator MS-124W, you must set the physical M-S and A-B 19 number plus 1. Roland modules use this command to switch between different 36 In MS-124T mode, one raw MIDI substream is supported (midiCnD0); the outs 37 module parameter is automatically set to 1. The driver sends the same data to 41 Usage example for MS-124T, with A-B switch in A position: 45 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 adaptor=1 \ 48 In MS-124W S/A mode, one raw MIDI substream is supported (midiCnD0); [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | brcm,iproc-touchscreen.txt | 13 Should set to 1. 15 in reg property. Should set to 1. 18 - scanning_period: Time between scans. Each step is 1024 us. Valid 1-256. 20 - settling_timeout: The settling duration (in ms) is the amount of time 24 0 = 0.008 ms 25 1 = 0.01 ms 26 2 = 0.02 ms 27 3 = 0.04 ms 28 4 = 0.08 ms 29 5 = 0.16 ms [all …]
|