/openbmc/linux/drivers/spi/ |
H A D | spi-sprd.c | 168 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 …]
|
H A D | spi-sh.c | 81 static void spi_sh_write(struct spi_sh_data *ss, unsigned long data, in spi_sh_write() argument 84 if (ss->width == 8) in spi_sh_write() 85 iowrite8(data, ss->addr + (offset >> 2)); in spi_sh_write() 86 else if (ss->width == 32) in spi_sh_write() 87 iowrite32(data, ss->addr + offset); in spi_sh_write() 90 static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset) in spi_sh_read() argument 92 if (ss->width == 8) in spi_sh_read() 93 return ioread8(ss->addr + (offset >> 2)); in spi_sh_read() 94 else if (ss->width == 32) in spi_sh_read() 95 return ioread32(ss->addr + offset); in spi_sh_read() [all …]
|
/openbmc/linux/tools/testing/selftests/x86/ |
H A D | mov_ss_trap.c | 3 * mov_ss_trap.c: Exercise the bizarre side effects of a watchpoint on MOV SS 5 * This does MOV SS from a watchpointed address followed by various 6 * types of kernel entries. A MOV SS that hits a watchpoint will queue 47 unsigned short ss; variable 66 dr0 = (unsigned long)&ss; in enable_watchpoint() 147 asm volatile ("mov %%ss, %[ss]" : [ss] "=m" (ss)); in main() 148 printf("\tSS = 0x%hx, &SS = 0x%p\n", ss, &ss); in main() 158 asm volatile ("mov %[ss], %[tmp]" : [tmp] "=r" (nr) : [ss] "m" (ss)); in main() 160 printf("[RUN]\tMOV SS; INT3\n"); in main() 161 asm volatile ("mov %[ss], %%ss; int3" :: [ss] "m" (ss)); in main() [all …]
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-core.c | 3 * sun8i-ss-core.c - hardware cryptographic offloader for 30 #include "sun8i-ss.h" 62 int sun8i_ss_get_engine_number(struct sun8i_ss_dev *ss) in sun8i_ss_get_engine_number() argument 64 return atomic_inc_return(&ss->flow) % MAXFLOW; in sun8i_ss_get_engine_number() 67 int sun8i_ss_run_task(struct sun8i_ss_dev *ss, struct sun8i_cipher_req_ctx *rctx, in sun8i_ss_run_task() argument 76 ss->flows[flow].stat_req++; in sun8i_ss_run_task() 107 mutex_lock(&ss->mlock); in sun8i_ss_run_task() 108 writel(rctx->p_key, ss->base + SS_KEY_ADR_REG); in sun8i_ss_run_task() 113 writel(rctx->p_iv[0], ss->base + SS_IV_ADR_REG); in sun8i_ss_run_task() 115 writel(rctx->t_dst[i - 1].addr + rctx->t_dst[i - 1].len * 4 - ivlen, ss->base + SS_IV_ADR_REG); in sun8i_ss_run_task() [all …]
|
H A D | sun8i-ss-prng.c | 3 * 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 D | sun8i-ss-cipher.c | 3 * sun8i-ss-cipher.c - hardware cryptographic offloader for 21 #include "sun8i-ss.h" 75 /* SS need same numbers of SG (with same length) for source and destination */ in sun8i_ss_need_fallback() 124 struct sun8i_ss_dev *ss = op->ss; in sun8i_ss_setup_ivs() local 130 struct sun8i_ss_flow *sf = &ss->flows[rctx->flow]; in sun8i_ss_setup_ivs() 150 a = dma_map_single(ss->dev, sf->iv[i], ivsize, DMA_TO_DEVICE); in sun8i_ss_setup_ivs() 151 if (dma_mapping_error(ss->dev, a)) { in sun8i_ss_setup_ivs() 153 dev_err(ss->dev, "Cannot DMA MAP IV\n"); in sun8i_ss_setup_ivs() 176 dma_unmap_single(ss->dev, rctx->p_iv[i], ivsize, DMA_TO_DEVICE); in sun8i_ss_setup_ivs() 187 struct sun8i_ss_dev *ss = op->ss; in sun8i_ss_cipher() local [all …]
|
H A D | sun8i-ss-hash.c | 3 * sun8i-ss-hash.c - hardware cryptographic offloader for 27 #include "sun8i-ss.h" 51 dev_err(tfmctx->ss->dev, "shash init error ret=%d\n", ret); in sun8i_ss_hashkey() 56 dev_err(tfmctx->ss->dev, "shash finup error\n"); in sun8i_ss_hashkey() 120 op->ss = algt->ss; in sun8i_ss_hash_init_tfm() 126 dev_err(algt->ss->dev, "Fallback driver could no be loaded\n"); in sun8i_ss_hash_init_tfm() 140 err = pm_runtime_get_sync(op->ss->dev); in sun8i_ss_hash_init_tfm() 145 pm_runtime_put_noidle(op->ss->dev); in sun8i_ss_hash_init_tfm() 158 pm_runtime_put_sync_suspend(tfmctx->ss->dev); in sun8i_ss_hash_exit_tfm() 298 static int sun8i_ss_run_hash_task(struct sun8i_ss_dev *ss, in sun8i_ss_run_hash_task() argument [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | sh_spi.c | 43 static void clear_fifo(struct sh_spi *ss) in clear_fifo() argument 45 sh_spi_set_bit(SH_SPI_RSTF, &ss->regs->cr2); in clear_fifo() 46 sh_spi_clear_bit(SH_SPI_RSTF, &ss->regs->cr2); in clear_fifo() 49 static int recvbuf_wait(struct sh_spi *ss) in recvbuf_wait() argument 51 while (sh_spi_read(&ss->regs->cr1) & SH_SPI_RBE) { in recvbuf_wait() 59 static int write_fifo_empty_wait(struct sh_spi *ss) in write_fifo_empty_wait() argument 61 while (!(sh_spi_read(&ss->regs->cr1) & SH_SPI_TBE)) { in write_fifo_empty_wait() 69 static void sh_spi_set_cs(struct sh_spi *ss, unsigned int cs) in sh_spi_set_cs() argument 78 sh_spi_clear_bit(SH_SPI_SSS0 | SH_SPI_SSS1, &ss->regs->cr4); in sh_spi_set_cs() 79 sh_spi_set_bit(val, &ss->regs->cr4); in sh_spi_set_cs() [all …]
|
H A D | sh_qspi.c | 76 static void sh_qspi_init(struct sh_qspi_slave *ss) in sh_qspi_init() argument 80 writeb(SPCR_MSTR, &ss->regs->spcr); in sh_qspi_init() 83 writeb(0x00, &ss->regs->sslp); in sh_qspi_init() 86 writeb(SPPCR_IO3FV|SPPCR_IO2FV, &ss->regs->sppcr); in sh_qspi_init() 89 writeb(0x01, &ss->regs->spbr); in sh_qspi_init() 92 writeb(0x00, &ss->regs->spdcr); in sh_qspi_init() 95 writeb(0x00, &ss->regs->spckd); in sh_qspi_init() 98 writeb(0x00, &ss->regs->sslnd); in sh_qspi_init() 101 writeb(0x00, &ss->regs->spnd); in sh_qspi_init() 104 writew(SPCMD_INIT2, &ss->regs->spcmd0); in sh_qspi_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-ss.c | 73 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 = 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() [all …]
|
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-core.c | 3 * sun4i-ss-core.c - hardware cryptographic accelerator for Allwinner A20 SoC 7 * Core file which registers crypto algorithms supported by the SS. 24 #include "sun4i-ss.h" 50 .cra_driver_name = "md5-sun4i-ss", 77 .cra_driver_name = "sha1-sun4i-ss", 99 .cra_driver_name = "cbc-aes-sun4i-ss", 120 .cra_driver_name = "ecb-aes-sun4i-ss", 142 .cra_driver_name = "cbc-des-sun4i-ss", 163 .cra_driver_name = "ecb-des-sun4i-ss", 185 .cra_driver_name = "cbc-des3-sun4i-ss", [all …]
|
H A D | sun4i-ss-prng.c | 2 #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 D | sun4i-ss-cipher.c | 3 * 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 …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_sourcesink.c | 320 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 …]
|
/openbmc/openbmc/poky/meta/recipes-support/lzo/lzo/ |
H A D | 0001-Use-memcpy-instead-of-reinventing-it.patch | 45 +#define LZO_MEMOPS_COPY1(dd,ss) memcpy(dd, ss, 1) 46 +#define LZO_MEMOPS_COPY2(dd,ss) memcpy(dd, ss, 2) 47 +#define LZO_MEMOPS_COPY4(dd,ss) memcpy(dd, ss, 4) 48 +#define LZO_MEMOPS_COPY8(dd,ss) memcpy(dd, ss, 8) 49 +#define LZO_MEMOPS_COPYN(dd,ss,nn) memcpy(dd, ss, nn) 51 __lzo_static_forceinline lzo_uint16_t lzo_memops_get_le16(const lzo_voidp ss) 70 +#define LZO_MEMOPS_COPY1(dd,ss) memcpy(dd, ss, 1) 71 +#define LZO_MEMOPS_COPY2(dd,ss) memcpy(dd, ss, 2) 72 +#define LZO_MEMOPS_COPY4(dd,ss) memcpy(dd, ss, 4) 73 +#define LZO_MEMOPS_COPY8(dd,ss) memcpy(dd, ss, 8) [all …]
|
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 198 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 …]
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-fifo.c | 47 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 = ss->private_data; 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 …]
|
/openbmc/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-g723.c | 80 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 …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | sctp_hello.c | 11 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 …]
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | ucontext.h | 15 * 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 …]
|
/openbmc/phosphor-logging/test/ |
H A D | remote_logging_test_config.cpp | 13 parseConfig(std::istream& ss); 77 std::stringstream ss(str); in TEST_F() local 78 auto ret = phosphor::rsyslog_config::internal::parseConfig(ss); in TEST_F() 88 std::stringstream ss(str); in TEST_F() local 89 auto ret = phosphor::rsyslog_config::internal::parseConfig(ss); in TEST_F() 97 std::stringstream ss(str); in TEST_F() local 98 auto ret = phosphor::rsyslog_config::internal::parseConfig(ss); in TEST_F() 106 std::stringstream ss(str); in TEST_F() local 107 auto ret = phosphor::rsyslog_config::internal::parseConfig(ss); in TEST_F() 115 std::stringstream ss(str); in TEST_F() local [all …]
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu-virgl.c | 402 struct virtio_gpu_set_scanout ss; in virgl_cmd_set_scanout() local 405 VIRTIO_GPU_FILL_CMD(ss); in virgl_cmd_set_scanout() 406 trace_virtio_gpu_cmd_set_scanout(ss.scanout_id, ss.resource_id, in virgl_cmd_set_scanout() 407 ss.r.width, ss.r.height, ss.r.x, ss.r.y); in virgl_cmd_set_scanout() 409 if (ss.scanout_id >= g->parent_obj.conf.max_outputs) { in virgl_cmd_set_scanout() 411 __func__, ss.scanout_id); in virgl_cmd_set_scanout() 417 if (ss.resource_id && ss.r.width && ss.r.height) { in virgl_cmd_set_scanout() 424 ret = virgl_renderer_resource_get_info_ext(ss.resource_id, &ext); in virgl_cmd_set_scanout() 429 ret = virgl_renderer_resource_get_info(ss.resource_id, &info); in virgl_cmd_set_scanout() 434 __func__, ss.resource_id); in virgl_cmd_set_scanout() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_sseu_debugfs.c | 22 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 …]
|
H A D | intel_sseu.c | 72 int s, ss, total = 0; in compute_eu_total() local 75 for (ss = 0; ss < sseu->max_subslices; ss++) in compute_eu_total() 77 total += hweight16(sseu->eu_mask.xehp[ss]); in compute_eu_total() 79 total += hweight16(sseu->eu_mask.hsw[s][ss]); in compute_eu_total() 100 int s, ss, i; in intel_sseu_copy_eumask_to_user() local 103 for (ss = 0; ss < sseu->max_subslices; ss++) { in intel_sseu_copy_eumask_to_user() 106 ss * eu_stride; in intel_sseu_copy_eumask_to_user() 107 u16 mask = sseu_get_eus(sseu, s, ss); in intel_sseu_copy_eumask_to_user() 134 int s, ss, i; in intel_sseu_copy_ssmask_to_user() local 137 for (ss = 0; ss < sseu->max_subslices; ss++) { in intel_sseu_copy_ssmask_to_user() [all …]
|
/openbmc/linux/drivers/media/pci/tw686x/ |
H A D | tw686x-audio.c | 48 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 …]
|