Home
last modified time | relevance | path

Searched full:ss (Results 1 – 25 of 611) sorted by relevance

12345678910>>...25

/linux/drivers/spi/
H A Dspi-sprd.c168 int (*read_bufs)(struct sprd_spi *ss, u32 len);
169 int (*write_bufs)(struct sprd_spi *ss, u32 len);
172 static u32 sprd_spi_transfer_max_timeout(struct sprd_spi *ss, in sprd_spi_transfer_max_timeout() argument
180 u32 bit_time_us = DIV_ROUND_UP(USEC_PER_SEC, ss->hw_speed_hz); in sprd_spi_transfer_max_timeout()
186 u32 interval_cycle = SPRD_SPI_FIFO_SIZE * ss->word_delay; in sprd_spi_transfer_max_timeout()
188 ss->src_clk); in sprd_spi_transfer_max_timeout()
193 static int sprd_spi_wait_for_tx_end(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_wait_for_tx_end() argument
198 us = sprd_spi_transfer_max_timeout(ss, t); in sprd_spi_wait_for_tx_end()
199 ret = readl_relaxed_poll_timeout(ss->base + SPRD_SPI_INT_RAW_STS, val, in sprd_spi_wait_for_tx_end()
202 dev_err(ss->dev, "SPI error, spi send timeout!\n"); in sprd_spi_wait_for_tx_end()
[all …]
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-ss.c73 static void dcss_ss_write(struct dcss_ss *ss, u32 val, u32 ofs) in dcss_ss_write() argument
75 if (!ss->in_use) in dcss_ss_write()
76 dcss_writel(val, ss->base_reg + ofs); in dcss_ss_write()
78 dcss_ctxld_write(ss->ctxld, ss->ctx_id, val, in dcss_ss_write()
79 ss->base_ofs + ofs); in dcss_ss_write()
84 struct dcss_ss *ss; in dcss_ss_init() local
86 ss = devm_kzalloc(dcss->dev, sizeof(*ss), GFP_KERNEL); in dcss_ss_init()
87 if (!ss) in dcss_ss_init()
90 dcss->ss = ss; in dcss_ss_init()
91 ss->dev = dcss->dev; in dcss_ss_init()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_devcoredump.c88 struct xe_devcoredump_snapshot *ss; in __xe_devcoredump_read() local
95 ss = &coredump->snapshot; in __xe_devcoredump_read()
104 drm_printf(&p, "Reason: %s\n", ss->reason); in __xe_devcoredump_read()
108 ts = ktime_to_timespec64(ss->snapshot_time); in __xe_devcoredump_read()
110 ts = ktime_to_timespec64(ss->boot_time); in __xe_devcoredump_read()
112 drm_printf(&p, "Process: %s [%d]\n", ss->process_name, ss->pid); in __xe_devcoredump_read()
115 drm_printf(&p, "\n**** GT #%d ****\n", ss->gt->info.id); in __xe_devcoredump_read()
116 drm_printf(&p, "\tTile: %d\n", ss->gt->tile->id); in __xe_devcoredump_read()
119 xe_guc_log_snapshot_print(ss->guc.log, &p); in __xe_devcoredump_read()
121 xe_guc_ct_snapshot_print(ss->guc.ct, &p); in __xe_devcoredump_read()
[all …]
/linux/drivers/usb/gadget/function/
H A Df_sourcesink.c320 struct f_sourcesink *ss = func_to_ss(f); in sourcesink_bind() local
332 ss->in_ep = usb_ep_autoconfig(cdev->gadget, &fs_source_desc); in sourcesink_bind()
333 if (!ss->in_ep) { in sourcesink_bind()
340 ss->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_sink_desc); in sourcesink_bind()
341 if (!ss->out_ep) in sourcesink_bind()
345 if (ss->isoc_interval < 1) in sourcesink_bind()
346 ss->isoc_interval = 1; in sourcesink_bind()
347 if (ss->isoc_interval > 16) in sourcesink_bind()
348 ss->isoc_interval = 16; in sourcesink_bind()
349 if (ss->isoc_mult > 2) in sourcesink_bind()
[all …]
/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-prng.c3 * sun8i-ss-prng.c - hardware cryptographic offloader for
8 * This file handle the PRNG found in the SS
12 #include "sun8i-ss.h"
64 struct sun8i_ss_dev *ss; in sun8i_ss_prng_generate() local
73 ss = algt->ss; in sun8i_ss_prng_generate()
76 dev_err(ss->dev, "The PRNG is not seeded\n"); in sun8i_ss_prng_generate()
80 /* The SS does not give an updated seed, so we need to get a new one. in sun8i_ss_prng_generate()
95 flow = sun8i_ss_get_engine_number(ss); in sun8i_ss_prng_generate()
108 dma_iv = dma_map_single(ss->dev, ctx->seed, ctx->slen, DMA_TO_DEVICE); in sun8i_ss_prng_generate()
109 if (dma_mapping_error(ss->dev, dma_iv)) { in sun8i_ss_prng_generate()
[all …]
H A DMakefile1 obj-$(CONFIG_CRYPTO_DEV_SUN8I_SS) += sun8i-ss.o
2 sun8i-ss-y += sun8i-ss-core.o sun8i-ss-cipher.o
3 sun8i-ss-$(CONFIG_CRYPTO_DEV_SUN8I_SS_PRNG) += sun8i-ss-prng.o
4 sun8i-ss-$(CONFIG_CRYPTO_DEV_SUN8I_SS_HASH) += sun8i-ss-hash.o
/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c198 struct myri10ge_slice_state *ss; member
917 struct myri10ge_slice_state *ss; in myri10ge_reset() local
945 bytes = mgp->max_intr_slots * sizeof(*mgp->ss[0].rx_done.entry); in myri10ge_reset()
1002 ss = &mgp->ss[i]; in myri10ge_reset()
1003 cmd.data0 = MYRI10GE_LOWPART_TO_U32(ss->rx_done.bus); in myri10ge_reset()
1004 cmd.data1 = MYRI10GE_HIGHPART_TO_U32(ss->rx_done.bus); in myri10ge_reset()
1013 ss = &mgp->ss[i]; in myri10ge_reset()
1014 ss->irq_claim = in myri10ge_reset()
1034 ss = &mgp->ss[i]; in myri10ge_reset()
1036 ss->dca_tag = (__iomem __be32 *) in myri10ge_reset()
[all …]
/linux/sound/soc/meson/
H A Daxg-fifo.c47 static struct snd_soc_dai *axg_fifo_dai(struct snd_pcm_substream *ss) in axg_fifo_dai() argument
49 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(ss); in axg_fifo_dai()
54 static struct axg_fifo *axg_fifo_data(struct snd_pcm_substream *ss) in axg_fifo_data() argument
56 struct snd_soc_dai *dai = axg_fifo_dai(ss); in axg_fifo_data()
61 static struct device *axg_fifo_dev(struct snd_pcm_substream *ss) in axg_fifo_dev() argument
63 struct snd_soc_dai *dai = axg_fifo_dai(ss); in axg_fifo_dev()
75 struct snd_pcm_substream *ss, int cmd) in axg_fifo_pcm_trigger() argument
77 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_trigger()
99 struct snd_pcm_substream *ss) in axg_fifo_pcm_pointer() argument
101 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_pointer()
[all …]
/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-prng.c2 #include "sun4i-ss.h"
11 memcpy(algt->ss->seed, seed, slen); in sun4i_ss_prng_seed()
26 struct sun4i_ss_ctx *ss; in sun4i_ss_prng_generate() local
30 ss = algt->ss; in sun4i_ss_prng_generate()
32 err = pm_runtime_resume_and_get(ss->dev); in sun4i_ss_prng_generate()
41 spin_lock_bh(&ss->slock); in sun4i_ss_prng_generate()
43 writel(mode, ss->base + SS_CTL); in sun4i_ss_prng_generate()
48 writel(ss->seed[i], ss->base + SS_KEY0 + i * 4); in sun4i_ss_prng_generate()
52 readsl(ss->base + SS_TXFIFO, data, len / 4); in sun4i_ss_prng_generate()
58 v = readl(ss->base + SS_KEY0 + i * 4); in sun4i_ss_prng_generate()
[all …]
H A Dsun4i-ss-cipher.c3 * sun4i-ss-cipher.c - hardware cryptographic accelerator for Allwinner A20 SoC
13 #include "sun4i-ss.h"
19 struct sun4i_ss_ctx *ss = op->ss; in sun4i_ss_opti_poll() local
23 /* when activating SS, the default FIFO space is SS_RX_DEFAULT(32) */ in sun4i_ss_opti_poll()
45 dev_err_ratelimited(ss->dev, "ERROR: Some SGs are NULL\n"); in sun4i_ss_opti_poll()
60 spin_lock_irqsave(&ss->slock, flags); in sun4i_ss_opti_poll()
63 writesl(ss->base + SS_KEY0 + i * 4, &op->key[i], 1); in sun4i_ss_opti_poll()
68 writesl(ss->base + SS_IV0 + i * 4, &v, 1); in sun4i_ss_opti_poll()
71 writel(mode, ss->base + SS_CTL); in sun4i_ss_opti_poll()
86 dev_err_ratelimited(ss->dev, "ERROR: sg_miter return null\n"); in sun4i_ss_opti_poll()
[all …]
H A Dsun4i-ss-hash.c3 * sun4i-ss-hash.c - hardware cryptographic accelerator for Allwinner A20 SoC
11 #include "sun4i-ss.h"
28 op->ss = algt->ss; in sun4i_hash_crainit()
30 err = pm_runtime_resume_and_get(op->ss->dev); in sun4i_hash_crainit()
43 pm_runtime_put(op->ss->dev); in sun4i_hash_craexit()
154 * Write data by step of 32bits and put then in the SS.
160 * So the first work is to get the number of bytes to write to SS modulo 64
196 struct sun4i_ss_ctx *ss = tfmctx->ss; in sun4i_hash() local
204 dev_dbg(ss->dev, "%s %s bc=%llu len=%u mode=%x wl=%u h0=%0x", in sun4i_hash()
214 dev_err(ss->dev, "Cannot process too large request\n"); in sun4i_hash()
[all …]
H A DMakefile2 obj-$(CONFIG_CRYPTO_DEV_SUN4I_SS) += sun4i-ss.o
3 sun4i-ss-y += sun4i-ss-core.o sun4i-ss-hash.o sun4i-ss-cipher.o
4 sun4i-ss-$(CONFIG_CRYPTO_DEV_SUN4I_SS_PRNG) += sun4i-ss-prng.o
/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-g723.c80 struct snd_pcm_substream *ss; in solo_g723_isr() local
83 for (ss = pstr->substream; ss != NULL; ss = ss->next) { in solo_g723_isr()
84 if (snd_pcm_substream_chip(ss) == NULL) in solo_g723_isr()
88 if (snd_pcm_substream_chip(ss) == solo_dev) in solo_g723_isr()
92 solo_pcm = snd_pcm_substream_chip(ss); in solo_g723_isr()
96 snd_pcm_period_elapsed(ss); in solo_g723_isr()
118 static int snd_solo_pcm_open(struct snd_pcm_substream *ss) in snd_solo_pcm_open() argument
120 struct solo_dev *solo_dev = snd_pcm_substream_chip(ss); in snd_solo_pcm_open()
136 ss->runtime->hw = snd_solo_pcm_hw; in snd_solo_pcm_open()
138 snd_pcm_substream_chip(ss) = solo_pcm; in snd_solo_pcm_open()
[all …]
/linux/tools/testing/selftests/net/
H A Dsctp_hello.c11 static void set_addr(struct sockaddr_storage *ss, char *ip, char *port, int *len) in set_addr() argument
13 if (ss->ss_family == AF_INET) { in set_addr()
14 struct sockaddr_in *a = (struct sockaddr_in *)ss; in set_addr()
20 struct sockaddr_in6 *a = (struct sockaddr_in6 *)ss; in set_addr()
31 struct sockaddr_storage ss; in do_client() local
40 bzero((void *)&ss, sizeof(ss)); in do_client()
41 ss.ss_family = !strcmp(argv[2], "-4") ? AF_INET : AF_INET6; in do_client()
42 csk = socket(ss.ss_family, SOCK_STREAM, IPPROTO_SCTP); in do_client()
49 set_addr(&ss, argv[5], argv[6], &len); in do_client()
50 ret = bind(csk, (struct sockaddr *)&ss, len); in do_client()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_sseu_debugfs.c22 int ss; in cherryview_sseu_device_status() local
29 for (ss = 0; ss < ss_max; ss++) { in cherryview_sseu_device_status()
32 if (sig1[ss] & CHV_SS_PG_ENABLE) in cherryview_sseu_device_status()
37 sseu->subslice_mask.hsw[0] |= BIT(ss); in cherryview_sseu_device_status()
38 eu_cnt = ((sig1[ss] & CHV_EU08_PG_ENABLE) ? 0 : 2) + in cherryview_sseu_device_status()
39 ((sig1[ss] & CHV_EU19_PG_ENABLE) ? 0 : 2) + in cherryview_sseu_device_status()
40 ((sig1[ss] & CHV_EU210_PG_ENABLE) ? 0 : 2) + in cherryview_sseu_device_status()
41 ((sig2[ss] & CHV_EU311_PG_ENABLE) ? 0 : 2); in cherryview_sseu_device_status()
56 int s, ss; in gen11_sseu_device_status() local
60 * FIXME: Valid SS Mask respects the spec and read in gen11_sseu_device_status()
[all …]
/linux/drivers/media/pci/tw686x/
H A Dtw686x-audio.c48 if (!ac->ss || !ac->curr_bufs[0] || !ac->curr_bufs[1]) { in tw686x_audio_irq()
77 snd_pcm_period_elapsed(ac->ss); in tw686x_audio_irq()
104 static int tw686x_pcm_open(struct snd_pcm_substream *ss) in tw686x_pcm_open() argument
106 struct tw686x_dev *dev = snd_pcm_substream_chip(ss); in tw686x_pcm_open()
107 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; in tw686x_pcm_open()
108 struct snd_pcm_runtime *rt = ss->runtime; in tw686x_pcm_open()
111 ac->ss = ss; in tw686x_pcm_open()
121 static int tw686x_pcm_close(struct snd_pcm_substream *ss) in tw686x_pcm_close() argument
123 struct tw686x_dev *dev = snd_pcm_substream_chip(ss); in tw686x_pcm_close()
124 struct tw686x_audio_channel *ac = &dev->audio_channels[ss->number]; in tw686x_pcm_close()
[all …]
/linux/arch/x86/include/uapi/asm/
H A Ducontext.h15 * kernels that save SS in the sigcontext. All kernels that set
17 * regardless of SS (i.e. they implement espfix).
22 * Sigreturn restores SS as follows:
24 * if (saved SS is valid || UC_STRICT_RESTORE_SS is set ||
26 * new SS = saved SS (will fail IRET and signal if invalid)
28 * new SS = a flat 32-bit data segment
33 * with zero or garbage in the SS slot (e.g. old CRIU) and call
37 * context, delete the old SS segment (with modify_ldt), and change
40 * despite the fact that the SS selector when the signal was raised is
42 * will fix up SS for these DOSEMU versions.
[all …]
/linux/net/netfilter/
H A Dnfnetlink.c158 nfnetlink_find_client(u16 type, const struct nfnetlink_subsystem *ss) in nfnetlink_find_client() argument
162 if (cb_id >= ss->cb_count) in nfnetlink_find_client()
165 return &ss->cb[cb_id]; in nfnetlink_find_client()
221 const struct nfnetlink_subsystem *ss; in nfnetlink_rcv_msg() local
232 ss = nfnetlink_get_subsys(type); in nfnetlink_rcv_msg()
233 if (!ss) { in nfnetlink_rcv_msg()
238 ss = nfnetlink_get_subsys(type); in nfnetlink_rcv_msg()
239 if (!ss) in nfnetlink_rcv_msg()
247 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_msg()
270 if (ss in nfnetlink_rcv_msg()
376 const struct nfnetlink_subsystem *ss; nfnetlink_rcv_batch() local
710 const struct nfnetlink_subsystem *ss; nfnetlink_bind() local
[all...]
/linux/kernel/cgroup/
H A Dcgroup.c287 struct cgroup_subsys *ss);
519 * @ss: the subsystem of interest (%NULL returns @cgrp->self)
521 * Return @cgrp's css (cgroup_subsys_state) associated with @ss. This
528 struct cgroup_subsys *ss) in cgroup_css() argument
530 if (CGROUP_HAS_SUBSYS_CONFIG && ss) in cgroup_css()
531 return rcu_dereference_check(cgrp->subsys[ss->id], in cgroup_css()
538 * cgroup_e_css_by_mask - obtain a cgroup's effective css for the specified ss
540 * @ss: the subsystem of interest (%NULL returns @cgrp->self)
543 * as the matching css of the nearest ancestor including self which has @ss
544 * enabled. If @ss is associated with the hierarchy @cgrp is on, this
[all …]
H A Drstat.c21 * they define the ss->css_rstat_flush callback.
25 return css_is_self(css) || css->ss->css_rstat_flush != NULL; in css_uses_rstat()
40 static spinlock_t *ss_rstat_lock(struct cgroup_subsys *ss) in ss_rstat_lock() argument
42 if (ss) in ss_rstat_lock()
43 return &ss->rstat_ss_lock; in ss_rstat_lock()
48 static inline struct llist_head *ss_lhead_cpu(struct cgroup_subsys *ss, int cpu) in ss_lhead_cpu() argument
50 if (ss) in ss_lhead_cpu()
51 return per_cpu_ptr(ss->lhead, cpu); in ss_lhead_cpu()
60 * Atomically inserts the css in the ss's llist for the given cpu. This is
61 * reentrant safe i.e. safe against softirq, hardirq and nmi. The ss's llist
[all …]
/linux/include/rdma/
H A Drdmavt_mr.h93 static inline void rvt_put_ss(struct rvt_sge_state *ss) in rvt_put_ss() argument
95 while (ss->num_sge) { in rvt_put_ss()
96 rvt_put_mr(ss->sge.mr); in rvt_put_ss()
97 if (--ss->num_sge) in rvt_put_ss()
98 ss->sge = *ss->sg_list++; in rvt_put_ss()
114 static inline void rvt_update_sge(struct rvt_sge_state *ss, u32 length, in rvt_update_sge() argument
117 struct rvt_sge *sge = &ss->sge; in rvt_update_sge()
125 if (--ss->num_sge) in rvt_update_sge()
126 *sge = *ss->sg_list++; in rvt_update_sge()
138 static inline void rvt_skip_sge(struct rvt_sge_state *ss, u32 length, in rvt_skip_sge() argument
[all …]
/linux/tools/testing/selftests/kvm/x86/
H A Dnested_exceptions_test.c12 * the "real" exceptions used, #SS/#GP/#DF (12/13/8).
38 * The #GP that occurs when vectoring #SS should show the index into the IDT
39 * for #SS, plus have the "IDT flag" set.
213 * honors L1 exception intercept controls when a #SS is pending/injected,
214 * triggers a #GP on vectoring the #SS, morphs to #DF if #GP isn't intercepted
237 /* Run L1 => L2. L2 should sync and request #SS. */ in main()
241 /* Pend #SS and request immediate exit. #SS should still be pending. */ in main()
256 * Run for real with the pending #SS, L1 should get a VM-Exit due to in main()
257 * #SS interception and re-enter L2 to request #GP (via injected #SS). in main()
264 * Inject #SS, the #SS should bypass interception and cause #GP, which in main()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Drate.c45 /* MCS 0: SS 1, MOD: BPSK, CR 1/2 */
48 /* MCS 1: SS 1, MOD: QPSK, CR 1/2 */
51 /* MCS 2: SS 1, MOD: QPSK, CR 3/4 */
54 /* MCS 3: SS 1, MOD: 16QAM, CR 1/2 */
57 /* MCS 4: SS 1, MOD: 16QAM, CR 3/4 */
60 /* MCS 5: SS 1, MOD: 64QAM, CR 2/3 */
63 /* MCS 6: SS 1, MOD: 64QAM, CR 3/4 */
66 /* MCS 7: SS 1, MOD: 64QAM, CR 5/6 */
69 /* MCS 8: SS 2, MOD: BPSK, CR 1/2 */
72 /* MCS 9: SS 2, MOD: QPSK, CR 1/2 */
[all …]
/linux/drivers/crypto/allwinner/
H A DKconfig25 will be called sun4i-ss.
36 bool "Enable sun4i-ss stats"
40 Say y to enable sun4i-ss debug stats.
41 This will create /sys/kernel/debug/sun4i-ss/stats for displaying
113 will be called sun8i-ss.
116 bool "Enable sun8i-ss stats"
120 Say y to enable sun8i-ss debug stats.
121 This will create /sys/kernel/debug/sun8i-ss/stats for displaying
133 bool "Enable support for hash on sun8i-ss"
/linux/sound/parisc/
H A Dharmony.c284 snd_harmony_playback_trigger(struct snd_pcm_substream *ss, int cmd)
286 struct snd_harmony *h = snd_pcm_substream_chip(ss);
318 snd_harmony_capture_trigger(struct snd_pcm_substream *ss, int cmd) in snd_harmony_playback_trigger()
320 struct snd_harmony *h = snd_pcm_substream_chip(ss); in snd_harmony_playback_trigger()
382 snd_harmony_playback_prepare(struct snd_pcm_substream *ss) in snd_harmony_set_data_format()
384 struct snd_harmony *h = snd_pcm_substream_chip(ss); in snd_harmony_set_data_format()
385 struct snd_pcm_runtime *rt = ss->runtime; in snd_harmony_set_data_format()
390 h->pbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_set_data_format()
391 h->pbuf.count = snd_pcm_lib_period_bytes(ss); in snd_harmony_set_data_format()
412 snd_harmony_capture_prepare(struct snd_pcm_substream *ss) in snd_harmony_playback_prepare()
293 snd_harmony_playback_trigger(struct snd_pcm_substream * ss,int cmd) snd_harmony_playback_trigger() argument
329 snd_harmony_capture_trigger(struct snd_pcm_substream * ss,int cmd) snd_harmony_capture_trigger() argument
395 snd_harmony_playback_prepare(struct snd_pcm_substream * ss) snd_harmony_playback_prepare() argument
425 snd_harmony_capture_prepare(struct snd_pcm_substream * ss) snd_harmony_capture_prepare() argument
455 snd_harmony_playback_pointer(struct snd_pcm_substream * ss) snd_harmony_playback_pointer() argument
484 snd_harmony_capture_pointer(struct snd_pcm_substream * ss) snd_harmony_capture_pointer() argument
513 snd_harmony_playback_open(struct snd_pcm_substream * ss) snd_harmony_playback_open() argument
532 snd_harmony_capture_open(struct snd_pcm_substream * ss) snd_harmony_capture_open() argument
551 snd_harmony_playback_close(struct snd_pcm_substream * ss) snd_harmony_playback_close() argument
559 snd_harmony_capture_close(struct snd_pcm_substream * ss) snd_harmony_capture_close() argument
[all...]

12345678910>>...25