Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/tty/serial/
H A 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 …]
H A 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 …]
H A 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()
187 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_start_tx() local
196 static inline void check_modem_status(struct uart_pxa_port *up) in check_modem_status()
222 struct uart_pxa_port *up = dev_id; in serial_pxa_irq() local
[all …]
H A Dserial_txx9.c159 static inline unsigned int sio_in(struct uart_port *up, int offset) in sio_in()
170 sio_out(struct uart_port *up, int offset, int value) in sio_out()
183 sio_mask(struct uart_port *up, int offset, unsigned int value) in sio_mask()
188 sio_set(struct uart_port *up, int offset, unsigned int value) in sio_set()
194 sio_quot_set(struct uart_port *up, int quot) in sio_quot_set()
209 static void serial_txx9_stop_tx(struct uart_port *up) in serial_txx9_stop_tx()
214 static void serial_txx9_start_tx(struct uart_port *up) in serial_txx9_start_tx()
219 static void serial_txx9_stop_rx(struct uart_port *up) in serial_txx9_stop_rx()
224 static void serial_txx9_initialize(struct uart_port *up) in serial_txx9_initialize()
248 receive_chars(struct uart_port *up, unsigned int *status) in receive_chars()
[all …]
H A 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()
271 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_enable_ms() local
281 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_stop_tx() local
327 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_stop_rx() local
334 static void serial_omap_put_char(struct uart_omap_port *up, unsigned char ch) in serial_omap_put_char()
343 static void transmit_chars(struct uart_omap_port *up, unsigned int lsr) in transmit_chars()
[all …]
H A 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()
526 struct uart_sunzilog_port *up = dev_id; in sunzilog_interrupt() local
643 struct uart_sunzilog_port *up = in sunzilog_set_mctrl() local
668 struct uart_sunzilog_port *up = in sunzilog_stop_tx() local
677 struct uart_sunzilog_port *up = in sunzilog_start_tx() local
[all …]
H A Dsunsab.c92 static __inline__ void sunsab_tec_wait(struct uart_sunsab_port *up) in sunsab_tec_wait()
100 static __inline__ void sunsab_cec_wait(struct uart_sunsab_port *up) in sunsab_cec_wait()
109 receive_chars(struct uart_sunsab_port *up, in receive_chars()
232 static void transmit_chars(struct uart_sunsab_port *up, in transmit_chars()
287 static void check_status(struct uart_sunsab_port *up, in check_status()
308 struct uart_sunsab_port *up = dev_id; in sunsab_interrupt() local
346 struct uart_sunsab_port *up = in sunsab_tx_empty() local
362 struct uart_sunsab_port *up = in sunsab_set_mctrl() local
386 struct uart_sunsab_port *up = in sunsab_get_mctrl() local
408 struct uart_sunsab_port *up = in sunsab_stop_tx() local
[all …]
H A Dma35d1_serial.c189 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); in ma35d1serial_stop_tx() local
194 static void transmit_chars(struct uart_ma35d1_port *up) in transmit_chars()
213 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); in ma35d1serial_start_tx() local
224 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); in ma35d1serial_stop_rx() local
232 static void receive_chars(struct uart_ma35d1_port *up) in receive_chars()
287 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); in ma35d1serial_interrupt() local
308 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); in ma35d1serial_tx_empty() local
320 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); in ma35d1serial_get_mctrl() local
332 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); in ma35d1serial_set_mctrl() local
363 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); in ma35d1serial_break_ctl() local
[all …]
/linux/drivers/tty/serial/8250/
H A D8250_port.c325 static u32 default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read()
335 static void default_serial_dl_write(struct uart_8250_port *up, u32 value) in default_serial_dl_write()
431 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio() local
633 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_em485_config() local
714 static void serial8250_clear_IER(struct uart_8250_port *up) in serial8250_clear_IER()
727 static int __enable_rsa(struct uart_8250_port *up) in __enable_rsa()
747 static void enable_rsa(struct uart_8250_port *up) in enable_rsa()
766 static void disable_rsa(struct uart_8250_port *up) in disable_rsa()
795 static int size_fifo(struct uart_8250_port *up) in size_fifo()
859 static void autoconfig_has_efr(struct uart_8250_port *up) in autoconfig_has_efr()
[all …]
H A D8250_core.c80 struct uart_8250_port *up; in serial8250_interrupt() local
112 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) in serial_do_unlink()
132 static int serial_link_irq_chain(struct uart_8250_port *up) in serial_link_irq_chain()
178 static void serial_unlink_irq_chain(struct uart_8250_port *up) in serial_unlink_irq_chain()
209 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_timeout() local
217 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_backup_timeout() local
262 static void univ8250_setup_timer(struct uart_8250_port *up) in univ8250_setup_timer()
287 static int univ8250_setup_irq(struct uart_8250_port *up) in univ8250_setup_irq()
297 static void univ8250_release_irq(struct uart_8250_port *up) in univ8250_release_irq()
336 static inline void serial8250_apply_quirks(struct uart_8250_port *up) in serial8250_apply_quirks()
[all …]
H A D8250_omap.c178 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl() local
223 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset()
275 static void omap8250_update_scr(struct uart_8250_port *up, in omap8250_update_scr()
295 static void omap8250_update_mdr1(struct uart_8250_port *up, in omap8250_update_mdr1()
304 static void omap8250_restore_regs(struct uart_8250_port *up) in omap8250_restore_regs()
379 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_set_termios() local
530 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_pm() local
554 static void omap_serial_fill_features_erratas(struct uart_8250_port *up, in omap_serial_fill_features_erratas()
634 struct uart_8250_port *up = serial8250_get_port(priv->line); in omap8250_irq() local
712 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_startup() local
[all …]
H A D8250_rsa.c17 static int rsa8250_request_resource(struct uart_8250_port *up) in rsa8250_request_resource()
38 static void rsa8250_release_resource(struct uart_8250_port *up) in rsa8250_release_resource()
54 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_config_port() local
79 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_request_port() local
94 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_release_port() local
H A D8250.h135 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in()
140 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out()
155 static inline u16 serial_lsr_in(struct uart_8250_port *up) in serial_lsr_in()
168 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write()
174 static unsigned int __maybe_unused serial_icr_read(struct uart_8250_port *up, in serial_icr_read()
189 static inline u32 serial_dl_read(struct uart_8250_port *up) in serial_dl_read()
194 static inline void serial_dl_write(struct uart_8250_port *up, u32 value) in serial_dl_write()
199 static inline bool serial8250_set_THRI(struct uart_8250_port *up) in serial8250_set_THRI()
211 static inline bool serial8250_clear_THRI(struct uart_8250_port *up) in serial8250_clear_THRI()
293 static inline void serial8250_out_MCR(struct uart_8250_port *up, int value) in serial8250_out_MCR()
[all …]
H A 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
212 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_shutdown() local
227 static void mtk8250_disable_intrs(struct uart_8250_port *up, int mask) in mtk8250_disable_intrs()
235 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask) in mtk8250_enable_intrs()
243 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode) in mtk8250_set_flow_ctrl()
315 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios() local
432 struct uart_8250_port *up = serial8250_get_port(data->line); in mtk8250_runtime_suspend() local
H A D8250_uniphier.c148 static u32 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, u32 value) in uniphier_serial_dl_write()
161 struct uart_8250_port up; in uniphier_uart_probe() local
246 struct uart_8250_port *up = serial8250_get_port(priv->line); in uniphier_uart_suspend() local
259 struct uart_8250_port *up = serial8250_get_port(priv->line); in uniphier_uart_resume() local
H A D8250_bcm2835aux.c49 static void bcm2835aux_rs485_start_tx(struct uart_8250_port *up) in bcm2835aux_rs485_start_tx()
68 static void bcm2835aux_rs485_stop_tx(struct uart_8250_port *up) in bcm2835aux_rs485_stop_tx()
86 struct uart_8250_port up = { }; in bcm2835aux_serial_probe() local
220 struct uart_8250_port *up = serial8250_get_port(data->line); in bcm2835aux_can_disable_clock() local
H A D8250_platform.c83 struct uart_8250_port *up = serial8250_get_port(i); in __serial8250_isa_init_ports() local
245 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_remove() local
257 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_suspend() local
271 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_resume() local
H A D8250_bcm7271.c213 struct uart_port *up; member
439 static void brcmuart_rx_buf_done_isr(struct uart_port *up, int index) in brcmuart_rx_buf_done_isr()
495 static void brcmuart_rx_isr(struct uart_port *up, u32 rx_isr) in brcmuart_rx_isr()
536 static void brcmuart_tx_isr(struct uart_port *up, u32 isr) in brcmuart_tx_isr()
555 struct uart_port *up = dev_id; in brcmuart_isr() local
588 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_startup() local
625 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_shutdown() local
707 static void set_clock_mux(struct uart_port *up, struct brcmuart_priv *priv, in set_clock_mux()
774 static void brcmstb_set_termios(struct uart_port *up, in brcmstb_set_termios()
795 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_handle_irq() local
[all …]
H A D8250_rt288x.c55 static u32 au_serial_dl_read(struct uart_8250_port *up) in au_serial_dl_read()
60 static void au_serial_dl_write(struct uart_8250_port *up, u32 value) in au_serial_dl_write()
84 struct uart_8250_port *up = up_to_u8250p(p); in rt288x_setup() local
/linux/kernel/
H A Duser.c121 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert()
126 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove()
145 static int user_epoll_alloc(struct user_struct *up) in user_epoll_alloc()
154 static void user_epoll_free(struct user_struct *up) in user_epoll_free()
165 static void free_user(struct user_struct *up, unsigned long flags) in free_user()
191 void free_uid(struct user_struct *up) in free_uid()
206 struct user_struct *up, *new; in alloc_uid() local
/linux/drivers/net/can/usb/
H A Ducan.c263 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 …]
/linux/lib/crypto/mpi/
H A Dmpih-mul.c21 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ argument
29 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ argument
55 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mul_n_basecase()
95 mul_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, in mul_n()
207 void mpih_sqr_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size) in mpih_sqr_n_basecase()
245 mpih_sqr_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size, mpi_ptr_t tspace) in mpih_sqr_n()
322 mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul_karatsuba_case()
427 mpihelp_mul(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Duar.c83 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); in up_rel_func() local
97 struct mlx5_uars_page *up; in alloc_uars_page() local
186 void mlx5_put_uars_page(struct mlx5_core_dev *mdev, struct mlx5_uars_page *up) in mlx5_put_uars_page()
208 struct mlx5_uars_page *up; in alloc_bfreg() local
274 struct mlx5_uars_page *up, in addr_to_dbi_in_syspage()
292 struct mlx5_uars_page *up; in mlx5_free_bfreg() local
/linux/drivers/thunderbolt/
H A Dtmu.c378 struct tb_port *up = tb_upstream_port(sw); in tmu_mode_init() local
536 static int disable_enhanced(struct tb_port *up, struct tb_port *down) in disable_enhanced()
566 struct tb_port *down, *up; in tb_switch_tmu_disable() local
624 struct tb_port *down, *up; in tb_switch_tmu_off() local
664 struct tb_port *up, *down; in tb_switch_tmu_enable_bidirectional() local
700 struct tb_port *up = tb_upstream_port(sw); in tb_switch_tmu_disable_objections() local
728 struct tb_port *up, *down; in tb_switch_tmu_enable_unidirectional() local
772 struct tb_port *up, *down; in tb_switch_tmu_enable_enhanced() local
817 struct tb_port *down, *up; in tb_switch_tmu_change_mode_prev() local
863 struct tb_port *up, *down; in tb_switch_tmu_change_mode() local
/linux/include/linux/
H A Dserial_core.h603 static inline void __uart_port_lock_irqsave(struct uart_port *up, unsigned long *flags) in __uart_port_lock_irqsave()
612 static inline void __uart_port_unlock_irqrestore(struct uart_port *up, unsigned long flags) in __uart_port_unlock_irqrestore()
626 static inline void uart_port_set_cons(struct uart_port *up, struct console *con) in uart_port_set_cons()
636 static inline bool __uart_port_using_nbcon(struct uart_port *up) in __uart_port_using_nbcon()
661 static inline bool __uart_port_nbcon_try_acquire(struct uart_port *up) in __uart_port_nbcon_try_acquire()
670 static inline void __uart_port_nbcon_acquire(struct uart_port *up) in __uart_port_nbcon_acquire()
680 static inline void __uart_port_nbcon_release(struct uart_port *up) in __uart_port_nbcon_release()
692 static inline void uart_port_lock(struct uart_port *up) in uart_port_lock()
702 static inline void uart_port_lock_irq(struct uart_port *up) in uart_port_lock_irq()
713 static inline void uart_port_lock_irqsave(struct uart_port *up, unsigned long *flags) in uart_port_lock_irqsave()
[all …]

1234567891011