Searched refs:sub (Results 1 - 25 of 588) sorted by relevance

1234567891011>>

/linux-master/sound/soc/uniphier/
H A Daio-compress.c29 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; local
37 sub->compr_area = kzalloc(size, GFP_KERNEL);
38 if (!sub->compr_area)
41 if (sub->swm->dir == PORT_DIR_OUTPUT)
44 sub->compr_addr = dma_map_single(dev, sub->compr_area, size, dma_dir);
45 if (dma_mapping_error(dev, sub->compr_addr)) {
46 kfree(sub->compr_area);
47 sub
62 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; local
80 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; local
106 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; local
127 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; local
140 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; local
171 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; local
184 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; local
223 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; local
257 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; local
281 aio_compr_send_to_hw(struct uniphier_aio_sub *sub, char __user *buf, size_t dstsize) argument
332 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; local
[all...]
H A Daio-core.c53 u64 aio_rb_cnt(struct uniphier_aio_sub *sub) argument
55 return rb_cnt(sub->wr_offs, sub->rd_offs, sub->compr_bytes);
58 u64 aio_rbt_cnt_to_end(struct uniphier_aio_sub *sub) argument
60 return rb_cnt_to_end(sub->wr_offs, sub->rd_offs, sub->compr_bytes);
63 u64 aio_rb_space(struct uniphier_aio_sub *sub) argument
65 return rb_space(sub
68 aio_rb_space_to_end(struct uniphier_aio_sub *sub) argument
200 aio_init(struct uniphier_aio_sub *sub) argument
250 aio_port_reset(struct uniphier_aio_sub *sub) argument
277 aio_port_set_ch(struct uniphier_aio_sub *sub) argument
330 aio_port_set_rate(struct uniphier_aio_sub *sub, int rate) argument
449 aio_port_set_fmt(struct uniphier_aio_sub *sub) argument
514 aio_port_set_clk(struct uniphier_aio_sub *sub) argument
613 aio_port_set_param(struct uniphier_aio_sub *sub, int pass_through, const struct snd_pcm_hw_params *params) argument
675 aio_port_set_enable(struct uniphier_aio_sub *sub, int enable) argument
723 aio_port_get_volume(struct uniphier_aio_sub *sub) argument
742 aio_port_set_volume(struct uniphier_aio_sub *sub, int vol) argument
786 aio_if_set_param(struct uniphier_aio_sub *sub, int pass_through) argument
836 aio_oport_set_stream_type(struct uniphier_aio_sub *sub, enum IEC61937_PC pc) argument
897 aio_src_reset(struct uniphier_aio_sub *sub) argument
919 aio_src_set_param(struct uniphier_aio_sub *sub, const struct snd_pcm_hw_params *params) argument
964 aio_srcif_set_param(struct uniphier_aio_sub *sub) argument
978 aio_srcch_set_param(struct uniphier_aio_sub *sub) argument
999 aio_srcch_set_enable(struct uniphier_aio_sub *sub, int enable) argument
1013 aiodma_ch_set_param(struct uniphier_aio_sub *sub) argument
1033 aiodma_ch_set_enable(struct uniphier_aio_sub *sub, int enable) argument
1054 aiodma_rb_get_rp(struct uniphier_aio_sub *sub) argument
1073 aiodma_rb_set_rp(struct uniphier_aio_sub *sub, u64 pos) argument
1087 aiodma_rb_get_wp(struct uniphier_aio_sub *sub) argument
1106 aiodma_rb_set_wp(struct uniphier_aio_sub *sub, u64 pos) argument
1122 aiodma_rb_set_threshold(struct uniphier_aio_sub *sub, u64 size, u32 th) argument
1135 aiodma_rb_set_buffer(struct uniphier_aio_sub *sub, u64 start, u64 end, int period) argument
1188 aiodma_rb_sync(struct uniphier_aio_sub *sub, u64 start, u64 size, int period) argument
1228 aiodma_rb_is_irq(struct uniphier_aio_sub *sub) argument
1241 aiodma_rb_clear_irq(struct uniphier_aio_sub *sub) argument
[all...]
H A Daio-dma.c28 static void aiodma_pcm_irq(struct uniphier_aio_sub *sub) argument
30 struct snd_pcm_runtime *runtime = sub->substream->runtime;
35 spin_lock(&sub->lock);
36 ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes,
37 sub->threshold + bytes);
39 sub->threshold += bytes;
41 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes);
42 aiodma_rb_clear_irq(sub);
43 spin_unlock(&sub->lock);
45 snd_pcm_period_elapsed(sub
48 aiodma_compr_irq(struct uniphier_aio_sub *sub) argument
78 struct uniphier_aio_sub *sub = &aio->sub[j]; local
113 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; local
140 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; local
176 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; local
[all...]
H A Daio-cpu.c52 struct uniphier_aio_sub *sub = &chip->aios[i].sub[0]; local
54 if (!sub->swm)
57 if (sub->swm->oport.hw == oport_hw)
58 return sub;
258 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; local
260 sub->substream = substream;
261 sub->pass_through = 0;
262 sub
271 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; local
281 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; local
319 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; local
330 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; local
364 struct uniphier_aio_sub *sub = &aio->sub[i]; local
573 struct uniphier_aio_sub *sub = &aio->sub[i]; local
628 struct uniphier_aio_sub *sub; local
645 struct uniphier_aio_sub *sub; local
781 struct uniphier_aio_sub *sub = &aio->sub[j]; local
[all...]
H A Daio.h232 /* Guard sub->rd_offs and wr_offs from IRQ handler. */
269 struct uniphier_aio_sub sub[2]; member in struct:uniphier_aio
318 u64 aio_rb_cnt(struct uniphier_aio_sub *sub);
319 u64 aio_rbt_cnt_to_end(struct uniphier_aio_sub *sub);
320 u64 aio_rb_space(struct uniphier_aio_sub *sub);
321 u64 aio_rb_space_to_end(struct uniphier_aio_sub *sub);
327 int aio_init(struct uniphier_aio_sub *sub);
328 void aio_port_reset(struct uniphier_aio_sub *sub);
329 int aio_port_set_param(struct uniphier_aio_sub *sub, int pass_through,
331 void aio_port_set_enable(struct uniphier_aio_sub *sub, in
[all...]
/linux-master/drivers/media/pci/bt8xx/
H A Dbttv-gpio.c4 bttv-gpio.c -- gpio sub drivers
6 sysfs-based sub driver interface for bttv
33 struct bttv_sub_driver *sub = to_bttv_sub_drv(drv); local
34 int len = strlen(sub->wanted);
36 if (0 == strncmp(dev_name(dev), sub->wanted, len))
44 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); local
46 return sub->probe ? sub->probe(sdev) : -ENODEV;
52 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); local
54 if (sub
67 struct bttv_sub_device *sub = to_bttv_sub_dev(dev); local
73 struct bttv_sub_device *sub; local
98 struct bttv_sub_device *sub, *save; local
110 bttv_sub_register(struct bttv_sub_driver *sub, char *wanted) argument
118 bttv_sub_unregister(struct bttv_sub_driver *sub) argument
[all...]
/linux-master/net/tipc/
H A Dsubscr.c42 static void tipc_sub_send_event(struct tipc_subscription *sub, argument
46 struct tipc_subscr *s = &sub->evt.s;
47 struct tipc_event *evt = &sub->evt;
49 if (sub->inactive)
63 tipc_topsrv_queue_evt(sub->net, sub->conid, event, evt);
86 void tipc_sub_report_overlap(struct tipc_subscription *sub, argument
90 struct tipc_service_range *sr = &sub->s.seq;
91 u32 filter = sub->s.filter;
101 spin_lock(&sub
108 struct tipc_subscription *sub = from_timer(sub, t, timer); local
138 struct tipc_subscription *sub; local
176 tipc_sub_unsubscribe(struct tipc_subscription *sub) argument
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.h53 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \
54 static ssize_t sub## _ ##name## _read(struct file *file, \
64 stats->sub.name); \
67 static const struct file_operations sub## _ ##name## _ops = { \
68 .read = sub## _ ##name## _read, \
73 #define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \
74 static ssize_t sub## _ ##name## _read(struct file *file, \
88 "[%d] = %d\n", i, stats->sub.name[i]); \
93 static const struct file_operations sub## _ ##name## _ops = { \
94 .read = sub##
[all...]
/linux-master/sound/usb/6fire/
H A Dpcm.c192 static void usb6fire_pcm_capture(struct pcm_substream *sub, struct pcm_urb *urb) argument
198 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance);
199 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime;
201 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off
228 sub->dma_off++;
229 sub->period_off++;
231 sub->dma_off = 0;
239 static void usb6fire_pcm_playback(struct pcm_substream *sub, argument
245 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance);
246 struct snd_pcm_runtime *alsa_rt = sub
291 struct pcm_substream *sub; local
389 struct pcm_substream *sub = NULL; local
425 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); local
452 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); local
496 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); local
528 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); local
[all...]
/linux-master/tools/perf/util/
H A Dsetup.py3 from re import sub namespace
26 vars[var] = sub("-specs=[^ ]+", "", vars[var])
28 vars[var] = sub("-mcet", "", vars[var])
30 vars[var] = sub("-fcf-protection", "", vars[var])
32 vars[var] = sub("-fstack-clash-protection", "", vars[var])
34 vars[var] = sub("-fstack-protector-strong", "", vars[var])
36 vars[var] = sub("-fno-semantic-interposition", "", vars[var])
38 vars[var] = sub("-ffat-lto-objects", "", vars[var])
40 vars[var] = sub("-ftree-loop-distribute-patterns", "", vars[var])
42 vars[var] = sub("
[all...]
/linux-master/arch/arc/lib/
H A Dstrlen.S19 sub r1,r2,r7
22 sub r12,r6,r7
32 sub r1,r2,r4
35 sub r12,r6,r4
47 sub r1,r2,r4
49 sub r12,r6,r4
56 sub.ne r3,r3,4
64 sub r0,r3,r0
66 sub r0,r0,r1
72 sub r
[all...]
/linux-master/include/media/
H A Dv4l2-event.h145 * @sub: pointer to &struct v4l2_event_subscription
155 const struct v4l2_event_subscription *sub,
162 * @sub: pointer to &struct v4l2_event_subscription
165 const struct v4l2_event_subscription *sub);
178 * @sub: pointer to &struct v4l2_event_subscription
187 struct v4l2_event_subscription *sub);
193 * @sub: pointer to &struct v4l2_event_subscription
196 const struct v4l2_event_subscription *sub);
203 * @sub: pointer to &struct v4l2_event_subscription
207 struct v4l2_event_subscription *sub);
[all...]
/linux-master/sound/usb/hiface/
H A Dpcm.c255 static bool hiface_pcm_playback(struct pcm_substream *sub, struct pcm_urb *urb) argument
257 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime;
264 pcm_buffer_size = snd_pcm_lib_buffer_bytes(sub->instance);
266 if (sub->dma_off + PCM_PACKET_SIZE <= pcm_buffer_size) {
269 (unsigned int) sub->dma_off);
271 source = alsa_rt->dma_area + sub->dma_off;
279 (unsigned int) sub->dma_off);
281 len = pcm_buffer_size - sub->dma_off;
283 source = alsa_rt->dma_area + sub->dma_off;
290 sub
306 struct pcm_substream *sub; local
352 struct pcm_substream *sub = NULL; local
395 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); local
419 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); local
454 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); local
484 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); local
[all...]
/linux-master/arch/hexagon/lib/
H A Dumodsi3.S15 r2 = sub(r3,r2)
27 if (!p0.new) r0 = sub(r0,r2)
33 if (!p0.new) r0 = sub(r0,r1)
H A Ddivsi3.S16 r4 = sub(r2,r3)
29 r6 = sub(r7,r6)
51 if (!p0.new) r2 = sub(r2,r4)
57 if (!p0.new) r2 = sub(r2,r6)
64 if (p3) r0 = sub(r1,r0)
/linux-master/drivers/misc/vmw_vmci/
H A Dvmci_event.c134 struct vmci_subscription *sub; local
150 sub = kzalloc(sizeof(*sub), GFP_KERNEL);
151 if (!sub)
154 sub->id = VMCI_EVENT_MAX;
155 sub->event = event;
156 sub->callback = callback;
157 sub->callback_data = callback_data;
158 INIT_LIST_HEAD(&sub->node);
172 sub
[all...]
/linux-master/arch/sparc/lib/
H A DNG4fls.S19 sub %g3, %g2, %o0
26 sub %g3, %g2, %o0
H A Dmemscan_32.S41 sub %o0, 1, %o0
63 sub %g2, %o2, %g2
79 sub %g2, %o2, %g2
86 sub %o0, 4, %g3
98 sub %o0, 3, %o0
106 sub %o0, 2, %o0
114 sub %o0, 1, %o0
118 sub %o0, 2, %o0
/linux-master/arch/x86/lib/
H A Dcopy_user_uncached_64.S59 sub $64,%edx
106 sub $8,%edx
125 sub $4,%edx
134 sub $2,%edx
184 sub $2,%edx
194 sub $4,%edx
214 .Ldone56: sub $8,%edx
215 .Ldone48: sub $8,%edx
216 .Ldone40: sub $8,%edx
217 .Ldone32: sub
[all...]
/linux-master/arch/hexagon/mm/
H A Dcopy_from_user.S54 r2 += sub(src_sav,src)
64 r2 += sub(src_sav,src)
74 r2 += sub(src_sav,src)
84 r2 += sub(src_sav,src)
/linux-master/tools/testing/selftests/bpf/progs/
H A Datomic_bounds.c14 int BPF_PROG(sub, int x)
H A Dbtf_type_tag.c22 int BPF_PROG(sub, int x)
/linux-master/arch/riscv/kernel/tests/module_test/
H A Dtest_set32.S15 sub a0, a0, t0
/linux-master/arch/arm64/lib/
H A Dmemchr.S50 sub wordcnt, wordcnt, #1
52 sub tmp, cur_word, rep01
60 sub cntin, cntin, #1
63 sub srcin, srcin, #1
68 sub tmp, tmp, #64
/linux-master/arch/xtensa/lib/
H A Dumodsi3.S18 sub a4, a4, a5 /* count = divisor_shift - dividend_shift */
28 sub a2, a2, a3
39 sub a2, a2, a3 /* subtract once more if dividend >= divisor */

Completed in 320 milliseconds

1234567891011>>