| /openbmc/phosphor-modbus/rtu/modbus/ |
| H A D | modbus.cpp | 26 if (!setProperties(baudRate, Parity::even)) in Modbus() 34 static auto applyParitySettings(Parity parity, termios& tty) -> bool in applyParitySettings() argument 36 switch (parity) in applyParitySettings() 38 case Parity::none: in applyParitySettings() 42 case Parity::odd: in applyParitySettings() 47 case Parity::even: in applyParitySettings() 53 error("Invalid parity"); in applyParitySettings() 60 auto Modbus::setProperties(uint32_t inBaudRate, Parity inParity) -> bool in setProperties() 62 if (inBaudRate == baudRate && inParity == parity) in setProperties() 83 if (inParity != parity) in setProperties() [all …]
|
| H A D | modbus.hpp | 10 enum class Parity enum 24 auto setProperties(uint32_t inBaudRate, Parity inParity) -> bool; 42 Parity parity = Parity::odd; member in phosphor::modbus::rtu::Modbus
|
| /openbmc/bmcweb/redfish-core/include/generated/enums/ |
| H A D | serial_interface.hpp | 29 enum class Parity{ enum 107 NLOHMANN_JSON_SERIALIZE_ENUM(Parity, { 108 {Parity::Invalid, "Invalid"}, 109 {Parity::None, "None"}, 110 {Parity::Even, "Even"}, 111 {Parity::Odd, "Odd"}, 112 {Parity::Mark, "Mark"}, 113 {Parity::Space, "Space"},
|
| /openbmc/libcper/include/libcper/sections/ |
| H A D | cper-section-pci-bus.h | 21 "Data Parity Error", \ 25 "Master Data Parity Error", \ 26 "Address Parity Error", \ 27 "Command Parity Error" }
|
| /openbmc/phosphor-modbus/rtu/inventory/ |
| H A D | modbus_inventory.cpp | 27 static constexpr std::array<std::pair<std::string_view, Parity>, 3> 29 {{"Odd", Parity::odd}, {"Even", Parity::even}, {"None", Parity::none}}}; 114 info("Inventory device config: {NAME} {BAUDRATE} {PARITY}", "NAME", in printConfig() 115 config.name, "BAUDRATE", config.baudRate, "PARITY", config.parity); in printConfig() 210 for (const auto& [parityStr, parity] : config::validParities) in getConfig() 214 config.parity = parity; in getConfig() 218 if (config.parity == Parity::unknown) in getConfig() 220 error("Invalid parity {PARITY} for {NAME}", "PARITY", in getConfig() 321 address, probeRegister, config.baudRate, config.parity, registers); in probeDevice() 394 address, reg.offset, config.baudRate, config.parity, registers); in addInventorySource()
|
| H A D | modbus_inventory.hpp | 52 ModbusIntf::Parity parity = ModbusIntf::Parity::unknown; member
|
| /openbmc/qemu/qapi/ |
| H A D | cxl.json | 226 # @cache-data-parity: Data error such as data parity or data ECC error 229 # @cache-address-parity: Address parity or other errors associated 232 # @cache-be-parity: Byte enable parity or other byte enable errors on 237 # @mem-data-parity: Data error such as data parity or data ECC error 240 # @mem-address-parity: Address parity or other errors associated with 243 # @mem-be-parity: Byte enable parity or other byte enable errors on 267 'data': ['cache-data-parity', 268 'cache-address-parity', 269 'cache-be-parity', 271 'mem-data-parity', [all …]
|
| /openbmc/webui-vue/ |
| H A D | README.md | 13 ## When will this new Vue.js application reach feature parity with phosphor-webui? 15 A few, mostly minor, features remain for feature parity. See 16 …sphor-webui-feature-parity](https://github.com/openbmc/webui-vue/issues?q=is%3Aissue+is%3Aopen+lab…
|
| /openbmc/phosphor-modbus/rtu/device/ |
| H A D | base_config.cpp | 25 static constexpr std::array<std::pair<std::string_view, Parity>, 3> 27 {{"Odd", Parity::odd}, {"Even", Parity::even}, {"None", Parity::none}}}; 58 for (const auto& [parityStr, parity] : validParities) in getDataParity() 62 config.parity = parity; in getDataParity() 67 if (config.parity == Parity::unknown) in getDataParity() 70 "Invalid parity " + receivedParity + " for " + config.name); in getDataParity()
|
| H A D | base_config.hpp | 85 ModbusIntf::Parity parity = ModbusIntf::Parity::unknown; member
|
| /openbmc/u-boot/include/ |
| H A D | serial.h | 78 #define SERIAL_SET_PARITY(parity) \ argument 79 ((parity << SERIAL_PAR_SHIFT) & SERIAL_PAR_MASK) 233 * (parity, 5/6/7/8 bits word length, stop bits) 244 * (parity, 5/6/7/8 bits word length, stop bits) 249 * @serial_config: number of bits, parity and number of stopbits to use 285 * (parity, 5/6/7/8 bits word length, stop bits) 297 * (parity, 5/6/7/8 bits word length, stop bits) 302 * @serial_config: number of bits, parity and number of stopbits to use
|
| /openbmc/phosphor-modbus/rtu/port/ |
| H A D | base_port.cpp | 43 Parity parity, std::vector<uint16_t>& registers) in readHoldingRegisters() argument 49 if (!modbus->setProperties(baudRate, parity)) in readHoldingRegisters()
|
| /openbmc/qemu/hw/char/ |
| H A D | trace-events | 10 …l_update_parameters(uint64_t baudrate, char parity, int data_bits, int stop_bits) "baudrate=%"PRIu… 44 …te_parameters(char channel, int speed, int parity, int data_bits, int stop_bits) "channel %c: spee… 93 …ms(uint32_t channel, int speed, uint8_t parity, int data, int stop, uint64_t wordtime) "UART%d: sp… 125 stm32l4x5_usart_update_params(int speed, uint8_t parity, int data, int stop) "USART: speed: %d, par…
|
| H A D | stm32l4x5_usart.c | 46 FIELD(CR1, PCE, 10, 1) /* Parity control enable */ 47 FIELD(CR1, PS, 9, 1) /* Parity selection */ 137 FIELD(ISR, PE, 0, 1) /* Parity Error */ 151 FIELD(ICR, PECF, 0, 1) /* Parity error clear flag */ 291 int speed, parity, data_bits, stop_bits; in stm32l4x5_update_params() local 295 /* Select the parity type */ in stm32l4x5_update_params() 298 parity = 'O'; in stm32l4x5_update_params() 300 parity = 'E'; in stm32l4x5_update_params() 303 parity = 'N'; in stm32l4x5_update_params() 366 ssp.parity = parity; in stm32l4x5_update_params() [all …]
|
| /openbmc/u-boot/drivers/serial/ |
| H A D | serial_stm32.c | 58 uint parity = SERIAL_GET_PARITY(serial_config); in stm32_serial_setconfig() local 63 * only parity config is implemented, check if other serial settings in stm32_serial_setconfig() 65 * (STM32F4 serial IP didn't support parity setting) in stm32_serial_setconfig() 72 * PCE: parity check enable in stm32_serial_setconfig() 75 * M[1:0] = '01' : 9 Data bits with parity in stm32_serial_setconfig() 77 switch (parity) { in stm32_serial_setconfig()
|
| /openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
| H A D | SerialInterface.v1_3_0.json | 212 "Parity": { object 221 "Even": "An even parity bit.", 222 "Mark": "A mark parity bit.", 223 "None": "No parity bit.", 224 "Odd": "An odd parity bit.", 225 "Space": "A space parity bit." 375 "Parity": { object 376 "$ref": "#/definitions/Parity", 377 …"description": "The type of parity used by the sender and receiver to detect errors over the seria… 378 … "longDescription": "This property shall indicate parity information for a serial connection.",
|
| /openbmc/qemu/hw/net/ |
| H A D | e1000x_regs.h | 351 #define E1000_ICR_RXD_FIFO_PAR0 0x00100000 /* queue 0 Rx descriptor FIFO parity error */ 352 #define E1000_ICR_TXD_FIFO_PAR0 0x00200000 /* queue 0 Tx descriptor FIFO parity error */ 353 #define E1000_ICR_HOST_ARB_PAR 0x00400000 /* host arb read buffer parity error */ 354 #define E1000_ICR_PB_PAR 0x00800000 /* packet buffer parity error */ 355 #define E1000_ICR_RXD_FIFO_PAR1 0x01000000 /* queue 1 Rx descriptor FIFO parity error */ 356 #define E1000_ICR_TXD_FIFO_PAR1 0x02000000 /* queue 1 Tx descriptor FIFO parity error */ 357 #define E1000_ICR_ALL_PARITY 0x03F00000 /* all parity error bits */ 394 #define E1000_ICS_RXD_FIFO_PAR0 E1000_ICR_RXD_FIFO_PAR0 /* queue 0 Rx descriptor FIFO parity error … 395 #define E1000_ICS_TXD_FIFO_PAR0 E1000_ICR_TXD_FIFO_PAR0 /* queue 0 Tx descriptor FIFO parity error … 396 #define E1000_ICS_HOST_ARB_PAR E1000_ICR_HOST_ARB_PAR /* host arb read buffer parity error */ [all …]
|
| /openbmc/u-boot/arch/mips/lib/ |
| H A D | cache_init.S | 86 * parity. It must be called by the ROM before any cached locations are used 87 * to prevent the possibility of data with bad parity being written to memory. 90 * with good parity is available. This routine will initialise an area of 91 * memory starting at location zero to be used as a source of parity. 294 * parity into them by doing an invalidate for each line. If 298 * parity for the cache. 310 /* fill once, so data field parity is correct */
|
| /openbmc/qemu/rust/hw/char/pl011/src/ |
| H A D | registers.rs | 201 /// PEN: Parity enable 203 /// EPS: Even parity select 204 pub parity: Parity, field 215 /// SPS Stick parity select 237 /// `EPS` "Even parity select", field of [Line Control 239 pub enum Parity { enum
|
| /openbmc/u-boot/fs/yaffs2/ |
| H A D | yaffs_ecc.c | 17 * The ECC comprises 22 bits of parity information and is stuffed into 3 bytes. 31 * Bit 0 of each entry indicates whether the entry has an odd or even parity, 32 * and therefore this bytes influence on the line parity. 235 unsigned char delta_col; /* column parity delta */ in yaffs_ecc_correct_other() 236 unsigned delta_line; /* line parity delta */ in yaffs_ecc_correct_other() 237 unsigned delta_line_prime; /* line parity delta */ in yaffs_ecc_correct_other()
|
| /openbmc/qemu/chardev/ |
| H A D | char-serial.c | 59 int parity, int data_bits, int stop_bits) in tty_serial_init() argument 65 printf("tty_serial_init: speed=%d parity=%c data=%d stop=%d\n", in tty_serial_init() 66 speed, parity, data_bits, stop_bits); in tty_serial_init() 161 switch (parity) { in tty_serial_init() 189 ssp->speed, ssp->parity, in tty_serial_ioctl()
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | traps.c | 162 printf("Instruction cache parity error\n"); in MachineCheckException() 164 printf("Data cache push parity error\n"); in MachineCheckException() 166 printf("Data cache parity error\n"); in MachineCheckException() 180 printf("Bus Instruction parity error\n"); in MachineCheckException() 182 printf("Bus Read parity error\n"); in MachineCheckException()
|
| /openbmc/u-boot/include/linux/ |
| H A D | bch.h | 29 * @ecc_buf: ecc parity words buffer 30 * @ecc_buf2: ecc parity words buffer
|
| /openbmc/u-boot/tools/ |
| H A D | mxsboot.c | 333 uint32_t parity = 0, tmp; in mx28_nand_parity_13_8() local 336 parity |= tmp << 0; in mx28_nand_parity_13_8() 339 parity |= tmp << 1; in mx28_nand_parity_13_8() 342 parity |= tmp << 2; in mx28_nand_parity_13_8() 345 parity |= tmp << 3; in mx28_nand_parity_13_8() 349 parity |= tmp << 4; in mx28_nand_parity_13_8() 351 return parity; in mx28_nand_parity_13_8() 377 /* Compute the ECC parity */ in mx28_nand_fcb_block()
|
| /openbmc/u-boot/arch/arm/include/asm/arch-s32v234/ |
| H A D | imx-regs.h | 306 u32 cpce0; /* Core Parity Checking Enable Register 0 */ 317 u32 ipcge; /* Interconnect Parity Checking Global Enable Register */ 319 u32 ipce[4]; /* Interconnect Parity Checking Enable Register */ 321 u32 ipcgie; /* Interconnect Parity Checking Global Injection Enable Register */ 323 u32 ipcie[4]; /* Interconnect Parity Checking Injection Enable Register */
|