Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/arch/s390/kernel/
Dsclp.c74 unsigned int *masks; in _sclp_setup() local
78 masks = (unsigned int *)(_sclp_work_area + 12); in _sclp_setup()
80 memset(masks, 0, 16); in _sclp_setup()
85 if ((masks[0] & masks[3]) != masks[0] || in _sclp_setup()
86 (masks[1] & masks[2]) != masks[1]) in _sclp_setup()
/linux-4.4.14/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
Dwm8994.txt32 The second cell is the flags, encoded as the trigger masks from
/linux-4.4.14/drivers/gpu/drm/via/
Dvia_irq.c216 maskarray_t *masks; in via_driver_irq_wait() local
239 masks = dev_priv->irq_masks; in via_driver_irq_wait()
242 if (masks[real_irq][2] && !force_sequence) { in via_driver_irq_wait()
244 ((VIA_READ(masks[irq][2]) & masks[irq][3]) == in via_driver_irq_wait()
245 masks[irq][4])); in via_driver_irq_wait()
/linux-4.4.14/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.4.14/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,
Di460-agp.c552 return bridge->driver->masks[0].mask in i460_mask_memory()
566 .masks = i460_masks,
Duninorth-agp.c518 .masks = NULL,
546 .masks = NULL,
Dagp.h104 const struct gatt_mask *masks; member
Dsis-agp.c133 .masks = NULL,
Defficeon-agp.c324 .masks = efficeon_generic_masks,
Dparisc-agp.c224 .masks = parisc_agp_masks,
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()
Dhp-agp.c428 .masks = hp_zx1_masks,
Damd-k7-agp.c373 .masks = amd_irongate_masks,
Dsworks-agp.c432 .masks = serverworks_masks,
Dati-agp.c430 .masks = ati_generic_masks,
Damd64-agp.c226 .masks = NULL,
/linux-4.4.14/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.4.14/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.4.14/arch/arm/plat-samsung/include/plat/
Dwakeup-mask.h41 struct samsung_wakeup_mask *masks,
/linux-4.4.14/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.4.14/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.4.14/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.4.14/net/core/
Dfilter.c624 u16 *masks, memvalid = 0; /* One bit per cell, 16 cells */ in check_load_and_stores() local
629 masks = kmalloc_array(flen, sizeof(*masks), GFP_KERNEL); in check_load_and_stores()
630 if (!masks) in check_load_and_stores()
633 memset(masks, 0xff, flen * sizeof(*masks)); in check_load_and_stores()
636 memvalid &= masks[pc]; in check_load_and_stores()
652 masks[pc + 1 + filter[pc].k] &= memvalid; in check_load_and_stores()
664 masks[pc + 1 + filter[pc].jt] &= memvalid; in check_load_and_stores()
665 masks[pc + 1 + filter[pc].jf] &= memvalid; in check_load_and_stores()
671 kfree(masks); in check_load_and_stores()
/linux-4.4.14/drivers/irqchip/
Dirq-metag-ext.c603 u32 masks[4]; member
661 context->masks[bank] = metag_in32(mask_addr); in meta_intc_suspend()
725 tmp = (tmp & ~mask) | (context->masks[bank] & mask); in meta_intc_resume()
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dpalmas.txt26 The second cell is the flags, encoded as the trigger masks from
Darizona.txt26 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.4.14/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.4.14/Documentation/networking/
Dalias.txt5 IP-aliases are an obsolete way to manage multiple IP-addresses/masks
Dcan.txt889 rcvlist_err - list for error message frames masks
/linux-4.4.14/Documentation/video4linux/cx2341x/
Dfw-memory.txt64 0x54 - always 0xffffffff (0x4c, 0x50, 0x54 seem like interrupt masks, are
66 interrupt masks???).
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dst,spear3xx-shirq.txt10 bit masks. Also in some cases the group may not have enable or other
/linux-4.4.14/include/sound/
Dpcm.h235 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - member
247 return &constrs->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in constrs_mask()
886 return &params->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in hw_param_mask()
898 return &params->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in hw_param_mask_c()
/linux-4.4.14/security/smack/
Dsmackfs.c1170 unsigned int masks; in smk_write_net4addr() local
1208 &host[0], &host[1], &host[2], &host[3], &masks, smack); in smk_write_net4addr()
1217 masks = 32; in smk_write_net4addr()
1219 if (masks > BEBITS) { in smk_write_net4addr()
1243 for (m = masks, temp_mask = 0; m > 0; m--) { in smk_write_net4addr()
1260 if (snp->smk_host.s_addr == nsa && snp->smk_masks == masks) { in smk_write_net4addr()
1276 snp->smk_masks = masks; in smk_write_net4addr()
/linux-4.4.14/drivers/iio/adc/
Dmax1363.c1452 unsigned long *masks; in max1363_alloc_scan_masks() local
1455 masks = devm_kzalloc(&indio_dev->dev, in max1363_alloc_scan_masks()
1458 if (!masks) in max1363_alloc_scan_masks()
1462 bitmap_copy(masks + BITS_TO_LONGS(MAX1363_MAX_CHANNELS)*i, in max1363_alloc_scan_masks()
1466 indio_dev->available_scan_masks = masks; in max1363_alloc_scan_masks()
/linux-4.4.14/Documentation/frv/
Dclock.txt30 The current state and the available masks can be found in /proc/cpuinfo. For
/linux-4.4.14/kernel/
Dmodule.c2229 static unsigned long const masks[][2] = { in layout_sections() local
2244 for (m = 0; m < ARRAY_SIZE(masks); ++m) { in layout_sections()
2249 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2250 || (s->sh_flags & masks[m][1]) in layout_sections()
2273 for (m = 0; m < ARRAY_SIZE(masks); ++m) { in layout_sections()
2278 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2279 || (s->sh_flags & masks[m][1]) in layout_sections()
/linux-4.4.14/drivers/crypto/
Dhifn_795x.c473 volatile __le16 masks; member
496 volatile __le16 masks; member
527 volatile __le16 masks; member
556 volatile __le16 masks; member
1107 base_cmd->masks = __cpu_to_le16(mask); in hifn_setup_base_command()
1135 cry_cmd->masks = __cpu_to_le16(mode | in hifn_setup_crypto_command()
/linux-4.4.14/drivers/media/usb/cpia2/
Dcpia2.h254 struct cpia2_reg_mask masks[16]; member
/linux-4.4.14/sound/core/
Dpcm_native.c45 unsigned int masks[SNDRV_PCM_HW_PARAM_SUBFORMAT - member
3557 for (i = 0; i < ARRAY_SIZE(oparams->masks); i++) in snd_pcm_hw_convert_from_old_params()
3558 params->masks[i].bits[0] = oparams->masks[i]; in snd_pcm_hw_convert_from_old_params()
3576 for (i = 0; i < ARRAY_SIZE(oparams->masks); i++) in snd_pcm_hw_convert_to_old_params()
3577 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.4.14/arch/arc/mm/
Dtlbex.S222 ; (1) x = addr >> PAGE_SHIFT -> masks page-off bits from @fault-addr
/linux-4.4.14/net/netlink/
Daf_netlink.c75 unsigned long masks[0]; member
1100 listeners->masks[i] = mask; in netlink_update_listeners()
1963 res = test_bit(group - 1, listeners->masks); in netlink_has_listeners()
2716 memcpy(new->masks, old->masks, NLGRPSZ(tbl->groups)); in __netlink_change_ngroups()
/linux-4.4.14/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.4.14/Documentation/ABI/stable/
Dsysfs-driver-ib_srp60 the IRQ affinity masks of these interrupts have been
/linux-4.4.14/include/uapi/sound/
Dasound.h378 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - member
/linux-4.4.14/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.txt2759 when the system masks IRQs.
/linux-4.4.14/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.4.14/Documentation/hwmon/
Dasc7621204 Only the following combination of zones (and their corresponding masks)
/linux-4.4.14/Documentation/video4linux/
Domap3isp.txt145 The update and flag bit masks accept the following values. Each separate
/linux-4.4.14/arch/m68k/fpsp040/
Dfpsp.h244 | FPSR individual bit masks
/linux-4.4.14/Documentation/s390/
Ddriver-model.txt57 pimpampom: The path installed, path available and path operational masks.
/linux-4.4.14/Documentation/sound/alsa/soc/
DDPCM.txt248 snd_mask_set(&params->masks[SNDRV_PCM_HW_PARAM_FORMAT -
/linux-4.4.14/lib/
DKconfig399 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
/linux-4.4.14/Documentation/x86/x86_64/
Dboot-options.txt235 forcesac Force single-address cycle (SAC) mode for masks <40bits
/linux-4.4.14/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.4.14/drivers/platform/x86/
DKconfig790 IMRs are a set of registers that define read and write access masks
795 by hardware agents inside the SoC. Read and write masks can be
/linux-4.4.14/Documentation/cgroups/
Dunified-hierarchy.txt504 - Tasks are kept in empty cpusets after hotplug and take on the masks
508 masks of the nearest non-empty ancestor.
/linux-4.4.14/net/sched/
DKconfig486 a configurable combination of packet keys and masks.
/linux-4.4.14/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.4.14/net/netfilter/
DKconfig1449 AND them with specified masks, shift them by specified amounts and
/linux-4.4.14/arch/arm/crypto/
Daesbs-core.S_shipped1006 vmov.i8 q8, #0x01 @ bit masks
/linux-4.4.14/Documentation/scsi/
DChangeLog.lpfc1672 * Cleanup casting around DMA masks.
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dfplsp.S440 # FPSR individual bit masks #