Home
last modified time | relevance | path

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

/linux-4.1.27/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 …]
Dclk.h28 struct mmp_clk_factor_masks *masks; member
36 void __iomem *base, struct mmp_clk_factor_masks *masks,
/linux-4.1.27/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 struct aux_clk_masks *masks; member
115 struct aux_clk_masks *masks, struct aux_rate_tbl *rtbl,
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dtdm-slot.txt16 tx and rx masks.
18 For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit
20 the masks.
Dwm8994.txt32 The second cell is the flags, encoded as the trigger masks from
/linux-4.1.27/drivers/gpu/drm/via/
Dvia_irq.c215 maskarray_t *masks; in via_driver_irq_wait() local
238 masks = dev_priv->irq_masks; in via_driver_irq_wait()
241 if (masks[real_irq][2] && !force_sequence) { in via_driver_irq_wait()
243 ((VIA_READ(masks[irq][2]) & masks[irq][3]) == in via_driver_irq_wait()
244 masks[irq][4])); in via_driver_irq_wait()
/linux-4.1.27/arch/blackfin/kernel/cplb-mpu/
Dcplbmgr.c341 void set_mask_dcplbs(unsigned long *masks, unsigned int cpu) in set_mask_dcplbs() argument
344 unsigned long addr = (unsigned long)masks; in set_mask_dcplbs()
348 if (!masks) { in set_mask_dcplbs()
349 current_rwx_mask[cpu] = masks; in set_mask_dcplbs()
354 current_rwx_mask[cpu] = masks; in set_mask_dcplbs()
/linux-4.1.27/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,
Dali-agp.c213 .masks = NULL,
237 .masks = NULL,
Dvia-agp.c183 .masks = NULL,
210 .masks = NULL,
Dalpha-agp.c130 .masks = NULL,
Duninorth-agp.c514 .masks = NULL,
542 .masks = NULL,
Di460-agp.c552 return bridge->driver->masks[0].mask in i460_mask_memory()
566 .masks = i460_masks,
Dagp.h104 const struct gatt_mask *masks; member
Defficeon-agp.c324 .masks = efficeon_generic_masks,
Dparisc-agp.c224 .masks = parisc_agp_masks,
Dsis-agp.c133 .masks = NULL,
Dnvidia-agp.c320 .masks = nvidia_generic_masks,
Dgeneric.c1327 if (bridge->driver->masks) in agp_generic_mask_memory()
1328 return addr | bridge->driver->masks[0].mask; in agp_generic_mask_memory()
Dsworks-agp.c432 .masks = serverworks_masks,
Dati-agp.c430 .masks = ati_generic_masks,
Damd-k7-agp.c373 .masks = amd_irongate_masks,
Dhp-agp.c428 .masks = hp_zx1_masks,
Damd64-agp.c226 .masks = NULL,
/linux-4.1.27/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-4.1.27/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
Dafs.txt54 the masks in the following files:
Dspufs.txt332 on the SPU. The bit masks for the status codes are:
/linux-4.1.27/net/core/
Dfilter.c623 u16 *masks, memvalid = 0; /* One bit per cell, 16 cells */ in check_load_and_stores() local
628 masks = kmalloc_array(flen, sizeof(*masks), GFP_KERNEL); in check_load_and_stores()
629 if (!masks) in check_load_and_stores()
632 memset(masks, 0xff, flen * sizeof(*masks)); in check_load_and_stores()
635 memvalid &= masks[pc]; in check_load_and_stores()
651 masks[pc + 1 + filter[pc].k] &= memvalid; in check_load_and_stores()
663 masks[pc + 1 + filter[pc].jt] &= memvalid; in check_load_and_stores()
664 masks[pc + 1 + filter[pc].jf] &= memvalid; in check_load_and_stores()
670 kfree(masks); in check_load_and_stores()
/linux-4.1.27/arch/arm/plat-samsung/include/plat/
Dwakeup-mask.h41 struct samsung_wakeup_mask *masks,
/linux-4.1.27/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()
/linux-4.1.27/drivers/staging/speakup/
Dkeyhelp.c31 static u_short masks[] = { 32, 16, 8, 4, 2, 1 }; variable
119 if (state & masks[i]) in say_key()
/linux-4.1.27/arch/mips/kernel/
Dvpe.c185 static unsigned long const masks[][2] = { in layout_sections() local
199 for (m = 0; m < ARRAY_SIZE(masks); ++m) { in layout_sections()
203 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
204 || (s->sh_flags & masks[m][1]) in layout_sections()
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dpalmas.txt26 The second cell is the flags, encoded as the trigger masks from
Darizona.txt23 The second cell is the flags, encoded as the trigger masks from
Dtps65910.txt13 The second cell is the flags, encoded as the trigger masks from
Das3722.txt13 The second cell is the flags, encoded as the trigger masks from binding document
/linux-4.1.27/drivers/irqchip/
Dirq-metag-ext.c604 u32 masks[4]; member
662 context->masks[bank] = metag_in32(mask_addr); in meta_intc_suspend()
726 tmp = (tmp & ~mask) | (context->masks[bank] & mask); in meta_intc_resume()
/linux-4.1.27/arch/powerpc/oprofile/
Dop_model_cell.c86 unsigned long masks; member
486 pmc_cntrl[next_hdw_thread][i].masks); in cell_virtual_cntr()
780 pmc_cntrl[0][i].masks = ctr[i].unit_mask; in cell_reg_setup_ppu()
802 pmc_cntrl[1][i].masks = ctr[i].unit_mask; in cell_reg_setup_ppu()
824 pmc_cntrl[0][i].masks); in cell_reg_setup_ppu()
/linux-4.1.27/Documentation/networking/
Dalias.txt5 IP-aliases are an obsolete way to manage multiple IP-addresses/masks
Dcan.txt886 rcvlist_err - list for error message frames masks
/linux-4.1.27/Documentation/video4linux/cx2341x/
Dfw-memory.txt64 0x54 - always 0xffffffff (0x4c, 0x50, 0x54 seem like interrupt masks, are
66 interrupt masks???).
/linux-4.1.27/include/sound/
Dpcm.h234 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - member
246 return &constrs->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in constrs_mask()
895 return &params->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in hw_param_mask()
907 return &params->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in hw_param_mask_c()
/linux-4.1.27/Documentation/devicetree/bindings/arm/spear/
Dshirq.txt10 bit masks. Also in some cases the group may not have enable or other
/linux-4.1.27/drivers/iio/adc/
Dmax1363.c1453 unsigned long *masks; in max1363_alloc_scan_masks() local
1456 masks = devm_kzalloc(&indio_dev->dev, in max1363_alloc_scan_masks()
1459 if (!masks) in max1363_alloc_scan_masks()
1463 bitmap_copy(masks + BITS_TO_LONGS(MAX1363_MAX_CHANNELS)*i, in max1363_alloc_scan_masks()
1467 indio_dev->available_scan_masks = masks; in max1363_alloc_scan_masks()
/linux-4.1.27/Documentation/frv/
Dclock.txt30 The current state and the available masks can be found in /proc/cpuinfo. For
/linux-4.1.27/arch/s390/kernel/
Dsclp.S153 # clear masks
163 # check masks
/linux-4.1.27/kernel/
Dmodule.c2058 static unsigned long const masks[][2] = { in layout_sections() local
2073 for (m = 0; m < ARRAY_SIZE(masks); ++m) { in layout_sections()
2078 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2079 || (s->sh_flags & masks[m][1]) in layout_sections()
2102 for (m = 0; m < ARRAY_SIZE(masks); ++m) { in layout_sections()
2107 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2108 || (s->sh_flags & masks[m][1]) in layout_sections()
/linux-4.1.27/drivers/crypto/
Dhifn_795x.c475 volatile __le16 masks; member
498 volatile __le16 masks; member
529 volatile __le16 masks; member
558 volatile __le16 masks; member
1109 base_cmd->masks = __cpu_to_le16(mask); in hifn_setup_base_command()
1137 cry_cmd->masks = __cpu_to_le16(mode | in hifn_setup_crypto_command()
/linux-4.1.27/drivers/media/usb/cpia2/
Dcpia2.h254 struct cpia2_reg_mask masks[16]; member
/linux-4.1.27/sound/core/
Dpcm_native.c45 unsigned int masks[SNDRV_PCM_HW_PARAM_SUBFORMAT - member
3559 for (i = 0; i < ARRAY_SIZE(oparams->masks); i++) in snd_pcm_hw_convert_from_old_params()
3560 params->masks[i].bits[0] = oparams->masks[i]; in snd_pcm_hw_convert_from_old_params()
3578 for (i = 0; i < ARRAY_SIZE(oparams->masks); i++) in snd_pcm_hw_convert_to_old_params()
3579 oparams->masks[i] = params->masks[i].bits[0]; in snd_pcm_hw_convert_to_old_params()
Dpcm_compat.c79 …struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - SNDRV_PCM_HW_PARAM_FIRST_MASK + 1]; /* this m… member
/linux-4.1.27/arch/arc/mm/
Dtlbex.S197 ; (1) x = addr >> PAGE_SHIFT -> masks page-off bits from @fault-addr
/linux-4.1.27/net/netlink/
Daf_netlink.c75 unsigned long masks[0]; member
1086 listeners->masks[i] = mask; in netlink_update_listeners()
1938 res = test_bit(group - 1, listeners->masks); in netlink_has_listeners()
2615 memcpy(new->masks, old->masks, NLGRPSZ(tbl->groups)); in __netlink_change_ngroups()
/linux-4.1.27/arch/alpha/lib/
Dstxncpy.S313 lda t2, -1 # e0 : for creating masks later
Dev6-stxncpy.S360 lda t2, -1 # E : for creating masks later
/linux-4.1.27/include/uapi/sound/
Dasound.h376 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - member
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-driver-ib_srp60 the IRQ affinity masks of these interrupts have been
/linux-4.1.27/Documentation/
Dpadata.txt61 Changing the CPU masks are expensive operations, though, so it should not be
Dvfio.txt61 bridge masks the devices behind it, making transaction appear as if
Dkernel-parameters.txt2682 when the system masks IRQs.
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-cards.c3193 static const int masks[] = {0x30, 0x01, 0x12, 0x23}; in gvc1100_muxsel() local
3194 gpio_write(masks[input%4]); in gvc1100_muxsel()
4579 static const int masks[] = { in xguard_muxsel() local
4585 gpio_write(masks[input%16]); in xguard_muxsel()
/linux-4.1.27/Documentation/hwmon/
Dasc7621204 Only the following combination of zones (and their corresponding masks)
/linux-4.1.27/arch/m68k/fpsp040/
Dfpsp.h244 | FPSR individual bit masks
/linux-4.1.27/Documentation/video4linux/
Domap3isp.txt145 The update and flag bit masks accept the following values. Each separate
/linux-4.1.27/Documentation/s390/
Ddriver-model.txt57 pimpampom: The path installed, path available and path operational masks.
/linux-4.1.27/Documentation/cgroups/
Dunified-hierarchy.txt318 - Tasks are kept in empty cpusets after hotplug and take on the masks
322 masks of the nearest non-empty ancestor.
/linux-4.1.27/lib/
DKconfig393 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
/linux-4.1.27/Documentation/sound/alsa/soc/
DDPCM.txt248 snd_mask_set(&params->masks[SNDRV_PCM_HW_PARAM_FORMAT -
/linux-4.1.27/Documentation/x86/x86_64/
Dboot-options.txt232 forcesac Force single-address cycle (SAC) mode for masks <40bits
/linux-4.1.27/Documentation/PCI/
Dpci.txt348 Once the DMA masks are set, the driver can allocate "consistent" (a.k.a. shared)
441 it decides the IRQ isn't going to get handled and masks the IRQ (100,000
/linux-4.1.27/drivers/platform/x86/
DKconfig745 IMRs are a set of registers that define read and write access masks
750 by hardware agents inside the SoC. Read and write masks can be
/linux-4.1.27/Documentation/laptops/
Dthinkpad-acpi.txt235 maintain maximum bug-to-bug compatibility, it does not report any masks,
237 does not support masks at all, even if NVRAM polling is in use.
/linux-4.1.27/net/netfilter/
DKconfig1433 AND them with specified masks, shift them by specified amounts and
/linux-4.1.27/arch/arm/crypto/
Daesbs-core.S_shipped1006 vmov.i8 q8, #0x01 @ bit masks
/linux-4.1.27/Documentation/scsi/
DChangeLog.lpfc1672 * Cleanup casting around DMA masks.
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dfplsp.S440 # FPSR individual bit masks #