Home
last modified time | relevance | path

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

1234567

/drivers/tty/serial/
Dar933x_uart.c57 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, in ar933x_uart_read()
63 static inline void ar933x_uart_write(struct ar933x_uart_port *up, in ar933x_uart_write()
69 static inline void ar933x_uart_rmw(struct ar933x_uart_port *up, in ar933x_uart_rmw()
82 static inline void ar933x_uart_rmw_set(struct ar933x_uart_port *up, in ar933x_uart_rmw_set()
89 static inline void ar933x_uart_rmw_clear(struct ar933x_uart_port *up, in ar933x_uart_rmw_clear()
96 static inline void ar933x_uart_start_tx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_start_tx_interrupt()
102 static inline void ar933x_uart_stop_tx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_stop_tx_interrupt()
108 static inline void ar933x_uart_start_rx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_start_rx_interrupt()
114 static inline void ar933x_uart_stop_rx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_stop_rx_interrupt()
120 static inline void ar933x_uart_putc(struct ar933x_uart_port *up, int ch) in ar933x_uart_putc()
[all …]
Dsunsu.c104 static unsigned int serial_in(struct uart_sunsu_port *up, int offset) in serial_in()
121 static void serial_out(struct uart_sunsu_port *up, int offset, int value) in serial_out()
159 #define serial_inp(up, offset) serial_in(up, offset) argument
160 #define serial_outp(up, offset, value) serial_out(up, offset, value) argument
166 static void serial_icr_write(struct uart_sunsu_port *up, int offset, int value) in serial_icr_write()
191 static int __enable_rsa(struct uart_sunsu_port *up) in __enable_rsa()
211 static void enable_rsa(struct uart_sunsu_port *up) in enable_rsa()
230 static void disable_rsa(struct uart_sunsu_port *up) in disable_rsa()
265 struct uart_sunsu_port *up = in sunsu_stop_tx() local
281 struct uart_sunsu_port *up = in sunsu_start_tx() local
[all …]
Dserial_txx9.c158 static inline unsigned int sio_in(struct uart_port *up, int offset) in sio_in()
169 sio_out(struct uart_port *up, int offset, int value) in sio_out()
182 sio_mask(struct uart_port *up, int offset, unsigned int value) in sio_mask()
187 sio_set(struct uart_port *up, int offset, unsigned int value) in sio_set()
193 sio_quot_set(struct uart_port *up, int quot) in sio_quot_set()
208 static void serial_txx9_stop_tx(struct uart_port *up) in serial_txx9_stop_tx()
213 static void serial_txx9_start_tx(struct uart_port *up) in serial_txx9_start_tx()
218 static void serial_txx9_stop_rx(struct uart_port *up) in serial_txx9_stop_rx()
223 static void serial_txx9_initialize(struct uart_port *up) in serial_txx9_initialize()
247 receive_chars(struct uart_port *up, unsigned int *status) in receive_chars()
[all …]
Dpxa.c52 static inline unsigned int serial_in(struct uart_pxa_port *up, int offset) in serial_in()
58 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) in serial_out()
66 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_enable_ms() local
74 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_stop_tx() local
84 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_stop_rx() local
91 static inline void receive_chars(struct uart_pxa_port *up, int *status) in receive_chars()
175 static void transmit_chars(struct uart_pxa_port *up) in transmit_chars()
210 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_start_tx() local
219 static inline void check_modem_status(struct uart_pxa_port *up) in check_modem_status()
245 struct uart_pxa_port *up = dev_id; in serial_pxa_irq() local
[all …]
Domap-serial.c174 static inline unsigned int serial_in(struct uart_omap_port *up, int offset) in serial_in()
180 static inline void serial_out(struct uart_omap_port *up, int offset, int value) in serial_out()
186 static inline void serial_omap_clear_fifos(struct uart_omap_port *up) in serial_omap_clear_fifos()
195 static int serial_omap_get_context_loss_count(struct uart_omap_port *up) in serial_omap_get_context_loss_count()
206 static void serial_omap_enable_wakeup(struct uart_omap_port *up, bool enable) in serial_omap_enable_wakeup()
276 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_enable_ms() local
286 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_stop_tx() local
332 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_stop_rx() local
339 static void serial_omap_put_char(struct uart_omap_port *up, unsigned char ch) in serial_omap_put_char()
348 static void transmit_chars(struct uart_omap_port *up, unsigned int lsr) in transmit_chars()
[all …]
Dsunzilog.c268 static void sunzilog_maybe_update_regs(struct uart_sunzilog_port *up, in sunzilog_maybe_update_regs()
280 static void sunzilog_change_mouse_baud(struct uart_sunzilog_port *up) in sunzilog_change_mouse_baud()
294 static void sunzilog_kbdms_receive_chars(struct uart_sunzilog_port *up, in sunzilog_kbdms_receive_chars()
324 sunzilog_receive_chars(struct uart_sunzilog_port *up, in sunzilog_receive_chars()
402 static void sunzilog_status_handle(struct uart_sunzilog_port *up, in sunzilog_status_handle()
453 static void sunzilog_transmit_chars(struct uart_sunzilog_port *up, in sunzilog_transmit_chars()
527 struct uart_sunzilog_port *up = dev_id; in sunzilog_interrupt() local
644 struct uart_sunzilog_port *up = in sunzilog_set_mctrl() local
669 struct uart_sunzilog_port *up = in sunzilog_stop_tx() local
678 struct uart_sunzilog_port *up = in sunzilog_start_tx() local
[all …]
Dsunsab.c91 static __inline__ void sunsab_tec_wait(struct uart_sunsab_port *up) in sunsab_tec_wait()
99 static __inline__ void sunsab_cec_wait(struct uart_sunsab_port *up) in sunsab_cec_wait()
108 receive_chars(struct uart_sunsab_port *up, in receive_chars()
231 static void transmit_chars(struct uart_sunsab_port *up, in transmit_chars()
286 static void check_status(struct uart_sunsab_port *up, in check_status()
307 struct uart_sunsab_port *up = dev_id; in sunsab_interrupt() local
345 struct uart_sunsab_port *up = in sunsab_tx_empty() local
361 struct uart_sunsab_port *up = in sunsab_set_mctrl() local
385 struct uart_sunsab_port *up = in sunsab_get_mctrl() local
407 struct uart_sunsab_port *up = in sunsab_stop_tx() local
[all …]
Dip22zilog.c233 static void ip22zilog_maybe_update_regs(struct uart_ip22zilog_port *up, in ip22zilog_maybe_update_regs()
248 static bool ip22zilog_receive_chars(struct uart_ip22zilog_port *up, in ip22zilog_receive_chars()
313 static void ip22zilog_status_handle(struct uart_ip22zilog_port *up, in ip22zilog_status_handle()
355 static void ip22zilog_transmit_chars(struct uart_ip22zilog_port *up, in ip22zilog_transmit_chars()
428 struct uart_ip22zilog_port *up = dev_id; in ip22zilog_interrupt() local
544 struct uart_ip22zilog_port *up = in ip22zilog_set_mctrl() local
569 struct uart_ip22zilog_port *up = in ip22zilog_stop_tx() local
578 struct uart_ip22zilog_port *up = in ip22zilog_start_tx() local
623 struct uart_ip22zilog_port *up = UART_ZILOG(port); in ip22zilog_stop_rx() local
639 struct uart_ip22zilog_port *up = in ip22zilog_enable_ms() local
[all …]
Drp2.c233 static void rp2_rmw(struct rp2_uart_port *up, int reg, in rp2_rmw()
242 static void rp2_rmw_clr(struct rp2_uart_port *up, int reg, u32 val) in rp2_rmw_clr()
247 static void rp2_rmw_set(struct rp2_uart_port *up, int reg, u32 val) in rp2_rmw_set()
252 static void rp2_mask_ch_irq(struct rp2_uart_port *up, int ch_num, in rp2_mask_ch_irq()
271 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_tx_empty() local
288 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_get_mctrl() local
337 static void __rp2_uart_set_termios(struct rp2_uart_port *up, in __rp2_uart_set_termios()
376 struct rp2_uart_port *up = port_to_up(port); in rp2_uart_set_termios() local
397 static void rp2_rx_chars(struct rp2_uart_port *up) in rp2_rx_chars()
428 static void rp2_tx_chars(struct rp2_uart_port *up) in rp2_tx_chars()
[all …]
/drivers/tty/serial/8250/
D8250_port.c320 static int default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read()
330 static void default_serial_dl_write(struct uart_8250_port *up, int value) in default_serial_dl_write()
384 static int au_serial_dl_read(struct uart_8250_port *up) in au_serial_dl_read()
389 static void au_serial_dl_write(struct uart_8250_port *up, int value) in au_serial_dl_write()
474 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio() local
673 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_em485_config() local
758 static void serial8250_clear_IER(struct uart_8250_port *up) in serial8250_clear_IER()
771 static int __enable_rsa(struct uart_8250_port *up) in __enable_rsa()
791 static void enable_rsa(struct uart_8250_port *up) in enable_rsa()
810 static void disable_rsa(struct uart_8250_port *up) in disable_rsa()
[all …]
D8250_core.c120 struct uart_8250_port *up; in serial8250_interrupt() local
152 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) in serial_do_unlink()
172 static int serial_link_irq_chain(struct uart_8250_port *up) in serial_link_irq_chain()
218 static void serial_unlink_irq_chain(struct uart_8250_port *up) in serial_unlink_irq_chain()
249 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_timeout() local
257 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_backup_timeout() local
301 static void univ8250_setup_timer(struct uart_8250_port *up) in univ8250_setup_timer()
326 static int univ8250_setup_irq(struct uart_8250_port *up) in univ8250_setup_irq()
336 static void univ8250_release_irq(struct uart_8250_port *up) in univ8250_release_irq()
347 static int serial8250_request_rsa_resource(struct uart_8250_port *up) in serial8250_request_rsa_resource()
[all …]
D8250_omap.c168 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl() local
213 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset()
265 static void omap8250_update_scr(struct uart_8250_port *up, in omap8250_update_scr()
285 static void omap8250_update_mdr1(struct uart_8250_port *up, in omap8250_update_mdr1()
294 static void omap8250_restore_regs(struct uart_8250_port *up) in omap8250_restore_regs()
363 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_set_termios() local
514 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_pm() local
532 static void omap_serial_fill_features_erratas(struct uart_8250_port *up, in omap_serial_fill_features_erratas()
613 struct uart_8250_port *up = up_to_u8250p(port); in omap8250_irq() local
668 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_startup() local
[all …]
D8250.h116 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in()
121 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out()
136 static inline u16 serial_lsr_in(struct uart_8250_port *up) in serial_lsr_in()
149 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write()
155 static unsigned int __maybe_unused serial_icr_read(struct uart_8250_port *up, in serial_icr_read()
170 static inline int serial_dl_read(struct uart_8250_port *up) in serial_dl_read()
175 static inline void serial_dl_write(struct uart_8250_port *up, int value) in serial_dl_write()
180 static inline bool serial8250_set_THRI(struct uart_8250_port *up) in serial8250_set_THRI()
189 static inline bool serial8250_clear_THRI(struct uart_8250_port *up) in serial8250_clear_THRI()
267 static inline void serial8250_out_MCR(struct uart_8250_port *up, int value) in serial8250_out_MCR()
[all …]
D8250_mtk.c93 struct uart_8250_port *up = param; in mtk8250_dma_rx_complete() local
134 static void mtk8250_rx_dma(struct uart_8250_port *up) in mtk8250_rx_dma()
155 static void mtk8250_dma_enable(struct uart_8250_port *up) in mtk8250_dma_enable()
193 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_startup() local
213 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_shutdown() local
223 static void mtk8250_disable_intrs(struct uart_8250_port *up, int mask) in mtk8250_disable_intrs()
228 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask) in mtk8250_enable_intrs()
233 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode) in mtk8250_set_flow_ctrl()
302 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios() local
419 struct uart_8250_port *up = serial8250_get_port(data->line); in mtk8250_runtime_suspend() local
D8250_uniphier.c148 static int uniphier_serial_dl_read(struct uart_8250_port *up) in uniphier_serial_dl_read()
153 static void uniphier_serial_dl_write(struct uart_8250_port *up, int value) in uniphier_serial_dl_write()
161 struct uart_8250_port up; in uniphier_uart_probe() local
257 struct uart_8250_port *up = serial8250_get_port(priv->line); in uniphier_uart_suspend() local
270 struct uart_8250_port *up = serial8250_get_port(priv->line); in uniphier_uart_resume() local
D8250_dw.c85 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_force_idle() local
139 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_tx_wait_empty() local
247 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_handle_irq() local
303 struct uart_8250_port *up; in dw8250_clk_work_cb() local
378 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_ldisc() local
422 struct uart_port *up = &p->port; in dw8250_prepare_tx_dma() local
435 struct uart_port *up = &p->port; in dw8250_prepare_rx_dma() local
513 struct uart_8250_port uart = {}, *up = &uart; in dw8250_probe() local
D8250_bcm7271.c214 struct uart_port *up; member
444 static void brcmuart_rx_buf_done_isr(struct uart_port *up, int index) in brcmuart_rx_buf_done_isr()
500 static void brcmuart_rx_isr(struct uart_port *up, u32 rx_isr) in brcmuart_rx_isr()
541 static void brcmuart_tx_isr(struct uart_port *up, u32 isr) in brcmuart_tx_isr()
560 struct uart_port *up = dev_id; in brcmuart_isr() local
593 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_startup() local
626 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_shutdown() local
677 static void set_clock_mux(struct uart_port *up, struct brcmuart_priv *priv, in set_clock_mux()
756 static void brcmstb_set_termios(struct uart_port *up, in brcmstb_set_termios()
777 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_handle_irq() local
[all …]
D8250_em.c68 static int serial8250_em_serial_dl_read(struct uart_8250_port *up) in serial8250_em_serial_dl_read()
73 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, int value) in serial8250_em_serial_dl_write()
82 struct uart_8250_port up; in serial8250_em_probe() local
D8250_bcm2835aux.c52 static void bcm2835aux_rs485_start_tx(struct uart_8250_port *up) in bcm2835aux_rs485_start_tx()
71 static void bcm2835aux_rs485_stop_tx(struct uart_8250_port *up) in bcm2835aux_rs485_stop_tx()
89 struct uart_8250_port up = { }; in bcm2835aux_serial_probe() local
/drivers/net/can/usb/
Ducan.c262 struct ucan_priv *up; member
314 static void ucan_release_context_array(struct ucan_priv *up) in ucan_release_context_array()
326 static int ucan_alloc_context_array(struct ucan_priv *up) in ucan_alloc_context_array()
353 static struct ucan_urb_context *ucan_alloc_context(struct ucan_priv *up) in ucan_alloc_context()
384 static bool ucan_release_context(struct ucan_priv *up, in ucan_release_context()
412 static int ucan_ctrl_command_out(struct ucan_priv *up, in ucan_ctrl_command_out()
427 static int ucan_device_request_in(struct ucan_priv *up, in ucan_device_request_in()
444 static void ucan_parse_device_info(struct ucan_priv *up, in ucan_parse_device_info()
483 static bool ucan_handle_error_frame(struct ucan_priv *up, in ucan_handle_error_frame()
565 static void ucan_rx_can_msg(struct ucan_priv *up, struct ucan_message_in *m) in ucan_rx_can_msg()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Duar.c84 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); in up_rel_func() local
98 struct mlx5_uars_page *up; in alloc_uars_page() local
187 void mlx5_put_uars_page(struct mlx5_core_dev *mdev, struct mlx5_uars_page *up) in mlx5_put_uars_page()
209 struct mlx5_uars_page *up; in alloc_bfreg() local
275 struct mlx5_uars_page *up, in addr_to_dbi_in_syspage()
293 struct mlx5_uars_page *up; in mlx5_free_bfreg() local
/drivers/thunderbolt/
Dtmu.c266 struct tb_port *up = tb_upstream_port(sw); in tb_switch_tmu_init() local
402 struct tb_port *down, *up; in tb_switch_tmu_disable() local
448 struct tb_port *down, *up; in __tb_switch_tmu_off() local
478 struct tb_port *up, *down; in __tb_switch_tmu_enable_bidirectional() local
529 struct tb_port *up = tb_upstream_port(sw); in tb_switch_tmu_unidirectional_enable() local
543 struct tb_port *up, *down; in __tb_switch_tmu_enable_unidirectional() local
582 struct tb_port *down, *up; in __tb_switch_tmu_change_mode_prev() local
605 struct tb_port *up, *down; in __tb_switch_tmu_change_mode() local
Dtest.c828 struct tb_port *down, *up; in tb_test_path_not_connected() local
880 struct tb_port *down, *up; in tb_test_path_not_bonded_lane0() local
1321 struct tb_port *down, *up; in tb_test_tunnel_pcie() local
1590 struct tb_port *down, *up; in tb_test_tunnel_usb3() local
1944 struct tb_port *up, *down; in tb_test_credit_alloc_legacy_not_bonded() local
1977 struct tb_port *up, *down; in tb_test_credit_alloc_legacy_bonded() local
2010 struct tb_port *up, *down; in tb_test_credit_alloc_pcie() local
2043 struct tb_port *up, *down; in tb_test_credit_alloc_without_dp() local
2137 struct tb_port *up, *down; in tb_test_credit_alloc_usb3() local
2303 struct tb_port *up, *down; in TB_TEST_PCIE_TUNNEL() local
[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/usb/host/
Duhci-debug.c561 struct uhci_debug *up; in uhci_debug_open() local
588 struct uhci_debug *up = file->private_data; in uhci_debug_lseek() local
595 struct uhci_debug *up = file->private_data; in uhci_debug_read() local
601 struct uhci_debug *up = file->private_data; in uhci_debug_release() local

1234567