| /linux/kernel/cgroup/ |
| H A D | cpuset.c | 223 struct cpuset *cs = task_cs(p); in inc_dl_tasks_cs() local 230 struct cpuset *cs = task_cs(p); in dec_dl_tasks_cs() local 235 static inline bool is_partition_valid(const struct cpuset *cs) in is_partition_valid() 240 static inline bool is_partition_invalid(const struct cpuset *cs) in is_partition_invalid() 245 static inline bool cs_is_member(const struct cpuset *cs) in cs_is_member() 253 static inline void make_partition_invalid(struct cpuset *cs) in make_partition_invalid() 262 static inline void notify_partition_change(struct cpuset *cs, int old_prs) in notify_partition_change() 374 static inline void dec_attach_in_progress_locked(struct cpuset *cs) in dec_attach_in_progress_locked() 383 static inline void dec_attach_in_progress(struct cpuset *cs) in dec_attach_in_progress() 424 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() 451 struct cpuset *cs = css_cs(css); in cpuset_read_u64() local 484 struct cpuset *cs = css_cs(css); in cpuset_write_u64() local [all …]
|
| H A D | cpuset-internal.h | 208 static inline struct cpuset *parent_cs(struct cpuset *cs) in parent_cs() 214 static inline bool is_cpuset_online(struct cpuset *cs) in is_cpuset_online() 219 static inline int is_cpu_exclusive(const struct cpuset *cs) in is_cpu_exclusive() 224 static inline int is_mem_exclusive(const struct cpuset *cs) in is_mem_exclusive() 229 static inline int is_mem_hardwall(const struct cpuset *cs) in is_mem_hardwall() 234 static inline int is_sched_load_balance(const struct cpuset *cs) in is_sched_load_balance() 239 static inline int is_memory_migrate(const struct cpuset *cs) in is_memory_migrate() 244 static inline int is_spread_page(const struct cpuset *cs) in is_spread_page() 249 static inline int is_spread_slab(const struct cpuset *cs) in is_spread_slab() 269 static inline bool cpuset_is_populated(struct cpuset *cs) in cpuset_is_populated() [all …]
|
| /linux/drivers/scsi/ |
| H A D | myrs.c | 104 static void myrs_qcmd(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk) in myrs_qcmd() 128 static void myrs_exec_cmd(struct myrs_hba *cs, in myrs_exec_cmd() 145 static void myrs_report_progress(struct myrs_hba *cs, unsigned short ldev_num, in myrs_report_progress() 158 static unsigned char myrs_get_ctlr_info(struct myrs_hba *cs) in myrs_get_ctlr_info() 219 static unsigned char myrs_get_ldev_info(struct myrs_hba *cs, in myrs_get_ldev_info() 306 static unsigned char myrs_get_pdev_info(struct myrs_hba *cs, in myrs_get_pdev_info() 350 static unsigned char myrs_dev_op(struct myrs_hba *cs, in myrs_dev_op() 375 static unsigned char myrs_translate_pdev(struct myrs_hba *cs, in myrs_translate_pdev() 419 static unsigned char myrs_get_event(struct myrs_hba *cs, in myrs_get_event() 454 static unsigned char myrs_get_fwstatus(struct myrs_hba *cs) in myrs_get_fwstatus() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| 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()
|
| H A D | selftest_engine_pm.c | 34 static u32 *emit_wait(u32 *cs, u32 offset, int op, u32 value) in emit_wait() 47 static u32 *emit_store(u32 *cs, u32 offset, u32 value) in emit_store() 57 static u32 *emit_srm(u32 *cs, i915_reg_t reg, u32 offset) in emit_srm() 80 u32 *cs; in __measure_timestamps() local
|
| /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 233 static struct sh_tmu_channel *cs_to_sh_tmu(struct clocksource *cs) in cs_to_sh_tmu() 238 static u64 sh_tmu_clocksource_read(struct clocksource *cs) in sh_tmu_clocksource_read() 245 static int sh_tmu_clocksource_enable(struct clocksource *cs) in sh_tmu_clocksource_enable() 260 static void sh_tmu_clocksource_disable(struct clocksource *cs) in sh_tmu_clocksource_disable() 271 static void sh_tmu_clocksource_suspend(struct clocksource *cs) in sh_tmu_clocksource_suspend() 284 static void sh_tmu_clocksource_resume(struct clocksource *cs) in sh_tmu_clocksource_resume() 300 struct clocksource *cs = &ch->cs; in sh_tmu_register_clocksource() local
|
| H A D | timer-ti-32k.c | 50 struct clocksource cs; member 53 static inline struct ti_32k *to_ti_32k(struct clocksource *cs) in to_ti_32k() 58 static u64 notrace ti_32k_read_cycles(struct clocksource *cs) in ti_32k_read_cycles()
|
| H A D | timer-goldfish.c | 13 struct clocksource cs; member 24 static struct goldfish_timer *cs_to_gf(struct clocksource *cs) in cs_to_gf() 29 static u64 goldfish_timer_read(struct clocksource *cs) in goldfish_timer_read()
|
| /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 | 846 void fuse_copy_init(struct fuse_copy_state *cs, bool write, in fuse_copy_init() 855 void fuse_copy_finish(struct fuse_copy_state *cs) in fuse_copy_finish() 877 static int fuse_copy_fill(struct fuse_copy_state *cs) in fuse_copy_fill() 936 static int fuse_copy_do(struct fuse_copy_state *cs, void **val, unsigned *size) in fuse_copy_do() 985 static int fuse_try_move_folio(struct fuse_copy_state *cs, struct folio **foliop) in fuse_try_move_folio() 1091 static int fuse_ref_folio(struct fuse_copy_state *cs, struct folio *folio, in fuse_ref_folio() 1125 static int fuse_copy_folio(struct fuse_copy_state *cs, struct folio **foliop, in fuse_copy_folio() 1185 static int fuse_copy_folios(struct fuse_copy_state *cs, unsigned nbytes, in fuse_copy_folios() 1207 static int fuse_copy_one(struct fuse_copy_state *cs, void *val, unsigned size) in fuse_copy_one() 1221 int fuse_copy_args(struct fuse_copy_state *cs, unsigned numargs, in fuse_copy_args() [all …]
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | command_submission.c | 250 void cs_get(struct hl_cs *cs) in cs_get() 255 static int cs_get_unless_zero(struct hl_cs *cs) in cs_get_unless_zero() 260 static void cs_put(struct hl_cs *cs) in cs_put() 277 bool cs_needs_completion(struct hl_cs *cs) in cs_needs_completion() 288 bool cs_needs_timeout(struct hl_cs *cs) in cs_needs_timeout() 363 struct hl_cs *cs = job->cs; in hl_complete_job() local 438 struct hl_cs *cs; in hl_staged_cs_find_first() local 455 bool is_staged_cs_last_exists(struct hl_device *hdev, struct hl_cs *cs) in is_staged_cs_last_exists() 478 static void staged_cs_get(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_get() 497 static void staged_cs_put(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_put() [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/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()
|
| /linux/drivers/spi/ |
| 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
|
| /linux/arch/arm/mach-footbridge/ |
| H A D | dc21285-timer.c | 23 static u64 cksrc_dc21285_read(struct clocksource *cs) in cksrc_dc21285_read() 28 static int cksrc_dc21285_enable(struct clocksource *cs) in cksrc_dc21285_enable() 36 static void cksrc_dc21285_disable(struct clocksource *cs) in cksrc_dc21285_disable()
|