/linux-6.6.21/drivers/tty/serial/ |
D | ar933x_uart.c | 57 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 …]
|
D | pxa.c | 52 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 …]
|
D | sunsu.c | 104 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 …]
|
D | serial_txx9.c | 158 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 …]
|
D | omap-serial.c | 174 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 …]
|
D | sunzilog.c | 268 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 …]
|
D | sunsab.c | 92 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() 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 …]
|
D | ip22zilog.c | 233 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() 427 struct uart_ip22zilog_port *up = dev_id; in ip22zilog_interrupt() local 543 struct uart_ip22zilog_port *up = in ip22zilog_set_mctrl() local 568 struct uart_ip22zilog_port *up = in ip22zilog_stop_tx() local 577 struct uart_ip22zilog_port *up = in ip22zilog_start_tx() local 621 struct uart_ip22zilog_port *up = UART_ZILOG(port); in ip22zilog_stop_rx() local 637 struct uart_ip22zilog_port *up = in ip22zilog_enable_ms() local [all …]
|
D | ma35d1_serial.c | 189 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 …]
|
D | rp2.c | 233 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 …]
|
/linux-6.6.21/drivers/tty/serial/8250/ |
D | 8250_port.c | 336 static u32 default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read() 346 static void default_serial_dl_write(struct uart_8250_port *up, u32 value) in default_serial_dl_write() 430 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio() local 624 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_em485_config() local 712 static void serial8250_clear_IER(struct uart_8250_port *up) in serial8250_clear_IER() 725 static int __enable_rsa(struct uart_8250_port *up) in __enable_rsa() 745 static void enable_rsa(struct uart_8250_port *up) in enable_rsa() 764 static void disable_rsa(struct uart_8250_port *up) in disable_rsa() 793 static int size_fifo(struct uart_8250_port *up) in size_fifo() 857 static void autoconfig_has_efr(struct uart_8250_port *up) in autoconfig_has_efr() [all …]
|
D | 8250_core.c | 121 struct uart_8250_port *up; in serial8250_interrupt() local 153 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) in serial_do_unlink() 173 static int serial_link_irq_chain(struct uart_8250_port *up) in serial_link_irq_chain() 219 static void serial_unlink_irq_chain(struct uart_8250_port *up) in serial_unlink_irq_chain() 250 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_timeout() local 258 struct uart_8250_port *up = from_timer(up, t, timer); in serial8250_backup_timeout() local 302 static void univ8250_setup_timer(struct uart_8250_port *up) in univ8250_setup_timer() 327 static int univ8250_setup_irq(struct uart_8250_port *up) in univ8250_setup_irq() 337 static void univ8250_release_irq(struct uart_8250_port *up) in univ8250_release_irq() 348 static int serial8250_request_rsa_resource(struct uart_8250_port *up) in serial8250_request_rsa_resource() [all …]
|
D | 8250_omap.c | 174 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl() local 219 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset() 271 static void omap8250_update_scr(struct uart_8250_port *up, in omap8250_update_scr() 291 static void omap8250_update_mdr1(struct uart_8250_port *up, in omap8250_update_mdr1() 300 static void omap8250_restore_regs(struct uart_8250_port *up) in omap8250_restore_regs() 375 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_set_termios() local 526 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_pm() local 550 static void omap_serial_fill_features_erratas(struct uart_8250_port *up, in omap_serial_fill_features_erratas() 630 struct uart_8250_port *up = serial8250_get_port(priv->line); in omap8250_irq() local 686 struct uart_8250_port *up = up_to_u8250p(port); in omap_8250_startup() local [all …]
|
D | 8250.h | 115 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in() 120 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out() 135 static inline u16 serial_lsr_in(struct uart_8250_port *up) in serial_lsr_in() 148 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write() 154 static unsigned int __maybe_unused serial_icr_read(struct uart_8250_port *up, in serial_icr_read() 169 static inline u32 serial_dl_read(struct uart_8250_port *up) in serial_dl_read() 174 static inline void serial_dl_write(struct uart_8250_port *up, u32 value) in serial_dl_write() 179 static inline bool serial8250_set_THRI(struct uart_8250_port *up) in serial8250_set_THRI() 191 static inline bool serial8250_clear_THRI(struct uart_8250_port *up) in serial8250_clear_THRI() 272 static inline void serial8250_out_MCR(struct uart_8250_port *up, int value) in serial8250_out_MCR() [all …]
|
D | 8250_mtk.c | 93 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() 231 static void mtk8250_enable_intrs(struct uart_8250_port *up, int mask) in mtk8250_enable_intrs() 239 static void mtk8250_set_flow_ctrl(struct uart_8250_port *up, int mode) in mtk8250_set_flow_ctrl() 311 struct uart_8250_port *up = up_to_u8250p(port); in mtk8250_set_termios() local 428 struct uart_8250_port *up = serial8250_get_port(data->line); in mtk8250_runtime_suspend() local
|
D | 8250_uniphier.c | 148 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 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
|
D | 8250_dw.c | 85 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
|
D | 8250_rt288x.c | 55 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
|
D | 8250_bcm7271.c | 214 struct uart_port *up; member 442 static void brcmuart_rx_buf_done_isr(struct uart_port *up, int index) in brcmuart_rx_buf_done_isr() 498 static void brcmuart_rx_isr(struct uart_port *up, u32 rx_isr) in brcmuart_rx_isr() 539 static void brcmuart_tx_isr(struct uart_port *up, u32 isr) in brcmuart_tx_isr() 558 struct uart_port *up = dev_id; in brcmuart_isr() local 591 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_startup() local 628 struct uart_8250_port *up = up_to_u8250p(port); in brcmuart_shutdown() local 679 static void set_clock_mux(struct uart_port *up, struct brcmuart_priv *priv, in set_clock_mux() 758 static void brcmstb_set_termios(struct uart_port *up, in brcmstb_set_termios() 779 struct uart_8250_port *up = up_to_u8250p(p); in brcmuart_handle_irq() local [all …]
|
/linux-6.6.21/kernel/ |
D | user.c | 108 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() 113 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove() 132 static int user_epoll_alloc(struct user_struct *up) in user_epoll_alloc() 141 static void user_epoll_free(struct user_struct *up) in user_epoll_free() 152 static void free_user(struct user_struct *up, unsigned long flags) in free_user() 178 void free_uid(struct user_struct *up) in free_uid() 193 struct user_struct *up, *new; in alloc_uid() local
|
/linux-6.6.21/lib/crypto/mpi/ |
D | mpih-mul.c | 21 #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_ptr_t vp, mpi_size_t size) in mpihelp_mul_n() 347 mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul_karatsuba_case() 452 mpihelp_mul(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul()
|
/linux-6.6.21/drivers/net/can/usb/ |
D | ucan.c | 263 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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | uar.c | 83 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-6.6.21/drivers/thunderbolt/ |
D | tmu.c | 378 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
|
D | clx.c | 188 struct tb_port *up, *down; in tb_switch_clx_init() local 217 struct tb_port *up, *down; in tb_switch_pm_secondary_resolve() local 322 struct tb_port *up, *down; in tb_switch_clx_enable() local 399 struct tb_port *up, *down; in tb_switch_clx_disable() local
|