Searched refs:ssp (Results 1 - 25 of 62) sorted by relevance

123

/linux-master/include/linux/
H A Dsrcu.h28 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); variable
66 void __srcu_read_unlock_nmisafe(struct srcu_struct *ssp, int idx) __releases(ssp); variable
68 __srcu_read_lock_nmisafe(struct srcu_struct *ssp) argument
72 __srcu_read_unlock_nmisafe(struct srcu_struct *ssp, int idx) argument
98 srcu_read_lock_held(const struct srcu_struct *ssp) argument
133 srcu_read_lock_held(const struct srcu_struct *ssp) argument
151 srcu_check_nmi_safety(struct srcu_struct *ssp, bool nmi_safe) argument
[all...]
H A Dsrcutiny.h55 void synchronize_srcu(struct srcu_struct *ssp);
63 static inline int __srcu_read_lock(struct srcu_struct *ssp) argument
67 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1;
68 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1);
72 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) argument
74 synchronize_srcu(ssp);
77 static inline void srcu_barrier(struct srcu_struct *ssp) argument
79 synchronize_srcu(ssp);
83 static inline void srcu_torture_stats_print(struct srcu_struct *ssp, argument
[all...]
/linux-master/kernel/rcu/
H A Dsrcutiny.c27 static int init_srcu_struct_fields(struct srcu_struct *ssp) argument
29 ssp->srcu_lock_nesting[0] = 0;
30 ssp->srcu_lock_nesting[1] = 0;
31 init_swait_queue_head(&ssp->srcu_wq);
32 ssp->srcu_cb_head = NULL;
33 ssp->srcu_cb_tail = &ssp->srcu_cb_head;
34 ssp->srcu_gp_running = false;
35 ssp->srcu_gp_waiting = false;
36 ssp
45 __init_srcu_struct(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) argument
65 init_srcu_struct(struct srcu_struct *ssp) argument
80 cleanup_srcu_struct(struct srcu_struct *ssp) argument
97 __srcu_read_unlock(struct srcu_struct *ssp, int idx) argument
117 struct srcu_struct *ssp; local
159 srcu_gp_start_if_needed(struct srcu_struct *ssp) argument
179 call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, rcu_callback_t func) argument
197 synchronize_srcu(struct srcu_struct *ssp) argument
224 get_state_synchronize_srcu(struct srcu_struct *ssp) argument
242 start_poll_synchronize_srcu(struct srcu_struct *ssp) argument
254 poll_state_synchronize_srcu(struct srcu_struct *ssp, unsigned long cookie) argument
276 struct srcu_struct *ssp; local
[all...]
H A Dsrcutree.c76 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay);
122 static void init_srcu_struct_data(struct srcu_struct *ssp) argument
134 sdp = per_cpu_ptr(ssp->sda, cpu);
138 sdp->srcu_gp_seq_needed = ssp->srcu_sup->srcu_gp_seq;
139 sdp->srcu_gp_seq_needed_exp = ssp->srcu_sup->srcu_gp_seq;
144 sdp->ssp = ssp;
164 static bool init_srcu_struct_nodes(struct srcu_struct *ssp, gfp_t gfp_flags) argument
176 ssp->srcu_sup->node = kcalloc(rcu_num_nodes, sizeof(*ssp
237 init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static) argument
287 __init_srcu_struct(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) argument
307 init_srcu_struct(struct srcu_struct *ssp) argument
318 __srcu_transition_to_big(struct srcu_struct *ssp) argument
327 srcu_transition_to_big(struct srcu_struct *ssp) argument
347 spin_lock_irqsave_check_contention(struct srcu_struct *ssp) argument
371 struct srcu_struct *ssp = sdp->ssp; local
387 spin_lock_irqsave_ssp_contention(struct srcu_struct *ssp, unsigned long *flags) argument
403 check_init_srcu_struct(struct srcu_struct *ssp) argument
423 srcu_readers_lock_idx(struct srcu_struct *ssp, int idx) argument
440 srcu_readers_unlock_idx(struct srcu_struct *ssp, int idx) argument
462 srcu_readers_active_idx_check(struct srcu_struct *ssp, int idx) argument
549 srcu_readers_active(struct srcu_struct *ssp) argument
616 srcu_get_delay(struct srcu_struct *ssp) argument
646 cleanup_srcu_struct(struct srcu_struct *ssp) argument
688 srcu_check_nmi_safety(struct srcu_struct *ssp, bool nmi_safe) argument
712 __srcu_read_lock(struct srcu_struct *ssp) argument
728 __srcu_read_unlock(struct srcu_struct *ssp, int idx) argument
742 __srcu_read_lock_nmisafe(struct srcu_struct *ssp) argument
759 __srcu_read_unlock_nmisafe(struct srcu_struct *ssp, int idx) argument
773 srcu_gp_start(struct srcu_struct *ssp) argument
821 srcu_schedule_cbs_snp(struct srcu_struct *ssp, struct srcu_node *snp, unsigned long mask, unsigned long delay) argument
842 srcu_gp_end(struct srcu_struct *ssp) argument
949 srcu_funnel_exp_start(struct srcu_struct *ssp, struct srcu_node *snp, unsigned long s) argument
989 srcu_funnel_gp_start(struct srcu_struct *ssp, struct srcu_data *sdp, unsigned long s, bool do_norm) argument
1071 try_check_zero(struct srcu_struct *ssp, int idx, int trycount) argument
1091 srcu_flip(struct srcu_struct *ssp) argument
1157 srcu_might_be_idle(struct srcu_struct *ssp) argument
1209 srcu_gp_start_if_needed(struct srcu_struct *ssp, struct rcu_head *rhp, bool do_norm) argument
1337 __call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, rcu_callback_t func, bool do_norm) argument
1367 call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, rcu_callback_t func) argument
1377 __synchronize_srcu(struct srcu_struct *ssp, bool do_norm) argument
1419 synchronize_srcu_expedited(struct srcu_struct *ssp) argument
1472 synchronize_srcu(struct srcu_struct *ssp) argument
1491 get_state_synchronize_srcu(struct srcu_struct *ssp) argument
1510 start_poll_synchronize_srcu(struct srcu_struct *ssp) argument
1541 poll_state_synchronize_srcu(struct srcu_struct *ssp, unsigned long cookie) argument
1558 struct srcu_struct *ssp; local
1574 srcu_barrier_one_cpu(struct srcu_struct *ssp, struct srcu_data *sdp) argument
1592 srcu_barrier(struct srcu_struct *ssp) argument
1636 srcu_batches_completed(struct srcu_struct *ssp) argument
1647 srcu_advance_state(struct srcu_struct *ssp) argument
1724 struct srcu_struct *ssp; local
1778 srcu_reschedule(struct srcu_struct *ssp, unsigned long delay) argument
1805 struct srcu_struct *ssp; local
1829 srcutorture_get_gp_data(enum rcutorture_type test_type, struct srcu_struct *ssp, int *flags, unsigned long *gp_seq) argument
1853 srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf) argument
1958 struct srcu_struct *ssp; local
1974 struct srcu_struct *ssp; local
[all...]
/linux-master/drivers/tty/serial/
H A Dsifive.c218 * @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) argument
227 __ssp_early_writel(v, offs, &ssp->port);
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) argument
244 return __ssp_early_readl(&ssp->port, offs);
249 * @ssp: pointer to a struct sifive_serial_port
258 static int sifive_serial_is_txfifo_full(struct sifive_serial_port *ssp) argument
275 __ssp_transmit_char(struct sifive_serial_port *ssp, int ch) argument
289 __ssp_transmit_chars(struct sifive_serial_port *ssp) argument
306 __ssp_enable_txwm(struct sifive_serial_port *ssp) argument
322 __ssp_enable_rxwm(struct sifive_serial_port *ssp) argument
338 __ssp_disable_txwm(struct sifive_serial_port *ssp) argument
354 __ssp_disable_rxwm(struct sifive_serial_port *ssp) argument
375 __ssp_receive_char(struct sifive_serial_port *ssp, char *is_empty) argument
403 __ssp_receive_chars(struct sifive_serial_port *ssp) argument
430 __ssp_update_div(struct sifive_serial_port *ssp) argument
449 __ssp_update_baud_rate(struct sifive_serial_port *ssp, unsigned int rate) argument
466 __ssp_set_stop_bits(struct sifive_serial_port *ssp, char nstop) argument
489 __ssp_wait_for_xmitr(struct sifive_serial_port *ssp) argument
501 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
508 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
515 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
522 struct sifive_serial_port *ssp = dev_id; local
565 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
574 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
597 struct sifive_serial_port *ssp = notifier_to_sifive_serial_port(nb); local
631 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
688 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
707 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
720 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
778 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); local
787 struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index]; local
813 struct sifive_serial_port *ssp; local
852 __ssp_add_console_port(struct sifive_serial_port *ssp) argument
857 __ssp_remove_console_port(struct sifive_serial_port *ssp) argument
868 __ssp_add_console_port(struct sifive_serial_port *ssp) argument
870 __ssp_remove_console_port(struct sifive_serial_port *ssp) argument
907 struct sifive_serial_port *ssp; local
1009 struct sifive_serial_port *ssp = platform_get_drvdata(dev); local
1019 struct sifive_serial_port *ssp = dev_get_drvdata(dev); local
1026 struct sifive_serial_port *ssp = dev_get_drvdata(dev); local
[all...]
/linux-master/sound/soc/pxa/
H A Dpxa-ssp.c3 * pxa-ssp.c -- ALSA Soc Audio Layer
33 #include "pxa-ssp.h"
39 struct ssp_device *ssp; member in struct:ssp_priv
53 static void dump_registers(struct ssp_device *ssp) argument
55 dev_dbg(ssp->dev, "SSCR0 0x%08x SSCR1 0x%08x SSTO 0x%08x\n",
56 pxa_ssp_read_reg(ssp, SSCR0), pxa_ssp_read_reg(ssp, SSCR1),
57 pxa_ssp_read_reg(ssp, SSTO));
59 dev_dbg(ssp->dev, "SSPSP 0x%08x SSSR 0x%08x SSACD 0x%08x\n",
60 pxa_ssp_read_reg(ssp, SSPS
64 pxa_ssp_set_dma_params(struct ssp_device *ssp, int width4, int out, struct snd_dmaengine_dai_dma_data *dma) argument
77 struct ssp_device *ssp = priv->ssp; local
103 struct ssp_device *ssp = priv->ssp; local
121 struct ssp_device *ssp = priv->ssp; local
139 struct ssp_device *ssp = priv->ssp; local
167 pxa_ssp_set_scr(struct ssp_device *ssp, u32 div) argument
188 struct ssp_device *ssp = priv->ssp; local
256 struct ssp_device *ssp = priv->ssp; local
322 struct ssp_device *ssp = priv->ssp; local
357 struct ssp_device *ssp = priv->ssp; local
417 struct ssp_device *ssp = priv->ssp; local
536 struct ssp_device *ssp = priv->ssp; local
675 pxa_ssp_set_running_bit(struct snd_pcm_substream *substream, struct ssp_device *ssp, int value) argument
712 struct ssp_device *ssp = priv->ssp; local
[all...]
H A DMakefile6 snd-soc-pxa-ssp-objs := pxa-ssp.o
12 obj-$(CONFIG_SND_PXA_SOC_SSP) += snd-soc-pxa-ssp.o
/linux-master/drivers/soc/pxa/
H A Dssp.c3 * 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; local
44 list_for_each_entry(ssp, &ssp_list, node) {
45 if (ssp->port_id == port && ssp->use_count == 0) {
46 ssp->use_count++;
47 ssp->label = label;
54 if (&ssp->node == &ssp_list)
57 return ssp;
64 struct ssp_device *ssp = NULL; local
85 pxa_ssp_free(struct ssp_device *ssp) argument
114 struct ssp_device *ssp; local
181 struct ssp_device *ssp = platform_get_drvdata(pdev); local
[all...]
H A DMakefile6 obj-$(CONFIG_PXA_SSP) += ssp.o
/linux-master/drivers/spi/
H A Dspi-mxs.c59 struct mxs_ssp ssp; member in struct:mxs_spi
68 struct mxs_ssp *ssp = &spi->ssp; local
77 mxs_ssp_set_clk_rate(ssp, hz);
80 * ssp->clk_rate. Otherwise we would set the rate every transfer
91 ssp->base + HW_SSP_CTRL0 + STMP_OFFSET_REG_SET);
97 ssp->base + HW_SSP_CTRL1(ssp));
99 writel(0x0, ssp->base + HW_SSP_CMD0);
100 writel(0x0, ssp
128 struct mxs_ssp *ssp = &spi->ssp; local
155 struct mxs_ssp *ssp = dev_id; local
168 struct mxs_ssp *ssp = &spi->ssp; local
303 struct mxs_ssp *ssp = &spi->ssp; local
365 struct mxs_ssp *ssp = &spi->ssp; local
445 struct mxs_ssp *ssp = &spi->ssp; local
466 struct mxs_ssp *ssp = &spi->ssp; local
534 struct mxs_ssp *ssp; local
646 struct mxs_ssp *ssp; local
[all...]
H A Dspi-pxa2xx-pci.c61 static int pxa2xx_spi_pci_clk_register(struct pci_dev *dev, struct ssp_device *ssp, argument
66 snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id);
67 ssp->clk = clk_register_fixed_rate(&dev->dev, buf, NULL, 0, rate);
68 if (IS_ERR(ssp->clk))
69 return PTR_ERR(ssp->clk);
71 return devm_add_action_or_reset(&dev->dev, pxa2xx_spi_pci_clk_unregister, ssp->clk);
92 struct ssp_device *ssp = &c->ssp; local
99 ssp->type = LPSS_BYT_SSP;
100 ssp
173 struct ssp_device *ssp = &c->ssp; local
188 struct ssp_device *ssp = &c->ssp; local
245 struct ssp_device *ssp = &c->ssp; local
266 struct ssp_device *ssp; local
[all...]
H A Dspi-pxa2xx.c337 drv_data->lpss_base = drv_data->ssp->mmio_base + config->offset;
486 pxa_ssp_disable(drv_data->ssp);
625 dev_err(drv_data->ssp->dev, "%s\n", msg);
721 dev_err(drv_data->ssp->dev, "bad message state in interrupt handler\n");
737 if (pm_runtime_suspended(drv_data->ssp->dev))
899 const struct ssp_device *ssp = drv_data->ssp; local
907 if (ssp->type == PXA25x_SSP || ssp->type == CE4100_SSP)
1079 pxa_ssp_disable(drv_data->ssp);
1335 struct ssp_device *ssp; local
1441 struct ssp_device *ssp; local
1665 struct ssp_device *ssp = drv_data->ssp; local
1692 struct ssp_device *ssp = drv_data->ssp; local
1710 struct ssp_device *ssp = drv_data->ssp; local
[all...]
/linux-master/drivers/clk/mxs/
H A Dclk-ssp.c21 void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate) argument
27 ssp_clk = clk_get_rate(ssp->clk);
37 dev_err(ssp->dev,
44 val = readl(ssp->base + HW_SSP_TIMING(ssp));
48 writel(val, ssp->base + HW_SSP_TIMING(ssp));
50 ssp->clk_rate = ssp_sck;
52 dev_dbg(ssp->dev,
H A DMakefile6 obj-y += clk.o clk-pll.o clk-ref.o clk-div.o clk-frac.o clk-ssp.o
/linux-master/arch/arm/include/asm/hardware/
H A Dssp.h3 * ssp.h
20 void ssp_save_state(struct ssp_state *ssp);
21 void ssp_restore_state(struct ssp_state *ssp);
/linux-master/drivers/mmc/host/
H A Dmxs-mmc.c48 struct mxs_ssp ssp; member in struct:mxs_mmc_host
64 struct mxs_ssp *ssp = &host->ssp; local
75 !(readl(ssp->base + HW_SSP_STATUS(ssp)) &
86 struct mxs_ssp *ssp = &host->ssp; local
90 ret = stmp_reset_block(ssp->base);
108 ssp->base + HW_SSP_TIMING(ssp));
128 struct mxs_ssp *ssp = &host->ssp; local
180 struct mxs_ssp *ssp = &host->ssp; local
216 struct mxs_ssp *ssp = &host->ssp; local
250 struct mxs_ssp *ssp = &host->ssp; local
284 struct mxs_ssp *ssp = &host->ssp; local
357 struct mxs_ssp *ssp = &host->ssp; local
512 struct mxs_ssp *ssp = &host->ssp; local
566 struct mxs_ssp *ssp; local
680 struct mxs_ssp *ssp = &host->ssp; local
697 struct mxs_ssp *ssp = &host->ssp; local
707 struct mxs_ssp *ssp = &host->ssp; local
[all...]
/linux-master/arch/m68k/kernel/
H A Dtraps.h10 asmlinkage void set_esp0(unsigned long ssp);
/linux-master/arch/x86/kernel/
H A Dshstk.c50 static int create_rstor_token(unsigned long ssp, unsigned long *token_addr) argument
55 if (!IS_ALIGNED(ssp, 8))
58 addr = ssp - SS_FRAME_SIZE;
64 ssp |= BIT(0);
66 if (write_user_shstk_64((u64 __user *)addr, (u64)ssp))
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; local
242 rdmsrl(MSR_IA32_PL3_SSP, ssp);
280 shstk_push_sigframe(unsigned long *ssp) argument
295 shstk_pop_sigframe(unsigned long *ssp) argument
350 unsigned long ssp; local
383 unsigned long ssp; local
[all...]
H A Dcet.c50 unsigned long ssp; local
58 rdmsrl(MSR_IA32_PL3_SSP, ssp);
69 pr_emerg("%s[%d] control protection ip:%lx sp:%lx ssp:%lx error:%lx(%s)%s",
71 regs->ip, regs->sp, ssp, error_code,
/linux-master/sound/soc/intel/skylake/
H A DMakefile13 snd-soc-skl-ssp-clk-objs := skl-ssp-clk.o
15 obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE_SSP_CLK) += snd-soc-skl-ssp-clk.o
/linux-master/arch/arm/mach-sa1100/
H A Dssp.c3 * linux/arch/arm/mach-sa1100/ssp.c
21 #include <asm/hardware/ssp.h>
154 * @ssp: pointer to structure to save SSP configuration
158 void ssp_save_state(struct ssp_state *ssp) argument
160 ssp->cr0 = Ser4SSCR0;
161 ssp->cr1 = Ser4SSCR1;
168 * @ssp: pointer to configuration saved by ssp_save_state
172 void ssp_restore_state(struct ssp_state *ssp) argument
176 Ser4SSCR0 = ssp->cr0 & ~SSCR0_SSE;
177 Ser4SSCR1 = ssp
[all...]
/linux-master/security/smack/
H A Dsmack_netfilter.c26 struct socket_smack *ssp; local
30 ssp = sk->sk_security;
31 skp = ssp->smk_out;
/linux-master/sound/soc/intel/catpt/
H A Dregisters.h35 #define CATPT_CS_SFCR(ssp) BIT(27 + (ssp))
39 #define CATPT_CS_SDPM(ssp) BIT(11 + (ssp))
44 #define CATPT_CS_SBCS(ssp) BIT(2 + (ssp))
144 #define catpt_ssp_addr(cdev, ssp) \
145 ((cdev)->lpe_ba + (cdev)->spec->host_ssp_offset[ssp])
151 #define catpt_writel_ssp(cdev, ssp, reg, val) \
152 writel(val, catpt_ssp_addr(cdev, ssp)
[all...]
/linux-master/drivers/scsi/isci/
H A Dscu_remote_node_context.h220 struct ssp_remote_node_context ssp; member in union:scu_remote_node_context
/linux-master/sound/soc/bcm/
H A DMakefile8 snd-soc-cygnus-objs := cygnus-pcm.o cygnus-ssp.o

Completed in 226 milliseconds

123