Home
last modified time | relevance | path

Searched full:stc (Results 1 – 25 of 95) sorted by relevance

1234

/Linux-v5.10/Documentation/userspace-api/media/dvb/
Ddmx-get-stc.rst20 ``int ioctl(int fd, DMX_GET_STC, struct dmx_stc *stc)``
28 ``stc``
29 Pointer to :c:type:`dmx_stc` where the stc data is to be stored.
36 Some hardware supports more than one STC, so you must specify which one by
37 setting the :c:type:`num <dmx_stc>` field of stc before the ioctl (range 0...n).
39 and a 32 bit denominator, so the real 90kHz STC value is
40 ``stc->stc / stc->base``.
61 - Invalid stc number.
/Linux-v5.10/arch/sparc/kernel/
Dpci_psycho.c430 pbm->stc.strbuf_control = base + PSYCHO_STRBUF_CONTROL_A; in psycho_pbm_strbuf_init()
431 pbm->stc.strbuf_pflush = base + PSYCHO_STRBUF_FLUSH_A; in psycho_pbm_strbuf_init()
432 pbm->stc.strbuf_fsync = base + PSYCHO_STRBUF_FSYNC_A; in psycho_pbm_strbuf_init()
433 pbm->stc.strbuf_err_stat = base + PSYCHO_STC_ERR_A; in psycho_pbm_strbuf_init()
434 pbm->stc.strbuf_tag_diag = base + PSYCHO_STC_TAG_A; in psycho_pbm_strbuf_init()
435 pbm->stc.strbuf_line_diag= base + PSYCHO_STC_LINE_A; in psycho_pbm_strbuf_init()
437 pbm->stc.strbuf_control = base + PSYCHO_STRBUF_CONTROL_B; in psycho_pbm_strbuf_init()
438 pbm->stc.strbuf_pflush = base + PSYCHO_STRBUF_FLUSH_B; in psycho_pbm_strbuf_init()
439 pbm->stc.strbuf_fsync = base + PSYCHO_STRBUF_FSYNC_B; in psycho_pbm_strbuf_init()
440 pbm->stc.strbuf_err_stat = base + PSYCHO_STC_ERR_B; in psycho_pbm_strbuf_init()
[all …]
Dpci_impl.h24 * might be shared between PBMs, the STC is never shared)
29 #define PCI_STC_FLUSHFLAG_INIT(STC) \ argument
30 (*((STC)->strbuf_flushflag) = 0UL)
31 #define PCI_STC_FLUSHFLAG_SET(STC) \ argument
32 (*((STC)->strbuf_flushflag) != 0UL)
148 struct strbuf stc; member
Diommu.c28 #define STC_CTXMATCH_ADDR(STC, CTX) \ argument
29 ((STC)->strbuf_ctxmatch_base + ((CTX) << 3))
30 #define STC_FLUSHFLAG_INIT(STC) \ argument
31 (*((STC)->strbuf_flushflag) = 0UL)
32 #define STC_FLUSHFLAG_SET(STC) \ argument
33 (*((STC)->strbuf_flushflag) != 0UL)
277 strbuf = dev->archdata.stc; in dma_4u_map_page()
402 strbuf = dev->archdata.stc; in dma_4u_unmap_page()
449 strbuf = dev->archdata.stc; in dma_4u_map_sg()
619 strbuf = dev->archdata.stc; in dma_4u_unmap_sg()
[all …]
Dof_device_common.c54 /* Take the archdata values for IOMMU, STC, and HOSTDATA found in
67 op->dev.archdata.stc = bus_sd->stc; in of_propagate_archdata()
Dpci_schizo.c131 struct strbuf *strbuf = &pbm->stc; in __schizo_check_stc_error_pbm()
148 * in the STC when we do this, we will end up in __schizo_check_stc_error_pbm()
341 if (pbm->stc.strbuf_enabled) in schizo_check_iommu_error_pbm()
1101 pbm->stc.strbuf_control = base + SCHIZO_STRBUF_CONTROL; in schizo_pbm_strbuf_init()
1102 pbm->stc.strbuf_pflush = base + SCHIZO_STRBUF_FLUSH; in schizo_pbm_strbuf_init()
1103 pbm->stc.strbuf_fsync = base + SCHIZO_STRBUF_FSYNC; in schizo_pbm_strbuf_init()
1104 pbm->stc.strbuf_ctxflush = base + SCHIZO_STRBUF_CTXFLUSH; in schizo_pbm_strbuf_init()
1105 pbm->stc.strbuf_ctxmatch_base = base + SCHIZO_STRBUF_CTXMATCH; in schizo_pbm_strbuf_init()
1107 pbm->stc.strbuf_flushflag = (volatile unsigned long *) in schizo_pbm_strbuf_init()
1108 ((((unsigned long)&pbm->stc.__flushflag_buf[0]) in schizo_pbm_strbuf_init()
[all …]
/Linux-v5.10/arch/sh/kernel/
Drelocate_kernel.S37 stc.l gbr, @-r15
38 stc.l ssr, @-r15
39 stc.l sr, @-r15
41 stc.l spc, @-r15
45 stc sr, r8
60 stc sr, r8
92 stc sr, r8
106 stc sr, r8
121 stc sr, r8
Dirq_32.c16 "stc sr, %0\n\t" in arch_local_irq_restore()
25 "stc sr, %0\n\t" in arch_local_irq_restore()
28 "stc r6_bank, %1\n\t" in arch_local_irq_restore()
45 "stc sr, %0\n\t" in arch_local_save_flags()
Ddisassemble.c187 {"stc",{A_SR,A_REG_N},{HEX_0,REG_N,HEX_0,HEX_2}},
188 {"stc",{A_GBR,A_REG_N},{HEX_0,REG_N,HEX_1,HEX_2}},
189 {"stc",{A_VBR,A_REG_N},{HEX_0,REG_N,HEX_2,HEX_2}},
190 {"stc",{A_SSR,A_REG_N},{HEX_0,REG_N,HEX_3,HEX_2}},
191 {"stc",{A_SPC,A_REG_N},{HEX_0,REG_N,HEX_4,HEX_2}},
192 {"stc",{A_SGR,A_REG_N},{HEX_0,REG_N,HEX_6,HEX_2}},
193 {"stc",{A_DBR,A_REG_N},{HEX_0,REG_N,HEX_7,HEX_2}},
194 {"stc",{A_REG_B,A_REG_N},{HEX_0,REG_N,REG_B,HEX_2}},
195 {"stc.l",{A_SR,A_DEC_N},{HEX_4,REG_N,HEX_0,HEX_3}},
196 {"stc.l",{A_GBR,A_DEC_N},{HEX_4,REG_N,HEX_1,HEX_3}},
[all …]
/Linux-v5.10/arch/h8300/include/asm/
Dirqflags.h12 __asm__ volatile ("stc ccr,%w0" : "=r" (flags)); in arch_local_save_flags()
30 __asm__ volatile ("stc ccr,%w0\n\t" in arch_local_irq_save()
52 __asm__ volatile ("stc ccr,%w0\n\tstc exr,%x0" : "=r" (flags)); in arch_local_save_flags()
71 __asm__ volatile ("stc ccr,%w0\n\t" in arch_local_irq_save()
72 "stc exr,%x0\n\t" in arch_local_irq_save()
/Linux-v5.10/arch/sh/kernel/cpu/sh3/
Dentry.S228 stc sr, r9
315 stc spc, k1
316 stc r0_bank, k0
319 stc r1_bank, k1
328 stc ssr, k0 ! Is it from kernel space?
369 stc r2_bank, r0 ! k2 (vector)
395 stc.l gbr, @-r15
396 stc.l ssr, @-r15
398 stc.l spc, @-r15
420 stc sr, r8
[all …]
Dswsusp.S97 stc sr, r1
113 stc r2_bank, k0 ! fetch old sp from r2_bank0
117 stc r0_bank, k3 ! fetch old pr from r0_bank0
122 stc ssr, r1
/Linux-v5.10/arch/sh/include/asm/
Dentry-macros.S5 stc sr, r0
14 stc sr, r10
17 stc k_g_imask, r11
25 stc r7_bank, \ti
Dswitch_to_32.h40 "stc.l mod, @-r2\n\t" \
41 "stc.l re, @-r2\n\t" \
42 "stc.l rs, @-r2\n\t" \
94 "stc.l gbr, @-r15\n\t" \
Dbl_bit_32.h10 "stc sr, %0\n\t" in set_bl_bit()
25 "stc sr, %0\n\t" in clear_bl_bit()
Dkexec.h62 __asm__ __volatile__ ("stc gbr, %0" : "=r" (newregs->gbr)); in crash_setup_regs()
63 __asm__ __volatile__ ("stc sr, %0" : "=r" (newregs->sr)); in crash_setup_regs()
/Linux-v5.10/drivers/thermal/tegra/
Dsoctherm.c501 * @stc: pointer to the throttle need to be triggered
515 struct soctherm_throt_cfg *stc, in throttrip_program() argument
523 if (!sg || !stc || !stc->init) in throttrip_program()
529 throt = stc->id; in throttrip_program()
618 struct soctherm_throt_cfg *stc; in tegra_thermctl_set_trip_temp() local
625 stc = find_throttle_cfg_by_name(ts, cdev->type); in tegra_thermctl_set_trip_temp()
629 return throttrip_program(dev, sg, stc, temp); in tegra_thermctl_set_trip_temp()
777 struct soctherm_throt_cfg *stc; in tegra_soctherm_set_hwtrips() local
810 stc = find_throttle_cfg_by_name(ts, cdev->type); in tegra_soctherm_set_hwtrips()
814 ret = throttrip_program(dev, sg, stc, temperature); in tegra_soctherm_set_hwtrips()
[all …]
/Linux-v5.10/arch/s390/lib/
Dmem.S44 stc %r0,0(%r4,%r1)
47 stc %r0,0(%r4,%r1)
98 stc %r3,0(%r1)
103 stc %r3,0(%r1)
108 stc %r3,0(%r1)
/Linux-v5.10/include/uapi/linux/dvb/
Ddmx.h202 * struct dmx_stc - Stores System Time Counter (STC) information.
204 * @num: input data: number of the STC, from 0 to N.
205 * @base: output: divisor for STC to get 90 kHz clock.
206 * @stc: output: stc in @base * 90 kHz units.
211 __u64 stc; member
/Linux-v5.10/arch/sh/kernel/cpu/shmobile/
Dsleep.S34 stc vbr, r0
45 stc sr, r0
219 stc sr, r8
261 stc vbr, r5
381 stc sr, r8
/Linux-v5.10/arch/h8300/lib/
Dmodsi3.S40 stc ccr,S2L ; keep the sign in bit 3 of S2L
59 stc ccr,S2L ; keep the sign in bit 3 of S2L
Dmoddivsi3.S40 stc ccr,S2L ; keep the sign in bit 3 of S2L
59 stc ccr,S2L ; keep the sign in bit 3 of S2L
/Linux-v5.10/arch/sh/kernel/cpu/sh2a/
Dentry.S61 stc.l gbr, @-r15
101 stc.l gbr,@-r8
169 stc sr,r3
194 stc sr,r0
/Linux-v5.10/arch/sh/kernel/cpu/irq/
Dimask.c39 "stc sr, %0\n\t" in set_interrupt_registers()
44 " stc sr, %0\n\t" in set_interrupt_registers()
/Linux-v5.10/arch/arm/probes/kprobes/
Dtest-arm.c1177 TEST_COPROCESSOR("stc"two" 0, cr0, [r13, #4]") \ in kprobe_arm_test_cases()
1178 TEST_COPROCESSOR("stc"two" 0, cr0, [r13, #-4]") \ in kprobe_arm_test_cases()
1179 TEST_COPROCESSOR("stc"two" 0, cr0, [r13, #4]!") \ in kprobe_arm_test_cases()
1180 TEST_COPROCESSOR("stc"two" 0, cr0, [r13, #-4]!") \ in kprobe_arm_test_cases()
1181 TEST_COPROCESSOR("stc"two" 0, cr0, [r13], #4") \ in kprobe_arm_test_cases()
1182 TEST_COPROCESSOR("stc"two" 0, cr0, [r13], #-4") \ in kprobe_arm_test_cases()
1183 TEST_COPROCESSOR("stc"two" 0, cr0, [r13], {1}") \ in kprobe_arm_test_cases()
1184 TEST_COPROCESSOR("stc"two"l 0, cr0, [r13, #4]") \ in kprobe_arm_test_cases()
1185 TEST_COPROCESSOR("stc"two"l 0, cr0, [r13, #-4]") \ in kprobe_arm_test_cases()
1186 TEST_COPROCESSOR("stc"two"l 0, cr0, [r13, #4]!") \ in kprobe_arm_test_cases()
[all …]

1234