| /linux/drivers/tty/serial/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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() 156 static void serial_icr_write(struct uart_sunsu_port *up, int offset, int value) in serial_icr_write() 167 static int __enable_rsa(struct uart_sunsu_port *up) in __enable_rsa() 187 static void enable_rsa(struct uart_sunsu_port *up) in enable_rsa() 206 static void disable_rsa(struct uart_sunsu_port *up) in disable_rsa() 241 struct uart_sunsu_port *up = in sunsu_stop_tx() local 257 struct uart_sunsu_port *up = in sunsu_start_tx() local 276 struct uart_sunsu_port *up = in sunsu_stop_rx() local 286 struct uart_sunsu_port *up = in sunsu_enable_ms() local [all …]
|
| H A D | serial_txx9.c | 159 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 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 …]
|
| H A 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 …]
|
| H A 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() 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 …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_port.c | 317 static u32 default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read() 327 static void default_serial_dl_write(struct uart_8250_port *up, u32 value) in default_serial_dl_write() 423 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 711 static void serial8250_clear_IER(struct uart_8250_port *up) in serial8250_clear_IER() 723 static int size_fifo(struct uart_8250_port *up) in size_fifo() 787 static void autoconfig_has_efr(struct uart_8250_port *up) in autoconfig_has_efr() 872 static void autoconfig_8250(struct uart_8250_port *up) in autoconfig_8250() 889 static int broken_efr(struct uart_8250_port *up) in broken_efr() 908 static void autoconfig_16550a(struct uart_8250_port *up) in autoconfig_16550a() [all …]
|
| H A D | 8250_rsa.c | 19 static int rsa8250_request_resource(struct uart_8250_port *up) in rsa8250_request_resource() 37 static void rsa8250_release_resource(struct uart_8250_port *up) in rsa8250_release_resource() 55 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_config_port() local 80 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_request_port() local 95 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_release_port() local 126 static int __rsa_enable(struct uart_8250_port *up) in __rsa_enable() 149 void rsa_enable(struct uart_8250_port *up) in rsa_enable() 167 void rsa_disable(struct uart_8250_port *up) in rsa_disable() 193 void rsa_autoconfig(struct uart_8250_port *up) in rsa_autoconfig() 205 void rsa_reset(struct uart_8250_port *up) in rsa_reset()
|
| H A D | 8250.h | 126 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in() 131 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out() 146 static inline u16 serial_lsr_in(struct uart_8250_port *up) in serial_lsr_in() 159 static void serial_icr_write(struct uart_8250_port *up, int offset, int value) in serial_icr_write() 165 static unsigned int __maybe_unused serial_icr_read(struct uart_8250_port *up, in serial_icr_read() 187 static inline u32 serial_dl_read(struct uart_8250_port *up) in serial_dl_read() 192 static inline void serial_dl_write(struct uart_8250_port *up, u32 value) in serial_dl_write() 197 static inline bool serial8250_set_THRI(struct uart_8250_port *up) in serial8250_set_THRI() 209 static inline bool serial8250_clear_THRI(struct uart_8250_port *up) in serial8250_clear_THRI() 285 static inline void serial8250_out_MCR(struct uart_8250_port *up, int value) in serial8250_out_MCR() [all …]
|
| H A 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 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 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 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 D | 8250_dw.c | 131 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_idle_exit() local 159 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_idle_enter() local 217 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_divisor() local 294 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_tx_wait_empty() local 406 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_quirk_ier_kick() local 423 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_handle_irq() local 490 struct uart_8250_port *up; in dw8250_clk_work_cb() local 565 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_set_ldisc() local 621 struct uart_port *up = &p->port; in dw8250_prepare_tx_dma() local 634 struct uart_port *up = &p->port; in dw8250_prepare_rx_dma() local [all …]
|
| H A D | 8250_platform.c | 79 struct uart_8250_port *up = serial8250_get_port(i); in __serial8250_isa_init_ports() local 238 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_remove() local 250 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_suspend() local 264 struct uart_8250_port *up = serial8250_get_port(i); in serial8250_resume() local
|
| H A 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
|
| H A D | 8250_em.c | 142 static u32 serial8250_em_serial_dl_read(struct uart_8250_port *up) in serial8250_em_serial_dl_read() 147 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, u32 value) in serial8250_em_serial_dl_write() 157 struct uart_8250_port up; in serial8250_em_probe() local
|
| H A D | 8250_ni.c | 109 struct uart_8250_port *up = container_of(port, struct uart_8250_port, port); in ni16550_rs485_config() local 133 static bool is_pmr_rs232_mode(struct uart_8250_port *up) in is_pmr_rs232_mode() 159 static void ni16550_config_prescaler(struct uart_8250_port *up, in ni16550_config_prescaler() 270 struct uart_8250_port *up = up_to_u8250p(port); in ni16550_set_mctrl() local
|
| H A D | 8250_loongson.c | 100 struct uart_8250_port *up = up_to_u8250p(port); in loongson_frac_set_divisor() local 187 struct uart_8250_port *up = serial8250_get_port(priv->line); in loongson_uart_suspend() local 200 struct uart_8250_port *up = serial8250_get_port(priv->line); in loongson_uart_resume() local
|
| /linux/kernel/ |
| H A D | user.c | 117 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() 122 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove() 141 static int user_epoll_alloc(struct user_struct *up) in user_epoll_alloc() 150 static void user_epoll_free(struct user_struct *up) in user_epoll_free() 161 static void free_user(struct user_struct *up, unsigned long flags) in free_user() 187 void free_uid(struct user_struct *up) in free_uid() 202 struct user_struct *up, *new; in alloc_uid() local
|
| /linux/drivers/net/can/usb/ |
| H A 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() 352 static struct ucan_urb_context *ucan_alloc_context(struct ucan_priv *up) in ucan_alloc_context() 383 static bool ucan_release_context(struct ucan_priv *up, in ucan_release_context() 411 static int ucan_ctrl_command_out(struct ucan_priv *up, in ucan_ctrl_command_out() 426 static void ucan_get_fw_str(struct ucan_priv *up, char *fw_str, size_t size) in ucan_get_fw_str() 445 static void ucan_parse_device_info(struct ucan_priv *up, in ucan_parse_device_info() 484 static bool ucan_handle_error_frame(struct ucan_priv *up, in ucan_handle_error_frame() 566 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 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_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 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/drivers/thunderbolt/ |
| H A D | tmu.c | 378 struct tb_port *up = tb_upstream_port(sw); in tmu_mode_init() local 540 static int disable_enhanced(struct tb_port *up, struct tb_port *down) in disable_enhanced() 572 struct tb_port *down, *up; in tb_switch_tmu_disable() local 630 struct tb_port *down, *up; in tb_switch_tmu_off() local 670 struct tb_port *up, *down; in tb_switch_tmu_enable_bidirectional() local 706 struct tb_port *up = tb_upstream_port(sw); in tb_switch_tmu_disable_objections() local 734 struct tb_port *up, *down; in tb_switch_tmu_enable_unidirectional() local 778 struct tb_port *up, *down; in tb_switch_tmu_enable_enhanced() local 823 struct tb_port *down, *up; in tb_switch_tmu_change_mode_prev() local 869 struct tb_port *up, *down; in tb_switch_tmu_change_mode() local
|
| /linux/drivers/input/keyboard/ |
| H A D | hil_kbd.c | 171 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
|
| /linux/drivers/mtd/maps/ |
| H A D | sun_uflash.c | 52 struct uflash_dev *up; in uflash_devinit() local 123 struct uflash_dev *up = dev_get_drvdata(&op->dev); in uflash_remove() local
|