Searched refs:cpm_reg (Results 1 – 2 of 2) sorted by relevance
58 static unsigned int cpm_set(unsigned int cpm_reg, unsigned int mask) in cpm_set() argument69 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()
1486 static struct uart_driver cpm_reg; variable1494 .data = &cpm_reg,1511 static struct uart_driver cpm_reg = { variable1545 return uart_add_one_port(&cpm_reg, &pinfo->port); in cpm_uart_probe()1556 uart_remove_one_port(&cpm_reg, &pinfo->port); in cpm_uart_remove()1589 int ret = uart_register_driver(&cpm_reg); in cpm_uart_init()1595 uart_unregister_driver(&cpm_reg); in cpm_uart_init()1603 uart_unregister_driver(&cpm_reg); in cpm_uart_exit()