Searched refs:mctrl (Results 1 – 10 of 10) sorted by relevance
/arch/sparc/kernel/ |
D | us2e_cpufreq.c | 75 unsigned long mctrl = read_hbreg(HBIRD_MEM_CNTL0_ADDR); in self_refresh_ctl() local 78 mctrl |= MCTRL0_SREFRESH_ENAB; in self_refresh_ctl() 80 mctrl &= ~MCTRL0_SREFRESH_ENAB; in self_refresh_ctl() 81 write_hbreg(HBIRD_MEM_CNTL0_ADDR, mctrl); in self_refresh_ctl() 89 unsigned long old_refr_count, refr_count, mctrl; in frob_mem_refresh() local 94 mctrl = read_hbreg(HBIRD_MEM_CNTL0_ADDR); in frob_mem_refresh() 95 old_refr_count = (mctrl & MCTRL0_REFR_COUNT_MASK) in frob_mem_refresh() 98 mctrl &= ~MCTRL0_REFR_COUNT_MASK; in frob_mem_refresh() 99 mctrl |= refr_count << MCTRL0_REFR_COUNT_SHIFT; in frob_mem_refresh() 100 write_hbreg(HBIRD_MEM_CNTL0_ADDR, mctrl); in frob_mem_refresh() [all …]
|
/arch/arm/mach-sa1100/ |
D | hackkit.c | 49 static void hackkit_set_mctrl(struct uart_port *port, u_int mctrl); 108 static void hackkit_set_mctrl(struct uart_port *port, u_int mctrl) in hackkit_set_mctrl() argument 114 if (mctrl & TIOCM_RTS) in hackkit_set_mctrl() 119 if (mctrl & TIOCM_DTR) in hackkit_set_mctrl()
|
D | neponset.c | 93 static void neponset_set_mctrl(struct uart_port *port, u_int mctrl) in neponset_set_mctrl() argument 103 if (mctrl & TIOCM_RTS) in neponset_set_mctrl() 108 if (mctrl & TIOCM_DTR) in neponset_set_mctrl() 113 if (mctrl & TIOCM_RTS) in neponset_set_mctrl() 118 if (mctrl & TIOCM_DTR) in neponset_set_mctrl()
|
D | collie.c | 164 static void collie_uart_set_mctrl(struct uart_port *port, u_int mctrl) in collie_uart_set_mctrl() argument 166 if (mctrl & TIOCM_RTS) in collie_uart_set_mctrl() 171 if (mctrl & TIOCM_DTR) in collie_uart_set_mctrl()
|
D | assabet.c | 431 static void assabet_set_mctrl(struct uart_port *port, u_int mctrl) in assabet_set_mctrl() argument 436 if (mctrl & TIOCM_RTS) in assabet_set_mctrl() 441 if (mctrl & TIOCM_DTR) in assabet_set_mctrl()
|
D | h3xxx.c | 119 static void h3xxx_uart_set_mctrl(struct uart_port *port, u_int mctrl) in h3xxx_uart_set_mctrl() argument 122 gpio_set_value(H3XXX_GPIO_COM_RTS, !(mctrl & TIOCM_RTS)); in h3xxx_uart_set_mctrl()
|
/arch/arm/mach-integrator/ |
D | core.c | 145 …tic void integrator_uart_set_mctrl(struct amba_device *dev, void __iomem *base, unsigned int mctrl) in integrator_uart_set_mctrl() argument 157 if (mctrl & TIOCM_RTS) in integrator_uart_set_mctrl() 162 if (mctrl & TIOCM_DTR) in integrator_uart_set_mctrl()
|
/arch/powerpc/include/asm/ |
D | hvsi.h | 72 unsigned short mctrl; /* modem control */ member
|
/arch/arm/mach-ep93xx/ |
D | core.c | 264 void __iomem *base, unsigned int mctrl) in ep93xx_uart_set_mctrl() argument 269 if (mctrl & TIOCM_RTS) in ep93xx_uart_set_mctrl() 271 if (mctrl & TIOCM_DTR) in ep93xx_uart_set_mctrl()
|
/arch/mn10300/kernel/ |
D | mn10300-serial.c | 102 static void mn10300_serial_set_mctrl(struct uart_port *, unsigned int mctrl); 732 unsigned int mctrl) in mn10300_serial_set_mctrl() argument 737 _enter("%s,%x", port->name, mctrl); in mn10300_serial_set_mctrl()
|