Home
last modified time | relevance | path

Searched defs:up (Results 1 – 25 of 121) sorted by relevance

12345

/drivers/tty/serial/
Dpxa.c59 static inline unsigned int serial_in(struct uart_pxa_port *up, int offset) in serial_in()
65 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) in serial_out()
73 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_enable_ms() local
81 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_stop_tx() local
91 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_stop_rx() local
98 static inline void receive_chars(struct uart_pxa_port *up, int *status) in receive_chars()
182 static void transmit_chars(struct uart_pxa_port *up) in transmit_chars()
217 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_start_tx() local
226 static inline void check_modem_status(struct uart_pxa_port *up) in check_modem_status()
252 struct uart_pxa_port *up = dev_id; in serial_pxa_irq() local
[all …]
Dsunsu.c107 static unsigned int serial_in(struct uart_sunsu_port *up, int offset) in serial_in()
124 static void serial_out(struct uart_sunsu_port *up, int offset, int value) in serial_out()
161 #define serial_inp(up, offset) serial_in(up, offset) argument
162 #define serial_outp(up, offset, value) serial_out(up, offset, value) argument
168 static void serial_icr_write(struct uart_sunsu_port *up, int offset, int value) in serial_icr_write()
193 static int __enable_rsa(struct uart_sunsu_port *up) in __enable_rsa()
213 static void enable_rsa(struct uart_sunsu_port *up) in enable_rsa()
232 static void disable_rsa(struct uart_sunsu_port *up) in disable_rsa()
267 struct uart_sunsu_port *up = in sunsu_stop_tx() local
283 struct uart_sunsu_port *up = in sunsu_start_tx() local
[all …]
Domap-serial.c182 static inline unsigned int serial_in(struct uart_omap_port *up, int offset) in serial_in()
188 static inline void serial_out(struct uart_omap_port *up, int offset, int value) in serial_out()
194 static inline void serial_omap_clear_fifos(struct uart_omap_port *up) in serial_omap_clear_fifos()
203 static int serial_omap_get_context_loss_count(struct uart_omap_port *up) in serial_omap_get_context_loss_count()
214 static void serial_omap_enable_wakeup(struct uart_omap_port *up, bool enable) in serial_omap_enable_wakeup()
284 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_enable_ms() local
297 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_stop_tx() local
361 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_stop_rx() local
371 static void transmit_chars(struct uart_omap_port *up, unsigned int lsr) in transmit_chars()
402 static inline void serial_omap_enable_ier_thri(struct uart_omap_port *up) in serial_omap_enable_ier_thri()
[all …]
Dar933x_uart.c60 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, in ar933x_uart_read()
66 static inline void ar933x_uart_write(struct ar933x_uart_port *up, in ar933x_uart_write()
72 static inline void ar933x_uart_rmw(struct ar933x_uart_port *up, in ar933x_uart_rmw()
85 static inline void ar933x_uart_rmw_set(struct ar933x_uart_port *up, in ar933x_uart_rmw_set()
92 static inline void ar933x_uart_rmw_clear(struct ar933x_uart_port *up, in ar933x_uart_rmw_clear()
99 static inline void ar933x_uart_start_tx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_start_tx_interrupt()
105 static inline void ar933x_uart_stop_tx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_stop_tx_interrupt()
111 static inline void ar933x_uart_putc(struct ar933x_uart_port *up, int ch) in ar933x_uart_putc()
122 struct ar933x_uart_port *up = in ar933x_uart_tx_empty() local
145 struct ar933x_uart_port *up = in ar933x_uart_start_tx() local
[all …]
Dm32r_sio.c175 static unsigned int sio_in(struct uart_sio_port *up, int offset) in sio_in()
180 static void sio_out(struct uart_sio_port *up, int offset, int value) in sio_out()
185 static unsigned int serial_in(struct uart_sio_port *up, int offset) in serial_in()
193 static void serial_out(struct uart_sio_port *up, int offset, int value) in serial_out()
203 struct uart_sio_port *up = in m32r_sio_stop_tx() local
215 struct uart_sio_port *up = in m32r_sio_start_tx() local
242 struct uart_sio_port *up = in m32r_sio_stop_rx() local
252 struct uart_sio_port *up = in m32r_sio_enable_ms() local
259 static void receive_chars(struct uart_sio_port *up, int *status) in receive_chars()
329 static void transmit_chars(struct uart_sio_port *up) in transmit_chars()
[all …]
Dsunzilog.c271 static void sunzilog_maybe_update_regs(struct uart_sunzilog_port *up, in sunzilog_maybe_update_regs()
283 static void sunzilog_change_mouse_baud(struct uart_sunzilog_port *up) in sunzilog_change_mouse_baud()
297 static void sunzilog_kbdms_receive_chars(struct uart_sunzilog_port *up, in sunzilog_kbdms_receive_chars()
327 sunzilog_receive_chars(struct uart_sunzilog_port *up, in sunzilog_receive_chars()
405 static void sunzilog_status_handle(struct uart_sunzilog_port *up, in sunzilog_status_handle()
456 static void sunzilog_transmit_chars(struct uart_sunzilog_port *up, in sunzilog_transmit_chars()
530 struct uart_sunzilog_port *up = dev_id; in sunzilog_interrupt() local
647 struct uart_sunzilog_port *up = in sunzilog_set_mctrl() local
672 struct uart_sunzilog_port *up = in sunzilog_stop_tx() local
681 struct uart_sunzilog_port *up = in sunzilog_start_tx() local
[all …]
Dserial_txx9.c173 static inline unsigned int sio_in(struct uart_txx9_port *up, int offset) in sio_in()
184 sio_out(struct uart_txx9_port *up, int offset, int value) in sio_out()
197 sio_mask(struct uart_txx9_port *up, int offset, unsigned int value) in sio_mask()
202 sio_set(struct uart_txx9_port *up, int offset, unsigned int value) in sio_set()
208 sio_quot_set(struct uart_txx9_port *up, int quot) in sio_quot_set()
230 struct uart_txx9_port *up = to_uart_txx9_port(port); in serial_txx9_stop_tx() local
236 struct uart_txx9_port *up = to_uart_txx9_port(port); in serial_txx9_start_tx() local
242 struct uart_txx9_port *up = to_uart_txx9_port(port); in serial_txx9_stop_rx() local
248 struct uart_txx9_port *up = to_uart_txx9_port(port); in serial_txx9_initialize() local
272 receive_chars(struct uart_txx9_port *up, unsigned int *status) in receive_chars()
[all …]
Dsunsab.c94 static __inline__ void sunsab_tec_wait(struct uart_sunsab_port *up) in sunsab_tec_wait()
102 static __inline__ void sunsab_cec_wait(struct uart_sunsab_port *up) in sunsab_cec_wait()
111 receive_chars(struct uart_sunsab_port *up, in receive_chars()
234 static void transmit_chars(struct uart_sunsab_port *up, in transmit_chars()
289 static void check_status(struct uart_sunsab_port *up, in check_status()
310 struct uart_sunsab_port *up = dev_id; in sunsab_interrupt() local
348 struct uart_sunsab_port *up = in sunsab_tx_empty() local
364 struct uart_sunsab_port *up = in sunsab_set_mctrl() local
388 struct uart_sunsab_port *up = in sunsab_get_mctrl() local
410 struct uart_sunsab_port *up = in sunsab_stop_tx() local
[all …]
Dbfin_sport_uart.c62 static inline void tx_one_byte(struct sport_uart_port *up, unsigned int value) in tx_one_byte()
81 static inline unsigned char rx_one_byte(struct sport_uart_port *up) in rx_one_byte()
119 static int sport_uart_setup(struct sport_uart_port *up, int size, int baud_rate) in sport_uart_setup()
152 struct sport_uart_port *up = dev_id; in sport_uart_rx_irq() local
176 struct sport_uart_port *up = dev_id; in sport_uart_tx_irq() local
187 struct sport_uart_port *up = dev_id; in sport_uart_err_irq() local
218 struct sport_uart_port *up = (struct sport_uart_port *)port; in sport_get_mctrl() local
231 struct sport_uart_port *up = (struct sport_uart_port *)port; in sport_set_mctrl() local
247 struct sport_uart_port *up = (struct sport_uart_port *)dev_id; in sport_mctrl_cts_int() local
271 struct sport_uart_port *up = (struct sport_uart_port *)port; in sport_startup() local
[all …]
Detraxfs-uart.c51 struct uart_cris_port *up; in cris_console_write() local
137 static inline int crisv32_serial_get_rts(struct uart_cris_port *up) in crisv32_serial_get_rts()
153 static inline void crisv32_serial_set_rts(struct uart_cris_port *up, in crisv32_serial_set_rts()
172 static inline int crisv32_serial_get_cts(struct uart_cris_port *up) in crisv32_serial_get_cts()
193 struct uart_cris_port *up = (struct uart_cris_port *)port; in etraxfs_uart_send_xchar() local
273 struct uart_cris_port *up = (struct uart_cris_port *)port; in etraxfs_uart_start_tx() local
287 struct uart_cris_port *up = (struct uart_cris_port *)port; in etraxfs_uart_start_tx_bottom() local
312 struct uart_cris_port *up = (struct uart_cris_port *)port; in etraxfs_uart_stop_tx() local
360 struct uart_cris_port *up = (struct uart_cris_port *)port; in etraxfs_uart_stop_rx() local
370 struct uart_cris_port *up = (struct uart_cris_port *)port; in etraxfs_uart_tx_empty() local
[all …]
Dip22zilog.c236 static void ip22zilog_maybe_update_regs(struct uart_ip22zilog_port *up, in ip22zilog_maybe_update_regs()
251 static bool ip22zilog_receive_chars(struct uart_ip22zilog_port *up, in ip22zilog_receive_chars()
316 static void ip22zilog_status_handle(struct uart_ip22zilog_port *up, in ip22zilog_status_handle()
358 static void ip22zilog_transmit_chars(struct uart_ip22zilog_port *up, in ip22zilog_transmit_chars()
431 struct uart_ip22zilog_port *up = dev_id; in ip22zilog_interrupt() local
547 struct uart_ip22zilog_port *up = in ip22zilog_set_mctrl() local
572 struct uart_ip22zilog_port *up = in ip22zilog_stop_tx() local
581 struct uart_ip22zilog_port *up = in ip22zilog_start_tx() local
626 struct uart_ip22zilog_port *up = UART_ZILOG(port); in ip22zilog_stop_rx() local
642 struct uart_ip22zilog_port *up = in ip22zilog_enable_ms() local
[all …]
Drp2.c237 static void rp2_rmw(struct rp2_uart_port *up, int reg, in rp2_rmw()
246 static void rp2_rmw_clr(struct rp2_uart_port *up, int reg, u32 val) in rp2_rmw_clr()
251 static void rp2_rmw_set(struct rp2_uart_port *up, int reg, u32 val) in rp2_rmw_set()
256 static void rp2_mask_ch_irq(struct rp2_uart_port *up, int ch_num, in rp2_mask_ch_irq()
275 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_tx_empty() local
292 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_get_mctrl() local
341 static void __rp2_uart_set_termios(struct rp2_uart_port *up, in __rp2_uart_set_termios()
381 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_set_termios() local
402 static void rp2_rx_chars(struct rp2_uart_port *up) in rp2_rx_chars()
435 static void rp2_tx_chars(struct rp2_uart_port *up) in rp2_tx_chars()
[all …]
/drivers/tty/serial/8250/
D8250_port.c279 static int default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read()
285 static void default_serial_dl_write(struct uart_8250_port *up, int value) in default_serial_dl_write()
337 static int au_serial_dl_read(struct uart_8250_port *up) in au_serial_dl_read()
342 static void au_serial_dl_write(struct uart_8250_port *up, int value) in au_serial_dl_write()
428 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio() local
498 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write()
504 static unsigned int serial_icr_read(struct uart_8250_port *up, int offset) in serial_icr_read()
712 static int __enable_rsa(struct uart_8250_port *up) in __enable_rsa()
732 static void enable_rsa(struct uart_8250_port *up) in enable_rsa()
751 static void disable_rsa(struct uart_8250_port *up) in disable_rsa()
[all …]
D8250_core.c123 struct uart_8250_port *up; in serial8250_interrupt() local
159 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) in serial_do_unlink()
179 static int serial_link_irq_chain(struct uart_8250_port *up) in serial_link_irq_chain()
229 static void serial_unlink_irq_chain(struct uart_8250_port *up) in serial_unlink_irq_chain()
267 struct uart_8250_port *up = (struct uart_8250_port *)data; in serial8250_timeout() local
275 struct uart_8250_port *up = (struct uart_8250_port *)data; in serial8250_backup_timeout() local
320 static int univ8250_setup_irq(struct uart_8250_port *up) in univ8250_setup_irq()
352 static void univ8250_release_irq(struct uart_8250_port *up) in univ8250_release_irq()
363 static int serial8250_request_rsa_resource(struct uart_8250_port *up) in serial8250_request_rsa_resource()
384 static void serial8250_release_rsa_resource(struct uart_8250_port *up) in serial8250_release_rsa_resource()
[all …]
D8250_omap.c124 static u32 uart_read(struct uart_8250_port *up, u32 reg) in uart_read()
131 struct uart_8250_port *up = up_to_u8250p(port); in omap8250_set_mctrl() local
160 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset()
234 static void omap8250_update_scr(struct uart_8250_port *up, in omap8250_update_scr()
254 static void omap8250_update_mdr1(struct uart_8250_port *up, in omap8250_update_mdr1()
263 static void omap8250_restore_regs(struct uart_8250_port *up) in omap8250_restore_regs()
327 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_set_termios() local
490 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_pm() local
508 static void omap_serial_fill_features_erratas(struct uart_8250_port *up, in omap_serial_fill_features_erratas()
575 struct uart_8250_port *up = up_to_u8250p(port); in omap8250_irq() local
[all …]
D8250.h109 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in()
114 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out()
121 static inline int serial_dl_read(struct uart_8250_port *up) in serial_dl_read()
126 static inline void serial_dl_write(struct uart_8250_port *up, int value) in serial_dl_write()
137 static inline void serial8250_out_MCR(struct uart_8250_port *up, int value) in serial8250_out_MCR()
142 static inline int serial8250_in_MCR(struct uart_8250_port *up) in serial8250_in_MCR()
232 static inline int ns16550a_goto_highspeed(struct uart_8250_port *up) in ns16550a_goto_highspeed()
D8250_em.c79 static int serial8250_em_serial_dl_read(struct uart_8250_port *up) in serial8250_em_serial_dl_read()
84 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, int value) in serial8250_em_serial_dl_write()
95 struct uart_8250_port up; in serial8250_em_probe() local
D8250_uniphier.c140 static int uniphier_serial_dl_read(struct uart_8250_port *up) in uniphier_serial_dl_read()
147 static void uniphier_serial_dl_write(struct uart_8250_port *up, int value) in uniphier_serial_dl_write()
193 struct uart_8250_port up; in uniphier_uart_probe() local
D8250_fsl.c31 struct uart_8250_port *up = up_to_u8250p(port); in fsl8250_handle_irq() local
/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c60 struct v4l2_window32 __user *up, in get_v4l2_window32()
102 struct v4l2_window32 __user *up) in put_v4l2_window32()
163 static int __bufsize_v4l2_format(struct v4l2_format32 __user *up, u32 *size) in __bufsize_v4l2_format()
188 static int bufsize_v4l2_format(struct v4l2_format32 __user *up, u32 *size) in bufsize_v4l2_format()
196 struct v4l2_format32 __user *up, in __get_v4l2_format32()
235 struct v4l2_format32 __user *up, in get_v4l2_format32()
243 static int bufsize_v4l2_create(struct v4l2_create_buffers32 __user *up, in bufsize_v4l2_create()
252 struct v4l2_create_buffers32 __user *up, in get_v4l2_create32()
264 struct v4l2_format32 __user *up) in __put_v4l2_format32()
301 struct v4l2_format32 __user *up) in put_v4l2_format32()
[all …]
/drivers/input/keyboard/
Dhil_kbd.c171 int up = key & HIL_KBD_SET1_UPBIT; in hil_dev_handle_kbd_events() local
182 int up = key & HIL_KBD_SET2_UPBIT; in hil_dev_handle_kbd_events() local
193 int up = key & HIL_KBD_SET3_UPBIT; in hil_dev_handle_kbd_events() local
252 int up = btn & 1; in hil_dev_handle_ptr_events() local
/drivers/mtd/maps/
Dsun_uflash.c52 struct uflash_dev *up; in uflash_devinit() local
125 struct uflash_dev *up = dev_get_drvdata(&op->dev); in uflash_remove() local
/drivers/usb/host/
Duhci-debug.c560 struct uhci_debug *up; in uhci_debug_open() local
587 struct uhci_debug *up = file->private_data; in uhci_debug_lseek() local
594 struct uhci_debug *up = file->private_data; in uhci_debug_read() local
600 struct uhci_debug *up = file->private_data; in uhci_debug_release() local
/drivers/scsi/
Daha1740.h84 #define any2scsi(up, p) \ argument
89 #define scsi2int(up) ( (((long)*(up)) << 16) + (((long)(up)[1]) << 8) + ((long)(up)[2]) ) argument
91 #define xany2scsi(up, p) \ argument
97 #define xscsi2int(up) ( (((long)(up)[0]) << 24) + (((long)(up)[1]) << 16) \ argument
/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm2.h24 static inline void cpm_set_smc_fcr(smc_uart_t __iomem *up) in cpm_set_smc_fcr()

12345