| /linux/include/linux/ |
| H A D | srcu.h | 29 int init_srcu_struct_lockdep(struct srcu_struct *ssp, const char *name, 31 static inline int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct() 34 return init_srcu_struct_lockdep(ssp, name, key); in __init_srcu_struct() 37 int __init_srcu_struct_fast(struct srcu_struct *ssp, const char *name, struct lock_class_key *key); 38 int __init_srcu_struct_fast_updown(struct srcu_struct *ssp, const char *name, 40 int __init_srcu_struct_atomic(struct srcu_struct *ssp, const char *name, 44 #define init_srcu_struct_fast(ssp) \ 48 __init_srcu_struct_fast((ssp), #ssp, &__srcu_key); \ argument 51 #define init_srcu_struct_fast_updown(ssp) \ 30 __init_srcu_struct(struct srcu_struct * ssp,const char * name,struct lock_class_key * key) __init_srcu_struct() argument 41 init_srcu_struct_fast(ssp) global() argument 59 __init_srcu_struct(struct srcu_struct * ssp,const char * name,struct lock_class_key * key) __init_srcu_struct() argument 72 init_srcu_struct(ssp) global() argument 148 __srcu_read_lock_nmisafe(struct srcu_struct * ssp) __srcu_read_lock_nmisafe() argument 153 __srcu_read_unlock_nmisafe(struct srcu_struct * ssp,int idx) __srcu_read_unlock_nmisafe() argument 180 srcu_read_lock_held(const struct srcu_struct * ssp) srcu_read_lock_held() argument 215 srcu_read_lock_held(const struct srcu_struct * ssp) srcu_read_lock_held() argument 233 __srcu_read_lock_must_hold(const struct srcu_struct * ssp) __srcu_read_lock_must_hold() argument 247 srcu_dereference_check(p,ssp,c) global() argument 267 srcu_dereference(p,ssp) global() argument 275 srcu_dereference_notrace(p,ssp) global() argument 298 srcu_read_lock(struct srcu_struct * ssp) srcu_read_lock() argument 335 srcu_read_lock_fast(struct srcu_struct * ssp) srcu_read_lock_fast() argument 375 srcu_read_lock_fast_updown(struct srcu_struct * ssp) srcu_read_lock_fast_updown() argument 391 srcu_read_lock_fast_notrace(struct srcu_struct * ssp) srcu_read_lock_fast_notrace() argument 413 srcu_down_read_fast(struct srcu_struct * ssp) srcu_down_read_fast() argument 432 srcu_read_lock_nmisafe(struct srcu_struct * ssp) srcu_read_lock_nmisafe() argument 445 srcu_read_lock_notrace(struct srcu_struct * ssp) srcu_read_lock_notrace() argument 477 srcu_down_read(struct srcu_struct * ssp) srcu_down_read() argument 492 srcu_read_unlock(struct srcu_struct * ssp,int idx) srcu_read_unlock() argument 508 srcu_read_unlock_fast(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) srcu_read_unlock_fast() argument 525 srcu_read_unlock_fast_updown(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) srcu_read_unlock_fast_updown() argument 538 srcu_read_unlock_fast_notrace(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) srcu_read_unlock_fast_notrace() argument 553 srcu_up_read_fast(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) srcu_up_read_fast() argument 569 srcu_read_unlock_nmisafe(struct srcu_struct * ssp,int idx) srcu_read_unlock_nmisafe() argument 580 srcu_read_unlock_notrace(struct srcu_struct * ssp,int idx) srcu_read_unlock_notrace() argument 594 srcu_up_read(struct srcu_struct * ssp,int idx) srcu_up_read() argument [all...] |
| H A D | srcutiny.h | 84 void synchronize_srcu(struct srcu_struct *ssp); in __srcu_read_lock() 92 static inline int __srcu_read_lock(struct srcu_struct *ssp) 93 __acquires_shared(ssp) 98 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1; 99 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1); in __srcu_ctr_to_ptr() argument 101 __acquire_shared(ssp); in __srcu_ctr_to_ptr() 107 static inline bool __srcu_ptr_to_ctr(struct srcu_struct *ssp, struct srcu_ctr __percpu *scpp) in __srcu_read_lock_fast() 112 static inline struct srcu_ctr __percpu *__srcu_ctr_to_ptr(struct srcu_struct *ssp, int idx) in __srcu_read_unlock_fast() 117 static inline struct srcu_ctr __percpu *__srcu_read_lock_fast(struct srcu_struct *ssp) in __srcu_read_lock_fast_updown() 79 __srcu_read_lock(struct srcu_struct * ssp) __srcu_read_lock() argument 94 __srcu_ptr_to_ctr(struct srcu_struct * ssp,struct srcu_ctr __percpu * scpp) __srcu_ptr_to_ctr() argument 104 __srcu_read_lock_fast(struct srcu_struct * ssp) __srcu_read_lock_fast() argument 110 __srcu_read_unlock_fast(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) __srcu_read_unlock_fast() argument 116 __srcu_read_lock_fast_updown(struct srcu_struct * ssp) __srcu_read_lock_fast_updown() argument 123 __srcu_read_unlock_fast_updown(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) __srcu_read_unlock_fast_updown() argument 129 synchronize_srcu_expedited(struct srcu_struct * ssp) synchronize_srcu_expedited() argument 134 srcu_barrier(struct srcu_struct * ssp) srcu_barrier() argument 139 srcu_expedite_current(struct srcu_struct * ssp) srcu_expedite_current() argument 140 srcu_check_read_flavor(ssp,read_flavor) global() argument 143 srcu_torture_stats_print(struct srcu_struct * ssp,char * tt,char * tf) srcu_torture_stats_print() argument 165 srcu_readers_active(struct srcu_struct * ssp) srcu_readers_active() argument [all...] |
| H A D | srcutree.h | 55 struct srcu_struct *ssp; 250 int __srcu_read_lock(struct srcu_struct *ssp) __acquires_shared(ssp); 251 void synchronize_srcu_expedited(struct srcu_struct *ssp); 252 void srcu_barrier(struct srcu_struct *ssp); in __srcu_ctr_to_ptr() argument 253 void srcu_expedite_current(struct srcu_struct *ssp); in __srcu_ctr_to_ptr() 254 void srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf); in __srcu_ctr_to_ptr() 258 static inline bool __srcu_ptr_to_ctr(struct srcu_struct *ssp, struct srcu_ctr __percpu *scpp) 260 return scpp - &ssp->sda->srcu_ctrs[0]; 265 static inline struct srcu_ctr __percpu *__srcu_ctr_to_ptr(struct srcu_struct *ssp, in 51 struct srcu_struct *ssp; global() member 245 __srcu_ptr_to_ctr(struct srcu_struct * ssp,struct srcu_ctr __percpu * scpp) __srcu_ptr_to_ctr() argument 289 __srcu_read_lock_fast(struct srcu_struct * ssp) __srcu_read_lock_fast() argument 313 __srcu_read_unlock_fast(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) __srcu_read_unlock_fast() argument 333 __srcu_read_lock_fast_updown(struct srcu_struct * ssp) __srcu_read_lock_fast_updown() argument 357 __srcu_read_unlock_fast_updown(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) __srcu_read_unlock_fast_updown() argument 371 srcu_check_read_flavor(struct srcu_struct * ssp,int read_flavor) srcu_check_read_flavor() argument 385 srcu_readers_active(struct srcu_struct * ssp) srcu_readers_active() argument [all...] |
| H A D | pxa2xx_ssp.h | 275 static inline void pxa_ssp_enable(struct ssp_device *ssp) in pxa_ssp_enable() argument 279 sscr0 = pxa_ssp_read_reg(ssp, SSCR0) | SSCR0_SSE; in pxa_ssp_enable() 280 pxa_ssp_write_reg(ssp, SSCR0, sscr0); in pxa_ssp_enable() 283 static inline void pxa_ssp_disable(struct ssp_device *ssp) in pxa_ssp_disable() argument 287 sscr0 = pxa_ssp_read_reg(ssp, SSCR0) & ~SSCR0_SSE; in pxa_ssp_disable() 288 pxa_ssp_write_reg(ssp, SSCR0, sscr0); in pxa_ssp_disable() 306 static inline void pxa_ssp_free(struct ssp_device *ssp) {} in pxa_ssp_free() argument
|
| /linux/kernel/rcu/ |
| H A D | srcutiny.c | 33 static void __srcu_defer_drain(struct srcu_struct *ssp); in init_srcu_struct_fields() 35 static int init_srcu_struct_fields(struct srcu_struct *ssp) in init_srcu_struct_fields() 37 ssp->srcu_lock_nesting[0] = 0; in init_srcu_struct_fields() 38 ssp->srcu_lock_nesting[1] = 0; in init_srcu_struct_fields() 39 init_swait_queue_head(&ssp->srcu_wq); in init_srcu_struct_fields() 40 ssp->srcu_cb_head = NULL; in init_srcu_struct_fields() 41 ssp->srcu_cb_tail = &ssp->srcu_cb_head; in init_srcu_struct_fields() 42 ssp->srcu_gp_running = false; in init_srcu_struct_fields() 43 ssp in init_srcu_struct_fields() 32 init_srcu_struct_fields(struct srcu_struct * ssp) init_srcu_struct_fields() argument 51 init_srcu_struct_lockdep(struct srcu_struct * ssp,const char * name,struct lock_class_key * key) init_srcu_struct_lockdep() argument 71 init_srcu_struct_generic(struct srcu_struct * ssp) init_srcu_struct_generic() argument 86 cleanup_srcu_struct(struct srcu_struct * ssp) cleanup_srcu_struct() argument 104 __srcu_read_unlock(struct srcu_struct * ssp,int idx) __srcu_read_unlock() argument 127 struct srcu_struct *ssp; srcu_drive_gp() local 190 struct srcu_struct *ssp; srcu_tiny_irq_work() local 197 srcu_gp_start_if_needed(struct srcu_struct * ssp) srcu_gp_start_if_needed() argument 219 call_srcu(struct srcu_struct * ssp,struct rcu_head * rhp,rcu_callback_t func) call_srcu() argument 239 synchronize_srcu(struct srcu_struct * ssp) synchronize_srcu() argument 266 get_state_synchronize_srcu(struct srcu_struct * ssp) get_state_synchronize_srcu() argument 284 start_poll_synchronize_srcu(struct srcu_struct * ssp) start_poll_synchronize_srcu() argument 299 poll_state_synchronize_srcu(struct srcu_struct * ssp,unsigned long cookie) poll_state_synchronize_srcu() argument 324 struct srcu_struct *ssp; srcu_init() local [all...] |
| H A D | srcutree.c | 78 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay); 122 static void init_srcu_struct_data(struct srcu_struct *ssp) in srcu_invl_snp_seq() 132 sdp = per_cpu_ptr(ssp->sda, cpu); in init_srcu_struct_nodes() 136 sdp->srcu_gp_seq_needed = ssp->srcu_sup->srcu_gp_seq; in init_srcu_struct_nodes() 137 sdp->srcu_gp_seq_needed_exp = ssp->srcu_sup->srcu_gp_seq; in init_srcu_struct_nodes() 148 sdp->ssp = ssp; in init_srcu_struct_nodes() 168 static bool init_srcu_struct_nodes(struct srcu_struct *ssp, gfp_t gfp_flags) in init_srcu_struct_nodes() 180 ssp->srcu_sup->node = kzalloc_objs(*ssp in init_srcu_struct_nodes() 89 init_srcu_struct_data(struct srcu_struct * ssp) init_srcu_struct_data() argument 130 init_srcu_struct_nodes(struct srcu_struct * ssp,gfp_t gfp_flags) init_srcu_struct_nodes() argument 204 init_srcu_struct_fields(struct srcu_struct * ssp,bool is_static) init_srcu_struct_fields() argument 261 __init_srcu_struct_common(struct srcu_struct * ssp,const char * name,struct lock_class_key * key) __init_srcu_struct_common() argument 269 init_srcu_struct_lockdep(struct srcu_struct * ssp,const char * name,struct lock_class_key * key) init_srcu_struct_lockdep() argument 277 __init_srcu_struct_fast(struct srcu_struct * ssp,const char * name,struct lock_class_key * key) __init_srcu_struct_fast() argument 284 __init_srcu_struct_fast_updown(struct srcu_struct * ssp,const char * name,struct lock_class_key * key) __init_srcu_struct_fast_updown() argument 305 init_srcu_struct_generic(struct srcu_struct * ssp) init_srcu_struct_generic() argument 322 init_srcu_struct_fast(struct srcu_struct * ssp) init_srcu_struct_fast() argument 340 init_srcu_struct_fast_updown(struct srcu_struct * ssp) init_srcu_struct_fast_updown() argument 352 __srcu_transition_to_big(struct srcu_struct * ssp) __srcu_transition_to_big() argument 361 srcu_transition_to_big(struct srcu_struct * ssp) srcu_transition_to_big() argument 381 raw_spin_lock_irqsave_check_contention(struct srcu_struct * ssp) raw_spin_lock_irqsave_check_contention() argument 405 struct srcu_struct *ssp = sdp->ssp; raw_spin_lock_irqsave_sdp_contention() local 421 raw_spin_lock_irqsave_ssp_contention(struct srcu_struct * ssp,unsigned long * flags) raw_spin_lock_irqsave_ssp_contention() argument 437 check_init_srcu_struct(struct srcu_struct * ssp) check_init_srcu_struct() argument 456 srcu_gp_is_expedited(struct srcu_struct * ssp) srcu_gp_is_expedited() argument 469 srcu_readers_lock_idx(struct srcu_struct * ssp,int idx,bool gp,unsigned long unlocks) srcu_readers_lock_idx() argument 493 srcu_readers_unlock_idx(struct srcu_struct * ssp,int idx,unsigned long * rdm) srcu_readers_unlock_idx() argument 515 srcu_readers_active_idx_check(struct srcu_struct * ssp,int idx) srcu_readers_active_idx_check() argument 653 srcu_get_delay(struct srcu_struct * ssp) srcu_get_delay() argument 685 cleanup_srcu_struct(struct srcu_struct * ssp) cleanup_srcu_struct() argument 740 __srcu_check_read_flavor(struct srcu_struct * ssp,int read_flavor) __srcu_check_read_flavor() argument 771 __srcu_read_lock(struct srcu_struct * ssp) __srcu_read_lock() argument 786 __srcu_read_unlock(struct srcu_struct * ssp,int idx) __srcu_read_unlock() argument 800 __srcu_read_lock_nmisafe(struct srcu_struct * ssp) __srcu_read_lock_nmisafe() argument 816 __srcu_read_unlock_nmisafe(struct srcu_struct * ssp,int idx) __srcu_read_unlock_nmisafe() argument 828 srcu_gp_start(struct srcu_struct * ssp) srcu_gp_start() argument 876 srcu_schedule_cbs_snp(struct srcu_struct * ssp,struct srcu_node * snp,unsigned long mask,unsigned long delay) srcu_schedule_cbs_snp() argument 895 srcu_gp_end(struct srcu_struct * ssp) srcu_gp_end() argument 1001 srcu_funnel_exp_start(struct srcu_struct * ssp,struct srcu_node * snp,unsigned long s) srcu_funnel_exp_start() argument 1041 srcu_funnel_gp_start(struct srcu_struct * ssp,struct srcu_data * sdp,unsigned long s,bool do_norm) srcu_funnel_gp_start() argument 1126 try_check_zero(struct srcu_struct * ssp,int idx,int trycount) try_check_zero() argument 1148 srcu_flip(struct srcu_struct * ssp) srcu_flip() argument 1229 srcu_should_expedite(struct srcu_struct * ssp) srcu_should_expedite() argument 1284 srcu_gp_start_if_needed(struct srcu_struct * ssp,struct rcu_head * rhp,bool do_norm) srcu_gp_start_if_needed() argument 1414 __call_srcu(struct srcu_struct * ssp,struct rcu_head * rhp,rcu_callback_t func,bool do_norm) __call_srcu() argument 1448 call_srcu(struct srcu_struct * ssp,struct rcu_head * rhp,rcu_callback_t func) call_srcu() argument 1458 __synchronize_srcu(struct srcu_struct * ssp,bool do_norm) __synchronize_srcu() argument 1500 synchronize_srcu_expedited(struct srcu_struct * ssp) synchronize_srcu_expedited() argument 1555 synchronize_srcu(struct srcu_struct * ssp) synchronize_srcu() argument 1574 get_state_synchronize_srcu(struct srcu_struct * ssp) get_state_synchronize_srcu() argument 1593 start_poll_synchronize_srcu(struct srcu_struct * ssp) start_poll_synchronize_srcu() argument 1624 poll_state_synchronize_srcu(struct srcu_struct * ssp,unsigned long cookie) poll_state_synchronize_srcu() argument 1642 struct srcu_struct *ssp; srcu_barrier_cb() local 1659 srcu_barrier_one_cpu(struct srcu_struct * ssp,struct srcu_data * sdp) srcu_barrier_one_cpu() argument 1677 srcu_barrier(struct srcu_struct * ssp) srcu_barrier() argument 1747 srcu_expedite_current(struct srcu_struct * ssp) srcu_expedite_current() argument 1779 srcu_batches_completed(struct srcu_struct * ssp) srcu_batches_completed() argument 1790 srcu_advance_state(struct srcu_struct * ssp) srcu_advance_state() argument 1867 struct srcu_struct *ssp; srcu_invoke_callbacks() local 1921 srcu_reschedule(struct srcu_struct * ssp,unsigned long delay) srcu_reschedule() argument 1948 struct srcu_struct *ssp; process_srcu() local 1977 struct srcu_struct *ssp; srcu_irq_work() local 1992 srcutorture_get_gp_data(struct srcu_struct * ssp,int * flags,unsigned long * gp_seq) srcutorture_get_gp_data() argument 2013 srcu_torture_stats_print(struct srcu_struct * ssp,char * tt,char * tf) srcu_torture_stats_print() argument 2118 struct srcu_struct *ssp; srcu_module_coming() local 2135 struct srcu_struct *ssp; srcu_module_going() local [all...] |
| /linux/drivers/tty/serial/ |
| H A D | sifive.c | 220 * @ssp: pointer to a struct sifive_serial_port record 223 * IP block base, given a pointer @ssp to a struct sifive_serial_port record. 227 static void __ssp_writel(u32 v, u16 offs, struct sifive_serial_port *ssp) in __ssp_writel() argument 229 __ssp_early_writel(v, offs, &ssp->port); in __ssp_writel() 234 * @ssp: pointer to a struct sifive_serial_port record 238 * IP block base, given a pointer @ssp to a struct sifive_serial_port record. 244 static u32 __ssp_readl(struct sifive_serial_port *ssp, u16 offs) in __ssp_readl() argument 246 return __ssp_early_readl(&ssp->port, offs); in __ssp_readl() 251 * @ssp: pointer to a struct sifive_serial_port 260 static int sifive_serial_is_txfifo_full(struct sifive_serial_port *ssp) in sifive_serial_is_txfifo_full() argument 277 __ssp_transmit_char(struct sifive_serial_port * ssp,int ch) __ssp_transmit_char() argument 291 __ssp_transmit_chars(struct sifive_serial_port * ssp) __ssp_transmit_chars() argument 308 __ssp_enable_txwm(struct sifive_serial_port * ssp) __ssp_enable_txwm() argument 324 __ssp_enable_rxwm(struct sifive_serial_port * ssp) __ssp_enable_rxwm() argument 340 __ssp_disable_txwm(struct sifive_serial_port * ssp) __ssp_disable_txwm() argument 356 __ssp_disable_rxwm(struct sifive_serial_port * ssp) __ssp_disable_rxwm() argument 377 __ssp_receive_char(struct sifive_serial_port * ssp,char * is_empty) __ssp_receive_char() argument 405 __ssp_receive_chars(struct sifive_serial_port * ssp) __ssp_receive_chars() argument 432 __ssp_update_div(struct sifive_serial_port * ssp) __ssp_update_div() argument 451 __ssp_update_baud_rate(struct sifive_serial_port * ssp,unsigned int rate) __ssp_update_baud_rate() argument 468 __ssp_set_stop_bits(struct sifive_serial_port * ssp,char nstop) __ssp_set_stop_bits() argument 491 __ssp_wait_for_xmitr(struct sifive_serial_port * ssp) __ssp_wait_for_xmitr() argument 503 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_stop_tx() local 510 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_stop_rx() local 517 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_start_tx() local 524 struct sifive_serial_port *ssp = dev_id; sifive_serial_irq() local 567 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_startup() local 579 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_shutdown() local 605 struct sifive_serial_port *ssp = notifier_to_sifive_serial_port(nb); sifive_serial_clk_notifier() local 639 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_set_termios() local 696 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_config_port() local 715 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_poll_get_char() local 728 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_poll_put_char() local 786 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_console_putchar() local 811 struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index]; sifive_serial_console_write_atomic() local 837 struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index]; sifive_serial_console_write_thread() local 876 struct sifive_serial_port *ssp; sifive_serial_console_setup() local 920 __ssp_add_console_port(struct sifive_serial_port * ssp) __ssp_add_console_port() argument 925 __ssp_remove_console_port(struct sifive_serial_port * ssp) __ssp_remove_console_port() argument 936 __ssp_add_console_port(struct sifive_serial_port * ssp) __ssp_add_console_port() argument 938 __ssp_remove_console_port(struct sifive_serial_port * ssp) __ssp_remove_console_port() argument 975 struct sifive_serial_port *ssp; sifive_serial_probe() local 1077 struct sifive_serial_port *ssp = platform_get_drvdata(dev); sifive_serial_remove() local 1087 struct sifive_serial_port *ssp = dev_get_drvdata(dev); sifive_serial_suspend() local 1094 struct sifive_serial_port *ssp = dev_get_drvdata(dev); sifive_serial_resume() local [all...] |
| /linux/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 676 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...] |
| H A D | Makefile | 7 snd-soc-pxa-ssp-y := pxa-ssp.o 13 obj-$(CONFIG_SND_PXA_SOC_SSP) += snd-soc-pxa-ssp.o
|
| /linux/drivers/spi/ |
| H A D | spi-pxa2xx-platform.c | 21 pxa2xx_spi_init_ssp(struct platform_device *pdev, struct ssp_device *ssp, enum pxa_ssp_type type) in pxa2xx_spi_init_ssp() argument 28 ssp->mmio_base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in pxa2xx_spi_init_ssp() 29 if (IS_ERR(ssp->mmio_base)) in pxa2xx_spi_init_ssp() 30 return PTR_ERR(ssp->mmio_base); in pxa2xx_spi_init_ssp() 32 ssp->phys_base = res->start; in pxa2xx_spi_init_ssp() 34 ssp->clk = devm_clk_get(dev, NULL); in pxa2xx_spi_init_ssp() 35 if (IS_ERR(ssp->clk)) in pxa2xx_spi_init_ssp() 36 return PTR_ERR(ssp->clk); in pxa2xx_spi_init_ssp() 38 ssp->irq = platform_get_irq(pdev, 0); in pxa2xx_spi_init_ssp() 39 if (ssp in pxa2xx_spi_init_ssp() 54 pxa2xx_spi_ssp_release(void * ssp) pxa2xx_spi_ssp_release() argument 61 struct ssp_device *ssp; pxa2xx_spi_ssp_request() local 83 struct ssp_device *ssp; pxa2xx_spi_init_pdata() local 144 struct ssp_device *ssp; pxa2xx_spi_platform_probe() local [all...] |
| H A D | spi-pxa2xx-pci.c | 67 static int pxa2xx_spi_pci_clk_register(struct pci_dev *dev, struct ssp_device *ssp, in pxa2xx_spi_pci_clk_register() argument 72 snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id); in pxa2xx_spi_pci_clk_register() 73 ssp->clk = clk_register_fixed_rate(&dev->dev, buf, NULL, 0, rate); in pxa2xx_spi_pci_clk_register() 74 if (IS_ERR(ssp->clk)) in pxa2xx_spi_pci_clk_register() 75 return PTR_ERR(ssp->clk); in pxa2xx_spi_pci_clk_register() 77 return devm_add_action_or_reset(&dev->dev, pxa2xx_spi_pci_clk_unregister, ssp->clk); in pxa2xx_spi_pci_clk_register() 98 struct ssp_device *ssp = &c->ssp; in lpss_spi_setup() local 105 ssp->type = LPSS_BYT_SSP; in lpss_spi_setup() 106 ssp in lpss_spi_setup() 179 struct ssp_device *ssp = &c->ssp; ce4100_spi_setup() local 194 struct ssp_device *ssp = &c->ssp; mrfld_spi_setup() local 251 struct ssp_device *ssp = &c->ssp; qrk_spi_setup() local 270 struct ssp_device *ssp; pxa2xx_spi_pci_probe() local [all...] |
| H A D | spi-pxa2xx.h | 36 struct ssp_device ssp; member 45 struct ssp_device *ssp; member 81 return pxa_ssp_read_reg(drv_data->ssp, reg); in pxa2xx_spi_read() 86 pxa_ssp_write_reg(drv_data->ssp, reg, val); in pxa2xx_spi_write() 135 int pxa2xx_spi_probe(struct device *dev, struct ssp_device *ssp,
|
| /linux/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() 230 unsigned long long ssp; in get_user_shstk_addr() local 234 rdmsrq(MSR_IA32_PL3_SSP, ssp); in get_user_shstk_addr() 238 return ssp; in get_user_shstk_addr() 244 u64 ssp; in shstk_pop() local 251 rdmsrq(MSR_IA32_PL3_SSP, ssp); in shstk_pop() [all …]
|
| H A D | vm86_32.c | 495 unsigned char __user *ssp, unsigned short sp) in do_int() argument 512 pushw(ssp, sp, get_vflags(regs), cannot_handle); in do_int() 513 pushw(ssp, sp, regs->pt.cs, cannot_handle); in do_int() 514 pushw(ssp, sp, IP(regs), cannot_handle); in do_int() 551 unsigned char __user *ssp; in handle_vm86_fault() local 563 ssp = (unsigned char __user *) (regs->pt.ss << 4); in handle_vm86_fault() 590 pushl(ssp, sp, get_vflags(regs), simulate_sigsegv); in handle_vm86_fault() 593 pushw(ssp, sp, get_vflags(regs), simulate_sigsegv); in handle_vm86_fault() 604 newflags = popl(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 607 newflags = popw(ssp, sp, simulate_sigsegv); in handle_vm86_fault() [all …]
|
| /linux/rust/helpers/ |
| H A D | srcu.c | 5 __rust_helper int rust_helper_init_srcu_struct_with_key(struct srcu_struct *ssp, in rust_helper_init_srcu_struct_with_key() argument 9 return __init_srcu_struct(ssp, name, key); in rust_helper_init_srcu_struct_with_key() 12 __rust_helper bool rust_helper_srcu_readers_active(struct srcu_struct *ssp) in rust_helper_srcu_readers_active() argument 14 return srcu_readers_active(ssp); in rust_helper_srcu_readers_active() 17 __rust_helper int rust_helper_srcu_read_lock(struct srcu_struct *ssp) in rust_helper_srcu_read_lock() argument 19 return srcu_read_lock(ssp); in rust_helper_srcu_read_lock() 22 __rust_helper void rust_helper_srcu_read_unlock(struct srcu_struct *ssp, int idx) in rust_helper_srcu_read_unlock() argument 24 srcu_read_unlock(ssp, idx); in rust_helper_srcu_read_unlock() 27 __rust_helper void rust_helper_srcu_barrier(struct srcu_struct *ssp) in rust_helper_srcu_barrier() argument 29 srcu_barrier(ssp); in rust_helper_srcu_barrier() [all …]
|
| /linux/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()
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | marvell,dove-pinctrl.txt | 30 mpp10 10 gpio, pmu, ssp(sclk), pmu* 36 ssp(extclk), pmu* 37 mpp14 14 gpio, pmu, uart2(txd), sdio1(buspwr), ssp(rxd), pmu* 38 mpp15 15 gpio, pmu, uart2(rxd), sdio1(ledctrl), ssp(sfrm), pmu* 47 uart1(cts), ssp(sfrm) 49 lcd-spi(mosi), uart1(cts), ssp(txd) 51 lcd-spi(sck), ssp(sclk) 55 mpp_audio1 52-57 gpio, i2s1/spdifo, i2s1, spdifo, twsi, ssp/spdifo, ssp, 56 ssp/twsi 85 - ssp/spdifo : ssp on pins 52-55, spdifo on pin 57, no gpios [all …]
|
| /linux/sound/soc/intel/catpt/ |
| H A D | registers.h | 35 #define CATPT_CS_SFCR(ssp) BIT(27 + (ssp)) argument 39 #define CATPT_CS_SDPM(ssp) BIT(11 + (ssp)) argument 44 #define CATPT_CS_SBCS(ssp) BIT(2 + (ssp)) argument 153 #define catpt_ssp_addr(cdev, ssp) \ 154 ((cdev)->lpe_ba + (cdev)->spec->host_ssp_offset[ssp]) 160 #define catpt_writel_ssp(cdev, ssp, reg, val) \ 161 writel(val, catpt_ssp_addr(cdev, ssp) 144 catpt_ssp_addr(cdev,ssp) global() argument 151 catpt_writel_ssp(cdev,ssp,reg,val) global() argument [all...] |
| /linux/arch/arm/mach-sa1100/ |
| H A D | ssp.c | 158 void ssp_save_state(struct ssp_state *ssp) in ssp_save_state() argument 160 ssp->cr0 = Ser4SSCR0; in ssp_save_state() 161 ssp->cr1 = Ser4SSCR1; in ssp_save_state() 172 void ssp_restore_state(struct ssp_state *ssp) in ssp_restore_state() argument 176 Ser4SSCR0 = ssp->cr0 & ~SSCR0_SSE; in ssp_restore_state() 177 Ser4SSCR1 = ssp->cr1; in ssp_restore_state() 178 Ser4SSCR0 = ssp->cr0; in ssp_restore_state()
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | mrvl,pxa-ssp.txt | 5 compatible Must be "mrvl,pxa-ssp-dai" 6 port A phandle reference to a PXA ssp upstream device 20 ssp1: ssp@41000000 { 21 compatible = "mrvl,pxa3xx-ssp"; 24 clock-names = "pxa27x-ssp.0"; 30 compatible = "mrvl,pxa-ssp-dai";
|
| /linux/drivers/scsi/isci/ |
| H A D | remote_node_context.c | 129 rnc->ssp.remote_node_index = rni; in sci_remote_node_context_construct_buffer() 130 rnc->ssp.remote_node_port_width = idev->device_port_width; in sci_remote_node_context_construct_buffer() 131 rnc->ssp.logical_port_index = idev->owning_port->physical_port_index; in sci_remote_node_context_construct_buffer() 135 rnc->ssp.remote_sas_address_hi = upper_32_bits(sas_addr); in sci_remote_node_context_construct_buffer() 136 rnc->ssp.remote_sas_address_lo = lower_32_bits(sas_addr); in sci_remote_node_context_construct_buffer() 138 rnc->ssp.nexus_loss_timer_enable = true; in sci_remote_node_context_construct_buffer() 139 rnc->ssp.check_bit = false; in sci_remote_node_context_construct_buffer() 140 rnc->ssp.is_valid = false; in sci_remote_node_context_construct_buffer() 141 rnc->ssp.is_remote_node_context = true; in sci_remote_node_context_construct_buffer() 142 rnc->ssp.function_number = 0; in sci_remote_node_context_construct_buffer() [all …]
|
| /linux/security/smack/ |
| H A D | smack_lsm.c | 1622 struct socket_smack *ssp; in smack_inode_getsecurity() 1651 ssp = smack_sock(sock->sk); in smack_inode_getsecurity() 1654 isp = ssp->smk_in; in smack_inode_getsecurity() 1656 isp = ssp->smk_out; in smack_inode_getsecurity() 2022 struct socket_smack *ssp; in smack_file_receive() 2032 ssp = smack_sock(sock->sk); in smack_file_receive() 2040 rc = smk_access(tsp->smk_task, ssp->smk_out, MAY_WRITE, &ad); in smack_file_receive() 2044 rc = smk_access(ssp->smk_in, tsp->smk_task, MAY_WRITE, &ad); in smack_file_receive() 2459 struct socket_smack *ssp = smack_sock(sk); in smack_sk_alloc_security() 2465 ssp in smack_sk_alloc_security() 1619 struct socket_smack *ssp; smack_inode_getsecurity() local 2019 struct socket_smack *ssp; smack_file_receive() local 2456 struct socket_smack *ssp = smack_sock(sk); smack_sk_alloc_security() local 2625 struct socket_smack *ssp = smack_sock(sk); smack_netlbl_add() local 2658 struct socket_smack *ssp = smack_sock(sk); smack_netlbl_delete() local 2690 struct socket_smack *ssp = smack_sock(sk); smk_ipv4_check() local 2765 struct socket_smack *ssp = smack_sock(sock->sk); smk_ipv6_port_label() local 2853 struct socket_smack *ssp = smack_sock(sk); smk_ipv6_port_check() local 2921 struct socket_smack *ssp; smack_inode_setsecurity() local 2995 struct socket_smack *ssp; smack_socket_post_create() local 3095 struct socket_smack *ssp = smack_sock(sock->sk); smack_socket_connect() local 3184 struct smack_known *ssp = smack_of_ipc(isp); smk_curacc_shm() local 3273 struct smack_known *ssp = smack_of_ipc(isp); smk_curacc_sem() local 3959 struct socket_smack *ssp = smack_sock(sock); smack_unix_stream_connect() local 4013 struct socket_smack *ssp = smack_sock(sock->sk); smack_unix_may_send() local 4051 struct socket_smack *ssp = smack_sock(sock->sk); smack_socket_sendmsg() local 4097 smack_from_secattr(struct netlbl_lsm_secattr * sap,struct socket_smack * ssp) smack_from_secattr() argument 4250 struct socket_smack *ssp = NULL; smack_from_netlbl() local 4278 struct socket_smack *ssp = smack_sock(sk); smack_socket_sock_rcv_skb() local 4376 struct socket_smack *ssp; smack_socket_getpeersec_stream() local 4412 struct socket_smack *ssp = NULL; smack_socket_getpeersec_dgram() local 4477 struct socket_smack *ssp = smack_sock(sk); smack_inet_conn_request() local 4563 struct socket_smack *ssp = smack_sock(sk); smack_inet_csk_clone() local [all...] |
| H A D | smack_netfilter.c | 26 struct socket_smack *ssp; in smack_ip_output() local 30 ssp = smack_sock(sk); in smack_ip_output() 31 skp = ssp->smk_out; in smack_ip_output()
|
| /linux/tools/testing/selftests/x86/ |
| H A D | test_shadow_stack.c | 135 unsigned long ssp; in try_shstk() local 140 ssp = get_ssp(); in try_shstk() 141 printf("[INFO]\tchanging ssp from %lx to %lx\n", ssp, new_ssp); in try_shstk() 148 ssp -= 8; in try_shstk() 149 asm volatile("rstorssp (%0)\n":: "r" (ssp)); in try_shstk() 964 unsigned long saved_ssp, ssp = 0; in test_ptrace() local 970 iov.iov_base = &ssp; in test_ptrace() 971 iov.iov_len = sizeof(ssp); in test_ptrace() 975 ssp = get_ssp(); in test_ptrace() 999 if (!ssp) { in test_ptrace() [all …]
|
| /linux/drivers/usb/gadget/ |
| H A D | config.c | 110 struct usb_descriptor_header **ssp) in usb_assign_descriptors() argument 117 if (!ssp) in usb_assign_descriptors() 118 ssp = ss; in usb_assign_descriptors() 135 if (ssp) { in usb_assign_descriptors() 136 f->ssp_descriptors = usb_copy_descriptors(ssp); in usb_assign_descriptors()
|