Lines Matching full:parity
89 #define XUARTPS_MR_PARITY_NONE 0x00000020U /**< No parity mode */
90 #define XUARTPS_MR_PARITY_MARK 0x00000018U /**< Mark parity mode */
91 #define XUARTPS_MR_PARITY_SPACE 0x00000010U /**< Space parity mode */
92 #define XUARTPS_MR_PARITY_ODD 0x00000008U /**< Odd parity mode */
93 #define XUARTPS_MR_PARITY_EVEN 0x00000000U /**< Even parity mode */
94 #define XUARTPS_MR_PARITY_SHIFT 3U /**< Parity setting shift */
95 #define XUARTPS_MR_PARITY_MASK 0x00000038U /**< Parity mask */
110 #define XUARTPS_IXR_PARITY 0x00000080U /**< Parity error interrupt */
155 uint32_t parity; member
303 /* Set initial character length / start/stop bit / parity configuration */ in uart_xlnx_ps_init()
388 * @brief Converts a parity enum value to a Mode Register bit mask.
391 * framework for the configuration of the UART's parity setting
399 * the parity configuration shall be added.
400 * @param parity Enumeration value to be converted to a bit mask.
403 * as all parity modes supported by the API are also supported
408 enum uart_config_parity parity) in uart_xlnx_ps_cfg2ll_parity() argument
411 * Translate the new parity configuration to the mode register's in uart_xlnx_ps_cfg2ll_parity()
420 switch (parity) { in uart_xlnx_ps_cfg2ll_parity()
619 if ((!uart_xlnx_ps_cfg2ll_parity(&mode_reg, cfg->parity)) || in uart_xlnx_ps_configure()
645 * @brief Converts a Mode Register bit mask to a parity configuration
648 * Converts a bit mask representing the UART's parity setting within
653 * parity setting shall be extracted.
655 * @return The current parity setting mapped to the UART driver API's
662 * Obtain the current parity configuration from the mode register's in uart_xlnx_ps_ll2cfg_parity()
768 * which the parity setting shall be extracted.
813 * the current data / stop bit and parity settings (Mode in uart_xlnx_ps_config_get()
821 cfg->parity = uart_xlnx_ps_ll2cfg_parity(mode_reg); in uart_xlnx_ps_config_get()
1007 | XUARTPS_IXR_PARITY /* [7] Parity Error */ in uart_xlnx_ps_irq_err_enable()
1027 | XUARTPS_IXR_PARITY /* [7] Parity Error */ in uart_xlnx_ps_irq_err_disable()