Home
last modified time | relevance | path

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

1234

/linux/Documentation/userspace-api/media/dvb/
H A 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/arch/sparc/kernel/
H A Dpci_psycho.c432 pbm->stc.strbuf_control = base + PSYCHO_STRBUF_CONTROL_A; in psycho_pbm_strbuf_init()
433 pbm->stc.strbuf_pflush = base + PSYCHO_STRBUF_FLUSH_A; in psycho_pbm_strbuf_init()
434 pbm->stc.strbuf_fsync = base + PSYCHO_STRBUF_FSYNC_A; in psycho_pbm_strbuf_init()
435 pbm->stc.strbuf_err_stat = base + PSYCHO_STC_ERR_A; in psycho_pbm_strbuf_init()
436 pbm->stc.strbuf_tag_diag = base + PSYCHO_STC_TAG_A; in psycho_pbm_strbuf_init()
437 pbm->stc.strbuf_line_diag= base + PSYCHO_STC_LINE_A; in psycho_pbm_strbuf_init()
439 pbm->stc.strbuf_control = base + PSYCHO_STRBUF_CONTROL_B; in psycho_pbm_strbuf_init()
440 pbm->stc.strbuf_pflush = base + PSYCHO_STRBUF_FLUSH_B; in psycho_pbm_strbuf_init()
441 pbm->stc.strbuf_fsync = base + PSYCHO_STRBUF_FSYNC_B; in psycho_pbm_strbuf_init()
442 pbm->stc.strbuf_err_stat = base + PSYCHO_STC_ERR_B; in psycho_pbm_strbuf_init()
[all …]
H A Dpci_impl.h23 * might be shared between PBMs, the STC is never shared)
28 #define PCI_STC_FLUSHFLAG_INIT(STC) \ argument
29 (*((STC)->strbuf_flushflag) = 0UL)
30 #define PCI_STC_FLUSHFLAG_SET(STC) \ argument
31 (*((STC)->strbuf_flushflag) != 0UL)
147 struct strbuf stc; member
H A 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()
617 strbuf = dev->archdata.stc; in dma_4u_unmap_sg()
[all …]
H A 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()
H A Dpci_schizo.c134 struct strbuf *strbuf = &pbm->stc; in __schizo_check_stc_error_pbm()
151 * in the STC when we do this, we will end up in __schizo_check_stc_error_pbm()
344 if (pbm->stc.strbuf_enabled) in schizo_check_iommu_error_pbm()
1104 pbm->stc.strbuf_control = base + SCHIZO_STRBUF_CONTROL; in schizo_pbm_strbuf_init()
1105 pbm->stc.strbuf_pflush = base + SCHIZO_STRBUF_FLUSH; in schizo_pbm_strbuf_init()
1106 pbm->stc.strbuf_fsync = base + SCHIZO_STRBUF_FSYNC; in schizo_pbm_strbuf_init()
1107 pbm->stc.strbuf_ctxflush = base + SCHIZO_STRBUF_CTXFLUSH; in schizo_pbm_strbuf_init()
1108 pbm->stc.strbuf_ctxmatch_base = base + SCHIZO_STRBUF_CTXMATCH; in schizo_pbm_strbuf_init()
1110 pbm->stc.strbuf_flushflag = (volatile unsigned long *) in schizo_pbm_strbuf_init()
1111 ((((unsigned long)&pbm->stc.__flushflag_buf[0]) in schizo_pbm_strbuf_init()
[all …]
/linux/arch/sh/kernel/
H A 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
H A 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()
H A 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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_action.h20 /* STC Jumvo STE combo: CTR, Hit */
22 /* STC combo1: CTR, SINGLE, DOUBLE, Hit */
24 /* STC combo2: CTR, 3 x SINGLE, Hit */
26 /* STC combo2: CTR, TRIPLE, Hit */
127 struct mlx5hws_pool_chunk stc[MLX5HWS_TABLE_TYPE_MAX]; member
219 struct mlx5hws_pool_chunk *stc);
223 struct mlx5hws_pool_chunk *stc);
H A Dmlx5hws_action.c123 mlx5hws_err(ctx, "Failed to allocate shared decap l2 STC\n"); in hws_action_get_shared_stc_nic()
320 struct mlx5hws_pool_chunk *stc) in mlx5hws_action_alloc_single_stc() argument
330 ret = mlx5hws_pool_chunk_alloc(stc_pool, stc); in mlx5hws_action_alloc_single_stc()
332 mlx5hws_err(ctx, "Failed to allocate single action STC\n"); in mlx5hws_action_alloc_single_stc()
336 stc_attr->stc_offset = stc->offset; in mlx5hws_action_alloc_single_stc()
342 obj_0_id = mlx5hws_pool_chunk_get_base_id(stc_pool, stc); in mlx5hws_action_alloc_single_stc()
349 mlx5hws_err(ctx, "Failed to modify STC action_type %d tbl_type %d\n", in mlx5hws_action_alloc_single_stc()
358 obj_1_id = mlx5hws_pool_chunk_get_base_mirror_id(stc_pool, stc); in mlx5hws_action_alloc_single_stc()
367 "Failed to modify peer STC action_type %d tbl_type %d\n", in mlx5hws_action_alloc_single_stc()
378 cleanup_stc_attr.stc_offset = stc->offset; in mlx5hws_action_alloc_single_stc()
[all …]
H A Dmlx5hws_matcher.c320 /* STC is a single resource (obj_id), use any STC for the ID */ in hws_matcher_create_rtc()
471 resize_data->action_ste[0].stc = src_matcher->action_ste[0].stc; in hws_matcher_resize_init()
477 resize_data->action_ste[1].stc = src_matcher->action_ste[1].stc; in hws_matcher_resize_init()
515 &resize_data->action_ste[1].stc); in hws_matcher_resize_uninit()
518 &resize_data->action_ste[0].stc); in hws_matcher_resize_uninit()
572 /* Allocate STC for jumps to STE */ in hws_matcher_bind_at_idx()
581 &action_ste->stc); in hws_matcher_bind_at_idx()
583 mlx5hws_err(ctx, "Failed to create action jump to table STC\n"); in hws_matcher_bind_at_idx()
608 mlx5hws_action_free_single_stc(tbl->ctx, tbl->type, &action_ste->stc); in hws_matcher_unbind_at_idx()
H A Dmlx5hws_matcher.h48 struct mlx5hws_pool_chunk stc; member
56 struct mlx5hws_pool_chunk stc; member
/linux/arch/sh/kernel/cpu/sh3/
H A Dentry.S227 stc sr, r9
314 stc spc, k1
315 stc r0_bank, k0
318 stc r1_bank, k1
327 stc ssr, k0 ! Is it from kernel space?
368 stc r2_bank, r0 ! k2 (vector)
394 stc.l gbr, @-r15
395 stc.l ssr, @-r15
397 stc.l spc, @-r15
419 stc sr, r8
[all …]
H A 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/drivers/thermal/tegra/
H A 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()
612 struct soctherm_throt_cfg *stc; in tegra_thermctl_set_trip_temp() local
619 stc = find_throttle_cfg_by_name(ts, cdev->type); in tegra_thermctl_set_trip_temp()
623 return throttrip_program(dev, sg, stc, temp); in tegra_thermctl_set_trip_temp()
736 struct soctherm_throt_cfg *stc; in tegra_soctherm_set_hwtrips() local
769 stc = find_throttle_cfg_by_name(ts, cdev->type); in tegra_soctherm_set_hwtrips()
773 ret = throttrip_program(dev, sg, stc, temperature); in tegra_soctherm_set_hwtrips()
[all …]
/linux/arch/sh/include/asm/
H A Dentry-macros.S5 stc sr, r0
14 stc sr, r10
17 stc k_g_imask, r11
25 stc r7_bank, \ti
H A 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" \
H A Dbl_bit_32.h10 "stc sr, %0\n\t" in set_bl_bit()
25 "stc sr, %0\n\t" in clear_bl_bit()
/linux/arch/s390/lib/
H A Dmem.S43 stc %r0,0(%r4,%r1)
46 stc %r0,0(%r4,%r1)
99 stc %r3,0(%r1)
104 stc %r3,0(%r1)
109 stc %r3,0(%r1)
/linux/include/uapi/linux/dvb/
H A Ddmx.h187 * struct dmx_stc - Stores System Time Counter (STC) information.
189 * @num: input data: number of the STC, from 0 to N.
190 * @base: output: divisor for STC to get 90 kHz clock.
191 * @stc: output: stc in @base * 90 kHz units.
196 __u64 stc; member
/linux/arch/sh/kernel/cpu/shmobile/
H A Dsleep.S34 stc vbr, r0
45 stc sr, r0
219 stc sr, r8
261 stc vbr, r5
381 stc sr, r8
/linux/arch/sh/kernel/cpu/sh2a/
H A Dentry.S61 stc.l gbr, @-r15
101 stc.l gbr,@-r8
169 stc sr,r3
194 stc sr,r0
/linux/arch/arm/probes/kprobes/
H A Dtest-arm.c1177 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #4]") \ in kprobe_arm_test_cases()
1178 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #-4]") \ in kprobe_arm_test_cases()
1179 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #4]!") \ in kprobe_arm_test_cases()
1180 TEST_COPROCESSOR("stc"two" p0, cr0, [r13, #-4]!") \ in kprobe_arm_test_cases()
1181 TEST_COPROCESSOR("stc"two" p0, cr0, [r13], #4") \ in kprobe_arm_test_cases()
1182 TEST_COPROCESSOR("stc"two" p0, cr0, [r13], #-4") \ in kprobe_arm_test_cases()
1183 TEST_COPROCESSOR("stc"two" p0, cr0, [r13], {1}") \ in kprobe_arm_test_cases()
1184 TEST_COPROCESSOR("stc"two"l p0, cr0, [r13, #4]") \ in kprobe_arm_test_cases()
1185 TEST_COPROCESSOR("stc"two"l p0, cr0, [r13, #-4]") \ in kprobe_arm_test_cases()
1186 TEST_COPROCESSOR("stc"two"l p0, cr0, [r13, #4]!") \ in kprobe_arm_test_cases()
[all …]
/linux/drivers/media/usb/uvc/
H A Duvcvideo.h364 unsigned int nb_scr_diffs; /* Number of SCR.STC differences inside a frame */
366 u32 scr_stc; /* SCR.STC of the last packet */
385 unsigned int nb_scr_diffs_ok; /* Number of frames with varying SCR.STC */
386 unsigned int scr_sof_count; /* STC.SOF counter accumulated since stream start */
387 unsigned int scr_sof; /* STC.SOF of the last packet */
388 unsigned int min_sof; /* Minimum STC.SOF value */
389 unsigned int max_sof; /* Maximum STC.SOF value */

1234