Home
last modified time | relevance | path

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

12345678910>>...44

/linux/drivers/gpu/drm/i915/gt/
A Dgen8_engine_cs.c62 cs = gen8_emit_pipe_control(cs, 0, 0); in gen8_emit_flush_rcs()
114 u32 *cs; in gen11_emit_flush_rcs() local
136 u32 *cs; in gen11_emit_flush_rcs() local
225 cs = gen12_emit_pipe_control(cs, in gen12_emit_flush_rcs()
352 u32 *cs; in gen8_emit_init_breadcrumb() local
510 cs = emit_preempt_busywait(rq, cs); in gen8_emit_fini_breadcrumb_tail()
530 cs = gen8_emit_pipe_control(cs, in gen8_emit_fini_breadcrumb_rcs()
537 cs = gen8_emit_ggtt_write_rcs(cs, in gen8_emit_fini_breadcrumb_rcs()
548 cs = gen8_emit_ggtt_write_rcs(cs, in gen11_emit_fini_breadcrumb_rcs()
603 cs = gen12_emit_preempt_busywait(rq, cs); in gen12_emit_fini_breadcrumb_tail()
[all …]
A Dgen6_engine_cs.c59 u32 *cs; in gen6_emit_post_sync_nonzero_flush() local
80 *cs++ = 0; in gen6_emit_post_sync_nonzero_flush()
81 *cs++ = 0; in gen6_emit_post_sync_nonzero_flush()
136 *cs++ = 0; in gen6_emit_flush_rcs()
147 *cs++ = 0; in gen6_emit_breadcrumb_rcs()
148 *cs++ = 0; in gen6_emit_breadcrumb_rcs()
233 u32 *cs; in gen6_emit_bb_start() local
243 cs = __gen6_emit_bb_start(cs, offset, security); in gen6_emit_bb_start()
255 u32 *cs; in hsw_emit_bb_start() local
265 cs = __gen6_emit_bb_start(cs, offset, security); in hsw_emit_bb_start()
[all …]
A Dgen2_engine_cs.c17 u32 cmd, *cs; in gen2_emit_flush() local
27 *cs++ = cmd; in gen2_emit_flush()
31 *cs++ = 0; in gen2_emit_flush()
34 *cs++ = cmd; in gen2_emit_flush()
43 u32 cmd, *cs; in gen4_emit_flush_rcs() local
106 *cs++ = 0; in gen4_emit_flush_rcs()
107 *cs++ = 0; in gen4_emit_flush_rcs()
129 u32 *cs; in gen4_emit_flush_vcs() local
167 return cs; in __gen2_emit_breadcrumb()
253 u32 *cs; in gen3_emit_bb_start() local
[all …]
A Dgen7_renderclear.c162 *cs++ = 0; in gen7_fill_surface_state()
163 *cs++ = 0; in gen7_fill_surface_state()
164 *cs++ = 0; in gen7_fill_surface_state()
183 *cs++ = 0; in gen7_fill_binding_table()
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()
297 *cs++ = count * 8 * sizeof(*cs); in gen7_emit_interface_descriptor_load()
[all …]
A Dintel_migrate.c253 u32 *cs; in emit_no_arbitration() local
297 hdr = cs; in emit_pte()
318 hdr = cs; in emit_pte()
365 u32 *cs; in emit_copy() local
374 *cs++ = 0; in emit_copy()
378 *cs++ = 0; in emit_copy()
385 *cs++ = 0; in emit_copy()
389 *cs++ = 0; in emit_copy()
497 u32 *cs; in emit_clear() local
508 *cs++ = 0; in emit_clear()
[all …]
A Dgen8_engine_cs.h68 *cs++ = offset; in __gen8_emit_write_rcs()
69 *cs++ = 0; in __gen8_emit_write_rcs()
70 *cs++ = value; in __gen8_emit_write_rcs()
73 return cs; in __gen8_emit_write_rcs()
82 return __gen8_emit_write_rcs(cs, in gen8_emit_ggtt_write_rcs()
95 return __gen8_emit_write_rcs(cs, in gen12_emit_ggtt_write_rcs()
106 *cs++ = gtt_offset; in __gen8_emit_flush_dw()
107 *cs++ = 0; in __gen8_emit_flush_dw()
108 *cs++ = value; in __gen8_emit_flush_dw()
110 return cs; in __gen8_emit_flush_dw()
[all …]
A Dselftest_engine_pm.c38 *cs++ = value; in emit_wait()
39 *cs++ = offset; in emit_wait()
40 *cs++ = 0; in emit_wait()
42 return cs; in emit_wait()
49 *cs++ = 0; in emit_store()
50 *cs++ = value; in emit_store()
52 return cs; in emit_store()
60 *cs++ = 0; in emit_srm()
62 return cs; in emit_srm()
78 u32 *cs; in __measure_timestamps() local
[all …]
A Dselftest_lrc.c79 u32 *cs; in emit_semaphore_signal() local
93 *cs++ = 0; in emit_semaphore_signal()
94 *cs++ = 1; in emit_semaphore_signal()
370 u32 *cs; in __live_lrc_state() local
402 *cs++ = 0; in __live_lrc_state()
493 u32 *cs; in gpr_make_dirty() local
528 u32 *cs; in __gpr_read() local
583 u32 *cs; in __live_lrc_gpr() local
705 u32 *cs; in create_timestamp() local
1000 u32 *cs; in record_registers() local
[all …]
/linux/kernel/time/
A Dclocksource.c175 cs->mark_unstable(cs); in __clocksource_unstable()
217 *csnow = cs->read(cs); in cs_watchdog_read()
295 csnow_mid = cs->read(cs); in clocksource_verify_one_cpu()
325 csnow_end = cs->read(cs); in clocksource_verify_percpu()
425 cs->tick_stable(cs); in clocksource_watchdog()
787 cs->suspend(cs); in clocksource_suspend()
799 cs->resume(cs); in clocksource_resume()
1085 while (freq && ((cs->mult + cs->maxadj < cs->mult) in __clocksource_update_freq_scale()
1086 || (cs->mult - cs->maxadj > cs->mult))) { in __clocksource_update_freq_scale()
1096 WARN_ONCE(cs->mult + cs->maxadj < cs->mult, in __clocksource_update_freq_scale()
[all …]
/linux/drivers/scsi/
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()
1539 cs->reset(cs->io_base); in myrs_host_reset()
2128 myrs_log_event(cs, cs->event_buf); in myrs_monitor()
2249 cs->fwstat_buf, cs->fwstat_addr); in myrs_unmap()
2272 cs->disable_intr(cs); in myrs_cleanup()
2277 free_irq(cs->irq, cs); in myrs_cleanup()
[all …]
/linux/kernel/cgroup/
A Dcpuset.c431 cs = parent_cs(cs); in guarantee_online_cpus()
463 cs = parent_cs(cs); in guarantee_online_mems()
514 if (cs) { in alloc_cpumasks()
549 if (cs) { in free_cpumasks()
569 trial = kmemdup(cs, sizeof(*cs), GFP_KERNEL); in alloc_trial_cpuset()
590 kfree(cs); in free_cpuset()
2793 cs = kzalloc(sizeof(*cs), GFP_KERNEL); in cpuset_css_alloc()
2794 if (!cs) in cpuset_css_alloc()
3491 while (!(is_mem_exclusive(cs) || is_mem_hardwall(cs)) && parent_cs(cs)) in nearest_hardwall_ancestor()
3492 cs = parent_cs(cs); in nearest_hardwall_ancestor()
[all …]
/linux/drivers/gpu/drm/i915/pxp/
A Dintel_pxp_cmd.c27 *cs++ = 0; in pxp_emit_session_selection()
28 *cs++ = 0; in pxp_emit_session_selection()
39 *cs++ = 0; in pxp_emit_session_selection()
43 return cs; in pxp_emit_session_selection()
50 *cs++ = 0; in pxp_emit_inline_termination()
52 return cs; in pxp_emit_inline_termination()
57 cs = pxp_emit_session_selection(cs, idx); in pxp_emit_session_termination()
58 cs = pxp_emit_inline_termination(cs); in pxp_emit_session_termination()
99 u32 *cs; in intel_pxp_terminate_session() local
121 cs = pxp_emit_session_termination(cs, id); in intel_pxp_terminate_session()
[all …]
/linux/drivers/memory/
A Dstm32-fmc2-ebi.c179 int cs) in stm32_fmc2_ebi_check_mux() argument
193 int cs) in stm32_fmc2_ebi_check_waitcfg() argument
207 int cs) in stm32_fmc2_ebi_check_sync_trans() argument
273 if (cs) in stm32_fmc2_ebi_check_clk_period()
288 if (cs) in stm32_fmc2_ebi_check_cclk()
949 for (cs = 0; cs < FMC2_MAX_EBI_CE; cs++) { in stm32_fmc2_ebi_save_setup()
950 regmap_read(ebi->regmap, FMC2_BCR(cs), &ebi->bcr[cs]); in stm32_fmc2_ebi_save_setup()
951 regmap_read(ebi->regmap, FMC2_BTR(cs), &ebi->btr[cs]); in stm32_fmc2_ebi_save_setup()
962 for (cs = 0; cs < FMC2_MAX_EBI_CE; cs++) { in stm32_fmc2_ebi_set_setup()
975 for (cs = 0; cs < FMC2_MAX_EBI_CE; cs++) { in stm32_fmc2_ebi_disable_banks()
[all …]
A Domap-gpmc.c628 cs, name, ticks, gpmc_get_clk_period(cs, cd) * ticks / 1000, in set_gpmc_timing_reg()
1020 if (cs >= gpmc_cs_num || cs < 0 || !gpmc_cs_reserved(cs)) { in gpmc_cs_free()
1025 gpmc = &gpmc_cs[cs]; in gpmc_cs_free()
1450 int cs; in gpmc_mem_exit() local
1452 for (cs = 0; cs < gpmc_cs_num; cs++) { in gpmc_mem_exit()
1461 int cs; in gpmc_mem_init() local
1467 for (cs = 0; cs < gpmc_cs_num; cs++) { in gpmc_mem_init()
2082 int ret, cs; in gpmc_probe_generic_child() local
2125 cs); in gpmc_probe_generic_child()
2145 cs, &res.start); in gpmc_probe_generic_child()
[all …]
/linux/sound/core/
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/
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/drivers/misc/habanalabs/common/
A Dcommand_submission.c182 if (cs->staged_cs && !cs->staged_last) in cs_needs_completion()
193 if (cs->staged_cs && !cs->staged_first) in cs_needs_timeout()
269 struct hl_cs *cs = job->cs; in complete_job() local
424 if (cs->staged_cs && cs->staged_last) { in cs_handle_tdr()
932 cs->ctx->asid, cs->sequence); in hl_cs_rollback_all()
983 struct hl_cs *cs = job->cs; in job_wq_completion() local
1233 cs->staged_sequence = cs->sequence; in cs_staged_submission()
1370 job->cs = cs; in cs_ioctl_default()
1411 cs->ctx->asid, cs->sequence); in cs_ioctl_default()
1428 cs->ctx->asid, cs->sequence, rc); in cs_ioctl_default()
[all …]
/linux/fs/fuse/
A Ddev.c667 memset(cs, 0, sizeof(*cs)); in fuse_copy_init()
678 if (cs->write) in fuse_copy_finish()
688 cs->pg = NULL; in fuse_copy_finish()
721 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill()
817 cs->nr_segs--; in fuse_try_move_page()
878 cs->len = 0; in fuse_try_move_page()
905 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page()
923 cs->nr_segs++; in fuse_ref_page()
924 cs->len = 0; in fuse_ref_page()
943 if (cs->write && cs->pipebufs && page) { in fuse_copy_page()
[all …]
/linux/include/linux/
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/arch/mips/bcm63xx/
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/tools/perf/util/
A Dcomm.c24 if (cs && refcount_inc_not_zero(&cs->refcnt)) in comm_str__get()
25 return cs; in comm_str__get()
32 if (cs && refcount_dec_and_test(&cs->refcnt)) { in comm_str__put()
36 zfree(&cs->str); in comm_str__put()
37 free(cs); in comm_str__put()
45 cs = zalloc(sizeof(*cs)); in comm_str__alloc()
46 if (!cs) in comm_str__alloc()
50 if (!cs->str) { in comm_str__alloc()
51 free(cs); in comm_str__alloc()
57 return cs; in comm_str__alloc()
[all …]
/linux/drivers/net/slip/
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/drivers/s390/char/
A Draw3270.h218 struct string *cs, *tmp; in alloc_string() local
223 if (cs->size < size) in alloc_string()
226 char *endaddr = (char *) (cs + 1) + cs->size; in alloc_string()
230 cs = tmp; in alloc_string()
232 list_del(&cs->list); in alloc_string()
233 cs->len = len; in alloc_string()
234 INIT_LIST_HEAD(&cs->list); in alloc_string()
236 return cs; in alloc_string()
257 if ((char *) (cs + 1) + cs->size == (char *) tmp) { in free_string()
271 return cs->size; in free_string()
[all …]
/linux/net/ceph/
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/clocksource/
A Dtimer-pistachio.c51 struct clocksource cs; member
56 #define to_pistachio_clocksource(cs) \ argument
57 container_of(cs, struct pistachio_clocksource, cs)
92 return pistachio_clocksource_read_cycles(&pcs_gpt.cs); in pistachio_read_sched_clock()
115 pistachio_clksrc_set_mode(cs, timeridx, false); in pistachio_clksrc_enable()
117 pistachio_clksrc_set_mode(cs, timeridx, true); in pistachio_clksrc_enable()
123 pistachio_clksrc_set_mode(cs, timeridx, false); in pistachio_clksrc_disable()
128 pistachio_clksrc_enable(cs, 0); in pistachio_clocksource_enable()
134 pistachio_clksrc_disable(cs, 0); in pistachio_clocksource_disable()
139 .cs = {
[all …]

Completed in 120 milliseconds

12345678910>>...44