Home
last modified time | relevance | path

Searched refs:cs (Results 1 – 25 of 1297) sorted by relevance

12345678910>>...52

/linux/drivers/gpu/drm/i915/gt/
H A Dgen8_engine_cs.c63 cs = gen8_emit_pipe_control(cs, 0, 0); in gen8_emit_flush_rcs()
234 cs = gen12_emit_pipe_control(cs, in mtl_dummy_pipe_control()
353 cs = gen12_emit_aux_table_inv(engine, cs); in gen12_emit_flush_rcs()
649 cs = emit_preempt_busywait(rq, cs); in gen8_emit_fini_breadcrumb_tail()
669 cs = gen8_emit_pipe_control(cs, in gen8_emit_fini_breadcrumb_rcs()
678 cs = gen8_emit_ggtt_write_rcs(cs, in gen8_emit_fini_breadcrumb_rcs()
689 cs = gen8_emit_pipe_control(cs, in gen11_emit_fini_breadcrumb_rcs()
699 cs = gen8_emit_ggtt_write_rcs(cs, in gen11_emit_fini_breadcrumb_rcs()
791 cs = gen12_emit_preempt_busywait(rq, cs); in gen12_emit_fini_breadcrumb_tail()
830 cs = gen12_emit_pipe_control(cs, 0, in gen12_emit_fini_breadcrumb_rcs()
[all …]
H A Dgen6_engine_cs.c60 u32 *cs; in gen6_emit_post_sync_nonzero_flush() local
81 *cs++ = 0; in gen6_emit_post_sync_nonzero_flush()
82 *cs++ = 0; in gen6_emit_post_sync_nonzero_flush()
137 *cs++ = 0; in gen6_emit_flush_rcs()
148 *cs++ = 0; in gen6_emit_breadcrumb_rcs()
149 *cs++ = 0; in gen6_emit_breadcrumb_rcs()
234 u32 *cs; in gen6_emit_bb_start() local
244 cs = __gen6_emit_bb_start(cs, offset, security); in gen6_emit_bb_start()
256 u32 *cs; in hsw_emit_bb_start() local
266 cs = __gen6_emit_bb_start(cs, offset, security); in hsw_emit_bb_start()
[all …]
H A Dgen2_engine_cs.c19 u32 cmd, *cs; in gen2_emit_flush() local
29 *cs++ = cmd; in gen2_emit_flush()
33 *cs++ = 0; in gen2_emit_flush()
36 *cs++ = cmd; in gen2_emit_flush()
45 u32 cmd, *cs; in gen4_emit_flush_rcs() local
108 *cs++ = 0; in gen4_emit_flush_rcs()
109 *cs++ = 0; in gen4_emit_flush_rcs()
131 u32 *cs; in gen4_emit_flush_vcs() local
169 return cs; in __gen2_emit_breadcrumb()
255 u32 *cs; in gen3_emit_bb_start() local
[all …]
H A Dgen7_renderclear.c163 *cs++ = 0; in gen7_fill_surface_state()
164 *cs++ = 0; in gen7_fill_surface_state()
165 *cs++ = 0; in gen7_fill_surface_state()
184 *cs++ = 0; in gen7_fill_binding_table()
185 *cs++ = 0; in gen7_fill_binding_table()
186 *cs++ = 0; in gen7_fill_binding_table()
187 *cs++ = 0; in gen7_fill_binding_table()
188 *cs++ = 0; in gen7_fill_binding_table()
189 *cs++ = 0; in gen7_fill_binding_table()
298 *cs++ = count * 8 * sizeof(*cs); in gen7_emit_interface_descriptor_load()
[all …]
H A Dintel_migrate.c336 u32 *cs; in emit_no_arbitration() local
410 hdr = cs; in emit_pte()
443 hdr = cs; in emit_pte()
537 u32 *cs; in emit_copy_ccs() local
586 u32 *cs; in emit_copy() local
595 *cs++ = 0; in emit_copy()
599 *cs++ = 0; in emit_copy()
606 *cs++ = 0; in emit_copy()
610 *cs++ = 0; in emit_copy()
924 u32 *cs; in emit_clear() local
[all …]
H A Dgen8_engine_cs.h83 *cs++ = offset; in __gen8_emit_write_rcs()
84 *cs++ = 0; in __gen8_emit_write_rcs()
85 *cs++ = value; in __gen8_emit_write_rcs()
88 return cs; in __gen8_emit_write_rcs()
97 return __gen8_emit_write_rcs(cs, in gen8_emit_ggtt_write_rcs()
110 return __gen8_emit_write_rcs(cs, in gen12_emit_ggtt_write_rcs()
121 *cs++ = gtt_offset; in __gen8_emit_flush_dw()
122 *cs++ = 0; in __gen8_emit_flush_dw()
123 *cs++ = value; in __gen8_emit_flush_dw()
125 return cs; in __gen8_emit_flush_dw()
[all …]
H A Dselftest_engine_pm.c40 *cs++ = value; in emit_wait()
41 *cs++ = offset; in emit_wait()
42 *cs++ = 0; in emit_wait()
44 return cs; in emit_wait()
51 *cs++ = 0; in emit_store()
52 *cs++ = value; in emit_store()
54 return cs; in emit_store()
62 *cs++ = 0; in emit_srm()
64 return cs; in emit_srm()
80 u32 *cs; in __measure_timestamps() local
[all …]
H A Dintel_lrc.c1348 cs = gen12_emit_timestamp_wa(ce, cs); in gen12_emit_indirect_ctx_rcs()
1349 cs = gen12_emit_cmd_buf_wa(ce, cs); in gen12_emit_indirect_ctx_rcs()
1350 cs = gen12_emit_restore_scratch(ce, cs); in gen12_emit_indirect_ctx_rcs()
1356 cs = gen12_emit_aux_table_inv(ce->engine, cs); in gen12_emit_indirect_ctx_rcs()
1360 cs = gen12_invalidate_state_cache(cs); in gen12_emit_indirect_ctx_rcs()
1366 cs = dg2_emit_draw_watermark_setting(cs); in gen12_emit_indirect_ctx_rcs()
1374 cs = gen12_emit_timestamp_wa(ce, cs); in gen12_emit_indirect_ctx_xcs()
1375 cs = gen12_emit_restore_scratch(ce, cs); in gen12_emit_indirect_ctx_xcs()
1380 cs = gen8_emit_pipe_control(cs, in gen12_emit_indirect_ctx_xcs()
1436 cs = xehp_emit_fastcolor_blt_wabb(ce, cs); in xehp_emit_per_ctx_bb()
[all …]
H A Dselftest_lrc.c84 u32 *cs; in emit_semaphore_signal() local
98 *cs++ = 0; in emit_semaphore_signal()
99 *cs++ = 1; in emit_semaphore_signal()
414 u32 *cs; in __live_lrc_state() local
446 *cs++ = 0; in __live_lrc_state()
535 u32 *cs; in gpr_make_dirty() local
570 u32 *cs; in __gpr_read() local
621 u32 *cs; in __live_lrc_gpr() local
743 u32 *cs; in create_timestamp() local
1058 u32 *cs; in record_registers() local
[all …]
/linux/kernel/time/
H A Dclocksource.c196 cs->mark_unstable(cs); in __clocksource_unstable()
242 *csnow = cs->read(cs); in cs_watchdog_read()
339 csnow_mid = cs->read(cs); in clocksource_verify_one_cpu()
369 csnow_end = cs->read(cs); in clocksource_verify_percpu()
524 cs->tick_stable(cs); in clocksource_watchdog()
874 cs->suspend(cs); in clocksource_suspend()
886 cs->resume(cs); in clocksource_resume()
1172 while (freq && ((cs->mult + cs->maxadj < cs->mult) in __clocksource_update_freq_scale()
1173 || (cs->mult - cs->maxadj > cs->mult))) { in __clocksource_update_freq_scale()
1183 WARN_ONCE(cs->mult + cs->maxadj < cs->mult, in __clocksource_update_freq_scale()
[all …]
/linux/kernel/cgroup/
H A Dcpuset.c547 cs = parent_cs(cs); in guarantee_online_cpus()
567 cs = parent_cs(cs); in guarantee_online_mems()
622 if (cs) { in alloc_cpumasks()
665 if (cs) { in free_cpumasks()
686 trial = kmemdup(cs, sizeof(*cs), GFP_KERNEL); in alloc_trial_cpuset()
1830 ? cs->effective_xcpus : cs->cpus_allowed; in update_parent_effective_cpumask()
4002 cs = kzalloc(sizeof(*cs), GFP_KERNEL); in cpuset_css_alloc()
4003 if (!cs) in cpuset_css_alloc()
4390 s->cs = cs; in hotplug_update_tasks_legacy()
4826 while (!(is_mem_exclusive(cs) || is_mem_hardwall(cs)) && parent_cs(cs)) in nearest_hardwall_ancestor()
[all …]
/linux/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_cmd.c29 *cs++ = 0; in pxp_emit_session_selection()
30 *cs++ = 0; in pxp_emit_session_selection()
41 *cs++ = 0; in pxp_emit_session_selection()
45 return cs; in pxp_emit_session_selection()
52 *cs++ = 0; in pxp_emit_inline_termination()
54 return cs; in pxp_emit_inline_termination()
59 cs = pxp_emit_session_selection(cs, idx); in pxp_emit_session_termination()
60 cs = pxp_emit_inline_termination(cs); in pxp_emit_session_termination()
101 u32 *cs; in intel_pxp_terminate_session() local
123 cs = pxp_emit_session_termination(cs, id); in intel_pxp_terminate_session()
[all …]
/linux/drivers/scsi/
H A Dmyrs.c116 cs->prev_cmd_mbox2 = cs->prev_cmd_mbox1; in myrs_qcmd()
515 cs->next_cmd_mbox = cs->first_cmd_mbox; in myrs_enable_mmio_mbox()
516 cs->prev_cmd_mbox1 = cs->last_cmd_mbox; in myrs_enable_mmio_mbox()
517 cs->prev_cmd_mbox2 = cs->last_cmd_mbox - 1; in myrs_enable_mmio_mbox()
531 cs->next_stat_mbox = cs->first_stat_mbox; in myrs_enable_mmio_mbox()
1537 cs->reset(cs->io_base); in myrs_host_reset()
2126 myrs_log_event(cs, cs->event_buf); in myrs_monitor()
2247 cs->fwstat_buf, cs->fwstat_addr); in myrs_unmap()
2271 cs->disable_intr(cs); in myrs_cleanup()
2276 free_irq(cs->irq, cs); in myrs_cleanup()
[all …]
/linux/sound/core/
H A Dpcm_iec958.c34 memset(cs, 0, len); in snd_pcm_create_iec958_consumer_default()
37 cs[1] = IEC958_AES1_CON_GENERAL; in snd_pcm_create_iec958_consumer_default()
49 u8 *cs, size_t len) in fill_iec958_consumer() argument
83 cs[3] &= ~IEC958_AES3_CON_FS; in fill_iec958_consumer()
84 cs[3] |= fs; in fill_iec958_consumer()
112 cs[4] &= ~IEC958_AES4_CON_WORDLEN; in fill_iec958_consumer()
113 cs[4] |= ws; in fill_iec958_consumer()
134 u8 *cs, size_t len) in snd_pcm_fill_iec958_consumer() argument
138 cs, len); in snd_pcm_fill_iec958_consumer()
157 u8 *cs, size_t len) in snd_pcm_fill_iec958_consumer_hw_params() argument
[all …]
/linux/include/linux/mfd/syscon/
H A Datmel-smc.h18 #define ATMEL_SMC_SETUP(cs) (((cs) * 0x10)) argument
19 #define ATMEL_HSMC_SETUP(layout, cs) \ argument
20 ((layout)->timing_regs_offset + ((cs) * 0x14))
21 #define ATMEL_SMC_PULSE(cs) (((cs) * 0x10) + 0x4) argument
22 #define ATMEL_HSMC_PULSE(layout, cs) \ argument
24 #define ATMEL_SMC_CYCLE(cs) (((cs) * 0x10) + 0x8) argument
25 #define ATMEL_HSMC_CYCLE(layout, cs) \ argument
32 #define ATMEL_SMC_MODE(cs) (((cs) * 0x10) + 0xc) argument
33 #define ATMEL_HSMC_MODE(layout, cs) \ argument
64 #define ATMEL_HSMC_TIMINGS(layout, cs) \ argument
[all …]
/linux/arch/mips/bcm63xx/
H A Dcs.c24 static int is_valid_cs(unsigned int cs) in is_valid_cs() argument
26 if (cs > 6) in is_valid_cs()
40 if (!is_valid_cs(cs)) in bcm63xx_set_cs_base()
55 bcm_mpi_writel(val, MPI_CSBASE_REG(cs)); in bcm63xx_set_cs_base()
72 if (!is_valid_cs(cs)) in bcm63xx_set_cs_timing()
76 val = bcm_mpi_readl(MPI_CSCTL_REG(cs)); in bcm63xx_set_cs_timing()
99 if (!is_valid_cs(cs)) in bcm63xx_set_cs_param()
103 if (cs == MPI_CS_PCMCIA_COMMON || in bcm63xx_set_cs_param()
104 cs == MPI_CS_PCMCIA_ATTR || in bcm63xx_set_cs_param()
105 cs == MPI_CS_PCMCIA_IO) in bcm63xx_set_cs_param()
[all …]
/linux/include/linux/
H A Dclocksource.h97 u64 (*read)(struct clocksource *cs);
115 int (*enable)(struct clocksource *cs);
116 void (*disable)(struct clocksource *cs);
117 void (*suspend)(struct clocksource *cs);
118 void (*resume)(struct clocksource *cs);
119 void (*mark_unstable)(struct clocksource *cs);
120 void (*tick_stable)(struct clocksource *cs);
241 return __clocksource_register_scale(cs, 1, 0); in __clocksource_register()
246 return __clocksource_register_scale(cs, 1, hz); in clocksource_register_hz()
256 __clocksource_update_freq_scale(cs, 1, hz); in __clocksource_update_freq_hz()
[all …]
/linux/net/ceph/
H A Dstring_table.c40 cs = kmalloc(sizeof(*cs) + len + 1, GFP_NOFS); in ceph_find_or_create_string()
41 if (!cs) in ceph_find_or_create_string()
44 kref_init(&cs->kref); in ceph_find_or_create_string()
45 cs->len = len; in ceph_find_or_create_string()
46 memcpy(cs->str, str, len); in ceph_find_or_create_string()
47 cs->str[len] = 0; in ceph_find_or_create_string()
80 kfree(cs); in ceph_find_or_create_string()
81 cs = exist; in ceph_find_or_create_string()
84 return cs; in ceph_find_or_create_string()
95 RB_CLEAR_NODE(&cs->node); in ceph_release_string()
[all …]
/linux/drivers/net/slip/
H A Dslhc.c304 if ( cs == ocs ) in slhc_compress()
306 lcs = cs; in slhc_compress()
307 cs = cs->next; in slhc_compress()
336 ocs->next = cs; in slhc_compress()
351 oth = &cs->cs_tcp; in slhc_compress()
353 if(ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl in slhc_compress()
499 struct cstate *cs; in slhc_uncompress() local
534 thp = &cs->cs_tcp; in slhc_uncompress()
535 ip = &cs->cs_ip; in slhc_uncompress()
646 struct cstate *cs; in slhc_remember() local
[all …]
/linux/fs/fuse/
H A Ddev.c661 memset(cs, 0, sizeof(*cs)); in fuse_copy_init()
672 if (cs->write) in fuse_copy_finish()
682 cs->pg = NULL; in fuse_copy_finish()
715 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill()
811 cs->nr_segs--; in fuse_try_move_page()
873 cs->len = 0; in fuse_try_move_page()
900 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page()
918 cs->nr_segs++; in fuse_ref_page()
919 cs->len = 0; in fuse_ref_page()
938 if (cs->write && cs->pipebufs && page) { in fuse_copy_page()
[all …]
/linux/drivers/accel/habanalabs/common/
H A Dcommand_submission.c282 if (cs->staged_cs && !cs->staged_last) in cs_needs_completion()
293 if (cs->staged_cs && !cs->staged_first) in cs_needs_timeout()
363 struct hl_cs *cs = job->cs; in hl_complete_job() local
523 if (cs->staged_cs && cs->staged_last) { in cs_handle_tdr()
1086 cs->ctx->asid, cs->sequence); in hl_cs_rollback_all()
1170 struct hl_cs *cs = job->cs; in job_wq_completion() local
1459 cs->staged_sequence = cs->sequence; in cs_staged_submission()
1600 job->cs = cs; in cs_ioctl_default()
1642 cs->ctx->asid, cs->sequence); in cs_ioctl_default()
1662 cs->ctx->asid, cs->sequence, rc); in cs_ioctl_default()
[all …]
/linux/drivers/memory/
H A Dstm32-fmc2-ebi.c243 int cs) in stm32_fmc2_ebi_check_mux() argument
260 int cs) in stm32_fmc2_ebi_check_waitcfg() argument
277 int cs) in stm32_fmc2_ebi_check_sync_trans() argument
294 int cs) in stm32_fmc2_ebi_mp25_check_cclk() argument
304 int cs) in stm32_fmc2_ebi_mp25_check_clk_period() argument
389 if (cs) { in stm32_fmc2_ebi_check_clk_period()
407 if (cs) in stm32_fmc2_ebi_check_cclk()
1424 for (cs = 0; cs < FMC2_MAX_EBI_CE; cs++) { in stm32_fmc2_ebi_save_setup()
1467 for (cs = 0; cs < FMC2_MAX_EBI_CE; cs++) { in stm32_fmc2_ebi_set_setup()
1495 for (cs = 0; cs < FMC2_MAX_EBI_CE; cs++) { in stm32_fmc2_ebi_disable_banks()
[all …]
H A Domap-gpmc.c638 cs, name, ticks, gpmc_get_clk_period(cs, cd) * ticks / 1000, in set_gpmc_timing_reg()
1030 if (cs >= gpmc_cs_num || cs < 0 || !gpmc_cs_reserved(cs)) { in gpmc_cs_free()
1035 gpmc = &gpmc_cs[cs]; in gpmc_cs_free()
1516 int cs; in gpmc_mem_exit() local
1518 for (cs = 0; cs < gpmc_cs_num; cs++) { in gpmc_mem_exit()
1527 int cs; in gpmc_mem_init() local
1539 for (cs = 0; cs < gpmc_cs_num; cs++) { in gpmc_mem_init()
2175 int ret, cs; in gpmc_probe_generic_child() local
2217 cs); in gpmc_probe_generic_child()
2237 cs, &res.start); in gpmc_probe_generic_child()
[all …]
/linux/fs/xfs/scrub/
H A Dstats.c88 struct xchk_stats *cs, in xchk_stats_format() argument
131 struct xchk_stats *cs) in xchk_stats_estimate_bufsize() argument
164 struct xchk_stats *cs) in xchk_stats_clearall() argument
310 struct xchk_stats *cs, in xchk_stats_init() argument
325 struct xchk_stats *cs, in xchk_stats_register() argument
332 if (!cs->cs_debugfs) in xchk_stats_register()
335 debugfs_create_file("stats", 0444, cs->cs_debugfs, cs, in xchk_stats_register()
337 debugfs_create_file("clear_stats", 0200, cs->cs_debugfs, cs, in xchk_stats_register()
344 struct xchk_stats *cs) in xchk_stats_teardown() argument
389 if (!cs) in xchk_mount_stats_alloc()
[all …]
/linux/drivers/clocksource/
H A Dtimer-pistachio.c48 struct clocksource cs; member
53 #define to_pistachio_clocksource(cs) \ argument
54 container_of(cs, struct pistachio_clocksource, cs)
90 return pistachio_clocksource_read_cycles(&pcs_gpt.cs); in pistachio_read_sched_clock()
113 pistachio_clksrc_set_mode(cs, timeridx, false); in pistachio_clksrc_enable()
115 pistachio_clksrc_set_mode(cs, timeridx, true); in pistachio_clksrc_enable()
121 pistachio_clksrc_set_mode(cs, timeridx, false); in pistachio_clksrc_disable()
126 pistachio_clksrc_enable(cs, 0); in pistachio_clocksource_enable()
132 pistachio_clksrc_disable(cs, 0); in pistachio_clocksource_disable()
137 .cs = {
[all …]

12345678910>>...52