/linux-4.19.296/drivers/clk/mmp/ |
D | clk-frac.c | 37 (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 …]
|
D | clk.h | 29 struct mmp_clk_factor_masks *masks; member 37 void __iomem *base, struct mmp_clk_factor_masks *masks,
|
/linux-4.19.296/drivers/clk/spear/ |
D | clk-aux-synth.c | 80 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 …]
|
D | clk.h | 52 const struct aux_clk_masks *masks; member 115 const struct aux_clk_masks *masks, struct aux_rate_tbl *rtbl,
|
/linux-4.19.296/drivers/clk/uniphier/ |
D | clk-uniphier-mux.c | 26 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()
|
D | clk-uniphier-mio.c | 48 .masks = { \
|
D | clk-uniphier.h | 61 unsigned int masks[UNIPHIER_CLK_MUX_MAX_PARENTS]; member
|
/linux-4.19.296/drivers/s390/char/ |
D | sclp.h | 103 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-4.19.296/drivers/char/agp/ |
D | intel-agp.c | 461 .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,
|
D | ali-agp.c | 213 .masks = NULL, 237 .masks = NULL,
|
D | via-agp.c | 183 .masks = NULL, 210 .masks = NULL,
|
D | alpha-agp.c | 128 .masks = NULL,
|
D | i460-agp.c | 552 return bridge->driver->masks[0].mask in i460_mask_memory() 566 .masks = i460_masks,
|
D | uninorth-agp.c | 519 .masks = NULL, 547 .masks = NULL,
|
D | agp.h | 104 const struct gatt_mask *masks; member
|
D | parisc-agp.c | 224 .masks = parisc_agp_masks,
|
D | sis-agp.c | 133 .masks = NULL,
|
D | efficeon-agp.c | 324 .masks = efficeon_generic_masks,
|
D | nvidia-agp.c | 320 .masks = nvidia_generic_masks,
|
D | generic.c | 1323 if (bridge->driver->masks) in agp_generic_mask_memory() 1324 return addr | bridge->driver->masks[0].mask; in agp_generic_mask_memory()
|
D | ati-agp.c | 432 .masks = ati_generic_masks,
|
D | hp-agp.c | 428 .masks = hp_zx1_masks,
|
/linux-4.19.296/drivers/pci/ |
D | msi.c | 558 struct cpumask *masks = NULL; in msi_setup_entry() local 563 masks = irq_create_affinity_masks(nvec, affd); in msi_setup_entry() 567 entry = alloc_msi_entry(&dev->dev, nvec, masks); in msi_setup_entry() 594 kfree(masks); in msi_setup_entry() 699 struct cpumask *curmsk, *masks = NULL; in msix_setup_entries() local 705 masks = irq_create_affinity_masks(nvec, affd); in msix_setup_entries() 707 for (i = 0, curmsk = masks; i < nvec; i++) { in msix_setup_entries() 734 if (masks) in msix_setup_entries() 739 kfree(masks); in msix_setup_entries()
|
/linux-4.19.296/include/sound/ |
D | pcm.h | 246 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - member 258 return &constrs->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in constrs_mask() 910 return ¶ms->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in hw_param_mask() 922 return ¶ms->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in hw_param_mask_c()
|
/linux-4.19.296/drivers/iio/adc/ |
D | max1363.c | 1452 unsigned long *masks; in max1363_alloc_scan_masks() local 1455 masks = devm_kzalloc(&indio_dev->dev, in max1363_alloc_scan_masks() 1460 if (!masks) in max1363_alloc_scan_masks() 1464 bitmap_copy(masks + BITS_TO_LONGS(MAX1363_MAX_CHANNELS)*i, in max1363_alloc_scan_masks() 1468 indio_dev->available_scan_masks = masks; in max1363_alloc_scan_masks()
|