Home
last modified time | relevance | path

Searched refs:parity (Results 1 - 25 of 396) sorted by relevance

12345678910>>...16

/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_insformat.h55 parity : 1; member
57 uint32_t parity : 1,
74 parity : 1; member
76 uint32_t parity : 1,
92 parity : 1; member
94 uint32_t parity : 1,
110 parity : 1; member
112 uint32_t parity : 1,
128 parity : 1; member
130 uint32_t parity
146 parity : 1; global() member
[all...]
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_insformat.h55 parity : 1; member
57 uint32_t parity : 1,
74 parity : 1; member
76 uint32_t parity : 1,
92 parity : 1; member
94 uint32_t parity : 1,
110 parity : 1; member
112 uint32_t parity : 1,
128 parity : 1; member
130 uint32_t parity
146 parity : 1; global() member
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/mantis/
H A Dmantis_uart.c31 enum mantis_parity parity; member
46 } parity[3] = { variable
71 dprintk(MANTIS_ERROR, 1, "UART parity error"); in mantis_uart_read()
114 mmwrite((mmread(MANTIS_UART_CTL) | (params->parity & 0x3)), MANTIS_UART_CTL); in mantis_uart_setup()
148 /* default parity: */ in mantis_uart_init()
150 params.parity = config->parity; in mantis_uart_init()
151 dprintk(MANTIS_INFO, 1, "Initializing UART @ %sbps parity:%s", in mantis_uart_init()
153 parity[params.parity] in mantis_uart_init()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/mantis/
H A Dmantis_uart.c31 enum mantis_parity parity; member
46 } parity[3] = { variable
71 dprintk(MANTIS_ERROR, 1, "UART parity error"); in mantis_uart_read()
114 mmwrite((mmread(MANTIS_UART_CTL) | (params->parity & 0x3)), MANTIS_UART_CTL); in mantis_uart_setup()
148 /* default parity: */ in mantis_uart_init()
150 params.parity = config->parity; in mantis_uart_init()
151 dprintk(MANTIS_INFO, 1, "Initializing UART @ %sbps parity:%s", in mantis_uart_init()
153 parity[params.parity] in mantis_uart_init()
[all...]
/kernel/linux/linux-5.10/arch/mips/generic/
H A Dyamon-dt.c160 char mode_var_name[9], path[20], parity; in yamon_dt_serial_config() local
177 parity = 0; in yamon_dt_serial_config()
191 parity = mode_var[0]; in yamon_dt_serial_config()
205 if (parity != 'e' && parity != 'n' && parity != 'o') in yamon_dt_serial_config()
206 parity = 'n'; in yamon_dt_serial_config()
212 uart, baud, parity, stop_bits, in yamon_dt_serial_config()
/kernel/linux/linux-5.10/arch/mips/mti-malta/
H A Dmalta-init.c46 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local
56 parity = *s++; in console_config()
68 if (parity != 'n' && parity != 'o' && parity != 'e') in console_config()
69 parity = 'n'; in console_config()
77 parity, bits); in console_config()
83 parity, bits, flow); in console_config()
/kernel/linux/linux-6.6/arch/mips/generic/
H A Dyamon-dt.c160 char mode_var_name[9], path[20], parity; in yamon_dt_serial_config() local
177 parity = 0; in yamon_dt_serial_config()
191 parity = mode_var[0]; in yamon_dt_serial_config()
205 if (parity != 'e' && parity != 'n' && parity != 'o') in yamon_dt_serial_config()
206 parity = 'n'; in yamon_dt_serial_config()
212 uart, baud, parity, stop_bits, in yamon_dt_serial_config()
/kernel/linux/linux-6.6/arch/mips/mti-malta/
H A Dmalta-init.c46 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local
56 parity = *s++; in console_config()
68 if (parity != 'n' && parity != 'o' && parity != 'e') in console_config()
69 parity = 'n'; in console_config()
77 parity, bits); in console_config()
83 parity, bits, flow); in console_config()
/kernel/linux/linux-5.10/arch/mips/mm/
H A Dcerr-sb1.c80 printk(" tag-parity"); in breakout_cerri()
82 printk(" data-parity"); in breakout_cerri()
256 static const uint8_t parity[256] = { variable
275 /* Masks to select bits for Hamming parity, mask_72_64[i] for bit[i] */
287 /* Calculate the parity on a range of bits */
290 char parity = 0; in range_parity() local
295 parity = !parity; in range_parity()
298 return parity; in range_parity()
301 /* Calculate the 4-bit even byte-parity fo
305 char parity = 0; inst_parity() local
[all...]
/kernel/linux/linux-6.6/arch/mips/mm/
H A Dcerr-sb1.c80 printk(" tag-parity"); in breakout_cerri()
82 printk(" data-parity"); in breakout_cerri()
256 static const uint8_t parity[256] = { variable
275 /* Masks to select bits for Hamming parity, mask_72_64[i] for bit[i] */
287 /* Calculate the parity on a range of bits */
290 char parity = 0; in range_parity() local
295 parity = !parity; in range_parity()
298 return parity; in range_parity()
301 /* Calculate the 4-bit even byte-parity fo
305 char parity = 0; inst_parity() local
[all...]
/kernel/linux/linux-5.10/drivers/firmware/
H A Dpcdp.c25 char parity; in setup_serial_console() local
33 switch (uart->parity) { in setup_serial_console()
34 case 0x2: parity = 'e'; break; in setup_serial_console()
35 case 0x3: parity = 'o'; break; in setup_serial_console()
36 default: parity = 'n'; in setup_serial_console()
38 p += sprintf(p, "%c%d", parity, uart->bits); in setup_serial_console()
/kernel/linux/linux-6.6/drivers/firmware/
H A Dpcdp.c25 char parity; in setup_serial_console() local
33 switch (uart->parity) { in setup_serial_console()
34 case 0x2: parity = 'e'; break; in setup_serial_console()
35 case 0x3: parity = 'o'; break; in setup_serial_console()
36 default: parity = 'n'; in setup_serial_console()
38 p += sprintf(p, "%c%d", parity, uart->bits); in setup_serial_console()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dmax3100.c107 int parity; /* keeps track if we should send parity */ member
141 int parity; in max3100_do_parity() local
143 if (s->parity & MAX3100_PARITY_ODD) in max3100_do_parity()
144 parity = 1; in max3100_do_parity()
146 parity = 0; in max3100_do_parity()
148 if (s->parity & MAX3100_7BIT) in max3100_do_parity()
153 parity = parity ^ (hweight8(c) & 1); in max3100_do_parity()
154 return parity; in max3100_do_parity()
428 u32 param_new, param_mask, parity = 0; max3100_set_termios() local
[all...]
H A Dapbuart.c95 port->icount.parity++; in apbuart_rx_chars()
452 int *parity, int *bits) in apbuart_console_get_options()
459 *parity = 'n'; in apbuart_console_get_options()
462 *parity = 'e'; in apbuart_console_get_options()
464 *parity = 'o'; in apbuart_console_get_options()
478 int parity = 'n'; in apbuart_console_setup() local
497 uart_parse_options(options, &baud, &parity, &bits, &flow); in apbuart_console_setup()
499 apbuart_console_get_options(port, &baud, &parity, &bits); in apbuart_console_setup()
501 return uart_set_options(port, co, baud, parity, bits, flow); in apbuart_console_setup()
451 apbuart_console_get_options(struct uart_port *port, int *baud, int *parity, int *bits) apbuart_console_get_options() argument
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dmax3100.c107 int parity; /* keeps track if we should send parity */ member
141 int parity; in max3100_do_parity() local
143 if (s->parity & MAX3100_PARITY_ODD) in max3100_do_parity()
144 parity = 1; in max3100_do_parity()
146 parity = 0; in max3100_do_parity()
148 if (s->parity & MAX3100_7BIT) in max3100_do_parity()
153 parity = parity ^ (hweight8(c) & 1); in max3100_do_parity()
154 return parity; in max3100_do_parity()
427 u32 param_new, param_mask, parity = 0; max3100_set_termios() local
[all...]
H A Dapbuart.c93 port->icount.parity++; in apbuart_rx_chars()
424 int *parity, int *bits) in apbuart_console_get_options()
431 *parity = 'n'; in apbuart_console_get_options()
434 *parity = 'e'; in apbuart_console_get_options()
436 *parity = 'o'; in apbuart_console_get_options()
450 int parity = 'n'; in apbuart_console_setup() local
469 uart_parse_options(options, &baud, &parity, &bits, &flow); in apbuart_console_setup()
471 apbuart_console_get_options(port, &baud, &parity, &bits); in apbuart_console_setup()
473 return uart_set_options(port, co, baud, parity, bits, flow); in apbuart_console_setup()
423 apbuart_console_get_options(struct uart_port *port, int *baud, int *parity, int *bits) apbuart_console_get_options() argument
/kernel/linux/linux-5.10/arch/mips/ar7/
H A Dprom.c192 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local
205 parity = *s++; in console_config()
218 if (parity != 'n' && parity != 'o' && parity != 'e') in console_config()
219 parity = 'n'; in console_config()
225 parity, bits, flow); in console_config()
227 sprintf(console_string, " console=ttyS0,%d%c%c", baud, parity, in console_config()
/kernel/linux/linux-6.6/arch/mips/ar7/
H A Dprom.c192 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local
205 parity = *s++; in console_config()
218 if (parity != 'n' && parity != 'o' && parity != 'e') in console_config()
219 parity = 'n'; in console_config()
225 parity, bits, flow); in console_config()
227 sprintf(console_string, " console=ttyS0,%d%c%c", baud, parity, in console_config()
/kernel/linux/linux-6.6/drivers/fsi/
H A Dfsi-master-i2cr.c39 static bool i2cr_check_parity32(u32 v, bool parity) in i2cr_check_parity32() argument
45 parity = !parity; in i2cr_check_parity32()
48 return parity; in i2cr_check_parity32()
54 bool parity = I2CR_INITIAL_PARITY; in i2cr_check_parity64() local
58 parity = !parity; in i2cr_check_parity64()
61 return parity; in i2cr_check_parity64()
64 static u32 i2cr_get_command(u32 address, bool parity) in i2cr_get_command() argument
68 if (i2cr_check_parity32(address, parity)) in i2cr_get_command()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/
H A Dssfdc.c186 int parity; in get_parity() local
188 parity = 1; in get_parity()
190 parity += (number >> k); in get_parity()
191 parity &= 1; in get_parity()
193 return parity; in get_parity()
199 int block_address, parity; in get_logical_address() local
207 * parity check in get_logical_address()
215 parity = block_address & 0x01; in get_logical_address()
219 if (get_parity(block_address, 10) != parity) { in get_logical_address()
221 "parity erro in get_logical_address()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/
H A Dssfdc.c186 int parity; in get_parity() local
188 parity = 1; in get_parity()
190 parity += (number >> k); in get_parity()
191 parity &= 1; in get_parity()
193 return parity; in get_parity()
199 int block_address, parity; in get_logical_address() local
207 * parity check in get_logical_address()
215 parity = block_address & 0x01; in get_logical_address()
219 if (get_parity(block_address, 10) != parity) { in get_logical_address()
221 "parity erro in get_logical_address()
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dbootflag.c23 static int __init parity(u8 v) in parity() function
42 if (!parity(v)) in sbf_write()
73 if (!parity(v)) in sbf_value_valid()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dbootflag.c23 static int __init parity(u8 v) in parity() function
42 if (!parity(v)) in sbf_write()
73 if (!parity(v)) in sbf_value_valid()
/kernel/linux/linux-5.10/drivers/input/serio/
H A Dams_delta_serio.c42 int i, parity = 0; in check_data() local
49 /* calculate the parity */ in check_data()
52 parity++; in check_data()
55 if (!(parity & 0x01)) { in check_data()
57 "parity check failed, data=0x%X parity=0x%X\n", data, in check_data()
58 parity); in check_data()
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/
H A Daha152x_stub.c63 static int parity = 1; variable
70 module_param(parity, int, 0);
167 s.parity = parity; in aha152x_config_cs()

Completed in 12 milliseconds

12345678910>>...16