/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | gen8_engine_cs.c | 63 cs = gen8_emit_pipe_control(cs, 0, 0); in gen8_emit_flush_rcs() 115 u32 *cs; in gen11_emit_flush_rcs() local 211 cs = gen12_emit_pipe_control(cs, in gen12_emit_flush_rcs() 567 cs = emit_preempt_busywait(rq, cs); in gen8_emit_fini_breadcrumb_tail() 587 cs = gen8_emit_pipe_control(cs, in gen8_emit_fini_breadcrumb_rcs() 596 cs = gen8_emit_ggtt_write_rcs(cs, in gen8_emit_fini_breadcrumb_rcs() 607 cs = gen8_emit_pipe_control(cs, in gen11_emit_fini_breadcrumb_rcs() 617 cs = gen8_emit_ggtt_write_rcs(cs, in gen11_emit_fini_breadcrumb_rcs() 705 cs = gen12_emit_preempt_busywait(rq, cs); in gen12_emit_fini_breadcrumb_tail() 709 cs = ccs_emit_wa_busywait(rq, cs); in gen12_emit_fini_breadcrumb_tail() [all …]
|
A D | gen6_engine_cs.c | 60 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 …]
|
A D | gen2_engine_cs.c | 19 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 …]
|
A D | gen7_renderclear.c | 163 *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 …]
|
A D | intel_migrate.c | 331 u32 *cs; in emit_no_arbitration() local 405 hdr = cs; in emit_pte() 438 hdr = cs; in emit_pte() 532 u32 *cs; in emit_copy_ccs() local 581 u32 *cs; in emit_copy() local 590 *cs++ = 0; in emit_copy() 594 *cs++ = 0; in emit_copy() 601 *cs++ = 0; in emit_copy() 605 *cs++ = 0; in emit_copy() 919 u32 *cs; in emit_clear() local [all …]
|
A D | gen8_engine_cs.h | 78 *cs++ = offset; in __gen8_emit_write_rcs() 79 *cs++ = 0; in __gen8_emit_write_rcs() 80 *cs++ = value; in __gen8_emit_write_rcs() 83 return cs; in __gen8_emit_write_rcs() 92 return __gen8_emit_write_rcs(cs, in gen8_emit_ggtt_write_rcs() 105 return __gen8_emit_write_rcs(cs, in gen12_emit_ggtt_write_rcs() 116 *cs++ = gtt_offset; in __gen8_emit_flush_dw() 117 *cs++ = 0; in __gen8_emit_flush_dw() 118 *cs++ = value; in __gen8_emit_flush_dw() 120 return cs; in __gen8_emit_flush_dw() [all …]
|
A D | selftest_lrc.c | 84 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 …]
|
A D | selftest_engine_pm.c | 39 *cs++ = value; in emit_wait() 40 *cs++ = offset; in emit_wait() 41 *cs++ = 0; in emit_wait() 43 return cs; in emit_wait() 50 *cs++ = 0; in emit_store() 51 *cs++ = value; in emit_store() 53 return cs; in emit_store() 61 *cs++ = 0; in emit_srm() 63 return cs; in emit_srm() 79 u32 *cs; in __measure_timestamps() local [all …]
|
/linux-6.3-rc2/kernel/time/ |
A D | clocksource.c | 184 cs->mark_unstable(cs); in __clocksource_unstable() 232 *csnow = cs->read(cs); in cs_watchdog_read() 332 csnow_mid = cs->read(cs); in clocksource_verify_one_cpu() 362 csnow_end = cs->read(cs); in clocksource_verify_percpu() 501 cs->tick_stable(cs); in clocksource_watchdog() 855 cs->suspend(cs); in clocksource_suspend() 867 cs->resume(cs); in clocksource_resume() 1153 while (freq && ((cs->mult + cs->maxadj < cs->mult) in __clocksource_update_freq_scale() 1154 || (cs->mult - cs->maxadj > cs->mult))) { in __clocksource_update_freq_scale() 1164 WARN_ONCE(cs->mult + cs->maxadj < cs->mult, in __clocksource_update_freq_scale() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/pxp/ |
A D | intel_pxp_cmd.c | 29 *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-6.3-rc2/kernel/cgroup/ |
A D | cpuset.c | 317 cs->partition_root_state = -cs->partition_root_state; in make_partition_invalid() 514 cs = parent_cs(cs); in guarantee_online_cpus() 546 cs = parent_cs(cs); in guarantee_online_mems() 601 if (cs) { in alloc_cpumasks() 636 if (cs) { in free_cpumasks() 656 trial = kmemdup(cs, sizeof(*cs), GFP_KERNEL); in alloc_trial_cpuset() 677 kfree(cs); in free_cpuset() 3097 cs = kzalloc(sizeof(*cs), GFP_KERNEL); in cpuset_css_alloc() 3098 if (!cs) in cpuset_css_alloc() 3828 while (!(is_mem_exclusive(cs) || is_mem_hardwall(cs)) && parent_cs(cs)) in nearest_hardwall_ancestor() [all …]
|
/linux-6.3-rc2/drivers/scsi/ |
A D | myrs.c | 116 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-6.3-rc2/sound/core/ |
A D | pcm_iec958.c | 34 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-6.3-rc2/include/linux/mfd/syscon/ |
A D | atmel-smc.h | 18 #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-6.3-rc2/drivers/memory/ |
A D | stm32-fmc2-ebi.c | 179 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 D | omap-gpmc.c | 638 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-6.3-rc2/arch/mips/bcm63xx/ |
A D | cs.c | 24 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-6.3-rc2/tools/perf/util/ |
A D | comm.c | 24 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-6.3-rc2/include/linux/ |
A D | clocksource.h | 97 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-6.3-rc2/fs/fuse/ |
A D | dev.c | 661 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-6.3-rc2/net/ceph/ |
A D | string_table.c | 40 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-6.3-rc2/drivers/net/slip/ |
A D | slhc.c | 304 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-6.3-rc2/drivers/accel/habanalabs/common/ |
A D | command_submission.c | 264 if (cs->staged_cs && !cs->staged_last) in cs_needs_completion() 275 if (cs->staged_cs && !cs->staged_first) in cs_needs_timeout() 351 struct hl_cs *cs = job->cs; in hl_complete_job() local 512 if (cs->staged_cs && cs->staged_last) { in cs_handle_tdr() 1071 cs->ctx->asid, cs->sequence); in hl_cs_rollback_all() 1154 struct hl_cs *cs = job->cs; in job_wq_completion() local 1426 cs->staged_sequence = cs->sequence; in cs_staged_submission() 1567 job->cs = cs; in cs_ioctl_default() 1609 cs->ctx->asid, cs->sequence); in cs_ioctl_default() 1629 cs->ctx->asid, cs->sequence, rc); in cs_ioctl_default() [all …]
|
A D | hw_queue.c | 478 if (cs->encaps_signals) { in init_wait_cs() 536 cs->signal_fence = NULL; in init_wait_cs() 578 mgr = &cs->ctx->sig_mgr; in encaps_sig_first_staged_cs_handler() 689 if ((cs->type == CS_TYPE_SIGNAL) || (cs->type == CS_TYPE_WAIT)) { in hl_hw_queue_schedule_cs() 710 if (cs->encaps_signals && cs->staged_first) { in hl_hw_queue_schedule_cs() 719 if (cs->staged_cs && !cs->staged_first) { in hl_hw_queue_schedule_cs() 726 cs->staged_sequence); in hl_hw_queue_schedule_cs() 734 cs->staged_sequence); in hl_hw_queue_schedule_cs() 754 cs->tdr_active = true; in hl_hw_queue_schedule_cs() 755 schedule_delayed_work(&cs->work_tdr, cs->timeout_jiffies); in hl_hw_queue_schedule_cs() [all …]
|
/linux-6.3-rc2/drivers/clocksource/ |
A D | timer-pistachio.c | 48 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 …]
|