/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | gen8_engine_cs.c | 16 u32 *cs, flags = 0; in gen8_emit_flush_rcs() local 58 cs = intel_ring_begin(rq, len); in gen8_emit_flush_rcs() 59 if (IS_ERR(cs)) in gen8_emit_flush_rcs() 60 return PTR_ERR(cs); in gen8_emit_flush_rcs() 63 cs = gen8_emit_pipe_control(cs, 0, 0); in gen8_emit_flush_rcs() 66 cs = gen8_emit_pipe_control(cs, PIPE_CONTROL_DC_FLUSH_ENABLE, in gen8_emit_flush_rcs() 69 cs = gen8_emit_pipe_control(cs, flag in gen8_emit_flush_rcs() 81 u32 cmd, *cs; gen8_emit_flush_xcs() local 115 u32 *cs; gen11_emit_flush_rcs() local 137 u32 *cs; gen11_emit_flush_rcs() local 202 gen12_emit_aux_table_inv(struct intel_engine_cs *engine, u32 *cs) gen12_emit_aux_table_inv() argument 231 u32 *cs; mtl_dummy_pipe_control() local 259 u32 *cs; gen12_emit_flush_rcs() local 313 u32 *cs, count; gen12_emit_flush_rcs() local 367 u32 *cs; gen12_emit_flush_xcs() local 438 u32 *cs; gen8_emit_init_breadcrumb() local 490 u32 *cs; __xehp_emit_bb_start() local 542 u32 *cs; gen8_emit_bb_start_noarb() local 578 u32 *cs; gen8_emit_bb_start() local 615 gen8_emit_wa_tail(struct i915_request *rq, u32 *cs) gen8_emit_wa_tail() argument 628 emit_preempt_busywait(struct i915_request *rq, u32 *cs) emit_preempt_busywait() argument 644 gen8_emit_fini_breadcrumb_tail(struct i915_request *rq, u32 *cs) gen8_emit_fini_breadcrumb_tail() argument 659 emit_xcs_breadcrumb(struct i915_request *rq, u32 *cs) emit_xcs_breadcrumb() argument 664 gen8_emit_fini_breadcrumb_xcs(struct i915_request *rq, u32 *cs) gen8_emit_fini_breadcrumb_xcs() argument 669 gen8_emit_fini_breadcrumb_rcs(struct i915_request *rq, u32 *cs) gen8_emit_fini_breadcrumb_rcs() argument 689 gen11_emit_fini_breadcrumb_rcs(struct i915_request *rq, u32 *cs) gen11_emit_fini_breadcrumb_rcs() argument 729 gen12_emit_preempt_busywait(struct i915_request *rq, u32 *cs) gen12_emit_preempt_busywait() argument 753 ccs_emit_wa_busywait(struct i915_request *rq, u32 *cs) ccs_emit_wa_busywait() argument 782 gen12_emit_fini_breadcrumb_tail(struct i915_request *rq, u32 *cs) gen12_emit_fini_breadcrumb_tail() argument 801 gen12_emit_fini_breadcrumb_xcs(struct i915_request *rq, u32 *cs) gen12_emit_fini_breadcrumb_xcs() argument 808 gen12_emit_fini_breadcrumb_rcs(struct i915_request *rq, u32 *cs) gen12_emit_fini_breadcrumb_rcs() argument [all...] |
H A D | gen6_engine_cs.c | 60 u32 *cs; in gen6_emit_post_sync_nonzero_flush() local 62 cs = intel_ring_begin(rq, 6); in gen6_emit_post_sync_nonzero_flush() 63 if (IS_ERR(cs)) in gen6_emit_post_sync_nonzero_flush() 64 return PTR_ERR(cs); in gen6_emit_post_sync_nonzero_flush() 66 *cs++ = GFX_OP_PIPE_CONTROL(5); in gen6_emit_post_sync_nonzero_flush() 67 *cs++ = PIPE_CONTROL_CS_STALL | PIPE_CONTROL_STALL_AT_SCOREBOARD; in gen6_emit_post_sync_nonzero_flush() 68 *cs++ = scratch_addr | PIPE_CONTROL_GLOBAL_GTT; in gen6_emit_post_sync_nonzero_flush() 69 *cs++ = 0; /* low dword */ in gen6_emit_post_sync_nonzero_flush() 70 *cs++ = 0; /* high dword */ in gen6_emit_post_sync_nonzero_flush() 71 *cs in gen6_emit_post_sync_nonzero_flush() 94 u32 *cs, flags = 0; gen6_emit_flush_rcs() local 143 gen6_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs) gen6_emit_breadcrumb_rcs() argument 180 u32 cmd, *cs; mi_flush_dw() local 234 u32 *cs; gen6_emit_bb_start() local 256 u32 *cs; hsw_emit_bb_start() local 274 u32 *cs; gen7_stall_cs() local 294 u32 *cs, flags = 0; gen7_emit_flush_rcs() local 353 gen7_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs) gen7_emit_breadcrumb_rcs() argument 375 gen6_emit_breadcrumb_xcs(struct i915_request *rq, u32 *cs) gen6_emit_breadcrumb_xcs() argument 393 gen7_emit_breadcrumb_xcs(struct i915_request *rq, u32 *cs) gen7_emit_breadcrumb_xcs() argument [all...] |
H A D | gen2_engine_cs.c | 19 u32 cmd, *cs; in gen2_emit_flush() local 25 cs = intel_ring_begin(rq, 2 + 4 * num_store_dw); in gen2_emit_flush() 26 if (IS_ERR(cs)) in gen2_emit_flush() 27 return PTR_ERR(cs); in gen2_emit_flush() 29 *cs++ = cmd; in gen2_emit_flush() 31 *cs++ = MI_STORE_DWORD_INDEX; in gen2_emit_flush() 32 *cs++ = I915_GEM_HWS_SCRATCH * sizeof(u32); in gen2_emit_flush() 33 *cs++ = 0; in gen2_emit_flush() 34 *cs++ = MI_FLUSH | MI_NO_WRITE_FLUSH; in gen2_emit_flush() 36 *cs in gen2_emit_flush() 45 u32 cmd, *cs; gen4_emit_flush_rcs() local 131 u32 *cs; gen4_emit_flush_vcs() local 144 __gen2_emit_breadcrumb(struct i915_request *rq, u32 *cs, int flush, int post) __gen2_emit_breadcrumb() argument 172 gen3_emit_breadcrumb(struct i915_request *rq, u32 *cs) gen3_emit_breadcrumb() argument 177 gen5_emit_breadcrumb(struct i915_request *rq, u32 *cs) gen5_emit_breadcrumb() argument 190 u32 *cs, cs_offset = i830_emit_bb_start() local 255 u32 *cs; gen3_emit_bb_start() local 276 u32 *cs; gen4_emit_bb_start() local [all...] |
H A D | gen7_renderclear.c | 102 static u32 batch_offset(const struct batch_chunk *bc, u32 *cs) in batch_offset() argument 104 return (cs - bc->start) * sizeof(*bc->start) + bc->offset; in batch_offset() 148 u32 *cs = batch_alloc_items(state, 32, 8); in gen7_fill_surface_state() local 149 u32 offset = batch_offset(state, cs); in gen7_fill_surface_state() 155 *cs++ = SURFACE_2D << 29 | in gen7_fill_surface_state() 159 *cs++ = batch_addr(state) + dst_offset; in gen7_fill_surface_state() 161 *cs++ = ((surface_h / 4 - 1) << 16) | (surface_w / 4 - 1); in gen7_fill_surface_state() 162 *cs++ = surface_w; in gen7_fill_surface_state() 163 *cs++ = 0; in gen7_fill_surface_state() 164 *cs in gen7_fill_surface_state() 180 u32 *cs = batch_alloc_items(state, 32, 8); gen7_fill_binding_table() local 215 u32 *cs = batch_alloc_items(state, 32, 8 * count); gen7_fill_interface_descriptor() local 238 u32 *cs = batch_alloc_items(batch, 0, 10); gen7_emit_state_base_address() local 267 u32 *cs = batch_alloc_items(batch, 32, 8); gen7_emit_vfe_state() local 294 u32 *cs = batch_alloc_items(batch, 8, 4); gen7_emit_interface_descriptor_load() local 315 u32 *cs; gen7_emit_media_object() local 342 u32 *cs = batch_alloc_items(batch, 0, 4); gen7_emit_pipeline_flush() local 357 u32 *cs = batch_alloc_items(batch, 0, 10); gen7_emit_pipeline_invalidate() local [all...] |
H A D | intel_migrate.c | 336 u32 *cs; in emit_no_arbitration() local 338 cs = intel_ring_begin(rq, 2); in emit_no_arbitration() 339 if (IS_ERR(cs)) in emit_no_arbitration() 340 return PTR_ERR(cs); in emit_no_arbitration() 343 *cs++ = MI_ARB_ON_OFF; in emit_no_arbitration() 344 *cs++ = MI_NOOP; in emit_no_arbitration() 345 intel_ring_advance(rq, cs); in emit_no_arbitration() 376 u32 *hdr, *cs; in emit_pte() local 403 cs = intel_ring_begin(rq, I915_EMIT_PTE_NUM_DWORDS); in emit_pte() 404 if (IS_ERR(cs)) in emit_pte() 537 u32 *cs; emit_copy_ccs() local 586 u32 *cs; emit_copy() local 924 u32 *cs; emit_clear() local [all...] |
H A D | gen8_engine_cs.h | 43 u32 *gen8_emit_fini_breadcrumb_xcs(struct i915_request *rq, u32 *cs); 44 u32 *gen12_emit_fini_breadcrumb_xcs(struct i915_request *rq, u32 *cs); 46 u32 *gen8_emit_fini_breadcrumb_rcs(struct i915_request *rq, u32 *cs); 47 u32 *gen11_emit_fini_breadcrumb_rcs(struct i915_request *rq, u32 *cs); 48 u32 *gen12_emit_fini_breadcrumb_rcs(struct i915_request *rq, u32 *cs); 50 u32 *gen12_emit_aux_table_inv(struct intel_engine_cs *engine, u32 *cs); 79 __gen8_emit_write_rcs(u32 *cs, u32 value, u32 offset, u32 flags0, u32 flags1) in __gen8_emit_write_rcs() argument 81 *cs++ = GFX_OP_PIPE_CONTROL(6) | flags0; in __gen8_emit_write_rcs() 82 *cs++ = flags1 | PIPE_CONTROL_QW_WRITE; in __gen8_emit_write_rcs() 83 *cs in __gen8_emit_write_rcs() 92 gen8_emit_ggtt_write_rcs(u32 *cs, u32 value, u32 gtt_offset, u32 flags) gen8_emit_ggtt_write_rcs() argument 105 gen12_emit_ggtt_write_rcs(u32 *cs, u32 value, u32 gtt_offset, u32 flags0, u32 flags1) gen12_emit_ggtt_write_rcs() argument 118 __gen8_emit_flush_dw(u32 *cs, u32 value, u32 gtt_offset, u32 flags) __gen8_emit_flush_dw() argument 129 gen8_emit_ggtt_write(u32 *cs, u32 value, u32 gtt_offset, u32 flags) gen8_emit_ggtt_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | gen6_engine_cs.c | 59 u32 *cs; in gen6_emit_post_sync_nonzero_flush() local 61 cs = intel_ring_begin(rq, 6); in gen6_emit_post_sync_nonzero_flush() 62 if (IS_ERR(cs)) in gen6_emit_post_sync_nonzero_flush() 63 return PTR_ERR(cs); in gen6_emit_post_sync_nonzero_flush() 65 *cs++ = GFX_OP_PIPE_CONTROL(5); in gen6_emit_post_sync_nonzero_flush() 66 *cs++ = PIPE_CONTROL_CS_STALL | PIPE_CONTROL_STALL_AT_SCOREBOARD; in gen6_emit_post_sync_nonzero_flush() 67 *cs++ = scratch_addr | PIPE_CONTROL_GLOBAL_GTT; in gen6_emit_post_sync_nonzero_flush() 68 *cs++ = 0; /* low dword */ in gen6_emit_post_sync_nonzero_flush() 69 *cs++ = 0; /* high dword */ in gen6_emit_post_sync_nonzero_flush() 70 *cs in gen6_emit_post_sync_nonzero_flush() 93 u32 *cs, flags = 0; gen6_emit_flush_rcs() local 142 gen6_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs) gen6_emit_breadcrumb_rcs() argument 179 u32 cmd, *cs; mi_flush_dw() local 233 u32 *cs; gen6_emit_bb_start() local 255 u32 *cs; hsw_emit_bb_start() local 273 u32 *cs; gen7_stall_cs() local 293 u32 *cs, flags = 0; gen7_emit_flush_rcs() local 352 gen7_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs) gen7_emit_breadcrumb_rcs() argument 374 gen6_emit_breadcrumb_xcs(struct i915_request *rq, u32 *cs) gen6_emit_breadcrumb_xcs() argument 392 gen7_emit_breadcrumb_xcs(struct i915_request *rq, u32 *cs) gen7_emit_breadcrumb_xcs() argument [all...] |
H A D | gen2_engine_cs.c | 17 u32 cmd, *cs; in gen2_emit_flush() local 23 cs = intel_ring_begin(rq, 2 + 4 * num_store_dw); in gen2_emit_flush() 24 if (IS_ERR(cs)) in gen2_emit_flush() 25 return PTR_ERR(cs); in gen2_emit_flush() 27 *cs++ = cmd; in gen2_emit_flush() 29 *cs++ = MI_STORE_DWORD_INDEX; in gen2_emit_flush() 30 *cs++ = I915_GEM_HWS_SCRATCH * sizeof(u32); in gen2_emit_flush() 31 *cs++ = 0; in gen2_emit_flush() 32 *cs++ = MI_FLUSH | MI_NO_WRITE_FLUSH; in gen2_emit_flush() 34 *cs in gen2_emit_flush() 43 u32 cmd, *cs; gen4_emit_flush_rcs() local 129 u32 *cs; gen4_emit_flush_vcs() local 142 __gen2_emit_breadcrumb(struct i915_request *rq, u32 *cs, int flush, int post) __gen2_emit_breadcrumb() argument 170 gen3_emit_breadcrumb(struct i915_request *rq, u32 *cs) gen3_emit_breadcrumb() argument 175 gen5_emit_breadcrumb(struct i915_request *rq, u32 *cs) gen5_emit_breadcrumb() argument 188 u32 *cs, cs_offset = i830_emit_bb_start() local 253 u32 *cs; gen3_emit_bb_start() local 274 u32 *cs; gen4_emit_bb_start() local [all...] |
H A D | gen7_renderclear.c | 101 static u32 batch_offset(const struct batch_chunk *bc, u32 *cs) in batch_offset() argument 103 return (cs - bc->start) * sizeof(*bc->start) + bc->offset; in batch_offset() 147 u32 *cs = batch_alloc_items(state, 32, 8); in gen7_fill_surface_state() local 148 u32 offset = batch_offset(state, cs); in gen7_fill_surface_state() 154 *cs++ = SURFACE_2D << 29 | in gen7_fill_surface_state() 158 *cs++ = batch_addr(state) + dst_offset; in gen7_fill_surface_state() 160 *cs++ = ((surface_h / 4 - 1) << 16) | (surface_w / 4 - 1); in gen7_fill_surface_state() 161 *cs++ = surface_w; in gen7_fill_surface_state() 162 *cs++ = 0; in gen7_fill_surface_state() 163 *cs in gen7_fill_surface_state() 179 u32 *cs = batch_alloc_items(state, 32, 8); gen7_fill_binding_table() local 214 u32 *cs = batch_alloc_items(state, 32, 8 * count); gen7_fill_interface_descriptor() local 237 u32 *cs = batch_alloc_items(batch, 0, 10); gen7_emit_state_base_address() local 266 u32 *cs = batch_alloc_items(batch, 32, 8); gen7_emit_vfe_state() local 293 u32 *cs = batch_alloc_items(batch, 8, 4); gen7_emit_interface_descriptor_load() local 314 u32 *cs; gen7_emit_media_object() local 341 u32 *cs = batch_alloc_items(batch, 0, 4); gen7_emit_pipeline_flush() local 356 u32 *cs = batch_alloc_items(batch, 0, 10); gen7_emit_pipeline_invalidate() local [all...] |
/kernel/linux/linux-6.6/kernel/time/ |
H A D | clocksource.c | 106 * Also a default for cs->uncertainty_margin when registering clocks. 114 * a lower bound for cs->uncertainty_margin values when registering clocks. 151 static void __clocksource_change_rating(struct clocksource *cs, int rating); 171 static void __clocksource_unstable(struct clocksource *cs) in __clocksource_unstable() argument 173 cs->flags &= ~(CLOCK_SOURCE_VALID_FOR_HRES | CLOCK_SOURCE_WATCHDOG); in __clocksource_unstable() 174 cs->flags |= CLOCK_SOURCE_UNSTABLE; in __clocksource_unstable() 180 if (list_empty(&cs->list)) { in __clocksource_unstable() 181 cs->rating = 0; in __clocksource_unstable() 185 if (cs->mark_unstable) in __clocksource_unstable() 186 cs in __clocksource_unstable() 200 clocksource_mark_unstable(struct clocksource *cs) clocksource_mark_unstable() argument 225 cs_watchdog_read(struct clocksource *cs, u64 *csnow, u64 *wdnow) cs_watchdog_read() argument 332 struct clocksource *cs = (struct clocksource *)csin; clocksource_verify_one_cpu() local 337 clocksource_verify_percpu(struct clocksource *cs) clocksource_verify_percpu() argument 394 struct clocksource *cs; clocksource_reset_watchdog() local 406 struct clocksource *cs; clocksource_watchdog() local 606 clocksource_enqueue_watchdog(struct clocksource *cs) clocksource_enqueue_watchdog() argument 623 struct clocksource *cs, *old_wd; clocksource_select_watchdog() local 658 clocksource_dequeue_watchdog(struct clocksource *cs) clocksource_dequeue_watchdog() argument 672 struct clocksource *cs, *tmp; __clocksource_watchdog_kthread() local 710 clocksource_is_watchdog(struct clocksource *cs) clocksource_is_watchdog() argument 717 clocksource_enqueue_watchdog(struct clocksource *cs) clocksource_enqueue_watchdog() argument 724 clocksource_dequeue_watchdog(struct clocksource *cs) clocksource_dequeue_watchdog() argument 727 clocksource_is_watchdog(struct clocksource *cs) clocksource_is_watchdog() argument 728 clocksource_mark_unstable(struct clocksource *cs) clocksource_mark_unstable() argument 735 clocksource_is_suspend(struct clocksource *cs) clocksource_is_suspend() argument 740 __clocksource_suspend_select(struct clocksource *cs) __clocksource_suspend_select() argument 769 struct clocksource *cs, *old_suspend; clocksource_suspend_select() local 797 clocksource_start_suspend_timing(struct clocksource *cs, u64 start_cycles) clocksource_start_suspend_timing() argument 835 clocksource_stop_suspend_timing(struct clocksource *cs, u64 cycle_now) clocksource_stop_suspend_timing() argument 874 struct clocksource *cs; clocksource_suspend() local 886 struct clocksource *cs; clocksource_resume() local 912 clocksource_max_adjustment(struct clocksource *cs) clocksource_max_adjustment() argument 973 clocksource_update_max_deferment(struct clocksource *cs) clocksource_update_max_deferment() argument 982 struct clocksource *cs; clocksource_find_best() local 1005 struct clocksource *best, *cs; __clocksource_select() local 1096 clocksource_enqueue(struct clocksource *cs) clocksource_enqueue() argument 1122 __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq) __clocksource_update_freq_scale() argument 1209 __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq) __clocksource_register_scale() argument 1243 __clocksource_change_rating(struct clocksource *cs, int rating) __clocksource_change_rating() argument 1255 clocksource_change_rating(struct clocksource *cs, int rating) clocksource_change_rating() argument 1274 clocksource_unbind(struct clocksource *cs) clocksource_unbind() argument 1313 clocksource_unregister(struct clocksource *cs) clocksource_unregister() argument 1405 struct clocksource *cs; unbind_clocksource_store() local [all...] |
/kernel/linux/linux-5.10/kernel/time/ |
H A D | clocksource.c | 98 * Also a default for cs->uncertainty_margin when registering clocks. 106 * a lower bound for cs->uncertainty_margin values when registering clocks. 134 static void __clocksource_change_rating(struct clocksource *cs, int rating); 160 static void __clocksource_unstable(struct clocksource *cs) in __clocksource_unstable() argument 162 cs->flags &= ~(CLOCK_SOURCE_VALID_FOR_HRES | CLOCK_SOURCE_WATCHDOG); in __clocksource_unstable() 163 cs->flags |= CLOCK_SOURCE_UNSTABLE; in __clocksource_unstable() 169 if (list_empty(&cs->list)) { in __clocksource_unstable() 170 cs->rating = 0; in __clocksource_unstable() 174 if (cs->mark_unstable) in __clocksource_unstable() 175 cs in __clocksource_unstable() 189 clocksource_mark_unstable(struct clocksource *cs) clocksource_mark_unstable() argument 211 cs_watchdog_read(struct clocksource *cs, u64 *csnow, u64 *wdnow) cs_watchdog_read() argument 269 struct clocksource *cs = (struct clocksource *)csin; clocksource_verify_one_cpu() local 274 clocksource_verify_percpu(struct clocksource *cs) clocksource_verify_percpu() argument 319 struct clocksource *cs; clocksource_reset_watchdog() local 331 struct clocksource *cs; clocksource_watchdog() local 517 clocksource_enqueue_watchdog(struct clocksource *cs) clocksource_enqueue_watchdog() argument 534 struct clocksource *cs, *old_wd; clocksource_select_watchdog() local 569 clocksource_dequeue_watchdog(struct clocksource *cs) clocksource_dequeue_watchdog() argument 583 struct clocksource *cs, *tmp; __clocksource_watchdog_kthread() local 621 clocksource_is_watchdog(struct clocksource *cs) clocksource_is_watchdog() argument 628 clocksource_enqueue_watchdog(struct clocksource *cs) clocksource_enqueue_watchdog() argument 635 clocksource_dequeue_watchdog(struct clocksource *cs) clocksource_dequeue_watchdog() argument 638 clocksource_is_watchdog(struct clocksource *cs) clocksource_is_watchdog() argument 639 clocksource_mark_unstable(struct clocksource *cs) clocksource_mark_unstable() argument 646 clocksource_is_suspend(struct clocksource *cs) clocksource_is_suspend() argument 651 __clocksource_suspend_select(struct clocksource *cs) __clocksource_suspend_select() argument 680 struct clocksource *cs, *old_suspend; clocksource_suspend_select() local 708 clocksource_start_suspend_timing(struct clocksource *cs, u64 start_cycles) clocksource_start_suspend_timing() argument 746 clocksource_stop_suspend_timing(struct clocksource *cs, u64 cycle_now) clocksource_stop_suspend_timing() argument 785 struct clocksource *cs; clocksource_suspend() local 797 struct clocksource *cs; clocksource_resume() local 823 clocksource_max_adjustment(struct clocksource *cs) clocksource_max_adjustment() argument 884 clocksource_update_max_deferment(struct clocksource *cs) clocksource_update_max_deferment() argument 895 struct clocksource *cs; clocksource_find_best() local 918 struct clocksource *best, *cs; __clocksource_select() local 1015 clocksource_enqueue(struct clocksource *cs) clocksource_enqueue() argument 1041 __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq) __clocksource_update_freq_scale() argument 1128 __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq) __clocksource_register_scale() argument 1160 __clocksource_change_rating(struct clocksource *cs, int rating) __clocksource_change_rating() argument 1172 clocksource_change_rating(struct clocksource *cs, int rating) clocksource_change_rating() argument 1191 clocksource_unbind(struct clocksource *cs) clocksource_unbind() argument 1230 clocksource_unregister(struct clocksource *cs) clocksource_unregister() argument 1322 struct clocksource *cs; unbind_clocksource_store() local [all...] |
/kernel/linux/linux-6.6/kernel/cgroup/ |
H A D | cpuset.c | 228 static inline struct cpuset *parent_cs(struct cpuset *cs) in parent_cs() argument 230 return css_cs(cs->css.parent); in parent_cs() 235 struct cpuset *cs = task_cs(p); in inc_dl_tasks_cs() local 237 cs->nr_deadline_tasks++; in inc_dl_tasks_cs() 242 struct cpuset *cs = task_cs(p); in dec_dl_tasks_cs() local 244 cs->nr_deadline_tasks--; in dec_dl_tasks_cs() 260 static inline bool is_cpuset_online(struct cpuset *cs) in is_cpuset_online() argument 262 return test_bit(CS_ONLINE, &cs->flags) && !css_is_dying(&cs->css); in is_cpuset_online() 265 static inline int is_cpu_exclusive(const struct cpuset *cs) in is_cpu_exclusive() argument 270 is_mem_exclusive(const struct cpuset *cs) is_mem_exclusive() argument 275 is_mem_hardwall(const struct cpuset *cs) is_mem_hardwall() argument 280 is_sched_load_balance(const struct cpuset *cs) is_sched_load_balance() argument 285 is_memory_migrate(const struct cpuset *cs) is_memory_migrate() argument 290 is_spread_page(const struct cpuset *cs) is_spread_page() argument 295 is_spread_slab(const struct cpuset *cs) is_spread_slab() argument 300 is_partition_valid(const struct cpuset *cs) is_partition_valid() argument 305 is_partition_invalid(const struct cpuset *cs) is_partition_invalid() argument 313 make_partition_invalid(struct cpuset *cs) make_partition_invalid() argument 322 notify_partition_change(struct cpuset *cs, int old_prs) notify_partition_change() argument 464 partition_is_populated(struct cpuset *cs, struct cpuset *excluded_child) partition_is_populated() argument 505 struct cpuset *cs; guarantee_online_cpus() local 543 guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) guarantee_online_mems() argument 556 cpuset_update_task_spread_flags(struct cpuset *cs, struct task_struct *tsk) cpuset_update_task_spread_flags() argument 597 alloc_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) alloc_cpumasks() argument 634 free_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) free_cpumasks() argument 652 alloc_trial_cpuset(struct cpuset *cs) alloc_trial_cpuset() argument 674 free_cpuset(struct cpuset *cs) free_cpuset() argument 1069 dl_update_tasks_root_domain(struct cpuset *cs) dl_update_tasks_root_domain() argument 1087 struct cpuset *cs = NULL; dl_rebuild_rd_accounting() local 1147 struct cpuset *cs; rebuild_sched_domains_locked() local 1219 update_tasks_cpumask(struct cpuset *cs, struct cpumask *new_cpus) update_tasks_cpumask() argument 1255 compute_effective_cpumask(struct cpumask *new_cpus, struct cpuset *cs, struct cpuset *parent) compute_effective_cpumask() argument 1288 update_partition_exclusive(struct cpuset *cs, int new_prs) update_partition_exclusive() argument 1309 update_partition_sd_lb(struct cpuset *cs, int old_prs) update_partition_sd_lb() argument 1374 update_parent_subparts_cpumask(struct cpuset *cs, int cmd, struct cpumask *newmask, struct tmpmasks *tmp) update_parent_subparts_cpumask() argument 1622 update_cpumasks_hier(struct cpuset *cs, struct tmpmasks *tmp, int flags) update_cpumasks_hier() argument 1793 update_sibling_cpumasks(struct cpuset *parent, struct cpuset *cs, struct tmpmasks *tmp) update_sibling_cpumasks() argument 1834 update_cpumask(struct cpuset *cs, struct cpuset *trialcs, const char *buf) update_cpumask() argument 2045 update_tasks_nodemask(struct cpuset *cs) update_tasks_nodemask() argument 2108 update_nodemasks_hier(struct cpuset *cs, nodemask_t *new_mems) update_nodemasks_hier() argument 2164 update_nodemask(struct cpuset *cs, struct cpuset *trialcs, const char *buf) update_nodemask() argument 2229 update_relax_domain_level(struct cpuset *cs, s64 val) update_relax_domain_level() argument 2254 update_tasks_flags(struct cpuset *cs) update_tasks_flags() argument 2274 update_flag(cpuset_flagbits_t bit, struct cpuset *cs, int turning_on) update_flag() argument 2323 update_prstate(struct cpuset *cs, int new_prs) update_prstate() argument 2522 cpuset_can_attach_check(struct cpuset *cs) cpuset_can_attach_check() argument 2530 reset_migrate_dl_data(struct cpuset *cs) reset_migrate_dl_data() argument 2540 struct cpuset *cs, *oldcs; cpuset_can_attach() local 2616 struct cpuset *cs; cpuset_cancel_attach() local 2644 cpuset_attach_task(struct cpuset *cs, struct task_struct *task) cpuset_attach_task() argument 2668 struct cpuset *cs; cpuset_attach() local 2770 struct cpuset *cs = css_cs(css); cpuset_write_u64() local 2819 struct cpuset *cs = css_cs(css); cpuset_write_s64() local 2848 struct cpuset *cs = css_cs(of_css(of)); cpuset_write_resmask() local 2920 struct cpuset *cs = css_cs(seq_css(sf)); cpuset_common_seq_show() local 2952 struct cpuset *cs = css_cs(css); cpuset_read_u64() local 2983 struct cpuset *cs = css_cs(css); cpuset_read_s64() local 2998 struct cpuset *cs = css_cs(seq_css(seq)); sched_partition_show() local 3030 struct cpuset *cs = css_cs(of_css(of)); sched_partition_write() local 3235 struct cpuset *cs; cpuset_css_alloc() local 3264 struct cpuset *cs = css_cs(css); cpuset_css_online() local 3350 struct cpuset *cs = css_cs(css); cpuset_css_offline() local 3378 struct cpuset *cs = css_cs(css); cpuset_css_free() local 3407 struct cpuset *cs = css_cs(cset->subsys[cpuset_cgrp_id]); cpuset_can_fork() local 3446 struct cpuset *cs = css_cs(cset->subsys[cpuset_cgrp_id]); cpuset_cancel_fork() local 3470 struct cpuset *cs; cpuset_fork() local 3551 remove_tasks_in_empty_cpuset(struct cpuset *cs) remove_tasks_in_empty_cpuset() argument 3572 hotplug_update_tasks_legacy(struct cpuset *cs, struct cpumask *new_cpus, nodemask_t *new_mems, bool cpus_updated, bool mems_updated) hotplug_update_tasks_legacy() argument 3610 hotplug_update_tasks(struct cpuset *cs, struct cpumask *new_cpus, nodemask_t *new_mems, bool cpus_updated, bool mems_updated) hotplug_update_tasks() argument 3647 cpuset_hotplug_update_tasks(struct cpuset *cs, struct tmpmasks *tmp) cpuset_hotplug_update_tasks() argument 3853 struct cpuset *cs; cpuset_hotplug_workfn() local 3943 struct cpuset *cs; cpuset_cpus_allowed() local 4066 nearest_hardwall_ancestor(struct cpuset *cs) nearest_hardwall_ancestor() argument 4115 struct cpuset *cs; /* current cpuset ancestors */ cpuset_node_allowed() local [all...] |
/kernel/linux/linux-5.10/kernel/cgroup/ |
H A D | cpuset.c | 214 static inline struct cpuset *parent_cs(struct cpuset *cs) in parent_cs() argument 216 return css_cs(cs->css.parent); in parent_cs() 221 struct cpuset *cs = task_cs(p); in inc_dl_tasks_cs() local 223 cs->nr_deadline_tasks++; in inc_dl_tasks_cs() 228 struct cpuset *cs = task_cs(p); in dec_dl_tasks_cs() local 230 cs->nr_deadline_tasks--; in dec_dl_tasks_cs() 246 static inline bool is_cpuset_online(struct cpuset *cs) in is_cpuset_online() argument 248 return test_bit(CS_ONLINE, &cs->flags) && !css_is_dying(&cs->css); in is_cpuset_online() 251 static inline int is_cpu_exclusive(const struct cpuset *cs) in is_cpu_exclusive() argument 256 is_mem_exclusive(const struct cpuset *cs) is_mem_exclusive() argument 261 is_mem_hardwall(const struct cpuset *cs) is_mem_hardwall() argument 266 is_sched_load_balance(const struct cpuset *cs) is_sched_load_balance() argument 271 is_memory_migrate(const struct cpuset *cs) is_memory_migrate() argument 276 is_spread_page(const struct cpuset *cs) is_spread_page() argument 281 is_spread_slab(const struct cpuset *cs) is_spread_slab() argument 286 is_partition_root(const struct cpuset *cs) is_partition_root() argument 409 guarantee_online_cpus(struct cpuset *cs, struct cpumask *pmask) guarantee_online_cpus() argument 439 guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) guarantee_online_mems() argument 451 cpuset_update_task_spread_flag(struct cpuset *cs, struct task_struct *tsk) cpuset_update_task_spread_flag() argument 489 alloc_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) alloc_cpumasks() argument 532 free_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) free_cpumasks() argument 551 alloc_trial_cpuset(struct cpuset *cs) alloc_trial_cpuset() argument 574 free_cpuset(struct cpuset *cs) free_cpuset() argument 948 dl_update_tasks_root_domain(struct cpuset *cs) dl_update_tasks_root_domain() argument 966 struct cpuset *cs = NULL; dl_rebuild_rd_accounting() local 1026 struct cpuset *cs; rebuild_sched_domains_locked() local 1095 update_tasks_cpumask(struct cpuset *cs) update_tasks_cpumask() argument 1125 compute_effective_cpumask(struct cpumask *new_cpus, struct cpuset *cs, struct cpuset *parent) compute_effective_cpumask() argument 1370 update_cpumasks_hier(struct cpuset *cs, struct tmpmasks *tmp) update_cpumasks_hier() argument 1524 update_sibling_cpumasks(struct cpuset *parent, struct cpuset *cs, struct tmpmasks *tmp) update_sibling_cpumasks() argument 1563 update_cpumask(struct cpuset *cs, struct cpuset *trialcs, const char *buf) update_cpumask() argument 1734 update_tasks_nodemask(struct cpuset *cs) update_tasks_nodemask() argument 1797 update_nodemasks_hier(struct cpuset *cs, nodemask_t *new_mems) update_nodemasks_hier() argument 1853 update_nodemask(struct cpuset *cs, struct cpuset *trialcs, const char *buf) update_nodemask() argument 1916 update_relax_domain_level(struct cpuset *cs, s64 val) update_relax_domain_level() argument 1941 update_tasks_flags(struct cpuset *cs) update_tasks_flags() argument 1961 update_flag(cpuset_flagbits_t bit, struct cpuset *cs, int turning_on) update_flag() argument 2009 update_prstate(struct cpuset *cs, int new_prs) update_prstate() argument 2188 reset_migrate_dl_data(struct cpuset *cs) reset_migrate_dl_data() argument 2198 struct cpuset *cs, *oldcs; cpuset_can_attach() local 2263 struct cpuset *cs; cpuset_cancel_attach() local 2297 struct cpuset *cs; cpuset_attach() local 2391 struct cpuset *cs = css_cs(css); cpuset_write_u64() local 2440 struct cpuset *cs = css_cs(css); cpuset_write_s64() local 2469 struct cpuset *cs = css_cs(of_css(of)); cpuset_write_resmask() local 2541 struct cpuset *cs = css_cs(seq_css(sf)); cpuset_common_seq_show() local 2573 struct cpuset *cs = css_cs(css); cpuset_read_u64() local 2604 struct cpuset *cs = css_cs(css); cpuset_read_s64() local 2619 struct cpuset *cs = css_cs(seq_css(seq)); sched_partition_show() local 2638 struct cpuset *cs = css_cs(of_css(of)); sched_partition_write() local 2836 struct cpuset *cs; cpuset_css_alloc() local 2861 struct cpuset *cs = css_cs(css); cpuset_css_online() local 2940 struct cpuset *cs = css_cs(css); cpuset_css_offline() local 2968 struct cpuset *cs = css_cs(css); cpuset_css_free() local 3057 remove_tasks_in_empty_cpuset(struct cpuset *cs) remove_tasks_in_empty_cpuset() argument 3078 hotplug_update_tasks_legacy(struct cpuset *cs, struct cpumask *new_cpus, nodemask_t *new_mems, bool cpus_updated, bool mems_updated) hotplug_update_tasks_legacy() argument 3117 hotplug_update_tasks(struct cpuset *cs, struct cpumask *new_cpus, nodemask_t *new_mems, bool cpus_updated, bool mems_updated) hotplug_update_tasks() argument 3153 cpuset_hotplug_update_tasks(struct cpuset *cs, struct tmpmasks *tmp) cpuset_hotplug_update_tasks() argument 3333 struct cpuset *cs; cpuset_hotplug_workfn() local 3520 nearest_hardwall_ancestor(struct cpuset *cs) nearest_hardwall_ancestor() argument 3569 struct cpuset *cs; /* current cpuset ancestors */ __cpuset_node_allowed() local [all...] |
/kernel/linux/linux-6.6/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() argument 25 *cs++ = MFX_WAIT_PXP; in pxp_emit_session_selection() 28 *cs++ = MI_FLUSH_DW; in pxp_emit_session_selection() 29 *cs++ = 0; in pxp_emit_session_selection() 30 *cs++ = 0; in pxp_emit_session_selection() 33 *cs++ = MI_SET_APPID | MI_SET_APPID_SESSION_ID(idx); in pxp_emit_session_selection() 35 *cs++ = MFX_WAIT_PXP; in pxp_emit_session_selection() 38 *cs++ = MI_FLUSH_DW | MI_FLUSH_DW_PROTECTED_MEM_EN | in pxp_emit_session_selection() 40 *cs++ = I915_GEM_HWS_PXP_ADDR | MI_FLUSH_DW_USE_GTT; in pxp_emit_session_selection() 41 *cs in pxp_emit_session_selection() 48 pxp_emit_inline_termination(u32 *cs) pxp_emit_inline_termination() argument 57 pxp_emit_session_termination(u32 *cs, u32 idx) pxp_emit_session_termination() argument 65 pxp_emit_wait(u32 *cs) pxp_emit_wait() argument 101 u32 *cs; intel_pxp_terminate_session() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | myrs.c | 104 static void myrs_qcmd(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk) in myrs_qcmd() argument 106 void __iomem *base = cs->io_base; in myrs_qcmd() 108 union myrs_cmd_mbox *next_mbox = cs->next_cmd_mbox; in myrs_qcmd() 110 cs->write_cmd_mbox(next_mbox, mbox); in myrs_qcmd() 112 if (cs->prev_cmd_mbox1->words[0] == 0 || in myrs_qcmd() 113 cs->prev_cmd_mbox2->words[0] == 0) in myrs_qcmd() 114 cs->get_cmd_mbox(base); in myrs_qcmd() 116 cs->prev_cmd_mbox2 = cs->prev_cmd_mbox1; in myrs_qcmd() 117 cs in myrs_qcmd() 128 myrs_exec_cmd(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk) myrs_exec_cmd() argument 146 myrs_report_progress(struct myrs_hba *cs, unsigned short ldev_num, unsigned char *msg, unsigned long blocks, unsigned long size) myrs_report_progress() argument 159 myrs_get_ctlr_info(struct myrs_hba *cs) myrs_get_ctlr_info() argument 220 myrs_get_ldev_info(struct myrs_hba *cs, unsigned short ldev_num, struct myrs_ldev_info *ldev_info) myrs_get_ldev_info() argument 307 myrs_get_pdev_info(struct myrs_hba *cs, unsigned char channel, unsigned char target, unsigned char lun, struct myrs_pdev_info *pdev_info) myrs_get_pdev_info() argument 351 myrs_dev_op(struct myrs_hba *cs, enum myrs_ioctl_opcode opcode, enum myrs_opdev opdev) myrs_dev_op() argument 376 myrs_translate_pdev(struct myrs_hba *cs, unsigned char channel, unsigned char target, unsigned char lun, struct myrs_devmap *devmap) myrs_translate_pdev() argument 420 myrs_get_event(struct myrs_hba *cs, unsigned int event_num, struct myrs_event *event_buf) myrs_get_event() argument 455 myrs_get_fwstatus(struct myrs_hba *cs) myrs_get_fwstatus() argument 482 myrs_enable_mmio_mbox(struct myrs_hba *cs, enable_mbox_t enable_mbox_fn) myrs_enable_mmio_mbox() argument 583 myrs_get_config(struct myrs_hba *cs) myrs_get_config() argument 814 myrs_log_event(struct myrs_hba *cs, struct myrs_event *ev) myrs_log_event() argument 941 struct myrs_hba *cs = shost_priv(sdev->host); raid_state_show() local 976 struct myrs_hba *cs = shost_priv(sdev->host); raid_state_store() local 1060 struct myrs_hba *cs = shost_priv(sdev->host); raid_level_show() local 1086 struct myrs_hba *cs = shost_priv(sdev->host); rebuild_show() local 1115 struct myrs_hba *cs = shost_priv(sdev->host); rebuild_store() local 1191 struct myrs_hba *cs = shost_priv(sdev->host); consistency_check_show() local 1216 struct myrs_hba *cs = shost_priv(sdev->host); consistency_check_store() local 1303 struct myrs_hba *cs = shost_priv(shost); serial_show() local 1316 struct myrs_hba *cs = shost_priv(shost); ctlr_num_show() local 1339 struct myrs_hba *cs = shost_priv(shost); processor_show() local 1391 struct myrs_hba *cs = shost_priv(shost); model_show() local 1401 struct myrs_hba *cs = shost_priv(shost); ctlr_type_show() local 1411 struct myrs_hba *cs = shost_priv(shost); cache_size_show() local 1421 struct myrs_hba *cs = shost_priv(shost); firmware_show() local 1434 struct myrs_hba *cs = shost_priv(shost); discovery_store() local 1472 struct myrs_hba *cs = shost_priv(shost); flush_cache_store() local 1491 struct myrs_hba *cs = shost_priv(shost); disable_enclosure_messages_show() local 1500 struct myrs_hba *cs = shost_priv(sdev->host); disable_enclosure_messages_store() local 1535 struct myrs_hba *cs = shost_priv(shost); myrs_host_reset() local 1541 myrs_mode_sense(struct myrs_hba *cs, struct scsi_cmnd *scmd, struct myrs_ldev_info *ldev_info) myrs_mode_sense() argument 1587 struct myrs_hba *cs = shost_priv(shost); myrs_queuecommand() local 1781 myrs_translate_ldev(struct myrs_hba *cs, struct scsi_device *sdev) myrs_translate_ldev() argument 1795 struct myrs_hba *cs = shost_priv(sdev->host); myrs_slave_alloc() local 1891 struct myrs_hba *cs = shost_priv(sdev->host); myrs_slave_configure() local 1941 struct myrs_hba *cs; myrs_alloc_host() local 1969 struct myrs_hba *cs = shost_priv(sdev->host); myrs_is_raid() local 1982 struct myrs_hba *cs = shost_priv(sdev->host); myrs_get_resync() local 2007 struct myrs_hba *cs = shost_priv(sdev->host); myrs_get_state() local 2046 myrs_flush_cache(struct myrs_hba *cs) myrs_flush_cache() argument 2051 myrs_handle_scsi(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk, struct scsi_cmnd *scmd) myrs_handle_scsi() argument 2096 myrs_handle_cmdblk(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk) myrs_handle_cmdblk() argument 2109 struct myrs_hba *cs = container_of(work, struct myrs_hba, myrs_monitor() local 2176 myrs_create_mempools(struct pci_dev *pdev, struct myrs_hba *cs) myrs_create_mempools() argument 2236 myrs_destroy_mempools(struct myrs_hba *cs) myrs_destroy_mempools() argument 2246 myrs_unmap(struct myrs_hba *cs) myrs_unmap() argument 2267 myrs_cleanup(struct myrs_hba *cs) myrs_cleanup() argument 2296 struct myrs_hba *cs = NULL; myrs_detect() local 2348 myrs_err_status(struct myrs_hba *cs, unsigned char status, unsigned char parm0, unsigned char parm1) myrs_err_status() argument 2578 DAC960_GEM_hw_init(struct pci_dev *pdev, struct myrs_hba *cs, void __iomem *base) DAC960_GEM_hw_init() argument 2617 struct myrs_hba *cs = arg; DAC960_GEM_intr_handler() local 2828 DAC960_BA_hw_init(struct pci_dev *pdev, struct myrs_hba *cs, void __iomem *base) DAC960_BA_hw_init() argument 2867 struct myrs_hba *cs = arg; DAC960_BA_intr_handler() local 3077 DAC960_LP_hw_init(struct pci_dev *pdev, struct myrs_hba *cs, void __iomem *base) DAC960_LP_hw_init() argument 3117 struct myrs_hba *cs = arg; DAC960_LP_intr_handler() local 3175 struct myrs_hba *cs; myrs_probe() local 3209 struct myrs_hba *cs = pci_get_drvdata(pdev); myrs_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | myrs.c | 104 static void myrs_qcmd(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk) in myrs_qcmd() argument 106 void __iomem *base = cs->io_base; in myrs_qcmd() 108 union myrs_cmd_mbox *next_mbox = cs->next_cmd_mbox; in myrs_qcmd() 110 cs->write_cmd_mbox(next_mbox, mbox); in myrs_qcmd() 112 if (cs->prev_cmd_mbox1->words[0] == 0 || in myrs_qcmd() 113 cs->prev_cmd_mbox2->words[0] == 0) in myrs_qcmd() 114 cs->get_cmd_mbox(base); in myrs_qcmd() 116 cs->prev_cmd_mbox2 = cs->prev_cmd_mbox1; in myrs_qcmd() 117 cs in myrs_qcmd() 128 myrs_exec_cmd(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk) myrs_exec_cmd() argument 145 myrs_report_progress(struct myrs_hba *cs, unsigned short ldev_num, unsigned char *msg, unsigned long blocks, unsigned long size) myrs_report_progress() argument 158 myrs_get_ctlr_info(struct myrs_hba *cs) myrs_get_ctlr_info() argument 219 myrs_get_ldev_info(struct myrs_hba *cs, unsigned short ldev_num, struct myrs_ldev_info *ldev_info) myrs_get_ldev_info() argument 306 myrs_get_pdev_info(struct myrs_hba *cs, unsigned char channel, unsigned char target, unsigned char lun, struct myrs_pdev_info *pdev_info) myrs_get_pdev_info() argument 350 myrs_dev_op(struct myrs_hba *cs, enum myrs_ioctl_opcode opcode, enum myrs_opdev opdev) myrs_dev_op() argument 375 myrs_translate_pdev(struct myrs_hba *cs, unsigned char channel, unsigned char target, unsigned char lun, struct myrs_devmap *devmap) myrs_translate_pdev() argument 419 myrs_get_event(struct myrs_hba *cs, unsigned int event_num, struct myrs_event *event_buf) myrs_get_event() argument 454 myrs_get_fwstatus(struct myrs_hba *cs) myrs_get_fwstatus() argument 481 myrs_enable_mmio_mbox(struct myrs_hba *cs, enable_mbox_t enable_mbox_fn) myrs_enable_mmio_mbox() argument 580 myrs_get_config(struct myrs_hba *cs) myrs_get_config() argument 811 myrs_log_event(struct myrs_hba *cs, struct myrs_event *ev) myrs_log_event() argument 938 struct myrs_hba *cs = shost_priv(sdev->host); raid_state_show() local 973 struct myrs_hba *cs = shost_priv(sdev->host); raid_state_store() local 1057 struct myrs_hba *cs = shost_priv(sdev->host); raid_level_show() local 1083 struct myrs_hba *cs = shost_priv(sdev->host); rebuild_show() local 1112 struct myrs_hba *cs = shost_priv(sdev->host); rebuild_store() local 1188 struct myrs_hba *cs = shost_priv(sdev->host); consistency_check_show() local 1212 struct myrs_hba *cs = shost_priv(sdev->host); consistency_check_store() local 1301 struct myrs_hba *cs = shost_priv(shost); serial_show() local 1314 struct myrs_hba *cs = shost_priv(shost); ctlr_num_show() local 1337 struct myrs_hba *cs = shost_priv(shost); processor_show() local 1389 struct myrs_hba *cs = shost_priv(shost); model_show() local 1399 struct myrs_hba *cs = shost_priv(shost); ctlr_type_show() local 1409 struct myrs_hba *cs = shost_priv(shost); cache_size_show() local 1419 struct myrs_hba *cs = shost_priv(shost); firmware_show() local 1432 struct myrs_hba *cs = shost_priv(shost); discovery_store() local 1470 struct myrs_hba *cs = shost_priv(shost); flush_cache_store() local 1489 struct myrs_hba *cs = shost_priv(shost); disable_enclosure_messages_show() local 1498 struct myrs_hba *cs = shost_priv(sdev->host); disable_enclosure_messages_store() local 1535 struct myrs_hba *cs = shost_priv(shost); myrs_host_reset() local 1541 myrs_mode_sense(struct myrs_hba *cs, struct scsi_cmnd *scmd, struct myrs_ldev_info *ldev_info) myrs_mode_sense() argument 1588 struct myrs_hba *cs = shost_priv(shost); myrs_queuecommand() local 1777 myrs_translate_ldev(struct myrs_hba *cs, struct scsi_device *sdev) myrs_translate_ldev() argument 1791 struct myrs_hba *cs = shost_priv(sdev->host); myrs_slave_alloc() local 1887 struct myrs_hba *cs = shost_priv(sdev->host); myrs_slave_configure() local 1937 struct myrs_hba *cs; myrs_alloc_host() local 1965 struct myrs_hba *cs = shost_priv(sdev->host); myrs_is_raid() local 1978 struct myrs_hba *cs = shost_priv(sdev->host); myrs_get_resync() local 2002 struct myrs_hba *cs = shost_priv(sdev->host); myrs_get_state() local 2041 myrs_flush_cache(struct myrs_hba *cs) myrs_flush_cache() argument 2046 myrs_handle_scsi(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk, struct scsi_cmnd *scmd) myrs_handle_scsi() argument 2091 myrs_handle_cmdblk(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk) myrs_handle_cmdblk() argument 2104 struct myrs_hba *cs = container_of(work, struct myrs_hba, myrs_monitor() local 2171 myrs_create_mempools(struct pci_dev *pdev, struct myrs_hba *cs) myrs_create_mempools() argument 2231 myrs_destroy_mempools(struct myrs_hba *cs) myrs_destroy_mempools() argument 2241 myrs_unmap(struct myrs_hba *cs) myrs_unmap() argument 2262 myrs_cleanup(struct myrs_hba *cs) myrs_cleanup() argument 2291 struct myrs_hba *cs = NULL; myrs_detect() local 2343 myrs_err_status(struct myrs_hba *cs, unsigned char status, unsigned char parm0, unsigned char parm1) myrs_err_status() argument 2536 DAC960_GEM_hw_init(struct pci_dev *pdev, struct myrs_hba *cs, void __iomem *base) DAC960_GEM_hw_init() argument 2575 struct myrs_hba *cs = arg; DAC960_GEM_intr_handler() local 2755 DAC960_BA_hw_init(struct pci_dev *pdev, struct myrs_hba *cs, void __iomem *base) DAC960_BA_hw_init() argument 2794 struct myrs_hba *cs = arg; DAC960_BA_intr_handler() local 2973 DAC960_LP_hw_init(struct pci_dev *pdev, struct myrs_hba *cs, void __iomem *base) DAC960_LP_hw_init() argument 3013 struct myrs_hba *cs = arg; DAC960_LP_intr_handler() local 3071 struct myrs_hba *cs; myrs_probe() local 3105 struct myrs_hba *cs = pci_get_drvdata(pdev); myrs_remove() local [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | pcm_iec958.c | 14 * @cs: channel status buffer, at least four bytes 17 * Create the consumer format channel status data in @cs of maximum size 29 int snd_pcm_create_iec958_consumer_default(u8 *cs, size_t len) in snd_pcm_create_iec958_consumer_default() argument 34 memset(cs, 0, len); in snd_pcm_create_iec958_consumer_default() 36 cs[0] = IEC958_AES0_CON_NOT_COPYRIGHT | IEC958_AES0_CON_EMPHASIS_NONE; in snd_pcm_create_iec958_consumer_default() 37 cs[1] = IEC958_AES1_CON_GENERAL; in snd_pcm_create_iec958_consumer_default() 38 cs[2] = IEC958_AES2_CON_SOURCE_UNSPEC | IEC958_AES2_CON_CHANNEL_UNSPEC; in snd_pcm_create_iec958_consumer_default() 39 cs[3] = IEC958_AES3_CON_CLOCK_1000PPM | IEC958_AES3_CON_FS_NOTID; in snd_pcm_create_iec958_consumer_default() 42 cs[4] = IEC958_AES4_CON_WORDLEN_NOTID; in snd_pcm_create_iec958_consumer_default() 49 u8 *cs, size_ in fill_iec958_consumer() 48 fill_iec958_consumer(uint rate, uint sample_width, u8 *cs, size_t len) fill_iec958_consumer() argument 133 snd_pcm_fill_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs, size_t len) snd_pcm_fill_iec958_consumer() argument 156 snd_pcm_fill_iec958_consumer_hw_params(struct snd_pcm_hw_params *params, u8 *cs, size_t len) snd_pcm_fill_iec958_consumer_hw_params() argument 176 snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs, size_t len) snd_pcm_create_iec958_consumer() argument 202 snd_pcm_create_iec958_consumer_hw_params(struct snd_pcm_hw_params *params, u8 *cs, size_t len) snd_pcm_create_iec958_consumer_hw_params() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H 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); 212 extern void clocksource_change_rating(struct clocksource *cs, int rating); 216 extern void clocksource_mark_unstable(struct clocksource *cs); 218 clocksource_start_suspend_timing(struct clocksource *cs, u6 239 __clocksource_register(struct clocksource *cs) __clocksource_register() argument 244 clocksource_register_hz(struct clocksource *cs, u32 hz) clocksource_register_hz() argument 249 clocksource_register_khz(struct clocksource *cs, u32 khz) clocksource_register_khz() argument 254 __clocksource_update_freq_hz(struct clocksource *cs, u32 hz) __clocksource_update_freq_hz() argument 259 __clocksource_update_freq_khz(struct clocksource *cs, u32 khz) __clocksource_update_freq_khz() argument 267 clocksource_arch_init(struct clocksource *cs) clocksource_arch_init() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/xlr/ |
H A D | flash.h | 37 #define FLASH_CSBASE_ADDR(cs) (cs) 38 #define FLASH_CSADDR_MASK(cs) (0x10 + (cs)) 39 #define FLASH_CSDEV_PARM(cs) (0x20 + (cs)) 40 #define FLASH_CSTIME_PARMA(cs) (0x30 + (cs)) 41 #define FLASH_CSTIME_PARMB(cs) (0x40 + (cs)) [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | comm.c | 22 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get() argument 24 if (cs && refcount_inc_not_zero(&cs->refcnt)) in comm_str__get() 25 return cs; in comm_str__get() 30 static void comm_str__put(struct comm_str *cs) in comm_str__put() argument 32 if (cs && refcount_dec_and_test(&cs->refcnt)) { in comm_str__put() 34 rb_erase(&cs->rb_node, &comm_str_root); in comm_str__put() 36 zfree(&cs->str); in comm_str__put() 37 free(cs); in comm_str__put() 43 struct comm_str *cs; comm_str__alloc() local 99 struct comm_str *cs; comm_str__findnew() local [all...] |
/kernel/linux/linux-5.10/include/linux/mfd/syscon/ |
H A D | atmel-smc.h | 18 #define ATMEL_SMC_SETUP(cs) (((cs) * 0x10)) 19 #define ATMEL_HSMC_SETUP(layout, cs) \ 20 ((layout)->timing_regs_offset + ((cs) * 0x14)) 21 #define ATMEL_SMC_PULSE(cs) (((cs) * 0x10) + 0x4) 22 #define ATMEL_HSMC_PULSE(layout, cs) \ 23 ((layout)->timing_regs_offset + ((cs) * 0x14) + 0x4) 24 #define ATMEL_SMC_CYCLE(cs) (((cs) * [all...] |
/kernel/linux/linux-6.6/include/linux/mfd/syscon/ |
H A D | atmel-smc.h | 18 #define ATMEL_SMC_SETUP(cs) (((cs) * 0x10)) 19 #define ATMEL_HSMC_SETUP(layout, cs) \ 20 ((layout)->timing_regs_offset + ((cs) * 0x14)) 21 #define ATMEL_SMC_PULSE(cs) (((cs) * 0x10) + 0x4) 22 #define ATMEL_HSMC_PULSE(layout, cs) \ 23 ((layout)->timing_regs_offset + ((cs) * 0x14) + 0x4) 24 #define ATMEL_SMC_CYCLE(cs) (((cs) * [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | comm.c | 22 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get() argument 24 if (cs && refcount_inc_not_zero(&cs->refcnt)) in comm_str__get() 25 return cs; in comm_str__get() 30 static void comm_str__put(struct comm_str *cs) in comm_str__put() argument 32 if (cs && refcount_dec_and_test(&cs->refcnt)) { in comm_str__put() 34 rb_erase(&cs->rb_node, &comm_str_root); in comm_str__put() 36 zfree(&cs->str); in comm_str__put() 37 free(cs); in comm_str__put() 43 struct comm_str *cs; comm_str__alloc() local 99 struct comm_str *cs; comm_str__findnew() local [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | clocksource.h | 92 u64 (*read)(struct clocksource *cs); 109 int (*enable)(struct clocksource *cs); 110 void (*disable)(struct clocksource *cs); 111 void (*suspend)(struct clocksource *cs); 112 void (*resume)(struct clocksource *cs); 113 void (*mark_unstable)(struct clocksource *cs); 114 void (*tick_stable)(struct clocksource *cs); 206 extern void clocksource_change_rating(struct clocksource *cs, int rating); 210 extern void clocksource_mark_unstable(struct clocksource *cs); 212 clocksource_start_suspend_timing(struct clocksource *cs, u6 233 __clocksource_register(struct clocksource *cs) __clocksource_register() argument 238 clocksource_register_hz(struct clocksource *cs, u32 hz) clocksource_register_hz() argument 243 clocksource_register_khz(struct clocksource *cs, u32 khz) clocksource_register_khz() argument 248 __clocksource_update_freq_hz(struct clocksource *cs, u32 hz) __clocksource_update_freq_hz() argument 253 __clocksource_update_freq_khz(struct clocksource *cs, u32 khz) __clocksource_update_freq_khz() argument 261 clocksource_arch_init(struct clocksource *cs) clocksource_arch_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/memory/ |
H A D | omap-gpmc.c | 203 /* Structure to save gpmc cs context */ 263 void gpmc_cs_write_reg(int cs, int idx, u32 val) in gpmc_cs_write_reg() argument 267 reg_addr = gpmc_base + GPMC_CS0_OFFSET + (cs * GPMC_CS_SIZE) + idx; in gpmc_cs_write_reg() 271 static u32 gpmc_cs_read_reg(int cs, int idx) in gpmc_cs_read_reg() argument 275 reg_addr = gpmc_base + GPMC_CS0_OFFSET + (cs * GPMC_CS_SIZE) + idx; in gpmc_cs_read_reg() 292 * @cs: Chip Select Region. 295 * GPMC_CS_CONFIG1 GPMCFCLKDIVIDER for cs has to be setup 298 static unsigned long gpmc_get_clk_period(int cs, enum gpmc_clk_domain cd) in gpmc_get_clk_period() argument 307 l = gpmc_cs_read_reg(cs, GPMC_CS_CONFIG1); in gpmc_get_clk_period() 320 static unsigned int gpmc_ns_to_clk_ticks(unsigned int time_ns, int cs, in gpmc_ns_to_clk_ticks() argument 346 gpmc_clk_ticks_to_ns(unsigned int ticks, int cs, enum gpmc_clk_domain cd) gpmc_clk_ticks_to_ns() argument 369 gpmc_cs_modify_reg(int cs, int reg, u32 mask, bool value) gpmc_cs_modify_reg() argument 381 gpmc_cs_bool_timings(int cs, const struct gpmc_bool_timings *p) gpmc_cs_bool_timings() argument 423 get_gpmc_timing_reg( int cs, int reg, int st_bit, int end_bit, int max, const char *name, const enum gpmc_clk_domain cd, int shift, bool raw, bool noval) get_gpmc_timing_reg() argument 486 gpmc_show_regs(int cs, const char *desc) gpmc_show_regs() argument 501 gpmc_cs_show_timings(int cs, const char *desc) gpmc_cs_show_timings() argument 577 gpmc_cs_show_timings(int cs, const char *desc) gpmc_cs_show_timings() argument 598 set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit, int max, int time, enum gpmc_clk_domain cd, const char *name) set_gpmc_timing_reg() argument 689 gpmc_cs_set_timings(int cs, const struct gpmc_timings *t, const struct gpmc_settings *s) gpmc_cs_set_timings() argument 841 gpmc_cs_set_memconf(int cs, u32 base, u32 size) gpmc_cs_set_memconf() argument 868 gpmc_cs_enable_mem(int cs) gpmc_cs_enable_mem() argument 877 gpmc_cs_disable_mem(int cs) gpmc_cs_disable_mem() argument 886 gpmc_cs_get_memconf(int cs, u32 *base, u32 *size) gpmc_cs_get_memconf() argument 897 gpmc_cs_mem_enabled(int cs) gpmc_cs_mem_enabled() argument 905 gpmc_cs_set_reserved(int cs, int reserved) gpmc_cs_set_reserved() argument 912 gpmc_cs_reserved(int cs) gpmc_cs_reserved() argument 933 gpmc_cs_insert_mem(int cs, unsigned long base, unsigned long size) gpmc_cs_insert_mem() argument 949 gpmc_cs_delete_mem(int cs) gpmc_cs_delete_mem() argument 964 gpmc_cs_request(int cs, unsigned long size, unsigned long *base) gpmc_cs_request() argument 1010 gpmc_cs_free(int cs) gpmc_cs_free() argument 1081 gpmc_omap_get_nand_ops(struct gpmc_nand_regs *reg, int cs) gpmc_omap_get_nand_ops() argument 1203 gpmc_omap_onenand_set_timings(struct device *dev, int cs, int freq, int latency, struct gpmc_onenand_info *info) gpmc_omap_onenand_set_timings() argument 1446 int cs; gpmc_mem_exit() local 1457 int cs; gpmc_mem_init() local 1809 gpmc_cs_program_settings(int cs, struct gpmc_settings *p) gpmc_cs_program_settings() argument 1890 gpmc_cs_set_name(int cs, const char *name) gpmc_cs_set_name() argument 1897 gpmc_cs_get_name(int cs) gpmc_cs_get_name() argument 1913 gpmc_cs_remap(int cs, u32 base) gpmc_cs_remap() argument 2078 int ret, cs; gpmc_probe_generic_child() local [all...] |