Home
last modified time | relevance | path

Searched refs:mctrl (Results 1 – 10 of 10) sorted by relevance

/arch/sparc/kernel/
Dus2e_cpufreq.c75 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/
Dhackkit.c49 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()
Dneponset.c93 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()
Dcollie.c164 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()
Dassabet.c431 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()
Dh3xxx.c119 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/
Dcore.c145 …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/
Dhvsi.h72 unsigned short mctrl; /* modem control */ member
/arch/arm/mach-ep93xx/
Dcore.c264 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/
Dmn10300-serial.c102 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()