Home
last modified time | relevance | path

Searched refs:dcc (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.1.9/fs/f2fs/
Dsegment.c900 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __create_discard_cmd() local
906 pend_list = &dcc->pend_list[plist_idx(len)]; in __create_discard_cmd()
922 atomic_inc(&dcc->discard_cmd_cnt); in __create_discard_cmd()
923 dcc->undiscard_blks += len; in __create_discard_cmd()
934 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __attach_discard_cmd() local
940 rb_insert_color_cached(&dc->rb_node, &dcc->root, leftmost); in __attach_discard_cmd()
945 static void __detach_discard_cmd(struct discard_cmd_control *dcc, in __detach_discard_cmd() argument
949 atomic_sub(dc->queued, &dcc->queued_discard); in __detach_discard_cmd()
952 rb_erase_cached(&dc->rb_node, &dcc->root); in __detach_discard_cmd()
953 dcc->undiscard_blks -= dc->len; in __detach_discard_cmd()
[all …]
Dsegment.h913 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in wake_up_discard_thread() local
920 mutex_lock(&dcc->cmd_lock); in wake_up_discard_thread()
922 if (i + 1 < dcc->discard_granularity) in wake_up_discard_thread()
924 if (!list_empty(&dcc->pend_list[i])) { in wake_up_discard_thread()
929 mutex_unlock(&dcc->cmd_lock); in wake_up_discard_thread()
933 dcc->discard_wake = 1; in wake_up_discard_thread()
934 wake_up_interruptible_all(&dcc->discard_wait_queue); in wake_up_discard_thread()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubp.c355 struct dc_plane_dcc_param *dcc) in hubp3_dcc_control_sienna_cichlid() argument
360 PRIMARY_SURFACE_DCC_EN, dcc->enable, in hubp3_dcc_control_sienna_cichlid()
361 PRIMARY_SURFACE_DCC_IND_BLK, dcc->dcc_ind_blk, in hubp3_dcc_control_sienna_cichlid()
362 PRIMARY_SURFACE_DCC_IND_BLK_C, dcc->dcc_ind_blk_c, in hubp3_dcc_control_sienna_cichlid()
363 SECONDARY_SURFACE_DCC_EN, dcc->enable, in hubp3_dcc_control_sienna_cichlid()
364 SECONDARY_SURFACE_DCC_IND_BLK, dcc->dcc_ind_blk, in hubp3_dcc_control_sienna_cichlid()
365 SECONDARY_SURFACE_DCC_IND_BLK_C, dcc->dcc_ind_blk_c); in hubp3_dcc_control_sienna_cichlid()
405 struct dc_plane_dcc_param *dcc, in hubp3_program_surface_config() argument
411 hubp3_dcc_control_sienna_cichlid(hubp, dcc); in hubp3_program_surface_config()
413 hubp2_program_size(hubp, format, plane_size, dcc); in hubp3_program_surface_config()
Ddcn30_hubp.h270 struct dc_plane_dcc_param *dcc,
285 struct dc_plane_dcc_param *dcc);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hubp.c48 struct dc_plane_dcc_param *dcc, in hubp201_program_surface_config() argument
52 hubp1_dcc_control(hubp, dcc->enable, dcc->independent_64b_blks); in hubp201_program_surface_config()
54 hubp1_program_size(hubp, format, plane_size, dcc); in hubp201_program_surface_config()
/linux-6.1.9/drivers/bus/
Dvexpress-config.c108 u32 *position, u32 *dcc) in vexpress_config_get_topo() argument
116 vexpress_config_find_prop(node, "arm,vexpress,dcc", dcc); in vexpress_config_get_topo()
257 u32 site, position, dcc; in vexpress_syscfg_regmap_init() local
261 &position, &dcc); in vexpress_syscfg_regmap_init()
301 func, site, position, dcc, in vexpress_syscfg_regmap_init()
304 func->template[i] = SYS_CFGCTRL_DCC(dcc); in vexpress_syscfg_regmap_init()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c251 const struct dc_plane_dcc_param *dcc, in validate_dcc() argument
262 if (!dcc->enable) in validate_dcc()
285 if (dcc->independent_64b_blks == 0 && in validate_dcc()
298 struct dc_plane_dcc_param *dcc, in fill_gfx9_plane_attributes_from_modifiers() argument
313 dcc->enable = 1; in fill_gfx9_plane_attributes_from_modifiers()
314 dcc->meta_pitch = afb->base.pitches[1]; in fill_gfx9_plane_attributes_from_modifiers()
315 dcc->independent_64b_blks = independent_64b_blks; in fill_gfx9_plane_attributes_from_modifiers()
318 dcc->dcc_ind_blk = hubp_ind_block_64b_no_128bcl; in fill_gfx9_plane_attributes_from_modifiers()
320 dcc->dcc_ind_blk = hubp_ind_block_128b; in fill_gfx9_plane_attributes_from_modifiers()
322 dcc->dcc_ind_blk = hubp_ind_block_64b; in fill_gfx9_plane_attributes_from_modifiers()
[all …]
Damdgpu_dm_plane.h49 struct dc_plane_dcc_param *dcc,
/linux-6.1.9/arch/arm64/boot/dts/xilinx/
Dzynqmp-zc1275-revA.dts22 serial1 = &dcc;
37 &dcc {
Dzynqmp-zc1254-revA.dts22 serial1 = &dcc;
37 &dcc {
Dzynqmp-zc1232-revA.dts21 serial1 = &dcc;
36 &dcc {
Dzynqmp-zcu104-revC.dts30 serial2 = &dcc;
75 &dcc {
Dzynqmp-zcu104-revA.dts30 serial2 = &dcc;
70 &dcc {
Dzynqmp-zcu100-revC.dts30 serial2 = &dcc;
129 &dcc {
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_ggtt_fencing.c666 u32 dcc = intel_uncore_read(uncore, DCC); in detect_bit_6_swizzle() local
677 switch (dcc & DCC_ADDRESSING_MODE_MASK) { in detect_bit_6_swizzle()
684 if (dcc & DCC_CHANNEL_XOR_DISABLE) { in detect_bit_6_swizzle()
691 } else if ((dcc & DCC_CHANNEL_XOR_BIT_17) == 0) { in detect_bit_6_swizzle()
710 if (dcc == 0xffffffff) { in detect_bit_6_swizzle()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c167 struct dc_plane_dcc_param *dcc) in hubp1_program_size() argument
180 meta_pitch = dcc->meta_pitch - 1; in hubp1_program_size()
182 meta_pitch_c = dcc->meta_pitch_c - 1; in hubp1_program_size()
185 meta_pitch = dcc->meta_pitch - 1; in hubp1_program_size()
190 if (!dcc->enable) { in hubp1_program_size()
541 struct dc_plane_dcc_param *dcc, in hubp1_program_surface_config() argument
545 hubp1_dcc_control(hubp, dcc->enable, dcc->independent_64b_blks); in hubp1_program_surface_config()
547 hubp1_program_size(hubp, format, plane_size, dcc); in hubp1_program_surface_config()
/linux-6.1.9/arch/arm/boot/dts/
Dvexpress-v2p-ca5s.dts143 dcc {
201 temp-dcc {
Dvexpress-v2p-ca15-tc1.dts141 dcc {
217 temp-dcc {
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c330 struct dc_plane_dcc_param *dcc) in hubp2_program_size() argument
348 meta_pitch = dcc->meta_pitch - 1; in hubp2_program_size()
350 meta_pitch_c = dcc->meta_pitch_c - 1; in hubp2_program_size()
353 meta_pitch = dcc->meta_pitch - 1; in hubp2_program_size()
358 if (!dcc->enable) { in hubp2_program_size()
540 struct dc_plane_dcc_param *dcc, in hubp2_program_surface_config() argument
546 hubp2_dcc_control(hubp, dcc->enable, dcc->independent_64b_blks); in hubp2_program_surface_config()
548 hubp2_program_size(hubp, format, plane_size, dcc); in hubp2_program_surface_config()
Ddcn20_hubp.h328 struct dc_plane_dcc_param *dcc);
345 struct dc_plane_dcc_param *dcc,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h161 struct dc_plane_dcc_param *dcc,
Dhubp.h141 struct dc_plane_dcc_param *dcc,
/linux-6.1.9/drivers/tty/hvc/
Dhvc_dcc.c55 EARLYCON_DECLARE(dcc, dcc_early_console_setup);
/linux-6.1.9/arch/arm64/boot/dts/arm/
Dvexpress-v2f-1xv7-ca53x2.dts108 dcc {
/linux-6.1.9/fs/ext4/
Dballoc.c575 struct percpu_counter *dcc = &sbi->s_dirtyclusters_counter; in ext4_has_free_clusters() local
578 dirty_clusters = percpu_counter_read_positive(dcc); in ext4_has_free_clusters()
591 dirty_clusters = percpu_counter_sum_positive(dcc); in ext4_has_free_clusters()

123