Home
last modified time | relevance | path

Searched refs:cpm_reg (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/arch/powerpc/platforms/4xx/
Dcpm.c58 static unsigned int cpm_set(unsigned int cpm_reg, unsigned int mask) in cpm_set() argument
69 value = dcr_read(cpm.dcr_host, cpm.dcr_offset[cpm_reg]); in cpm_set()
70 dcr_write(cpm.dcr_host, cpm.dcr_offset[cpm_reg], value | mask); in cpm_set()
/Linux-v6.1/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c1367 static struct uart_driver cpm_reg; variable
1375 .data = &cpm_reg,
1392 static struct uart_driver cpm_reg = { variable
1426 return uart_add_one_port(&cpm_reg, &pinfo->port); in cpm_uart_probe()
1436 return uart_remove_one_port(&cpm_reg, &pinfo->port); in cpm_uart_remove()
1467 int ret = uart_register_driver(&cpm_reg); in cpm_uart_init()
1473 uart_unregister_driver(&cpm_reg); in cpm_uart_init()
1481 uart_unregister_driver(&cpm_reg); in cpm_uart_exit()