/kernel/linux/linux-6.6/kernel/rcu/ |
H A D | srcutiny.c | 27 static int init_srcu_struct_fields(struct srcu_struct *ssp) in init_srcu_struct_fields() argument 29 ssp->srcu_lock_nesting[0] = 0; in init_srcu_struct_fields() 30 ssp->srcu_lock_nesting[1] = 0; in init_srcu_struct_fields() 31 init_swait_queue_head(&ssp->srcu_wq); in init_srcu_struct_fields() 32 ssp->srcu_cb_head = NULL; in init_srcu_struct_fields() 33 ssp->srcu_cb_tail = &ssp->srcu_cb_head; in init_srcu_struct_fields() 34 ssp->srcu_gp_running = false; in init_srcu_struct_fields() 35 ssp->srcu_gp_waiting = false; in init_srcu_struct_fields() 36 ssp in init_srcu_struct_fields() 45 __init_srcu_struct(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) __init_srcu_struct() argument 65 init_srcu_struct(struct srcu_struct *ssp) init_srcu_struct() argument 80 cleanup_srcu_struct(struct srcu_struct *ssp) cleanup_srcu_struct() argument 97 __srcu_read_unlock(struct srcu_struct *ssp, int idx) __srcu_read_unlock() argument 117 struct srcu_struct *ssp; srcu_drive_gp() local 158 srcu_gp_start_if_needed(struct srcu_struct *ssp) srcu_gp_start_if_needed() argument 178 call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, rcu_callback_t func) call_srcu() argument 196 synchronize_srcu(struct srcu_struct *ssp) synchronize_srcu() argument 223 get_state_synchronize_srcu(struct srcu_struct *ssp) get_state_synchronize_srcu() argument 241 start_poll_synchronize_srcu(struct srcu_struct *ssp) start_poll_synchronize_srcu() argument 253 poll_state_synchronize_srcu(struct srcu_struct *ssp, unsigned long cookie) poll_state_synchronize_srcu() argument 275 struct srcu_struct *ssp; srcu_init() local [all...] |
H A D | srcutree.c | 76 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay); 122 static void init_srcu_struct_data(struct srcu_struct *ssp) in init_srcu_struct_data() argument 134 sdp = per_cpu_ptr(ssp->sda, cpu); in init_srcu_struct_data() 138 sdp->srcu_gp_seq_needed = ssp->srcu_sup->srcu_gp_seq; in init_srcu_struct_data() 139 sdp->srcu_gp_seq_needed_exp = ssp->srcu_sup->srcu_gp_seq; in init_srcu_struct_data() 144 sdp->ssp = ssp; in init_srcu_struct_data() 164 static bool init_srcu_struct_nodes(struct srcu_struct *ssp, gfp_t gfp_flags) in init_srcu_struct_nodes() argument 176 ssp->srcu_sup->node = kcalloc(rcu_num_nodes, sizeof(*ssp in init_srcu_struct_nodes() 237 init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static) init_srcu_struct_fields() argument 285 __init_srcu_struct(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) __init_srcu_struct() argument 305 init_srcu_struct(struct srcu_struct *ssp) init_srcu_struct() argument 316 __srcu_transition_to_big(struct srcu_struct *ssp) __srcu_transition_to_big() argument 325 srcu_transition_to_big(struct srcu_struct *ssp) srcu_transition_to_big() argument 345 spin_lock_irqsave_check_contention(struct srcu_struct *ssp) spin_lock_irqsave_check_contention() argument 369 struct srcu_struct *ssp = sdp->ssp; spin_lock_irqsave_sdp_contention() local 385 spin_lock_irqsave_ssp_contention(struct srcu_struct *ssp, unsigned long *flags) spin_lock_irqsave_ssp_contention() argument 401 check_init_srcu_struct(struct srcu_struct *ssp) check_init_srcu_struct() argument 421 srcu_readers_lock_idx(struct srcu_struct *ssp, int idx) srcu_readers_lock_idx() argument 438 srcu_readers_unlock_idx(struct srcu_struct *ssp, int idx) srcu_readers_unlock_idx() argument 460 srcu_readers_active_idx_check(struct srcu_struct *ssp, int idx) srcu_readers_active_idx_check() argument 547 srcu_readers_active(struct srcu_struct *ssp) srcu_readers_active() argument 614 srcu_get_delay(struct srcu_struct *ssp) srcu_get_delay() argument 644 cleanup_srcu_struct(struct srcu_struct *ssp) cleanup_srcu_struct() argument 686 srcu_check_nmi_safety(struct srcu_struct *ssp, bool nmi_safe) srcu_check_nmi_safety() argument 710 __srcu_read_lock(struct srcu_struct *ssp) __srcu_read_lock() argument 726 __srcu_read_unlock(struct srcu_struct *ssp, int idx) __srcu_read_unlock() argument 740 __srcu_read_lock_nmisafe(struct srcu_struct *ssp) __srcu_read_lock_nmisafe() argument 757 __srcu_read_unlock_nmisafe(struct srcu_struct *ssp, int idx) __srcu_read_unlock_nmisafe() argument 771 srcu_gp_start(struct srcu_struct *ssp) srcu_gp_start() argument 829 srcu_schedule_cbs_snp(struct srcu_struct *ssp, struct srcu_node *snp, unsigned long mask, unsigned long delay) srcu_schedule_cbs_snp() argument 850 srcu_gp_end(struct srcu_struct *ssp) srcu_gp_end() argument 957 srcu_funnel_exp_start(struct srcu_struct *ssp, struct srcu_node *snp, unsigned long s) srcu_funnel_exp_start() argument 997 srcu_funnel_gp_start(struct srcu_struct *ssp, struct srcu_data *sdp, unsigned long s, bool do_norm) srcu_funnel_gp_start() argument 1079 try_check_zero(struct srcu_struct *ssp, int idx, int trycount) try_check_zero() argument 1099 srcu_flip(struct srcu_struct *ssp) srcu_flip() argument 1165 srcu_might_be_idle(struct srcu_struct *ssp) srcu_might_be_idle() argument 1217 srcu_gp_start_if_needed(struct srcu_struct *ssp, struct rcu_head *rhp, bool do_norm) srcu_gp_start_if_needed() argument 1327 __call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, rcu_callback_t func, bool do_norm) __call_srcu() argument 1357 call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, rcu_callback_t func) call_srcu() argument 1367 __synchronize_srcu(struct srcu_struct *ssp, bool do_norm) __synchronize_srcu() argument 1409 synchronize_srcu_expedited(struct srcu_struct *ssp) synchronize_srcu_expedited() argument 1462 synchronize_srcu(struct srcu_struct *ssp) synchronize_srcu() argument 1481 get_state_synchronize_srcu(struct srcu_struct *ssp) get_state_synchronize_srcu() argument 1500 start_poll_synchronize_srcu(struct srcu_struct *ssp) start_poll_synchronize_srcu() argument 1531 poll_state_synchronize_srcu(struct srcu_struct *ssp, unsigned long cookie) poll_state_synchronize_srcu() argument 1548 struct srcu_struct *ssp; srcu_barrier_cb() local 1564 srcu_barrier_one_cpu(struct srcu_struct *ssp, struct srcu_data *sdp) srcu_barrier_one_cpu() argument 1582 srcu_barrier(struct srcu_struct *ssp) srcu_barrier() argument 1626 srcu_batches_completed(struct srcu_struct *ssp) srcu_batches_completed() argument 1637 srcu_advance_state(struct srcu_struct *ssp) srcu_advance_state() argument 1714 struct srcu_struct *ssp; srcu_invoke_callbacks() local 1761 srcu_reschedule(struct srcu_struct *ssp, unsigned long delay) srcu_reschedule() argument 1788 struct srcu_struct *ssp; process_srcu() local 1812 srcutorture_get_gp_data(enum rcutorture_type test_type, struct srcu_struct *ssp, int *flags, unsigned long *gp_seq) srcutorture_get_gp_data() argument 1836 srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf) srcu_torture_stats_print() argument 1941 struct srcu_struct *ssp; srcu_module_coming() local 1957 struct srcu_struct *ssp; srcu_module_going() local [all...] |
/kernel/linux/linux-5.10/kernel/rcu/ |
H A D | srcutiny.c | 27 static int init_srcu_struct_fields(struct srcu_struct *ssp) in init_srcu_struct_fields() argument 29 ssp->srcu_lock_nesting[0] = 0; in init_srcu_struct_fields() 30 ssp->srcu_lock_nesting[1] = 0; in init_srcu_struct_fields() 31 init_swait_queue_head(&ssp->srcu_wq); in init_srcu_struct_fields() 32 ssp->srcu_cb_head = NULL; in init_srcu_struct_fields() 33 ssp->srcu_cb_tail = &ssp->srcu_cb_head; in init_srcu_struct_fields() 34 ssp->srcu_gp_running = false; in init_srcu_struct_fields() 35 ssp->srcu_gp_waiting = false; in init_srcu_struct_fields() 36 ssp in init_srcu_struct_fields() 45 __init_srcu_struct(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) __init_srcu_struct() argument 65 init_srcu_struct(struct srcu_struct *ssp) init_srcu_struct() argument 80 cleanup_srcu_struct(struct srcu_struct *ssp) cleanup_srcu_struct() argument 97 __srcu_read_unlock(struct srcu_struct *ssp, int idx) __srcu_read_unlock() argument 117 struct srcu_struct *ssp; srcu_drive_gp() local 158 srcu_gp_start_if_needed(struct srcu_struct *ssp) srcu_gp_start_if_needed() argument 178 call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, rcu_callback_t func) call_srcu() argument 196 synchronize_srcu(struct srcu_struct *ssp) synchronize_srcu() argument 211 get_state_synchronize_srcu(struct srcu_struct *ssp) get_state_synchronize_srcu() argument 229 start_poll_synchronize_srcu(struct srcu_struct *ssp) start_poll_synchronize_srcu() argument 241 poll_state_synchronize_srcu(struct srcu_struct *ssp, unsigned long cookie) poll_state_synchronize_srcu() argument 263 struct srcu_struct *ssp; srcu_init() local [all...] |
H A D | srcutree.c | 46 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay); 83 static void init_srcu_struct_nodes(struct srcu_struct *ssp, bool is_static) in init_srcu_struct_nodes() argument 97 ssp->level[0] = &ssp->node[0]; in init_srcu_struct_nodes() 99 ssp->level[i] = ssp->level[i - 1] + num_rcu_lvl[i - 1]; in init_srcu_struct_nodes() 103 srcu_for_each_node_breadth_first(ssp, snp) { in init_srcu_struct_nodes() 114 if (snp == &ssp->node[0]) { in init_srcu_struct_nodes() 121 if (snp == ssp->level[level + 1]) in init_srcu_struct_nodes() 123 snp->srcu_parent = ssp in init_srcu_struct_nodes() 171 init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static) init_srcu_struct_fields() argument 194 __init_srcu_struct(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) __init_srcu_struct() argument 215 init_srcu_struct(struct srcu_struct *ssp) init_srcu_struct() argument 232 check_init_srcu_struct(struct srcu_struct *ssp) check_init_srcu_struct() argument 252 srcu_readers_lock_idx(struct srcu_struct *ssp, int idx) srcu_readers_lock_idx() argument 269 srcu_readers_unlock_idx(struct srcu_struct *ssp, int idx) srcu_readers_unlock_idx() argument 286 srcu_readers_active_idx_check(struct srcu_struct *ssp, int idx) srcu_readers_active_idx_check() argument 338 srcu_readers_active(struct srcu_struct *ssp) srcu_readers_active() argument 360 srcu_get_delay(struct srcu_struct *ssp) srcu_get_delay() argument 375 cleanup_srcu_struct(struct srcu_struct *ssp) cleanup_srcu_struct() argument 408 __srcu_read_lock(struct srcu_struct *ssp) __srcu_read_lock() argument 424 __srcu_read_unlock(struct srcu_struct *ssp, int idx) __srcu_read_unlock() argument 443 srcu_gp_start(struct srcu_struct *ssp) srcu_gp_start() argument 496 srcu_schedule_cbs_snp(struct srcu_struct *ssp, struct srcu_node *snp, unsigned long mask, unsigned long delay) srcu_schedule_cbs_snp() argument 517 srcu_gp_end(struct srcu_struct *ssp) srcu_gp_end() argument 603 srcu_funnel_exp_start(struct srcu_struct *ssp, struct srcu_node *snp, unsigned long s) srcu_funnel_exp_start() argument 636 srcu_funnel_gp_start(struct srcu_struct *ssp, struct srcu_data *sdp, unsigned long s, bool do_norm) srcu_funnel_gp_start() argument 703 try_check_zero(struct srcu_struct *ssp, int idx, int trycount) try_check_zero() argument 719 srcu_flip(struct srcu_struct *ssp) srcu_flip() argument 764 srcu_might_be_idle(struct srcu_struct *ssp) srcu_might_be_idle() argument 816 srcu_gp_start_if_needed(struct srcu_struct *ssp, struct rcu_head *rhp, bool do_norm) srcu_gp_start_if_needed() argument 881 __call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, rcu_callback_t func, bool do_norm) __call_srcu() argument 911 call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, rcu_callback_t func) call_srcu() argument 921 __synchronize_srcu(struct srcu_struct *ssp, bool do_norm) __synchronize_srcu() argument 961 synchronize_srcu_expedited(struct srcu_struct *ssp) synchronize_srcu_expedited() argument 1011 synchronize_srcu(struct srcu_struct *ssp) synchronize_srcu() argument 1030 get_state_synchronize_srcu(struct srcu_struct *ssp) get_state_synchronize_srcu() argument 1049 start_poll_synchronize_srcu(struct srcu_struct *ssp) start_poll_synchronize_srcu() argument 1065 poll_state_synchronize_srcu(struct srcu_struct *ssp, unsigned long cookie) poll_state_synchronize_srcu() argument 1082 struct srcu_struct *ssp; srcu_barrier_cb() local 1094 srcu_barrier(struct srcu_struct *ssp) srcu_barrier() argument 1152 srcu_batches_completed(struct srcu_struct *ssp) srcu_batches_completed() argument 1163 srcu_advance_state(struct srcu_struct *ssp) srcu_advance_state() argument 1237 struct srcu_struct *ssp; srcu_invoke_callbacks() local 1283 srcu_reschedule(struct srcu_struct *ssp, unsigned long delay) srcu_reschedule() argument 1308 struct srcu_struct *ssp; process_srcu() local 1316 srcutorture_get_gp_data(enum rcutorture_type test_type, struct srcu_struct *ssp, int *flags, unsigned long *gp_seq) srcutorture_get_gp_data() argument 1327 srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf) srcu_torture_stats_print() argument 1378 struct srcu_struct *ssp; srcu_init() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | srcu.h | 28 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, 31 #define init_srcu_struct(ssp) \ 35 __init_srcu_struct((ssp), #ssp, &__srcu_key); \ 41 int init_srcu_struct(struct srcu_struct *ssp); 54 void call_srcu(struct srcu_struct *ssp, struct rcu_head *head, 56 void cleanup_srcu_struct(struct srcu_struct *ssp); 57 int __srcu_read_lock(struct srcu_struct *ssp) __acquires(ssp); variable 58 void __srcu_read_unlock(struct srcu_struct *ssp, in variable 65 int __srcu_read_lock_nmisafe(struct srcu_struct *ssp) __acquires(ssp); global() variable 66 void __srcu_read_unlock_nmisafe(struct srcu_struct *ssp, int idx) __releases(ssp); global() variable 68 __srcu_read_lock_nmisafe(struct srcu_struct *ssp) __srcu_read_lock_nmisafe() argument 72 __srcu_read_unlock_nmisafe(struct srcu_struct *ssp, int idx) __srcu_read_unlock_nmisafe() argument 98 srcu_read_lock_held(const struct srcu_struct *ssp) srcu_read_lock_held() argument 133 srcu_read_lock_held(const struct srcu_struct *ssp) srcu_read_lock_held() argument 151 srcu_check_nmi_safety(struct srcu_struct *ssp, bool nmi_safe) srcu_check_nmi_safety() argument [all...] |
H A D | srcutiny.h | 55 void synchronize_srcu(struct srcu_struct *ssp); 63 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock() argument 67 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1; in __srcu_read_lock() 68 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1); in __srcu_read_lock() 72 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) in synchronize_srcu_expedited() argument 74 synchronize_srcu(ssp); in synchronize_srcu_expedited() 77 static inline void srcu_barrier(struct srcu_struct *ssp) in srcu_barrier() argument 79 synchronize_srcu(ssp); in srcu_barrier() 83 static inline void srcu_torture_stats_print(struct srcu_struct *ssp, in srcu_torture_stats_print() argument [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | sifive.c | 229 * @ssp: pointer to a struct sifive_serial_port record 232 * IP block base, given a pointer @ssp to a struct sifive_serial_port record. 236 static void __ssp_writel(u32 v, u16 offs, struct sifive_serial_port *ssp) in __ssp_writel() argument 238 __ssp_early_writel(v, offs, &ssp->port); in __ssp_writel() 243 * @ssp: pointer to a struct sifive_serial_port record 247 * IP block base, given a pointer @ssp to a struct sifive_serial_port record. 253 static u32 __ssp_readl(struct sifive_serial_port *ssp, u16 offs) in __ssp_readl() argument 255 return __ssp_early_readl(&ssp->port, offs); in __ssp_readl() 260 * @ssp: pointer to a struct sifive_serial_port 269 static int sifive_serial_is_txfifo_full(struct sifive_serial_port *ssp) in sifive_serial_is_txfifo_full() argument 286 __ssp_transmit_char(struct sifive_serial_port *ssp, int ch) __ssp_transmit_char() argument 300 __ssp_transmit_chars(struct sifive_serial_port *ssp) __ssp_transmit_chars() argument 338 __ssp_enable_txwm(struct sifive_serial_port *ssp) __ssp_enable_txwm() argument 354 __ssp_enable_rxwm(struct sifive_serial_port *ssp) __ssp_enable_rxwm() argument 370 __ssp_disable_txwm(struct sifive_serial_port *ssp) __ssp_disable_txwm() argument 386 __ssp_disable_rxwm(struct sifive_serial_port *ssp) __ssp_disable_rxwm() argument 407 __ssp_receive_char(struct sifive_serial_port *ssp, char *is_empty) __ssp_receive_char() argument 435 __ssp_receive_chars(struct sifive_serial_port *ssp) __ssp_receive_chars() argument 463 __ssp_update_div(struct sifive_serial_port *ssp) __ssp_update_div() argument 482 __ssp_update_baud_rate(struct sifive_serial_port *ssp, unsigned int rate) __ssp_update_baud_rate() argument 499 __ssp_set_stop_bits(struct sifive_serial_port *ssp, char nstop) __ssp_set_stop_bits() argument 522 __ssp_wait_for_xmitr(struct sifive_serial_port *ssp) __ssp_wait_for_xmitr() argument 534 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_stop_tx() local 541 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_stop_rx() local 548 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_start_tx() local 555 struct sifive_serial_port *ssp = dev_id; sifive_serial_irq() local 598 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_startup() local 607 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_shutdown() local 630 struct sifive_serial_port *ssp = notifier_to_sifive_serial_port(nb); sifive_serial_clk_notifier() local 664 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_set_termios() local 720 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_config_port() local 739 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_poll_get_char() local 752 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_poll_put_char() local 810 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_console_putchar() local 819 struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index]; sifive_serial_console_write() local 849 struct sifive_serial_port *ssp; sifive_serial_console_setup() local 888 __ssp_add_console_port(struct sifive_serial_port *ssp) __ssp_add_console_port() argument 893 __ssp_remove_console_port(struct sifive_serial_port *ssp) __ssp_remove_console_port() argument 904 __ssp_add_console_port(struct sifive_serial_port *ssp) __ssp_add_console_port() argument 906 __ssp_remove_console_port(struct sifive_serial_port *ssp) __ssp_remove_console_port() argument 943 struct sifive_serial_port *ssp; sifive_serial_probe() local 1049 struct sifive_serial_port *ssp = platform_get_drvdata(dev); sifive_serial_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | sifive.c | 218 * @ssp: pointer to a struct sifive_serial_port record 221 * IP block base, given a pointer @ssp to a struct sifive_serial_port record. 225 static void __ssp_writel(u32 v, u16 offs, struct sifive_serial_port *ssp) in __ssp_writel() argument 227 __ssp_early_writel(v, offs, &ssp->port); in __ssp_writel() 232 * @ssp: pointer to a struct sifive_serial_port record 236 * IP block base, given a pointer @ssp to a struct sifive_serial_port record. 242 static u32 __ssp_readl(struct sifive_serial_port *ssp, u16 offs) in __ssp_readl() argument 244 return __ssp_early_readl(&ssp->port, offs); in __ssp_readl() 249 * @ssp: pointer to a struct sifive_serial_port 258 static int sifive_serial_is_txfifo_full(struct sifive_serial_port *ssp) in sifive_serial_is_txfifo_full() argument 275 __ssp_transmit_char(struct sifive_serial_port *ssp, int ch) __ssp_transmit_char() argument 289 __ssp_transmit_chars(struct sifive_serial_port *ssp) __ssp_transmit_chars() argument 306 __ssp_enable_txwm(struct sifive_serial_port *ssp) __ssp_enable_txwm() argument 322 __ssp_enable_rxwm(struct sifive_serial_port *ssp) __ssp_enable_rxwm() argument 338 __ssp_disable_txwm(struct sifive_serial_port *ssp) __ssp_disable_txwm() argument 354 __ssp_disable_rxwm(struct sifive_serial_port *ssp) __ssp_disable_rxwm() argument 375 __ssp_receive_char(struct sifive_serial_port *ssp, char *is_empty) __ssp_receive_char() argument 403 __ssp_receive_chars(struct sifive_serial_port *ssp) __ssp_receive_chars() argument 429 __ssp_update_div(struct sifive_serial_port *ssp) __ssp_update_div() argument 448 __ssp_update_baud_rate(struct sifive_serial_port *ssp, unsigned int rate) __ssp_update_baud_rate() argument 465 __ssp_set_stop_bits(struct sifive_serial_port *ssp, char nstop) __ssp_set_stop_bits() argument 488 __ssp_wait_for_xmitr(struct sifive_serial_port *ssp) __ssp_wait_for_xmitr() argument 500 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_stop_tx() local 507 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_stop_rx() local 514 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_start_tx() local 521 struct sifive_serial_port *ssp = dev_id; sifive_serial_irq() local 564 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_startup() local 573 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_shutdown() local 596 struct sifive_serial_port *ssp = notifier_to_sifive_serial_port(nb); sifive_serial_clk_notifier() local 630 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_set_termios() local 687 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_config_port() local 706 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_poll_get_char() local 719 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_poll_put_char() local 777 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_console_putchar() local 786 struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index]; sifive_serial_console_write() local 816 struct sifive_serial_port *ssp; sifive_serial_console_setup() local 855 __ssp_add_console_port(struct sifive_serial_port *ssp) __ssp_add_console_port() argument 860 __ssp_remove_console_port(struct sifive_serial_port *ssp) __ssp_remove_console_port() argument 871 __ssp_add_console_port(struct sifive_serial_port *ssp) __ssp_add_console_port() argument 873 __ssp_remove_console_port(struct sifive_serial_port *ssp) __ssp_remove_console_port() argument 910 struct sifive_serial_port *ssp; sifive_serial_probe() local 1012 struct sifive_serial_port *ssp = platform_get_drvdata(dev); sifive_serial_remove() local 1024 struct sifive_serial_port *ssp = dev_get_drvdata(dev); sifive_serial_suspend() local 1031 struct sifive_serial_port *ssp = dev_get_drvdata(dev); sifive_serial_resume() local [all...] |
/kernel/linux/linux-5.10/sound/soc/pxa/ |
H A D | pxa-ssp.c | 3 * pxa-ssp.c -- ALSA Soc Audio Layer 33 #include "pxa-ssp.h" 39 struct ssp_device *ssp; member 53 static void dump_registers(struct ssp_device *ssp) in dump_registers() argument 55 dev_dbg(ssp->dev, "SSCR0 0x%08x SSCR1 0x%08x SSTO 0x%08x\n", in dump_registers() 56 pxa_ssp_read_reg(ssp, SSCR0), pxa_ssp_read_reg(ssp, SSCR1), in dump_registers() 57 pxa_ssp_read_reg(ssp, SSTO)); in dump_registers() 59 dev_dbg(ssp->dev, "SSPSP 0x%08x SSSR 0x%08x SSACD 0x%08x\n", in dump_registers() 60 pxa_ssp_read_reg(ssp, SSPS in dump_registers() 64 pxa_ssp_enable(struct ssp_device *ssp) pxa_ssp_enable() argument 72 pxa_ssp_disable(struct ssp_device *ssp) pxa_ssp_disable() argument 80 pxa_ssp_set_dma_params(struct ssp_device *ssp, int width4, int out, struct snd_dmaengine_dai_dma_data *dma) pxa_ssp_set_dma_params() argument 93 struct ssp_device *ssp = priv->ssp; pxa_ssp_startup() local 120 struct ssp_device *ssp = priv->ssp; pxa_ssp_shutdown() local 139 struct ssp_device *ssp = priv->ssp; pxa_ssp_suspend() local 157 struct ssp_device *ssp = priv->ssp; pxa_ssp_resume() local 185 pxa_ssp_set_scr(struct ssp_device *ssp, u32 div) pxa_ssp_set_scr() argument 206 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_dai_sysclk() local 274 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_pll() local 340 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_dai_tdm_slot() local 375 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_dai_tristate() local 435 struct ssp_device *ssp = priv->ssp; pxa_ssp_configure_dai_fmt() local 554 struct ssp_device *ssp = priv->ssp; pxa_ssp_hw_params() local 699 pxa_ssp_set_running_bit(struct snd_pcm_substream *substream, struct ssp_device *ssp, int value) pxa_ssp_set_running_bit() argument 736 struct ssp_device *ssp = priv->ssp; pxa_ssp_trigger() local [all...] |
/kernel/linux/linux-6.6/sound/soc/pxa/ |
H A D | pxa-ssp.c | 3 * pxa-ssp.c -- ALSA Soc Audio Layer 33 #include "pxa-ssp.h" 39 struct ssp_device *ssp; member 53 static void dump_registers(struct ssp_device *ssp) in dump_registers() argument 55 dev_dbg(ssp->dev, "SSCR0 0x%08x SSCR1 0x%08x SSTO 0x%08x\n", in dump_registers() 56 pxa_ssp_read_reg(ssp, SSCR0), pxa_ssp_read_reg(ssp, SSCR1), in dump_registers() 57 pxa_ssp_read_reg(ssp, SSTO)); in dump_registers() 59 dev_dbg(ssp->dev, "SSPSP 0x%08x SSSR 0x%08x SSACD 0x%08x\n", in dump_registers() 60 pxa_ssp_read_reg(ssp, SSPS in dump_registers() 64 pxa_ssp_set_dma_params(struct ssp_device *ssp, int width4, int out, struct snd_dmaengine_dai_dma_data *dma) pxa_ssp_set_dma_params() argument 77 struct ssp_device *ssp = priv->ssp; pxa_ssp_startup() local 103 struct ssp_device *ssp = priv->ssp; pxa_ssp_shutdown() local 121 struct ssp_device *ssp = priv->ssp; pxa_ssp_suspend() local 139 struct ssp_device *ssp = priv->ssp; pxa_ssp_resume() local 167 pxa_ssp_set_scr(struct ssp_device *ssp, u32 div) pxa_ssp_set_scr() argument 188 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_dai_sysclk() local 256 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_pll() local 322 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_dai_tdm_slot() local 357 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_dai_tristate() local 417 struct ssp_device *ssp = priv->ssp; pxa_ssp_configure_dai_fmt() local 536 struct ssp_device *ssp = priv->ssp; pxa_ssp_hw_params() local 675 pxa_ssp_set_running_bit(struct snd_pcm_substream *substream, struct ssp_device *ssp, int value) pxa_ssp_set_running_bit() argument 712 struct ssp_device *ssp = priv->ssp; pxa_ssp_trigger() local [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | srcu.h | 28 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, 31 #define init_srcu_struct(ssp) \ 35 __init_srcu_struct((ssp), #ssp, &__srcu_key); \ 41 int init_srcu_struct(struct srcu_struct *ssp); 57 void call_srcu(struct srcu_struct *ssp, struct rcu_head *head, 59 void cleanup_srcu_struct(struct srcu_struct *ssp); 60 int __srcu_read_lock(struct srcu_struct *ssp) __acquires(ssp); variable 61 void __srcu_read_unlock(struct srcu_struct *ssp, in variable 85 srcu_read_lock_held(const struct srcu_struct *ssp) srcu_read_lock_held() argument 94 srcu_read_lock_held(const struct srcu_struct *ssp) srcu_read_lock_held() argument [all...] |
H A D | srcutiny.h | 51 void synchronize_srcu(struct srcu_struct *ssp); 59 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock() argument 63 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1; in __srcu_read_lock() 64 WRITE_ONCE(ssp->srcu_lock_nesting[idx], ssp->srcu_lock_nesting[idx] + 1); in __srcu_read_lock() 68 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) in synchronize_srcu_expedited() argument 70 synchronize_srcu(ssp); in synchronize_srcu_expedited() 73 static inline void srcu_barrier(struct srcu_struct *ssp) in srcu_barrier() argument 75 synchronize_srcu(ssp); in srcu_barrier() 79 static inline void srcu_torture_stats_print(struct srcu_struct *ssp, in srcu_torture_stats_print() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/plat-pxa/ |
H A D | ssp.c | 3 * linux/arch/arm/mach-pxa/ssp.c 5 * based on linux/arch/arm/mach-sa1100/ssp.c by Russell King 40 struct ssp_device *ssp = NULL; in pxa_ssp_request() local 44 list_for_each_entry(ssp, &ssp_list, node) { in pxa_ssp_request() 45 if (ssp->port_id == port && ssp->use_count == 0) { in pxa_ssp_request() 46 ssp->use_count++; in pxa_ssp_request() 47 ssp->label = label; in pxa_ssp_request() 54 if (&ssp->node == &ssp_list) in pxa_ssp_request() 57 return ssp; in pxa_ssp_request() 64 struct ssp_device *ssp = NULL; pxa_ssp_request_of() local 85 pxa_ssp_free(struct ssp_device *ssp) pxa_ssp_free() argument 114 struct ssp_device *ssp; pxa_ssp_probe() local 183 struct ssp_device *ssp; pxa_ssp_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-mxs.c | 58 struct mxs_ssp ssp; member 67 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_setup_transfer() local 76 mxs_ssp_set_clk_rate(ssp, hz); in mxs_spi_setup_transfer() 79 * ssp->clk_rate. Otherwise we would set the rate every transfer in mxs_spi_setup_transfer() 90 ssp->base + HW_SSP_CTRL0 + STMP_OFFSET_REG_SET); in mxs_spi_setup_transfer() 96 ssp->base + HW_SSP_CTRL1(ssp)); in mxs_spi_setup_transfer() 98 writel(0x0, ssp->base + HW_SSP_CMD0); in mxs_spi_setup_transfer() 99 writel(0x0, ssp in mxs_spi_setup_transfer() 127 struct mxs_ssp *ssp = &spi->ssp; mxs_ssp_wait() local 154 struct mxs_ssp *ssp = dev_id; mxs_ssp_irq_handler() local 167 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_txrx_dma() local 302 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_txrx_pio() local 364 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_transfer_one() local 444 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_runtime_suspend() local 465 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_runtime_resume() local 533 struct mxs_ssp *ssp; mxs_spi_probe() local 646 struct mxs_ssp *ssp; mxs_spi_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/soc/pxa/ |
H A D | ssp.c | 3 * linux/arch/arm/mach-pxa/ssp.c 5 * based on linux/arch/arm/mach-sa1100/ssp.c by Russell King 40 struct ssp_device *ssp = NULL; in pxa_ssp_request() local 44 list_for_each_entry(ssp, &ssp_list, node) { in pxa_ssp_request() 45 if (ssp->port_id == port && ssp->use_count == 0) { in pxa_ssp_request() 46 ssp->use_count++; in pxa_ssp_request() 47 ssp->label = label; in pxa_ssp_request() 54 if (&ssp->node == &ssp_list) in pxa_ssp_request() 57 return ssp; in pxa_ssp_request() 64 struct ssp_device *ssp = NULL; pxa_ssp_request_of() local 85 pxa_ssp_free(struct ssp_device *ssp) pxa_ssp_free() argument 114 struct ssp_device *ssp; pxa_ssp_probe() local 181 struct ssp_device *ssp = platform_get_drvdata(pdev); pxa_ssp_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-mxs.c | 58 struct mxs_ssp ssp; member 67 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_setup_transfer() local 76 mxs_ssp_set_clk_rate(ssp, hz); in mxs_spi_setup_transfer() 79 * ssp->clk_rate. Otherwise we would set the rate every transfer in mxs_spi_setup_transfer() 90 ssp->base + HW_SSP_CTRL0 + STMP_OFFSET_REG_SET); in mxs_spi_setup_transfer() 96 ssp->base + HW_SSP_CTRL1(ssp)); in mxs_spi_setup_transfer() 98 writel(0x0, ssp->base + HW_SSP_CMD0); in mxs_spi_setup_transfer() 99 writel(0x0, ssp in mxs_spi_setup_transfer() 127 struct mxs_ssp *ssp = &spi->ssp; mxs_ssp_wait() local 154 struct mxs_ssp *ssp = dev_id; mxs_ssp_irq_handler() local 167 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_txrx_dma() local 302 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_txrx_pio() local 364 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_transfer_one() local 444 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_runtime_suspend() local 465 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_runtime_resume() local 533 struct mxs_ssp *ssp; mxs_spi_probe() local 645 struct mxs_ssp *ssp; mxs_spi_remove() local [all...] |
H A D | spi-pxa2xx-pci.c | 61 static int pxa2xx_spi_pci_clk_register(struct pci_dev *dev, struct ssp_device *ssp, in pxa2xx_spi_pci_clk_register() argument 66 snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id); in pxa2xx_spi_pci_clk_register() 67 ssp->clk = clk_register_fixed_rate(&dev->dev, buf, NULL, 0, rate); in pxa2xx_spi_pci_clk_register() 68 if (IS_ERR(ssp->clk)) in pxa2xx_spi_pci_clk_register() 69 return PTR_ERR(ssp->clk); in pxa2xx_spi_pci_clk_register() 71 return devm_add_action_or_reset(&dev->dev, pxa2xx_spi_pci_clk_unregister, ssp->clk); in pxa2xx_spi_pci_clk_register() 92 struct ssp_device *ssp = &c->ssp; in lpss_spi_setup() local 99 ssp->type = LPSS_BYT_SSP; in lpss_spi_setup() 100 ssp in lpss_spi_setup() 173 struct ssp_device *ssp = &c->ssp; ce4100_spi_setup() local 188 struct ssp_device *ssp = &c->ssp; mrfld_spi_setup() local 245 struct ssp_device *ssp = &c->ssp; qrk_spi_setup() local 266 struct ssp_device *ssp; pxa2xx_spi_pci_probe() local [all...] |
H A D | spi-pxa2xx.c | 337 drv_data->lpss_base = drv_data->ssp->mmio_base + config->offset; in lpss_ssp_setup() 486 pxa_ssp_disable(drv_data->ssp); in pxa2xx_spi_off() 625 dev_err(drv_data->ssp->dev, "%s\n", msg); in int_error_stop() 721 dev_err(drv_data->ssp->dev, "bad message state in interrupt handler\n"); in handle_bad_msg() 737 if (pm_runtime_suspended(drv_data->ssp->dev)) in ssp_int() 899 const struct ssp_device *ssp = drv_data->ssp; in ssp_get_clk_div() local 907 if (ssp->type == PXA25x_SSP || ssp->type == CE4100_SSP) in ssp_get_clk_div() 1079 pxa_ssp_disable(drv_data->ssp); in pxa2xx_spi_transfer_one() 1335 struct ssp_device *ssp; pxa2xx_spi_init_pdata() local 1441 struct ssp_device *ssp; pxa2xx_spi_probe() local 1665 struct ssp_device *ssp = drv_data->ssp; pxa2xx_spi_remove() local 1692 struct ssp_device *ssp = drv_data->ssp; pxa2xx_spi_suspend() local 1710 struct ssp_device *ssp = drv_data->ssp; pxa2xx_spi_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | mxs-mmc.c | 49 struct mxs_ssp ssp; member 65 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_get_cd() local 76 !(readl(ssp->base + HW_SSP_STATUS(ssp)) & in mxs_mmc_get_cd() 87 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_reset() local 91 ret = stmp_reset_block(ssp->base); in mxs_mmc_reset() 109 ssp->base + HW_SSP_TIMING(ssp)); in mxs_mmc_reset() 129 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_request_done() local 181 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_irq_handler() local 217 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_prep_dma() local 251 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_bc() local 285 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_ac() local 358 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_adtc() local 513 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_enable_sdio_irq() local 582 struct mxs_ssp *ssp; mxs_mmc_probe() local 696 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_remove() local 715 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_suspend() local 725 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | mxs-mmc.c | 48 struct mxs_ssp ssp; member 64 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_get_cd() local 75 !(readl(ssp->base + HW_SSP_STATUS(ssp)) & in mxs_mmc_get_cd() 86 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_reset() local 90 ret = stmp_reset_block(ssp->base); in mxs_mmc_reset() 108 ssp->base + HW_SSP_TIMING(ssp)); in mxs_mmc_reset() 128 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_request_done() local 180 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_irq_handler() local 216 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_prep_dma() local 250 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_bc() local 284 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_ac() local 357 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_adtc() local 512 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_enable_sdio_irq() local 566 struct mxs_ssp *ssp; mxs_mmc_probe() local 680 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_remove() local 697 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_suspend() local 707 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | navpoint.c | 32 struct ssp_device *ssp; member 120 struct ssp_device *ssp = navpoint->ssp; in navpoint_irq() local 124 status = pxa_ssp_read_reg(ssp, SSSR); in navpoint_irq() 128 pxa_ssp_write_reg(ssp, SSSR, (status & sssr)); in navpoint_irq() 135 data = pxa_ssp_read_reg(ssp, SSDR); in navpoint_irq() 143 status = pxa_ssp_read_reg(ssp, SSSR); in navpoint_irq() 152 struct ssp_device *ssp = navpoint->ssp; in navpoint_up() local 155 clk_prepare_enable(ssp in navpoint_up() 179 struct ssp_device *ssp = navpoint->ssp; navpoint_down() local 209 struct ssp_device *ssp; navpoint_probe() local 303 struct ssp_device *ssp = navpoint->ssp; navpoint_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | navpoint.c | 32 struct ssp_device *ssp; member 120 struct ssp_device *ssp = navpoint->ssp; in navpoint_irq() local 124 status = pxa_ssp_read_reg(ssp, SSSR); in navpoint_irq() 128 pxa_ssp_write_reg(ssp, SSSR, (status & sssr)); in navpoint_irq() 135 data = pxa_ssp_read_reg(ssp, SSDR); in navpoint_irq() 143 status = pxa_ssp_read_reg(ssp, SSSR); in navpoint_irq() 152 struct ssp_device *ssp = navpoint->ssp; in navpoint_up() local 155 clk_prepare_enable(ssp in navpoint_up() 179 struct ssp_device *ssp = navpoint->ssp; navpoint_down() local 209 struct ssp_device *ssp; navpoint_probe() local 303 struct ssp_device *ssp = navpoint->ssp; navpoint_remove() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | shstk.c | 50 static int create_rstor_token(unsigned long ssp, unsigned long *token_addr) in create_rstor_token() argument 55 if (!IS_ALIGNED(ssp, 8)) in create_rstor_token() 58 addr = ssp - SS_FRAME_SIZE; in create_rstor_token() 64 ssp |= BIT(0); in create_rstor_token() 66 if (write_user_shstk_64((u64 __user *)addr, (u64)ssp)) in create_rstor_token() 90 * READ_ONCE(ssp); // read+discard top element on stack 91 * ssp += nr_to_pop * 8; // move the shadow stack 92 * READ_ONCE(ssp-8); // read+discard last popped stack element 238 unsigned long long ssp; in get_user_shstk_addr() local 242 rdmsrl(MSR_IA32_PL3_SSP, ssp); in get_user_shstk_addr() 280 shstk_push_sigframe(unsigned long *ssp) shstk_push_sigframe() argument 295 shstk_pop_sigframe(unsigned long *ssp) shstk_pop_sigframe() argument 350 unsigned long ssp; setup_signal_shadow_stack() local 383 unsigned long ssp; restore_signal_shadow_stack() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/mxs/ |
H A D | clk-ssp.c | 21 void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate) in mxs_ssp_set_clk_rate() argument 27 ssp_clk = clk_get_rate(ssp->clk); in mxs_ssp_set_clk_rate() 37 dev_err(ssp->dev, in mxs_ssp_set_clk_rate() 44 val = readl(ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate() 48 writel(val, ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate() 50 ssp->clk_rate = ssp_sck; in mxs_ssp_set_clk_rate() 52 dev_dbg(ssp->dev, in mxs_ssp_set_clk_rate()
|
/kernel/linux/linux-6.6/drivers/clk/mxs/ |
H A D | clk-ssp.c | 21 void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate) in mxs_ssp_set_clk_rate() argument 27 ssp_clk = clk_get_rate(ssp->clk); in mxs_ssp_set_clk_rate() 37 dev_err(ssp->dev, in mxs_ssp_set_clk_rate() 44 val = readl(ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate() 48 writel(val, ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate() 50 ssp->clk_rate = ssp_sck; in mxs_ssp_set_clk_rate() 52 dev_dbg(ssp->dev, in mxs_ssp_set_clk_rate()
|