Home
last modified time | relevance | path

Searched refs:masks (Results 1 – 25 of 143) sorted by relevance

123456

/Linux-v4.19/drivers/clk/mmp/
Dclk-frac.c37 (factor->ftbl[i].num * factor->masks->factor)) * 10000; in clk_factor_round_rate()
55 struct mmp_clk_factor_masks *masks = factor->masks; in clk_factor_recalc_rate() local
61 num = (val >> masks->num_shift) & masks->num_mask; in clk_factor_recalc_rate()
64 den = (val >> masks->den_shift) & masks->den_mask; in clk_factor_recalc_rate()
70 (num * factor->masks->factor)) * 10000; in clk_factor_recalc_rate()
78 struct mmp_clk_factor_masks *masks = factor->masks; in clk_factor_set_rate() local
87 (factor->ftbl[i].num * factor->masks->factor)) * 10000; in clk_factor_set_rate()
99 val &= ~(masks->num_mask << masks->num_shift); in clk_factor_set_rate()
100 val |= (factor->ftbl[i].num & masks->num_mask) << masks->num_shift; in clk_factor_set_rate()
102 val &= ~(masks->den_mask << masks->den_shift); in clk_factor_set_rate()
[all …]
/Linux-v4.19/drivers/clk/spear/
Dclk-aux-synth.c80 eqn = (val >> aux->masks->eq_sel_shift) & aux->masks->eq_sel_mask; in clk_aux_recalc_rate()
81 if (eqn == aux->masks->eq1_mask) in clk_aux_recalc_rate()
85 num = (val >> aux->masks->xscale_sel_shift) & in clk_aux_recalc_rate()
86 aux->masks->xscale_sel_mask; in clk_aux_recalc_rate()
89 den *= (val >> aux->masks->yscale_sel_shift) & in clk_aux_recalc_rate()
90 aux->masks->yscale_sel_mask; in clk_aux_recalc_rate()
114 ~(aux->masks->eq_sel_mask << aux->masks->eq_sel_shift); in clk_aux_set_rate()
115 val |= (rtbl[i].eq & aux->masks->eq_sel_mask) << in clk_aux_set_rate()
116 aux->masks->eq_sel_shift; in clk_aux_set_rate()
117 val &= ~(aux->masks->xscale_sel_mask << aux->masks->xscale_sel_shift); in clk_aux_set_rate()
[all …]
Dclk.h52 const struct aux_clk_masks *masks; member
115 const struct aux_clk_masks *masks, struct aux_rate_tbl *rtbl,
/Linux-v4.19/kernel/irq/
Daffinity.c44 cpumask_var_t *masks; in alloc_node_to_cpumask() local
47 masks = kcalloc(nr_node_ids, sizeof(cpumask_var_t), GFP_KERNEL); in alloc_node_to_cpumask()
48 if (!masks) in alloc_node_to_cpumask()
52 if (!zalloc_cpumask_var(&masks[node], GFP_KERNEL)) in alloc_node_to_cpumask()
56 return masks; in alloc_node_to_cpumask()
60 free_cpumask_var(masks[node]); in alloc_node_to_cpumask()
61 kfree(masks); in alloc_node_to_cpumask()
65 static void free_node_to_cpumask(cpumask_var_t *masks) in free_node_to_cpumask() argument
70 free_cpumask_var(masks[node]); in free_node_to_cpumask()
71 kfree(masks); in free_node_to_cpumask()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_cm.c150 gam_regs.masks.csc_c11 = dpp->tf_mask->CM_GAMUT_REMAP_C11; in program_gamut_remap()
152 gam_regs.masks.csc_c12 = dpp->tf_mask->CM_GAMUT_REMAP_C12; in program_gamut_remap()
245 gam_regs.masks.csc_c11 = dpp->tf_mask->CM_OCSC_C11; in dpp1_cm_program_color_matrix()
247 gam_regs.masks.csc_c12 = dpp->tf_mask->CM_OCSC_C12; in dpp1_cm_program_color_matrix()
292 reg->masks.exp_region0_lut_offset = dpp->tf_mask->CM_RGAM_RAMA_EXP_REGION0_LUT_OFFSET; in dpp1_cm_get_reg_field()
294 reg->masks.exp_region0_num_segments = dpp->tf_mask->CM_RGAM_RAMA_EXP_REGION0_NUM_SEGMENTS; in dpp1_cm_get_reg_field()
296 reg->masks.exp_region1_lut_offset = dpp->tf_mask->CM_RGAM_RAMA_EXP_REGION1_LUT_OFFSET; in dpp1_cm_get_reg_field()
298 reg->masks.exp_region1_num_segments = dpp->tf_mask->CM_RGAM_RAMA_EXP_REGION1_NUM_SEGMENTS; in dpp1_cm_get_reg_field()
301 reg->masks.field_region_end = dpp->tf_mask->CM_RGAM_RAMB_EXP_REGION_END_B; in dpp1_cm_get_reg_field()
303 reg->masks.field_region_end_slope = dpp->tf_mask->CM_RGAM_RAMB_EXP_REGION_END_SLOPE_B; in dpp1_cm_get_reg_field()
[all …]
Ddcn10_cm_common.h55 struct xfer_func_mask masks; member
83 struct cm_color_matrix_mask masks; member
/Linux-v4.19/drivers/clk/uniphier/
Dclk-uniphier-mux.c26 const unsigned int *masks; member
36 return regmap_write_bits(mux->regmap, mux->reg, mux->masks[index], in uniphier_clk_mux_set_parent()
53 if ((mux->masks[i] & val) == mux->vals[i]) in uniphier_clk_mux_get_parent()
86 mux->masks = data->masks; in uniphier_clk_register_mux()
/Linux-v4.19/drivers/s390/char/
Dsclp.h103 u8 masks[4 * 1021]; /* variable length */ member
114 static inline sccb_mask_t sccb_get_mask(u8 *masks, size_t len, int i) in sccb_get_mask() argument
118 memcpy(&res, masks + i * len, min(sizeof(res), len)); in sccb_get_mask()
122 static inline void sccb_set_mask(u8 *masks, size_t len, int i, sccb_mask_t val) in sccb_set_mask() argument
124 memset(masks + i * len, 0, len); in sccb_set_mask()
125 memcpy(masks + i * len, &val, min(sizeof(val), len)); in sccb_set_mask()
132 sccb_get_mask(__sccb->masks, __sccb->mask_length, i); \
143 sccb_set_mask(__sccb->masks, __sccb->mask_length, i, val); \
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Dtdm-slot.txt20 tx and rx masks.
22 For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit
24 the masks.
26 The explicit masks are given as array of integers, where the first
/Linux-v4.19/tools/perf/trace/beauty/
Dprctl.c65 const u8 masks[] = { in syscall_arg__scnprintf_prctl_option() local
78 if (option < ARRAY_SIZE(masks)) in syscall_arg__scnprintf_prctl_option()
79 arg->mask |= masks[option]; in syscall_arg__scnprintf_prctl_option()
/Linux-v4.19/drivers/gpu/drm/via/
Dvia_irq.c209 maskarray_t *masks; in via_driver_irq_wait() local
232 masks = dev_priv->irq_masks; in via_driver_irq_wait()
235 if (masks[real_irq][2] && !force_sequence) { in via_driver_irq_wait()
237 ((VIA_READ(masks[irq][2]) & masks[irq][3]) == in via_driver_irq_wait()
238 masks[irq][4])); in via_driver_irq_wait()
/Linux-v4.19/Documentation/devicetree/bindings/mux/
Dmmio-mux.txt9 - mux-reg-masks : an array of register offset and pre-shifted bitfield mask
19 in the mux-reg-masks array, accessed through the parent syscon.
30 mux-reg-masks = <0x3 0x30>, /* 0: reg 0x3, bits 5:4 */
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_hwseq.c38 hws->shifts->field_name, hws->masks->field_name
75 if (hws->masks->BLND_BLND_V_UPDATE_LOCK != 0) in dce_pipe_control_lock()
120 if (hws->masks->BLND_ALPHA_MODE != 0) { in dce_set_blender_mode()
Ddce_audio.h121 const struct dce_aduio_mask *masks; member
129 const struct dce_aduio_mask *masks);
/Linux-v4.19/drivers/char/agp/
Dintel-agp.c461 .masks = intel_generic_masks,
488 .masks = intel_generic_masks,
515 .masks = intel_generic_masks,
542 .masks = intel_generic_masks,
569 .masks = intel_generic_masks,
596 .masks = intel_generic_masks,
623 .masks = intel_generic_masks,
650 .masks = intel_generic_masks,
677 .masks = intel_generic_masks,
/Linux-v4.19/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c472 symlist_t masks; in symtable_dump() local
489 SLIST_INIT(&masks); in symtable_dump()
509 symlist_add(&masks, cursym, SYMLIST_SORT); in symtable_dump()
580 while (SLIST_FIRST(&masks) != NULL) { in symtable_dump()
583 curnode = SLIST_FIRST(&masks); in symtable_dump()
584 SLIST_REMOVE_HEAD(&masks, links); in symtable_dump()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/gpio/dce110/
Dhw_factory_dce110.c131 ddc->masks = &ddc_mask; in define_ddc_registers()
141 hpd->masks = &hpd_mask; in define_hpd_registers()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/gpio/dcn10/
Dhw_factory_dcn10.c145 ddc->masks = &ddc_mask; in define_ddc_registers()
155 hpd->masks = &hpd_mask; in define_hpd_registers()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/gpio/dce80/
Dhw_factory_dce80.c135 ddc->masks = &ddc_mask; in define_ddc_registers()
145 hpd->masks = &hpd_mask; in define_hpd_registers()
/Linux-v4.19/Documentation/filesystems/
Dadfs.txt44 Hence, with the default masks, if a file is owner read/write, and
49 However, if the masks were ownmask=0770,othmask=0007, then this would
53 There is no restriction on what you can do with these masks. You may
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/gpio/dce120/
Dhw_factory_dce120.c150 ddc->masks = &ddc_mask; in define_ddc_registers()
160 hpd->masks = &hpd_mask; in define_hpd_registers()
/Linux-v4.19/arch/arm/plat-samsung/include/plat/
Dwakeup-mask.h36 const struct samsung_wakeup_mask *masks,
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/gpio/
Dhw_ddc.h35 const struct ddc_sh_mask *masks; member
Dhw_hpd.h35 const struct hpd_sh_mask *masks; member
/Linux-v4.19/arch/powerpc/platforms/ps3/
Dspu.c101 u64 masks[3]; member
498 spu_pdata(spu)->cache.masks[class] = mask; in int_mask_set()
500 spu_pdata(spu)->cache.masks[class]); in int_mask_set()
505 return spu_pdata(spu)->cache.masks[class]; in int_mask_get()

123456