/linux/drivers/gpu/drm/i915/gt/ |
H A D | gen8_engine_cs.c | 16 u32 *cs, flags = 0; in gen8_emit_flush_rcs() local 81 u32 cmd, *cs; in gen8_emit_flush_xcs() local 115 u32 *cs; in gen11_emit_flush_rcs() local 137 u32 *cs; in gen11_emit_flush_rcs() local 199 u32 *gen12_emit_aux_table_inv(struct intel_engine_cs *engine, u32 *cs) in gen12_emit_aux_table_inv() 228 u32 *cs; in mtl_dummy_pipe_control() local 256 u32 *cs; in gen12_emit_flush_rcs() local 311 u32 *cs, count; in gen12_emit_flush_rcs() local 365 u32 *cs; in gen12_emit_flush_xcs() local 436 u32 *cs; in gen8_emit_init_breadcrumb() local [all …]
|
H A D | gen6_engine_cs.c | 60 u32 *cs; in gen6_emit_post_sync_nonzero_flush() local 94 u32 *cs, flags = 0; in gen6_emit_flush_rcs() local 143 u32 *gen6_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs) in gen6_emit_breadcrumb_rcs() 180 u32 cmd, *cs; in mi_flush_dw() local 234 u32 *cs; in gen6_emit_bb_start() local 256 u32 *cs; in hsw_emit_bb_start() local 274 u32 *cs; in gen7_stall_cs() local 294 u32 *cs, flags = 0; in gen7_emit_flush_rcs() local 353 u32 *gen7_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs) in gen7_emit_breadcrumb_rcs() 375 u32 *gen6_emit_breadcrumb_xcs(struct i915_request *rq, u32 *cs) in gen6_emit_breadcrumb_xcs() [all …]
|
H A D | gen8_engine_cs.h | 79 __gen8_emit_write_rcs(u32 *cs, u32 value, u32 offset, u32 flags0, u32 flags1) in __gen8_emit_write_rcs() 92 gen8_emit_ggtt_write_rcs(u32 *cs, u32 value, u32 gtt_offset, u32 flags) in gen8_emit_ggtt_write_rcs() 105 gen12_emit_ggtt_write_rcs(u32 *cs, u32 value, u32 gtt_offset, u32 flags0, u32 flags1) in gen12_emit_ggtt_write_rcs() 118 __gen8_emit_flush_dw(u32 *cs, u32 value, u32 gtt_offset, u32 flags) in __gen8_emit_flush_dw() 129 gen8_emit_ggtt_write(u32 *cs, u32 value, u32 gtt_offset, u32 flags) in gen8_emit_ggtt_write()
|
/linux/kernel/cgroup/ |
H A D | cpuset.c | 146 struct cpuset *cs = task_cs(p); in inc_dl_tasks_cs() local 153 struct cpuset *cs = task_cs(p); in dec_dl_tasks_cs() local 158 static inline bool is_partition_valid(const struct cpuset *cs) in is_partition_valid() 163 static inline bool is_partition_invalid(const struct cpuset *cs) in is_partition_invalid() 168 static inline bool cs_is_member(const struct cpuset *cs) in cs_is_member() 176 static inline void make_partition_invalid(struct cpuset *cs) in make_partition_invalid() 185 static inline void notify_partition_change(struct cpuset *cs, int old_prs) in notify_partition_change() 319 static inline void dec_attach_in_progress_locked(struct cpuset *cs) in dec_attach_in_progress_locked() 328 static inline void dec_attach_in_progress(struct cpuset *cs) in dec_attach_in_progress() 364 static inline bool partition_is_populated(struct cpuset *cs, in partition_is_populated() [all …]
|
H A D | cpuset-v1.c | 11 struct cpuset *cs; member 148 static int update_relax_domain_level(struct cpuset *cs, s64 val) in update_relax_domain_level() 168 struct cpuset *cs = css_cs(css); in cpuset_write_s64() local 192 struct cpuset *cs = css_cs(css); in cpuset_read_s64() local 212 void cpuset1_update_task_spread_flags(struct cpuset *cs, in cpuset1_update_task_spread_flags() 237 void cpuset1_update_tasks_flags(struct cpuset *cs) in cpuset1_update_tasks_flags() 255 static void remove_tasks_in_empty_cpuset(struct cpuset *cs) in remove_tasks_in_empty_cpuset() 285 void cpuset1_hotplug_update_tasks(struct cpuset *cs, in cpuset1_hotplug_update_tasks() 418 struct cpuset *cs = css_cs(css); in cpuset_read_u64() local 451 struct cpuset *cs = css_cs(css); in cpuset_write_u64() local
|
H A D | cpuset-internal.h | 196 static inline struct cpuset *parent_cs(struct cpuset *cs) in parent_cs() 202 static inline bool is_cpuset_online(struct cpuset *cs) in is_cpuset_online() 207 static inline int is_cpu_exclusive(const struct cpuset *cs) in is_cpu_exclusive() 212 static inline int is_mem_exclusive(const struct cpuset *cs) in is_mem_exclusive() 217 static inline int is_mem_hardwall(const struct cpuset *cs) in is_mem_hardwall() 222 static inline int is_sched_load_balance(const struct cpuset *cs) in is_sched_load_balance() 227 static inline int is_memory_migrate(const struct cpuset *cs) in is_memory_migrate() 232 static inline int is_spread_page(const struct cpuset *cs) in is_spread_page() 237 static inline int is_spread_slab(const struct cpuset *cs) in is_spread_slab() 297 static inline void cpuset1_update_task_spread_flags(struct cpuset *cs, in cpuset1_update_task_spread_flags() [all …]
|
/linux/kernel/time/ |
H A D | clocksource.c | 25 static noinline u64 cycles_to_nsec_safe(struct clocksource *cs, u64 start, u64 end) in cycles_to_nsec_safe() 195 static void clocksource_change_rating(struct clocksource *cs, int rating) in clocksource_change_rating() 202 static void __clocksource_unstable(struct clocksource *cs) in __clocksource_unstable() 231 void clocksource_mark_unstable(struct clocksource *cs) in clocksource_mark_unstable() 253 static enum wd_read_status cs_watchdog_read(struct clocksource *cs, u64 *csnow, u64 *wdnow) in cs_watchdog_read() 354 struct clocksource *cs = (struct clocksource *)csin; in clocksource_verify_one_cpu() local 359 void clocksource_verify_percpu(struct clocksource *cs) in clocksource_verify_percpu() 417 struct clocksource *cs; in clocksource_reset_watchdog() local 429 struct clocksource *cs; in clocksource_watchdog() local 623 static void clocksource_enqueue_watchdog(struct clocksource *cs) in clocksource_enqueue_watchdog() [all …]
|
/linux/drivers/memory/ |
H A D | stm32-fmc2-ebi.c | 243 int cs) in stm32_fmc2_ebi_check_mux() 260 int cs) in stm32_fmc2_ebi_check_waitcfg() 277 int cs) in stm32_fmc2_ebi_check_sync_trans() 294 int cs) in stm32_fmc2_ebi_mp25_check_cclk() 304 int cs) in stm32_fmc2_ebi_mp25_check_clk_period() 321 int cs) in stm32_fmc2_ebi_check_async_trans() 338 int cs) in stm32_fmc2_ebi_check_cpsize() 355 int cs) in stm32_fmc2_ebi_check_address_hold() 380 int cs) in stm32_fmc2_ebi_check_clk_period() 405 int cs) in stm32_fmc2_ebi_check_cclk() [all …]
|
H A D | omap-gpmc.c | 278 void gpmc_cs_write_reg(int cs, int idx, u32 val) in gpmc_cs_write_reg() 286 static u32 gpmc_cs_read_reg(int cs, int idx) in gpmc_cs_read_reg() 313 static unsigned long gpmc_get_clk_period(int cs, enum gpmc_clk_domain cd) in gpmc_get_clk_period() 335 static unsigned int gpmc_ns_to_clk_ticks(unsigned int time_ns, int cs, in gpmc_ns_to_clk_ticks() 373 static inline void gpmc_cs_modify_reg(int cs, int reg, u32 mask, bool value) in gpmc_cs_modify_reg() 385 static void gpmc_cs_bool_timings(int cs, const struct gpmc_bool_timings *p) in gpmc_cs_bool_timings() 408 static unsigned int gpmc_clk_ticks_to_ns(unsigned int ticks, int cs, in gpmc_clk_ticks_to_ns() 436 int cs, int reg, int st_bit, int end_bit, int max, in get_gpmc_timing_reg() 479 #define GPMC_PRINT_CONFIG(cs, config) \ argument 497 static void gpmc_show_regs(int cs, const char *desc) in gpmc_show_regs() [all …]
|
/linux/sound/core/ |
H A D | pcm_iec958.c | 29 int snd_pcm_create_iec958_consumer_default(u8 *cs, size_t len) in snd_pcm_create_iec958_consumer_default() 49 u8 *cs, size_t len) in fill_iec958_consumer() 134 u8 *cs, size_t len) in snd_pcm_fill_iec958_consumer() 157 u8 *cs, size_t len) in snd_pcm_fill_iec958_consumer_hw_params() 176 int snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs, in snd_pcm_create_iec958_consumer() 203 u8 *cs, size_t len) in snd_pcm_create_iec958_consumer_hw_params()
|
/linux/fs/xfs/scrub/ |
H A D | stats.c | 92 struct xchk_stats *cs, in xchk_stats_format() 135 struct xchk_stats *cs) in xchk_stats_estimate_bufsize() 168 struct xchk_stats *cs) in xchk_stats_clearall() 189 struct xchk_stats *cs, in xchk_stats_merge_one() 248 struct xchk_stats *cs = file->private_data; in xchk_scrub_stats_read() local 291 struct xchk_stats *cs = file->private_data; in xchk_clear_scrub_stats_write() local 314 struct xchk_stats *cs, in xchk_stats_init() 329 struct xchk_stats *cs, in xchk_stats_register() 348 struct xchk_stats *cs) in xchk_stats_teardown() 356 struct xchk_stats *cs) in xchk_stats_unregister() [all …]
|
/linux/drivers/clocksource/ |
H A D | timer-pistachio.c | 48 struct clocksource cs; member 53 #define to_pistachio_clocksource(cs) \ argument 68 pistachio_clocksource_read_cycles(struct clocksource *cs) in pistachio_clocksource_read_cycles() 93 static void pistachio_clksrc_set_mode(struct clocksource *cs, int timeridx, in pistachio_clksrc_set_mode() 108 static void pistachio_clksrc_enable(struct clocksource *cs, int timeridx) in pistachio_clksrc_enable() 118 static void pistachio_clksrc_disable(struct clocksource *cs, int timeridx) in pistachio_clksrc_disable() 124 static int pistachio_clocksource_enable(struct clocksource *cs) in pistachio_clocksource_enable() 130 static void pistachio_clocksource_disable(struct clocksource *cs) in pistachio_clocksource_disable()
|
H A D | em_sti.c | 33 struct clocksource cs; member 181 static struct em_sti_priv *cs_to_em_sti(struct clocksource *cs) in cs_to_em_sti() 186 static u64 em_sti_clocksource_read(struct clocksource *cs) in em_sti_clocksource_read() 191 static int em_sti_clocksource_enable(struct clocksource *cs) in em_sti_clocksource_enable() 198 static void em_sti_clocksource_disable(struct clocksource *cs) in em_sti_clocksource_disable() 203 static void em_sti_clocksource_resume(struct clocksource *cs) in em_sti_clocksource_resume() 210 struct clocksource *cs = &p->cs; in em_sti_register_clocksource() local
|
H A D | ingenic-ost.c | 39 struct clocksource cs; member 56 static u64 notrace ingenic_ost_clocksource_readl(struct clocksource *cs) in ingenic_ost_clocksource_readl() 61 static u64 notrace ingenic_ost_clocksource_readh(struct clocksource *cs) in ingenic_ost_clocksource_readh() 71 struct clocksource *cs; in ingenic_ost_probe() local
|
H A D | sh_tmu.c | 47 struct clocksource cs; member 248 static struct sh_tmu_channel *cs_to_sh_tmu(struct clocksource *cs) in cs_to_sh_tmu() 253 static u64 sh_tmu_clocksource_read(struct clocksource *cs) in sh_tmu_clocksource_read() 260 static int sh_tmu_clocksource_enable(struct clocksource *cs) in sh_tmu_clocksource_enable() 275 static void sh_tmu_clocksource_disable(struct clocksource *cs) in sh_tmu_clocksource_disable() 286 static void sh_tmu_clocksource_suspend(struct clocksource *cs) in sh_tmu_clocksource_suspend() 299 static void sh_tmu_clocksource_resume(struct clocksource *cs) in sh_tmu_clocksource_resume() 315 struct clocksource *cs = &ch->cs; in sh_tmu_register_clocksource() local
|
H A D | acpi_pm.c | 79 static void acpi_pm_suspend(struct clocksource *cs) in acpi_pm_suspend() 85 static void acpi_pm_resume(struct clocksource *cs) in acpi_pm_resume() 91 static u64 acpi_pm_read(struct clocksource *cs) in acpi_pm_read() 116 static u64 acpi_pm_read_slow(struct clocksource *cs) in acpi_pm_read_slow()
|
/linux/include/linux/mfd/syscon/ |
H A D | atmel-smc.h | 21 #define ATMEL_HSMC_SETUP(layout, cs) \ argument 22 ((layout)->timing_regs_offset + ((cs) * 0x14)) argument 24 #define ATMEL_HSMC_PULSE(layout, cs) \ argument 25 ((layout)->timing_regs_offset + ((cs) * 0x14) + 0x4) argument 18 ATMEL_SMC_SETUP(cs) global() argument 19 ATMEL_HSMC_SETUP(layout,cs) global() argument 32 ATMEL_SMC_MODE(cs) global() argument 33 ATMEL_HSMC_MODE(layout,cs) global() argument 64 ATMEL_HSMC_TIMINGS(layout,cs) global() argument [all...] |
/linux/arch/mips/bcm63xx/ |
H A D | cs.c | 24 static int is_valid_cs(unsigned int cs) in is_valid_cs() 35 int bcm63xx_set_cs_base(unsigned int cs, u32 base, unsigned int size) in bcm63xx_set_cs_base() 66 int bcm63xx_set_cs_timing(unsigned int cs, unsigned int wait, in bcm63xx_set_cs_timing() 94 int bcm63xx_set_cs_param(unsigned int cs, u32 params) in bcm63xx_set_cs_param() 126 int bcm63xx_set_cs_status(unsigned int cs, int enable) in bcm63xx_set_cs_status()
|
/linux/drivers/gpu/drm/i915/pxp/ |
H A D | intel_pxp_cmd.c | 23 static u32 *pxp_emit_session_selection(u32 *cs, u32 idx) in pxp_emit_session_selection() 48 static u32 *pxp_emit_inline_termination(u32 *cs) in pxp_emit_inline_termination() 57 static u32 *pxp_emit_session_termination(u32 *cs, u32 idx) in pxp_emit_session_termination() 65 static u32 *pxp_emit_wait(u32 *cs) in pxp_emit_wait() 101 u32 *cs; in intel_pxp_terminate_session() local
|
/linux/fs/fuse/ |
H A D | dev.c | 840 void fuse_copy_init(struct fuse_copy_state *cs, bool write, in fuse_copy_init() 849 static void fuse_copy_finish(struct fuse_copy_state *cs) in fuse_copy_finish() 871 static int fuse_copy_fill(struct fuse_copy_state *cs) in fuse_copy_fill() 930 static int fuse_copy_do(struct fuse_copy_state *cs, void **val, unsigned *size) in fuse_copy_do() 979 static int fuse_try_move_folio(struct fuse_copy_state *cs, struct folio **foliop) in fuse_try_move_folio() 1082 static int fuse_ref_folio(struct fuse_copy_state *cs, struct folio *folio, in fuse_ref_folio() 1116 static int fuse_copy_folio(struct fuse_copy_state *cs, struct folio **foliop, in fuse_copy_folio() 1176 static int fuse_copy_folios(struct fuse_copy_state *cs, unsigned nbytes, in fuse_copy_folios() 1198 static int fuse_copy_one(struct fuse_copy_state *cs, void *val, unsigned size) in fuse_copy_one() 1212 int fuse_copy_args(struct fuse_copy_state *cs, unsigned numargs, in fuse_copy_args() [all …]
|
/linux/drivers/edac/ |
H A D | armada_xp_edac.c | 29 #define SDRAM_ADDR_CTRL_SIZE_HIGH_OFFSET(cs) (20+cs) argument 30 #define SDRAM_ADDR_CTRL_SIZE_HIGH_MASK(cs) (0x1 << SDRAM_ADDR_CTRL_SIZE_HIGH_OFFSET(cs)) argument 31 #define SDRAM_ADDR_CTRL_ADDR_SEL_MASK(cs) BIT(16+cs) argument 32 #define SDRAM_ADDR_CTRL_SIZE_LOW_OFFSET(cs) (cs*4+2) argument 33 #define SDRAM_ADDR_CTRL_SIZE_LOW_MASK(cs) (0x3 << SDRAM_ADDR_CTRL_SIZE_LOW_OFFSET(cs)) argument 34 #define SDRAM_ADDR_CTRL_STRUCT_OFFSET(cs) (cs*4) argument 35 #define SDRAM_ADDR_CTRL_STRUCT_MASK(cs) (0x3 << SDRAM_ADDR_CTRL_STRUCT_OFFSET(cs)) argument 71 #define SDRAM_RANK_CTRL_EXIST_MASK(cs) BIT(cs) argument 85 uint8_t cs, uint8_t bank, uint16_t row, in axp_mc_calc_address()
|
/linux/drivers/spi/ |
H A D | spi-dw-mmio.c | 65 #define ELBA_SPICS_OFFSET(cs) ((cs) << 1) argument 66 #define ELBA_SPICS_MASK(cs) (GENMASK(1, 0) << ELBA_SPICS_OFFSET(cs)) argument 67 #define ELBA_SPICS_SET(cs, val) \ argument 82 u32 cs = spi_get_chipselect(spi, 0); in dw_spi_mscc_set_cs() local 155 u8 cs = spi_get_chipselect(spi, 0); in dw_spi_sparx5_set_cs() local 272 static void dw_spi_elba_override_cs(struct regmap *syscon, int cs, int enable) in dw_spi_elba_override_cs() 283 u8 cs; in dw_spi_elba_set_cs() local
|
H A D | spi-wpcm-fiu.c | 97 static int wpcm_fiu_do_uma(struct wpcm_fiu_spi *fiu, unsigned int cs, in wpcm_fiu_do_uma() 119 static void wpcm_fiu_ects_assert(struct wpcm_fiu_spi *fiu, unsigned int cs) in wpcm_fiu_ects_assert() 127 static void wpcm_fiu_ects_deassert(struct wpcm_fiu_spi *fiu, unsigned int cs) in wpcm_fiu_ects_deassert() 198 int cs = spi_get_chipselect(mem->spi, 0); in wpcm_fiu_4ba_exec() local 243 int cs = spi_get_chipselect(mem->spi, 0); in wpcm_fiu_rdid_exec() local 280 int cs = spi_get_chipselect(mem->spi, 0); in wpcm_fiu_dummy_exec() local 378 int cs = spi_get_chipselect(desc->mem->spi, 0); in wpcm_fiu_dirmap_create() local 402 int cs = spi_get_chipselect(desc->mem->spi, 0); in wpcm_fiu_direct_read() local
|
H A D | spi-omap2-mcspi.c | 117 struct list_head cs; member 168 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_cs_reg() local 175 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_read_cs_reg() local 182 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_cached_chconf0() local 189 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_chconf0() local 228 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_enable() local 310 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_fifo() local 459 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_rx_dma() local 596 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_dma() local 704 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_pio() local [all …]
|
/linux/tools/perf/util/ |
H A D | comm.c | 44 static refcount_t *comm_str__refcnt(struct comm_str *cs) in comm_str__refcnt() 49 static const char *comm_str__str(const struct comm_str *cs) in comm_str__str() 54 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get() 64 static void comm_str__put(struct comm_str *cs) in comm_str__put() 100 static void comm_strs__remove_if_last(struct comm_str *cs) in comm_strs__remove_if_last()
|