Searched refs:up (Results 1 - 25 of 840) sorted by relevance

1234567891011>>

/linux-master/drivers/tty/serial/
H A Dsunsu.c104 static unsigned int serial_in(struct uart_sunsu_port *up, int offset) argument
106 offset <<= up->port.regshift;
108 switch (up->port.iotype) {
110 outb(up->port.hub6 - 1 + offset, up->port.iobase);
111 return inb(up->port.iobase + 1);
114 return readb(up->port.membase + offset);
117 return inb(up->port.iobase + offset);
121 static void serial_out(struct uart_sunsu_port *up, int offset, int value) argument
136 offset <<= up
166 serial_icr_write(struct uart_sunsu_port *up, int offset, int value) argument
191 __enable_rsa(struct uart_sunsu_port *up) argument
211 enable_rsa(struct uart_sunsu_port *up) argument
230 disable_rsa(struct uart_sunsu_port *up) argument
265 struct uart_sunsu_port *up = local
281 struct uart_sunsu_port *up = local
300 struct uart_sunsu_port *up = local
310 struct uart_sunsu_port *up = local
321 receive_chars(struct uart_sunsu_port *up, unsigned char *status) argument
397 transmit_chars(struct uart_sunsu_port *up) argument
433 check_modem_status(struct uart_sunsu_port *up) argument
456 struct uart_sunsu_port *up = dev_id; local
485 sunsu_change_mouse_baud(struct uart_sunsu_port *up) argument
498 receive_kbd_ms_chars(struct uart_sunsu_port *up, int is_break) argument
530 struct uart_sunsu_port *up = dev_id; local
544 struct uart_sunsu_port *up = local
558 struct uart_sunsu_port *up = local
579 struct uart_sunsu_port *up = local
599 struct uart_sunsu_port *up = local
614 struct uart_sunsu_port *up = local
725 struct uart_sunsu_port *up = local
774 struct uart_sunsu_port *up = local
924 struct uart_sunsu_port *up = local
983 struct uart_sunsu_port *up = serio->port_data; local
1003 struct uart_sunsu_port *up = serio->port_data; local
1020 struct uart_sunsu_port *up = serio->port_data; local
1030 sunsu_autoconfig(struct uart_sunsu_port *up) argument
1187 sunsu_kbd_ms_init(struct uart_sunsu_port *up) argument
1255 wait_for_xmitr(struct uart_sunsu_port *up) argument
1282 struct uart_sunsu_port *up = local
1296 struct uart_sunsu_port *up = &sunsu_ports[co->index]; local
1428 struct uart_sunsu_port *up; local
1521 struct uart_sunsu_port *up = platform_get_drvdata(op); local
[all...]
H A Domap-serial.c172 static void serial_omap_mdr1_errataset(struct uart_omap_port *up, u8 mdr1);
174 static inline unsigned int serial_in(struct uart_omap_port *up, int offset) argument
176 offset <<= up->port.regshift;
177 return readw(up->port.membase + offset);
180 static inline void serial_out(struct uart_omap_port *up, int offset, int value) argument
182 offset <<= up->port.regshift;
183 writew(value, up->port.membase + offset);
186 static inline void serial_omap_clear_fifos(struct uart_omap_port *up) argument
188 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO);
189 serial_out(up, UART_FC
195 serial_omap_get_context_loss_count(struct uart_omap_port *up) argument
206 serial_omap_enable_wakeup(struct uart_omap_port *up, bool enable) argument
271 struct uart_omap_port *up = to_uart_omap_port(port); local
281 struct uart_omap_port *up = to_uart_omap_port(port); local
327 struct uart_omap_port *up = to_uart_omap_port(port); local
334 serial_omap_put_char(struct uart_omap_port *up, unsigned char ch) argument
343 transmit_chars(struct uart_omap_port *up, unsigned int lsr) argument
353 serial_omap_enable_ier_thri(struct uart_omap_port *up) argument
363 struct uart_omap_port *up = to_uart_omap_port(port); local
390 struct uart_omap_port *up = to_uart_omap_port(port); local
401 struct uart_omap_port *up = to_uart_omap_port(port); local
410 check_modem_status(struct uart_omap_port *up) argument
438 serial_omap_rlsi(struct uart_omap_port *up, unsigned int lsr) argument
494 serial_omap_rdi(struct uart_omap_port *up, unsigned int lsr) argument
524 struct uart_omap_port *up = dev_id; local
577 struct uart_omap_port *up = to_uart_omap_port(port); local
591 struct uart_omap_port *up = to_uart_omap_port(port); local
612 struct uart_omap_port *up = to_uart_omap_port(port); local
646 struct uart_omap_port *up = to_uart_omap_port(port); local
661 struct uart_omap_port *up = to_uart_omap_port(port); local
734 struct uart_omap_port *up = to_uart_omap_port(port); local
769 struct uart_omap_port *up = container_of(work, struct uart_omap_port, local
779 struct uart_omap_port *up = to_uart_omap_port(port); local
1024 struct uart_omap_port *up = to_uart_omap_port(port); local
1053 struct uart_omap_port *up = to_uart_omap_port(port); local
1072 struct uart_omap_port *up = to_uart_omap_port(port); local
1078 wait_for_xmitr(struct uart_omap_port *up) argument
1112 struct uart_omap_port *up = to_uart_omap_port(port); local
1120 struct uart_omap_port *up = to_uart_omap_port(port); local
1199 struct uart_omap_port *up = to_uart_omap_port(port); local
1209 struct uart_omap_port *up = serial_omap_console_ports[co->index]; local
1250 struct uart_omap_port *up; local
1276 serial_omap_add_console_port(struct uart_omap_port *up) argument
1287 serial_omap_add_console_port(struct uart_omap_port *up) argument
1297 struct uart_omap_port *up = to_uart_omap_port(port); local
1365 struct uart_omap_port *up = dev_get_drvdata(dev); local
1374 struct uart_omap_port *up = dev_get_drvdata(dev); local
1381 struct uart_omap_port *up = dev_get_drvdata(dev); local
1396 struct uart_omap_port *up = dev_get_drvdata(dev); local
1410 omap_serial_fill_features_erratas(struct uart_omap_port *up) argument
1488 serial_omap_probe_rs485(struct uart_omap_port *up, struct device *dev) argument
1542 struct uart_omap_port *up; local
1659 struct uart_omap_port *up = platform_get_drvdata(dev); local
1680 serial_omap_mdr1_errataset(struct uart_omap_port *up, u8 mdr1) argument
1706 serial_omap_restore_context(struct uart_omap_port *up) argument
1738 struct uart_omap_port *up = dev_get_drvdata(dev); local
1765 struct uart_omap_port *up = dev_get_drvdata(dev); local
[all...]
H A Dsunsab.c92 static __inline__ void sunsab_tec_wait(struct uart_sunsab_port *up) argument
94 int timeout = up->tec_timeout;
96 while ((readb(&up->regs->r.star) & SAB82532_STAR_TEC) && --timeout)
100 static __inline__ void sunsab_cec_wait(struct uart_sunsab_port *up) argument
102 int timeout = up->cec_timeout;
104 while ((readb(&up->regs->r.star) & SAB82532_STAR_CEC) && --timeout)
109 receive_chars(struct uart_sunsab_port *up, argument
119 if (up->port.state != NULL) /* Unopened serial console */
120 port = &up->port.state->port;
129 count = readb(&up
232 transmit_chars(struct uart_sunsab_port *up, union sab82532_irq_status *stat) argument
287 check_status(struct uart_sunsab_port *up, union sab82532_irq_status *stat) argument
308 struct uart_sunsab_port *up = dev_id; local
346 struct uart_sunsab_port *up = local
362 struct uart_sunsab_port *up = local
386 struct uart_sunsab_port *up = local
408 struct uart_sunsab_port *up = local
416 sunsab_tx_idle(struct uart_sunsab_port *up) argument
437 struct uart_sunsab_port *up = local
471 struct uart_sunsab_port *up = local
489 struct uart_sunsab_port *up = local
499 struct uart_sunsab_port *up = local
523 struct uart_sunsab_port *up = local
595 struct uart_sunsab_port *up = local
680 sunsab_convert_to_sab(struct uart_sunsab_port *up, unsigned int cflag, unsigned int iflag, unsigned int baud, unsigned int quot) argument
778 struct uart_sunsab_port *up = local
791 struct uart_sunsab_port *up = (void *)port; local
848 struct uart_sunsab_port *up = local
857 struct uart_sunsab_port *up = &sunsab_ports[con->index]; local
875 struct uart_sunsab_port *up = &sunsab_ports[con->index]; local
961 sunsab_init_one(struct uart_sunsab_port *up, struct platform_device *op, unsigned long offset, int line) argument
1018 struct uart_sunsab_port *up; local
1073 struct uart_sunsab_port *up = platform_get_drvdata(op); local
[all...]
H A Dip22zilog.c233 static void ip22zilog_maybe_update_regs(struct uart_ip22zilog_port *up, argument
236 if (!ZS_REGS_HELD(up)) {
237 if (ZS_TX_ACTIVE(up)) {
238 up->flags |= IP22ZILOG_FLAG_REGS_HELD;
240 __load_zsregs(channel, up->curregs);
248 static bool ip22zilog_receive_chars(struct uart_ip22zilog_port *up, argument
253 bool push = up->port.state != NULL;
271 ch &= up->parity_mask;
275 r1 |= up->tty_break;
279 up
313 ip22zilog_status_handle(struct uart_ip22zilog_port *up, struct zilog_channel *channel) argument
355 ip22zilog_transmit_chars(struct uart_ip22zilog_port *up, struct zilog_channel *channel) argument
426 struct uart_ip22zilog_port *up = dev_id; local
542 struct uart_ip22zilog_port *up = local
567 struct uart_ip22zilog_port *up = local
576 struct uart_ip22zilog_port *up = local
619 struct uart_ip22zilog_port *up = UART_ZILOG(port); local
635 struct uart_ip22zilog_port *up = local
652 struct uart_ip22zilog_port *up = local
678 __ip22zilog_reset(struct uart_ip22zilog_port *up) argument
707 __ip22zilog_startup(struct uart_ip22zilog_port *up) argument
730 struct uart_ip22zilog_port *up = UART_ZILOG(port); local
769 struct uart_ip22zilog_port *up = UART_ZILOG(port); local
796 ip22zilog_convert_to_zs(struct uart_ip22zilog_port *up, unsigned int cflag, unsigned int iflag, int brg) argument
874 struct uart_ip22zilog_port *up = local
1014 struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; local
1025 struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; local
1076 struct uart_ip22zilog_port *up; local
1131 struct uart_ip22zilog_port *up = &ip22zilog_port_table[channel]; local
1168 struct uart_ip22zilog_port *up = &ip22zilog_port_table[i]; local
1189 struct uart_ip22zilog_port *up; local
[all...]
H A Dserial_txx9.c159 static inline unsigned int sio_in(struct uart_port *up, int offset) argument
161 switch (up->iotype) {
163 return __raw_readl(up->membase + offset);
165 return inl(up->iobase + offset);
170 sio_out(struct uart_port *up, int offset, int value) argument
172 switch (up->iotype) {
174 __raw_writel(value, up->membase + offset);
177 outl(value, up->iobase + offset);
183 sio_mask(struct uart_port *up, int offset, unsigned int value) argument
185 sio_out(up, offse
188 sio_set(struct uart_port *up, int offset, unsigned int value) argument
194 sio_quot_set(struct uart_port *up, int quot) argument
209 serial_txx9_stop_tx(struct uart_port *up) argument
214 serial_txx9_start_tx(struct uart_port *up) argument
219 serial_txx9_stop_rx(struct uart_port *up) argument
224 serial_txx9_initialize(struct uart_port *up) argument
248 receive_chars(struct uart_port *up, unsigned int *status) argument
322 transmit_chars(struct uart_port *up) argument
335 struct uart_port *up = dev_id; local
366 serial_txx9_tx_empty(struct uart_port *up) argument
378 serial_txx9_get_mctrl(struct uart_port *up) argument
390 serial_txx9_set_mctrl(struct uart_port *up, unsigned int mctrl) argument
399 serial_txx9_break_ctl(struct uart_port *up, int break_state) argument
415 wait_for_xmitr(struct uart_port *up) argument
440 serial_txx9_get_poll_char(struct uart_port *up) argument
466 serial_txx9_put_poll_char(struct uart_port *up, unsigned char c) argument
492 serial_txx9_startup(struct uart_port *up) argument
536 serial_txx9_shutdown(struct uart_port *up) argument
574 serial_txx9_set_termios(struct uart_port *up, struct ktermios *termios, const struct ktermios *old) argument
699 serial_txx9_request_resource(struct uart_port *up) argument
731 serial_txx9_release_resource(struct uart_port *up) argument
754 serial_txx9_release_port(struct uart_port *up) argument
759 serial_txx9_request_port(struct uart_port *up) argument
764 serial_txx9_config_port(struct uart_port *up, int uflags) argument
821 struct uart_port *up = &serial_txx9_ports[i]; local
833 serial_txx9_console_putchar(struct uart_port *up, unsigned char ch) argument
848 struct uart_port *up = &serial_txx9_ports[co->index]; local
876 struct uart_port *up; local
1061 struct uart_port *up = &serial_txx9_ports[i]; local
1074 struct uart_port *up = &serial_txx9_ports[i]; local
1088 struct uart_port *up = &serial_txx9_ports[i]; local
1147 struct uart_port *up = pci_get_drvdata(dev); local
1158 struct uart_port *up = pci_get_drvdata(dev); local
1169 struct uart_port *up = pci_get_drvdata(dev); local
1254 struct uart_port *up = &serial_txx9_ports[i]; local
[all...]
H A Dpxa.c52 static inline unsigned int serial_in(struct uart_pxa_port *up, int offset) argument
55 return readl(up->port.membase + offset);
58 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) argument
61 writel(value, up->port.membase + offset);
66 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
68 up->ier |= UART_IER_MSI;
69 serial_out(up, UART_IER, up->ier);
74 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
76 if (up
84 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
91 receive_chars(struct uart_pxa_port *up, int *status) argument
175 transmit_chars(struct uart_pxa_port *up) argument
187 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
196 check_modem_status(struct uart_pxa_port *up) argument
222 struct uart_pxa_port *up = dev_id; local
241 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
254 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
274 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
295 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
309 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
375 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
405 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
514 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
533 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
547 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
559 wait_for_xmitr(struct uart_pxa_port *up) argument
586 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
601 struct uart_pxa_port *up = serial_pxa_ports[co->index]; local
640 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
654 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local
681 struct uart_pxa_port *up; local
[all...]
H A Dsunzilog.c268 static void sunzilog_maybe_update_regs(struct uart_sunzilog_port *up, argument
271 if (!ZS_REGS_HELD(up)) {
272 if (ZS_TX_ACTIVE(up)) {
273 up->flags |= SUNZILOG_FLAG_REGS_HELD;
275 __load_zsregs(channel, up->curregs);
280 static void sunzilog_change_mouse_baud(struct uart_sunzilog_port *up) argument
282 unsigned int cur_cflag = up->cflag;
285 up->cflag &= ~CBAUD;
286 up->cflag |= suncore_mouse_baud_cflag_next(cur_cflag, &new_baud);
289 up
294 sunzilog_kbdms_receive_chars(struct uart_sunzilog_port *up, unsigned char ch, int is_break) argument
324 sunzilog_receive_chars(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument
402 sunzilog_status_handle(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument
453 sunzilog_transmit_chars(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument
526 struct uart_sunzilog_port *up = dev_id; local
643 struct uart_sunzilog_port *up = local
668 struct uart_sunzilog_port *up = local
677 struct uart_sunzilog_port *up = local
720 struct uart_sunzilog_port *up = UART_ZILOG(port); local
736 struct uart_sunzilog_port *up = local
753 struct uart_sunzilog_port *up = local
779 __sunzilog_startup(struct uart_sunzilog_port *up) argument
796 struct uart_sunzilog_port *up = UART_ZILOG(port); local
835 struct uart_sunzilog_port *up = UART_ZILOG(port); local
862 sunzilog_convert_to_zs(struct uart_sunzilog_port *up, unsigned int cflag, unsigned int iflag, int brg) argument
940 struct uart_sunzilog_port *up = local
969 struct uart_sunzilog_port *up = UART_ZILOG(port); local
1001 struct uart_sunzilog_port *up = local
1036 struct uart_sunzilog_port *up = local
1081 struct uart_sunzilog_port *up; local
1153 struct uart_sunzilog_port *up = serio->port_data; local
1167 struct uart_sunzilog_port *up = serio->port_data; local
1184 struct uart_sunzilog_port *up = serio->port_data; local
1198 struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; local
1216 struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; local
1278 sunzilog_init_kbdms(struct uart_sunzilog_port *up) argument
1298 sunzilog_register_serio(struct uart_sunzilog_port *up) argument
1327 sunzilog_init_hw(struct uart_sunzilog_port *up) argument
1400 struct uart_sunzilog_port *up; local
1505 zs_remove_one(struct uart_sunzilog_port *up) argument
1517 struct uart_sunzilog_port *up = platform_get_drvdata(op); local
1575 struct uart_sunzilog_port *up = sunzilog_irq_chain; local
1616 struct uart_sunzilog_port *up = sunzilog_irq_chain; local
[all...]
H A Dar933x_uart.c57 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, argument
60 return readl(up->port.membase + offset);
63 static inline void ar933x_uart_write(struct ar933x_uart_port *up, argument
66 writel(value, up->port.membase + offset);
69 static inline void ar933x_uart_rmw(struct ar933x_uart_port *up, argument
76 t = ar933x_uart_read(up, offset);
79 ar933x_uart_write(up, offset, t);
82 static inline void ar933x_uart_rmw_set(struct ar933x_uart_port *up, argument
86 ar933x_uart_rmw(up, offset, 0, val);
89 static inline void ar933x_uart_rmw_clear(struct ar933x_uart_port *up, argument
96 ar933x_uart_start_tx_interrupt(struct ar933x_uart_port *up) argument
102 ar933x_uart_stop_tx_interrupt(struct ar933x_uart_port *up) argument
108 ar933x_uart_start_rx_interrupt(struct ar933x_uart_port *up) argument
114 ar933x_uart_stop_rx_interrupt(struct ar933x_uart_port *up) argument
120 ar933x_uart_putc(struct ar933x_uart_port *up, int ch) argument
131 struct ar933x_uart_port *up = local
145 struct ar933x_uart_port *up = local
156 struct ar933x_uart_port *up = local
164 struct ar933x_uart_port *up = local
170 ar933x_uart_wait_tx_complete(struct ar933x_uart_port *up) argument
187 ar933x_uart_rx_flush(struct ar933x_uart_port *up) argument
203 struct ar933x_uart_port *up = local
211 struct ar933x_uart_port *up = local
219 struct ar933x_uart_port *up = local
288 struct ar933x_uart_port *up = local
361 ar933x_uart_rx_chars(struct ar933x_uart_port *up) argument
391 ar933x_uart_tx_chars(struct ar933x_uart_port *up) argument
445 struct ar933x_uart_port *up = dev_id; local
477 struct ar933x_uart_port *up = local
507 struct ar933x_uart_port *up = local
546 struct ar933x_uart_port *up = local
584 struct ar933x_uart_port *up = local
598 ar933x_uart_wait_xmitr(struct ar933x_uart_port *up) argument
614 struct ar933x_uart_port *up = local
624 struct ar933x_uart_port *up = ar933x_console_ports[co->index]; local
657 struct ar933x_uart_port *up; local
701 struct ar933x_uart_port *up; local
815 struct ar933x_uart_port *up; local
[all...]
H A Dma35d1_serial.c105 #define MA35_ISR_WK_IF BIT(6) /* UART Wake-up Interrupt Flag */
189 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
191 __stop_tx(up);
194 static void transmit_chars(struct uart_ma35d1_port *up) argument
199 if (uart_tx_stopped(&up->port)) {
200 ma35d1serial_stop_tx(&up->port);
204 serial_in(up, MA35_FSR_REG));
205 uart_port_tx_limited(&up->port, ch, count,
206 !(serial_in(up, MA35_FSR_REG) & MA35_FSR_TX_FULL),
207 serial_out(up, MA35_THR_RE
213 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
224 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
232 receive_chars(struct uart_ma35d1_port *up) argument
287 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
308 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
320 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
332 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
363 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
379 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
407 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
417 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
530 wait_for_xmitr(struct uart_ma35d1_port *up) argument
541 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
555 struct uart_ma35d1_port *up; local
688 struct uart_ma35d1_port *up; local
760 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
769 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
783 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Duar.c83 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); local
85 list_del(&up->list);
86 iounmap(up->map);
87 if (mlx5_cmd_free_uar(up->mdev, up->index))
88 mlx5_core_warn(up->mdev, "failed to free uar index %d\n", up->index);
89 bitmap_free(up->reg_bitmap);
90 bitmap_free(up->fp_bitmap);
91 kfree(up);
97 struct mlx5_uars_page *up; local
186 mlx5_put_uars_page(struct mlx5_core_dev *mdev, struct mlx5_uars_page *up) argument
208 struct mlx5_uars_page *up; local
273 addr_to_dbi_in_syspage(struct mlx5_core_dev *dev, struct mlx5_uars_page *up, struct mlx5_sq_bfreg *bfreg) argument
292 struct mlx5_uars_page *up; local
[all...]
/linux-master/drivers/mtd/maps/
H A Dsun_uflash.c52 struct uflash_dev *up; local
64 up = kzalloc(sizeof(struct uflash_dev), GFP_KERNEL);
65 if (!up)
69 memcpy(&up->map, &uflash_map_templ, sizeof(uflash_map_templ));
71 up->map.size = resource_size(&op->resource[0]);
73 up->name = of_get_property(dp, "model", NULL);
74 if (up->name && 0 < strlen(up->name))
75 up->map.name = up
123 struct uflash_dev *up = dev_get_drvdata(&op->dev); local
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_port.c325 static u32 default_serial_dl_read(struct uart_8250_port *up) argument
328 unsigned char dll = serial_in(up, UART_DLL);
329 unsigned char dlm = serial_in(up, UART_DLM);
335 static void default_serial_dl_write(struct uart_8250_port *up, u32 value) argument
337 serial_out(up, UART_DLL, value & 0xff);
338 serial_out(up, UART_DLM, value >> 8 & 0xff);
419 struct uart_8250_port *up = up_to_u8250p(p); local
421 up->dl_read = default_serial_dl_read;
422 up->dl_write = default_serial_dl_write;
456 up
613 struct uart_8250_port *up = up_to_u8250p(port); local
694 serial8250_clear_IER(struct uart_8250_port *up) argument
707 __enable_rsa(struct uart_8250_port *up) argument
727 enable_rsa(struct uart_8250_port *up) argument
746 disable_rsa(struct uart_8250_port *up) argument
775 size_fifo(struct uart_8250_port *up) argument
839 autoconfig_has_efr(struct uart_8250_port *up) argument
927 autoconfig_8250(struct uart_8250_port *up) argument
944 broken_efr(struct uart_8250_port *up) argument
963 autoconfig_16550a(struct uart_8250_port *up) argument
1136 autoconfig(struct uart_8250_port *up) argument
1305 autoconfig_irq(struct uart_8250_port *up) argument
1365 struct uart_8250_port *up = up_to_u8250p(port); local
1500 struct uart_8250_port *up = up_to_u8250p(port); local
1517 struct uart_8250_port *up = up_to_u8250p(port); local
1550 serial8250_em485_start_tx(struct uart_8250_port *up) argument
1568 struct uart_8250_port *up = up_to_u8250p(port); local
1620 struct uart_8250_port *up = up_to_u8250p(port); local
1651 struct uart_8250_port *up = up_to_u8250p(port); local
1668 struct uart_8250_port *up = up_to_u8250p(port); local
1686 serial8250_read_char(struct uart_8250_port *up, u16 lsr) argument
1754 serial8250_rx_chars(struct uart_8250_port *up, u16 lsr) argument
1771 serial8250_tx_chars(struct uart_8250_port *up) argument
1835 serial8250_modem_status(struct uart_8250_port *up) argument
1860 handle_rx_dma(struct uart_8250_port *up, unsigned int iir) argument
1891 struct uart_8250_port *up = up_to_u8250p(port); local
1942 struct uart_8250_port *up = up_to_u8250p(port); local
1968 struct uart_8250_port *up = up_to_u8250p(port); local
1981 struct uart_8250_port *up = up_to_u8250p(port); local
1999 struct uart_8250_port *up = up_to_u8250p(port); local
2024 struct uart_8250_port *up = up_to_u8250p(port); local
2048 struct uart_8250_port *up = up_to_u8250p(port); local
2062 wait_for_lsr(struct uart_8250_port *up, int bits) argument
2082 wait_for_xmitr(struct uart_8250_port *up, int bits) argument
2109 struct uart_8250_port *up = up_to_u8250p(port); local
2133 struct uart_8250_port *up = up_to_u8250p(port); local
2169 struct uart_8250_port *up = up_to_u8250p(port); local
2463 struct uart_8250_port *up = up_to_u8250p(port); local
2531 struct uart_8250_port *up = up_to_u8250p(port); local
2592 serial8250_compute_lcr(struct uart_8250_port *up, tcflag_t c_cflag) argument
2614 struct uart_8250_port *up = up_to_u8250p(port); local
2719 struct uart_8250_port *up = up_to_u8250p(port); local
2923 serial8250_request_std_resource(struct uart_8250_port *up) argument
2964 serial8250_release_std_resource(struct uart_8250_port *up) argument
2996 struct uart_8250_port *up = up_to_u8250p(port); local
3003 struct uart_8250_port *up = up_to_u8250p(port); local
3008 fcr_get_rxtrig_bytes(struct uart_8250_port *up) argument
3018 bytes_to_fcr_rxtrig(struct uart_8250_port *up, unsigned char bytes) argument
3039 struct uart_8250_port *up = up_to_u8250p(uport); local
3075 struct uart_8250_port *up = up_to_u8250p(uport); local
3135 register_dev_spec_attr_grp(struct uart_8250_port *up) argument
3145 struct uart_8250_port *up = up_to_u8250p(port); local
3223 serial8250_init_port(struct uart_8250_port *up) argument
3237 serial8250_set_defaults(struct uart_8250_port *up) argument
3268 struct uart_8250_port *up = up_to_u8250p(port); local
3277 serial8250_console_restore(struct uart_8250_port *up) argument
3306 serial8250_console_fifo_write(struct uart_8250_port *up, const char *s, unsigned int count) argument
3338 serial8250_console_write(struct uart_8250_port *up, const char *s, unsigned int count) argument
[all...]
H A D8250_ioc3.c37 struct uart_8250_port up; local
59 memset(&up, 0, sizeof(struct uart_8250_port));
60 up.port.iotype = UPIO_MEM;
61 up.port.uartclk = IOC3_UARTCLK;
62 up.port.type = PORT_16550A;
63 up.port.irq = irq;
64 up.port.flags = (UPF_BOOT_AUTOCONF | UPF_SHARE_IRQ);
65 up.port.dev = &pdev->dev;
66 up.port.membase = membase;
67 up
[all...]
H A D8250_core.c124 struct uart_8250_port *up; local
127 up = list_entry(l, struct uart_8250_port, list);
128 port = &up->port;
156 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) argument
161 if (i->head == &up->list)
163 list_del(&up->list);
165 BUG_ON(i->head != &up->list);
176 static int serial_link_irq_chain(struct uart_8250_port *up) argument
184 h = &irq_lists[up->port.irq % NR_IRQ_HASH];
187 if (i->irq == up
222 serial_unlink_irq_chain(struct uart_8250_port *up) argument
253 struct uart_8250_port *up = from_timer(up, t, timer); local
261 struct uart_8250_port *up = from_timer(up, t, timer); local
306 univ8250_setup_timer(struct uart_8250_port *up) argument
331 univ8250_setup_irq(struct uart_8250_port *up) argument
341 univ8250_release_irq(struct uart_8250_port *up) argument
352 serial8250_request_rsa_resource(struct uart_8250_port *up) argument
373 serial8250_release_rsa_resource(struct uart_8250_port *up) argument
420 serial8250_set_isa_configurator( void (*v)(int port, struct uart_port *up, u32 *capabilities)) argument
431 struct uart_8250_port *up = up_to_u8250p(port); local
457 struct uart_8250_port *up = up_to_u8250p(port); local
472 struct uart_8250_port *up = up_to_u8250p(port); local
490 serial8250_apply_quirks(struct uart_8250_port *up) argument
497 struct uart_8250_port *up; local
522 struct uart_8250_port *up; local
577 struct uart_8250_port *up = &serial8250_ports[i]; local
600 struct uart_8250_port *up = &serial8250_ports[co->index]; local
607 struct uart_8250_port *up; local
788 struct uart_8250_port *up = &serial8250_ports[line]; local
812 struct uart_8250_port *up = &serial8250_ports[line]; local
893 struct uart_8250_port *up = &serial8250_ports[i]; local
905 struct uart_8250_port *up = &serial8250_ports[i]; local
919 struct uart_8250_port *up = &serial8250_ports[i]; local
990 struct uart_8250_port *up = local
1016 serial8250_register_8250_port(const struct uart_8250_port *up) argument
[all...]
H A D8250.h115 static inline int serial_in(struct uart_8250_port *up, int offset) argument
117 return up->port.serial_in(&up->port, offset);
120 static inline void serial_out(struct uart_8250_port *up, int offset, int value) argument
122 up->port.serial_out(&up->port, offset, value);
127 * @up: uart 8250 port
131 * up->lsr_saved_flags.
135 static inline u16 serial_lsr_in(struct uart_8250_port *up) argument
137 u16 lsr = up
148 serial_icr_write(struct uart_8250_port *up, int offset, int value) argument
154 serial_icr_read(struct uart_8250_port *up, int offset) argument
169 serial_dl_read(struct uart_8250_port *up) argument
174 serial_dl_write(struct uart_8250_port *up, u32 value) argument
179 serial8250_set_THRI(struct uart_8250_port *up) argument
191 serial8250_clear_THRI(struct uart_8250_port *up) argument
272 serial8250_out_MCR(struct uart_8250_port *up, int value) argument
280 serial8250_in_MCR(struct uart_8250_port *up) argument
399 ns16550a_goto_highspeed(struct uart_8250_port *up) argument
[all...]
H A D8250_omap.c182 struct uart_8250_port *up = up_to_u8250p(port); local
183 struct omap8250_priv *priv = up->port.private_data;
188 if (!mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS)) {
193 lcr = serial_in(up, UART_LCR);
194 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B);
199 serial_out(up, UART_EFR, priv->efr);
200 serial_out(up, UART_LCR, lcr);
227 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, argument
230 serial_out(up, UART_OMAP_MDR1, priv->mdr1);
232 serial_out(up, UART_FC
279 omap8250_update_scr(struct uart_8250_port *up, struct omap8250_priv *priv) argument
299 omap8250_update_mdr1(struct uart_8250_port *up, struct omap8250_priv *priv) argument
308 omap8250_restore_regs(struct uart_8250_port *up) argument
383 struct uart_8250_port *up = up_to_u8250p(port); local
534 struct uart_8250_port *up = up_to_u8250p(port); local
558 omap_serial_fill_features_erratas(struct uart_8250_port *up, struct omap8250_priv *priv) argument
638 struct uart_8250_port *up = serial8250_get_port(priv->line); local
704 struct uart_8250_port *up = up_to_u8250p(port); local
768 struct uart_8250_port *up = up_to_u8250p(port); local
822 struct uart_8250_port *up = up_to_u8250p(port); local
846 struct uart_8250_port *up = up_to_u8250p(port); local
1243 handle_rx_dma(struct uart_8250_port *up, unsigned int iir) argument
1255 omap_8250_handle_rx_dma(struct uart_8250_port *up, u8 iir, u16 status) argument
1268 am654_8250_handle_rx_dma(struct uart_8250_port *up, u8 iir, u16 status) argument
1304 struct uart_8250_port *up = up_to_u8250p(port); local
1411 struct uart_8250_port up; local
1600 struct uart_8250_port *up; local
1641 struct uart_8250_port *up = serial8250_get_port(priv->line); local
1674 struct uart_8250_port *up = serial8250_get_port(priv->line); local
1695 omap8250_lost_context(struct uart_8250_port *up) argument
1759 struct uart_8250_port *up = NULL; local
1792 struct uart_8250_port *up = NULL; local
[all...]
H A D8250_fsl.c31 struct uart_8250_port *up = up_to_u8250p(port); local
33 uart_port_lock_irqsave(&up->port, &flags);
37 uart_port_unlock_irqrestore(&up->port, flags);
55 (up->lsr_saved_flags & UART_LSR_BI))) {
56 up->lsr_saved_flags &= ~UART_LSR_BI;
58 uart_port_unlock_irqrestore(&up->port, flags);
62 lsr = orig_lsr = up->port.serial_in(&up->port, UART_LSR);
66 (up->ier & (UART_IER_RLSI | UART_IER_RDI))) {
67 lsr = serial8250_rx_chars(up, ls
[all...]
H A D8250_mtk.c89 static void mtk8250_rx_dma(struct uart_8250_port *up);
93 struct uart_8250_port *up = param; local
94 struct uart_8250_dma *dma = up->dma;
95 struct mtk8250_data *data = up->port.private_data;
96 struct tty_port *tty_port = &up->port.state->port;
105 uart_port_lock_irqsave(&up->port, &flags);
125 up->port.icount.rx += copied;
129 mtk8250_rx_dma(up);
131 uart_port_unlock_irqrestore(&up->port, flags);
134 static void mtk8250_rx_dma(struct uart_8250_port *up) argument
155 mtk8250_dma_enable(struct uart_8250_port *up) argument
193 struct uart_8250_port *up = up_to_u8250p(port); local
213 struct uart_8250_port *up = up_to_u8250p(port); local
223 mtk8250_disable_intrs(struct uart_8250_port *up, int mask) argument
231 mtk8250_enable_intrs(struct uart_8250_port *up, int mask) argument
239 mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode) argument
311 struct uart_8250_port *up = up_to_u8250p(port); local
428 struct uart_8250_port *up = serial8250_get_port(data->line); local
[all...]
H A D8250_bcm2835aux.c48 static void bcm2835aux_rs485_start_tx(struct uart_8250_port *up) argument
50 if (!(up->port.rs485.flags & SER_RS485_RX_DURING_TX)) {
51 struct bcm2835aux_data *data = dev_get_drvdata(up->port.dev);
54 serial_out(up, BCM2835_AUX_UART_CNTL, data->cntl);
61 if (up->port.rs485.flags & SER_RS485_RTS_ON_SEND)
62 serial8250_out_MCR(up, 0);
64 serial8250_out_MCR(up, UART_MCR_RTS);
67 static void bcm2835aux_rs485_stop_tx(struct uart_8250_port *up) argument
69 if (up->port.rs485.flags & SER_RS485_RTS_AFTER_SEND)
70 serial8250_out_MCR(up,
85 struct uart_8250_port up = { }; local
[all...]
H A D8250_uniphier.c148 static u32 uniphier_serial_dl_read(struct uart_8250_port *up) argument
150 return readl(up->port.membase + UNIPHIER_UART_DLR);
153 static void uniphier_serial_dl_write(struct uart_8250_port *up, u32 value) argument
155 writel(value, up->port.membase + UNIPHIER_UART_DLR);
161 struct uart_8250_port up; local
181 memset(&up, 0, sizeof(up));
193 up.port.uartclk = clk_get_rate(priv->clk);
197 up.port.dev = dev;
198 up
246 struct uart_8250_port *up = serial8250_get_port(priv->line); local
259 struct uart_8250_port *up = serial8250_get_port(priv->line); local
[all...]
/linux-master/drivers/net/can/usb/
H A Ducan.c85 /* wake up can transceiver from low-power sleep mode */
263 struct ucan_priv *up; member in struct:ucan_urb_context
314 static void ucan_release_context_array(struct ucan_priv *up) argument
316 if (!up->context_array)
320 up->available_tx_urbs = 0;
322 kfree(up->context_array);
323 up->context_array = NULL;
326 static int ucan_alloc_context_array(struct ucan_priv *up) argument
331 ucan_release_context_array(up);
333 up
353 ucan_alloc_context(struct ucan_priv *up) argument
384 ucan_release_context(struct ucan_priv *up, struct ucan_urb_context *ctx) argument
412 ucan_ctrl_command_out(struct ucan_priv *up, u8 cmd, u16 subcmd, u16 datalen) argument
427 ucan_device_request_in(struct ucan_priv *up, u8 cmd, u16 subcmd, u16 datalen) argument
444 ucan_parse_device_info(struct ucan_priv *up, struct ucan_ctl_cmd_device_info *device_info) argument
483 ucan_handle_error_frame(struct ucan_priv *up, struct ucan_message_in *m, canid_t canid) argument
565 ucan_rx_can_msg(struct ucan_priv *up, struct ucan_message_in *m) argument
635 ucan_tx_complete_msg(struct ucan_priv *up, struct ucan_message_in *m) argument
691 struct ucan_priv *up = urb->context; local
819 struct ucan_priv *up; local
860 ucan_cleanup_rx_urbs(struct ucan_priv *up, struct urb **urbs) argument
878 ucan_prepare_and_anchor_rx_urbs(struct ucan_priv *up, struct urb **urbs) argument
927 ucan_submit_rx_urbs(struct ucan_priv *up, struct urb **urbs) argument
967 struct ucan_priv *up = netdev_priv(netdev); local
1049 ucan_prepare_tx_urb(struct ucan_priv *up, struct ucan_urb_context *context, struct can_frame *cf, u8 echo_index) argument
1103 ucan_clean_up_tx_urb(struct ucan_priv *up, struct urb *urb) argument
1119 struct ucan_priv *up = netdev_priv(netdev); local
1198 struct ucan_priv *up = netdev_priv(netdev); local
1249 struct ucan_priv *up = netdev_priv(netdev); local
1274 struct ucan_priv *up = netdev_priv(netdev); local
1310 struct ucan_priv *up; local
1577 struct ucan_priv *up = usb_get_intfdata(intf); local
[all...]
/linux-master/arch/x86/platform/ce4100/
H A Dce4100.c82 static void ce4100_serial_fixup(int port, struct uart_port *up, argument
91 if (up->iotype != UPIO_MEM32) {
92 up->uartclk = 14745600;
93 up->mapbase = 0xdffe0200;
95 up->mapbase & PAGE_MASK);
96 up->membase =
98 up->membase += up->mapbase & ~PAGE_MASK;
99 up->mapbase += port * 0x100;
100 up
[all...]
/linux-master/lib/crypto/mpi/
H A Dmpih-mul.c21 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \
24 mul_n_basecase(prodp, up, vp, size); \
26 mul_n(prodp, up, vp, size, tspace); \
29 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \
32 mpih_sqr_n_basecase(prodp, up, size); \
34 mpih_sqr_n(prodp, up, size, tspace); \
55 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) argument
66 MPN_COPY(prodp, up, size);
71 cy = mpihelp_mul_1(prodp, up, size, v_limb);
83 cy = mpihelp_add_n(prodp, prodp, up, siz
95 mul_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size, mpi_ptr_t tspace) argument
207 mpih_sqr_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size) argument
245 mpih_sqr_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size, mpi_ptr_t tspace) argument
321 mpihelp_mul_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) argument
346 mpihelp_mul_karatsuba_case(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, mpi_ptr_t vp, mpi_size_t vsize, struct karatsuba_ctx *ctx) argument
452 mpihelp_mul(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, mpi_ptr_t vp, mpi_size_t vsize, mpi_limb_t *_result) argument
[all...]
/linux-master/arch/alpha/lib/
H A Dstrcpy.S19 mov $16, $0 # set up return value
20 mov $26, $23 # set up return address
/linux-master/drivers/scsi/
H A Daha1740.h85 #define any2scsi(up, p) \
86 (up)[0] = (((unsigned long)(p)) >> 16) ; \
87 (up)[1] = (((unsigned long)(p)) >> 8); \
88 (up)[2] = ((unsigned long)(p));
90 #define scsi2int(up) ( (((long)*(up)) << 16) + (((long)(up)[1]) << 8) + ((long)(up)[2]) )
92 #define xany2scsi(up, p) \
93 (up)[
[all...]

Completed in 203 milliseconds

1234567891011>>