Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/linux/drivers/spi/
A Dspi-sprd.c413 write_size += ss->write_bufs(ss, len); in sprd_spi_txrx_bufs()
419 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_txrx_bufs()
433 write_size += ss->write_bufs(ss, len); in sprd_spi_txrx_bufs()
442 read_size += ss->read_bufs(ss, len); in sprd_spi_txrx_bufs()
596 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_dma_txrx_bufs()
608 write_size = ss->write_bufs(ss, trans_len); in sprd_spi_dma_txrx_bufs()
625 ss->dma.rx_len = t->len > ss->dma.fragmens_len ? in sprd_spi_dma_txrx_bufs()
661 ss->hw_speed_hz = (ss->src_clk >> 1) / (clk_div + 1); in sprd_spi_set_speed()
830 if (ss->dma.rx_len < ss->len) { in sprd_spi_handle_irq()
831 ss->rx_buf += ss->dma.rx_len; in sprd_spi_handle_irq()
[all …]
A Dspi-sh.c87 if (ss->width == 8) in spi_sh_write()
265 clear_fifo(ss); in spi_sh_receive()
315 clear_fifo(ss); in spi_sh_work()
322 clear_fifo(ss); in spi_sh_work()
335 clear_fifo(ss); in spi_sh_work()
349 clear_fifo(ss); in spi_sh_setup()
406 if (ss->cr1) { in spi_sh_irq()
407 spi_sh_clear_bit(ss, ss->cr1, SPI_SH_CR4); in spi_sh_irq()
420 free_irq(ss->irq, ss); in spi_sh_remove()
454 ss->width = 8; in spi_sh_probe()
[all …]
/linux/drivers/crypto/allwinner/sun8i-ss/
A Dsun8i-ss-core.c117 dev_dbg(ss->dev, in sun8i_ss_run_task()
423 if (!ss_algs[i].ss) in sun8i_ss_debugfs_show()
469 if (!ss->flows) in allocate_flows()
475 ss->flows[i].engine = crypto_engine_alloc_init(ss->dev, true); in allocate_flows()
567 ss_algs[i].ss = ss; in sun8i_ss_register_algs()
668 ss->ssclks[i] = devm_clk_get(ss->dev, ss->variant->ss_clks[i].name); in sun8i_ss_get_clks()
685 err = clk_set_rate(ss->ssclks[i], ss->variant->ss_clks[i].freq); in sun8i_ss_get_clks()
706 ss = devm_kzalloc(&pdev->dev, sizeof(*ss), GFP_KERNEL); in sun8i_ss_probe()
707 if (!ss) in sun8i_ss_probe()
714 if (!ss->variant) { in sun8i_ss_probe()
[all …]
A Dsun8i-ss-prng.c61 struct sun8i_ss_dev *ss; in sun8i_ss_prng_generate() local
70 ss = algt->ss; in sun8i_ss_prng_generate()
88 flow = sun8i_ss_get_engine_number(ss); in sun8i_ss_prng_generate()
115 err = pm_runtime_get_sync(ss->dev); in sun8i_ss_prng_generate()
117 pm_runtime_put_noidle(ss->dev); in sun8i_ss_prng_generate()
122 mutex_lock(&ss->mlock); in sun8i_ss_prng_generate()
130 ss->flows[flow].status = 0; in sun8i_ss_prng_generate()
134 writel(v, ss->base + SS_CTL_REG); in sun8i_ss_prng_generate()
138 if (ss->flows[flow].status == 0) { in sun8i_ss_prng_generate()
154 mutex_unlock(&ss->mlock); in sun8i_ss_prng_generate()
[all …]
A Dsun8i-ss-cipher.c99 struct sun8i_ss_dev *ss = op->ss; in sun8i_ss_cipher() local
129 dev_err(ss->dev, "Cannot DMA MAP KEY\n"); in sun8i_ss_cipher()
156 dev_err(ss->dev, "Cannot DMA MAP IV\n"); in sun8i_ss_cipher()
296 e = sun8i_ss_get_engine_number(op->ss); in sun8i_ss_skdecrypt()
297 engine = op->ss->flows[e].engine; in sun8i_ss_skdecrypt()
317 e = sun8i_ss_get_engine_number(op->ss); in sun8i_ss_skencrypt()
318 engine = op->ss->flows[e].engine; in sun8i_ss_skencrypt()
336 op->ss = algt->ss; in sun8i_ss_cipher_init()
375 pm_runtime_put_sync(op->ss->dev); in sun8i_ss_cipher_exit()
382 struct sun8i_ss_dev *ss = op->ss; in sun8i_ss_aes_setkey() local
[all …]
A Dsun8i-ss-hash.c31 op->ss = algt->ss; in sun8i_ss_hash_crainit()
208 ss->flows[flow].stat_req++; in sun8i_ss_run_hash_task()
223 mutex_lock(&ss->mlock); in sun8i_ss_run_hash_task()
230 dev_dbg(ss->dev, in sun8i_ss_run_hash_task()
242 ss->flows[flow].status = 0; in sun8i_ss_run_hash_task()
246 mutex_unlock(&ss->mlock); in sun8i_ss_run_hash_task()
288 struct sun8i_ss_dev *ss; in sun8i_ss_hash_digest() local
306 ss = algt->ss; in sun8i_ss_hash_digest()
310 engine = ss->flows[e].engine; in sun8i_ss_hash_digest()
325 struct sun8i_ss_dev *ss; in sun8i_ss_hash_run() local
[all …]
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/gpu/drm/imx/dcss/
A Ddcss-ss.c75 if (!ss->in_use) in dcss_ss_write()
78 dcss_ctxld_write(ss->ctxld, ss->ctx_id, val, in dcss_ss_write()
84 struct dcss_ss *ss; in dcss_ss_init() local
86 ss = kzalloc(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()
97 kfree(ss); in dcss_ss_init()
112 if (ss->base_reg) in dcss_ss_exit()
115 kfree(ss); in dcss_ss_exit()
[all …]
/linux/drivers/usb/gadget/function/
A Df_sourcesink.c421 (ss->isoc_mult + 1) * (ss->isoc_maxburst + 1); in sourcesink_bind()
430 (ss->isoc_mult + 1) * (ss->isoc_maxburst + 1); in sourcesink_bind()
442 f->name, ss->in_ep->name, ss->out_ep->name, in sourcesink_bind()
443 ss->iso_in_ep ? ss->iso_in_ep->name : "<none>", in sourcesink_bind()
529 if (!ss) in source_sink_complete()
593 size = ss->isoc_maxpacket * (ss->isoc_mult + 1); in source_sink_start_ep()
600 ep = is_in ? ss->iso_in_ep : ss->iso_out_ep; in source_sink_start_ep()
603 ep = is_in ? ss->in_ep : ss->out_ep; in source_sink_start_ep()
640 disable_endpoints(cdev, ss->in_ep, ss->out_ep, ss->iso_in_ep, in disable_source_sink()
841 ss = kzalloc(sizeof(*ss), GFP_KERNEL); in source_sink_alloc_func()
[all …]
/linux/tools/testing/selftests/x86/
A Dmov_ss_trap.c147 asm volatile ("mov %%ss, %[ss]" : [ss] "=m" (ss)); in main()
148 printf("\tSS = 0x%hx, &SS = 0x%p\n", ss, &ss); in main()
161 asm volatile ("mov %[ss], %%ss; int3" :: [ss] "m" (ss)); in main()
174 asm volatile ("mov %[ss], %%ss; int $4" :: [ss] "m" (ss)); in main()
181 : [tmp] "+r" (nr) : [ss] "m" (ss)); in main()
196 asm volatile ("mov %[ss], %%ss; cli" :: [ss] "m" (ss)); in main()
203 : [tmp] "=r" (nr) : [ss] "m" (ss)); in main()
213 asm volatile ("mov %[ss], %%ss; int $1" :: [ss] "m" (ss)); in main()
233 : "+a" (nr) : [ss] "m" (ss) in main()
262 : [ss] "m" (ss) : "flags", "rcx" in main()
[all …]
/linux/drivers/net/ethernet/mediatek/
A Dmtk_sgmii.c21 ss->ana_rgc3 = ana_rgc3; in mtk_sgmii_init()
28 ss->regmap[i] = syscon_node_to_regmap(np); in mtk_sgmii_init()
29 if (IS_ERR(ss->regmap[i])) in mtk_sgmii_init()
30 return PTR_ERR(ss->regmap[i]); in mtk_sgmii_init()
40 if (!ss->regmap[id]) in mtk_sgmii_setup_mode_an()
44 regmap_write(ss->regmap[id], SGMSYS_PCS_LINK_TIMER, in mtk_sgmii_setup_mode_an()
67 if (!ss->regmap[id]) in mtk_sgmii_setup_mode_force()
70 regmap_read(ss->regmap[id], ss->ana_rgc3, &val); in mtk_sgmii_setup_mode_force()
74 regmap_write(ss->regmap[id], ss->ana_rgc3, val); in mtk_sgmii_setup_mode_force()
113 struct mtk_sgmii *ss = eth->sgmii; in mtk_sgmii_restart_an() local
[all …]
/linux/drivers/crypto/allwinner/sun4i-ss/
A Dsun4i-ss-core.c243 if (!ss_algs[i].ss) in sun4i_ss_dbgfs_read()
368 ss = devm_kzalloc(&pdev->dev, sizeof(*ss), GFP_KERNEL); in sun4i_ss_probe()
369 if (!ss) in sun4i_ss_probe()
379 if (!ss->variant) { in sun4i_ss_probe()
401 if (IS_ERR(ss->reset)) in sun4i_ss_probe()
403 if (!ss->reset) in sun4i_ss_probe()
441 ss->dev = &pdev->dev; in sun4i_ss_probe()
471 ss_algs[i].ss = ss; in sun4i_ss_probe()
501 ss->dbgfs_stats = debugfs_create_file("stats", 0444, ss->dbgfs_dir, ss, in sun4i_ss_probe()
521 sun4i_ss_pm_exit(ss); in sun4i_ss_probe()
[all …]
A Dsun4i-ss-prng.c11 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()
59 ss->seed[i] = v; in sun4i_ss_prng_generate()
63 writel(0, ss->base + SS_CTL); in sun4i_ss_prng_generate()
64 spin_unlock_bh(&ss->slock); in sun4i_ss_prng_generate()
[all …]
A Dsun4i-ss-cipher.c19 struct sun4i_ss_ctx *ss = op->ss; in sun4i_ss_opti_poll() local
74 writel(mode, ss->base + SS_CTL); in sun4i_ss_opti_poll()
146 writel(0, ss->base + SS_CTL); in sun4i_ss_opti_poll()
183 struct sun4i_ss_ctx *ss = op->ss; in sun4i_ss_cipher_poll() local
269 writel(mode, ss->base + SS_CTL); in sun4i_ss_cipher_poll()
314 writesl(ss->base + SS_RXFIFO, ss->buf, in sun4i_ss_cipher_poll()
359 readsl(ss->base + SS_TXFIFO, ss->bufo, tx_cnt); in sun4i_ss_cipher_poll()
396 writel(0, ss->base + SS_CTL); in sun4i_ss_cipher_poll()
551 op->ss = algt->ss; in sun4i_ss_cipher_init()
579 pm_runtime_put(op->ss->dev); in sun4i_ss_cipher_exit()
[all …]
A Dsun4i-ss-hash.c28 op->ss = algt->ss; in sun4i_hash_crainit()
43 pm_runtime_put(op->ss->dev); in sun4i_hash_craexit()
196 struct sun4i_ss_ctx *ss = tfmctx->ss; in sun4i_hash() local
226 spin_lock_bh(&ss->slock); in sun4i_hash()
365 v = readl(ss->base + SS_CTL); in sun4i_hash()
369 dev_err_ratelimited(ss->dev, in sun4i_hash()
466 v = readl(ss->base + SS_CTL); in sun4i_hash()
470 dev_err_ratelimited(ss->dev, in sun4i_hash()
490 if (ss->variant->sha1_in_be) in sun4i_hash()
503 writel(0, ss->base + SS_CTL); in sun4i_hash()
[all …]
/linux/drivers/net/ethernet/myricom/myri10ge/
A Dmyri10ge.c1002 ss = &mgp->ss[i]; in myri10ge_reset()
1013 ss = &mgp->ss[i]; in myri10ge_reset()
1034 ss = &mgp->ss[i]; in myri10ge_reset()
1048 ss = &mgp->ss[i]; in myri10ge_reset()
1416 dev_queue = netdev_get_tx_queue(ss->dev, ss - ss->mgp->ss); in myri10ge_tx_done()
1593 if (ss == mgp->ss) in myri10ge_intr()
1819 ss = &mgp->ss[0]; in myri10ge_get_ethtool_stats()
3438 ss = mgp->ss; in myri10ge_watchdog()
3488 ss = &mgp->ss[i]; in myri10ge_watchdog_timer()
3538 ss = &mgp->ss[i]; in myri10ge_free_slices()
[all …]
/linux/sound/soc/meson/
A Daxg-fifo.c98 struct snd_pcm_substream *ss) in axg_fifo_pcm_pointer() argument
111 struct snd_pcm_substream *ss, in axg_fifo_pcm_hw_params() argument
156 struct snd_pcm_substream *ss, in g12a_fifo_pcm_hw_params() argument
175 struct snd_pcm_substream *ss) in axg_fifo_pcm_hw_free() argument
201 struct snd_pcm_substream *ss = dev_id; in axg_fifo_pcm_irq_block() local
209 snd_pcm_period_elapsed(ss); in axg_fifo_pcm_irq_block()
221 struct snd_pcm_substream *ss) in axg_fifo_pcm_open() argument
246 dev_name(dev), ss); in axg_fifo_pcm_open()
280 free_irq(fifo->irq, ss); in axg_fifo_pcm_open()
286 struct snd_pcm_substream *ss) in axg_fifo_pcm_close() argument
[all …]
/linux/drivers/media/pci/solo6x10/
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()
92 solo_pcm = snd_pcm_substream_chip(ss); in solo_g723_isr()
96 snd_pcm_period_elapsed(ss); in solo_g723_isr()
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()
221 (ss->number * G723_PERIOD_BYTES), in snd_solo_pcm_copy_user()
248 (ss->number * G723_PERIOD_BYTES), in snd_solo_pcm_copy_kernel()
321 struct snd_pcm_substream *ss; in solo_snd_pcm_init() local
[all …]
/linux/drivers/gpu/drm/i915/gt/
A Dintel_sseu_debugfs.c26 int ss; in cherryview_sseu_device_status() local
33 for (ss = 0; ss < ss_max; ss++) { in cherryview_sseu_device_status()
36 if (sig1[ss] & CHV_SS_PG_ENABLE) in cherryview_sseu_device_status()
60 int s, ss; in gen11_sseu_device_status() local
94 for (ss = 0; ss < info->sseu.max_subslices; ss++) { in gen11_sseu_device_status()
103 eu_mask[ss % 2]); in gen11_sseu_device_status()
120 int s, ss; in gen9_sseu_device_status() local
150 for (ss = 0; ss < info->sseu.max_subslices; ss++) { in gen9_sseu_device_status()
153 ss / BITS_PER_BYTE; in gen9_sseu_device_status()
161 BIT(ss % BITS_PER_BYTE); in gen9_sseu_device_status()
[all …]
/linux/kernel/cgroup/
A Dcgroup.c1490 struct cgroup_subsys *ss = cft->ss; in cgroup_file_name() local
3085 struct cgroup_subsys *ss = css->ss; in css_visible() local
4150 cft->ss = ss; in cgroup_init_cftypes()
4706 it->ss = css->ss; in css_task_iter_start()
5103 struct cgroup_subsys *ss = css->ss; in css_free_rwork_fn() local
5152 struct cgroup_subsys *ss = css->ss; in css_release_work_fn() local
5220 css->ss = ss; in init_and_link_css()
5242 struct cgroup_subsys *ss = css->ss; in online_css() local
5263 struct cgroup_subsys *ss = css->ss; in offline_css() local
5804 WARN(!ss->css_alloc || !ss->css_free || ss->name || ss->id, in cgroup_init_early()
[all …]
/linux/net/netfilter/
A Dnfnetlink.c160 return &ss->cb[cb_id]; in nfnetlink_find_client()
228 if (!ss) { in nfnetlink_rcv_msg()
234 if (!ss) in nfnetlink_rcv_msg()
388 if (!ss) { in nfnetlink_rcv_batch()
394 if (!ss) in nfnetlink_rcv_batch()
403 if (!ss->valid_genid || !ss->commit || !ss->abort) { in nfnetlink_rcv_batch()
416 module_put(ss->owner); in nfnetlink_rcv_batch()
587 if (ss->cleanup) in nfnetlink_rcv_batch()
588 ss->cleanup(net); in nfnetlink_rcv_batch()
592 module_put(ss->owner); in nfnetlink_rcv_batch()
[all …]
/linux/drivers/media/pci/tw686x/
A Dtw686x-audio.c77 snd_pcm_period_elapsed(ac->ss); in tw686x_audio_irq()
106 struct tw686x_dev *dev = snd_pcm_substream_chip(ss); in tw686x_pcm_open()
108 struct snd_pcm_runtime *rt = ss->runtime; in tw686x_pcm_open()
111 ac->ss = ss; in tw686x_pcm_open()
123 struct tw686x_dev *dev = snd_pcm_substream_chip(ss); in tw686x_pcm_close()
126 ac->ss = NULL; in tw686x_pcm_close()
134 struct snd_pcm_runtime *rt = ss->runtime; in tw686x_pcm_prepare()
255 return bytes_to_frames(ss->runtime, ac->ptr); in tw686x_pcm_pointer()
270 struct snd_pcm_substream *ss; in tw686x_snd_pcm_init() local
284 ss; ss = ss->next, i++) in tw686x_snd_pcm_init()
[all …]
/linux/drivers/infiniband/hw/qib/
A Dqib_sdma.c70 kref_get(&ss->kref); in sdma_get()
78 complete(&ss->comp); in sdma_complete()
88 sdma_put(ss); in sdma_finalput()
175 for (bufno = ss->first_sendbuf; bufno < ss->last_sendbuf; ++bufno) in sdma_hw_start_up()
186 sdma_put(ss); in sdma_sw_tear_down()
202 ss->previous_state = ss->current_state; in sdma_set_state()
203 ss->previous_op = ss->current_op; in sdma_set_state()
220 ss->go_s99_running = 0; in sdma_set_state()
225 ss->current_op = op; in sdma_set_state()
565 sge = &ss->sge; in qib_sdma_verbs_send()
[all …]
/linux/include/rdma/
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()
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()
141 struct rvt_sge *sge = &ss->sge; in rvt_skip_sge()
147 rvt_update_sge(ss, len, release); in rvt_skip_sge()
[all …]
/linux/security/selinux/
A DMakefile10 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
11 ss/policydb.o ss/services.o ss/conditional.o ss/mls.o ss/context.o

Completed in 73 milliseconds

12345678910>>...15