Searched defs:match (Results 1 - 25 of 27) sorted by relevance

12

/arch/sparc/kernel/
H A Dof_device_common.h28 int (*match)(struct device_node *parent); member in struct:of_bus
H A Dprom_common.c104 int of_find_in_proplist(const char *list, const char *match, int len) argument
109 if (!strcmp(list, match))
H A Dvio.c33 int match = 1; local
35 match &= !strcmp(matches->type, type);
38 match &= len &&
41 if (match)
117 .match = vio_bus_match,
H A Dpci_sabre.c459 const struct of_device_id *match; local
469 match = of_match_device(sabre_match, &op->dev);
470 hummingbird_p = match && (match->data != NULL);
/arch/x86/kernel/cpu/
H A Dmatch.c8 * x86_match_cpu - match current CPU again an array of x86_cpu_ids
9 * @match: Pointer to array of x86_cpu_ids. Last entry terminated with
13 * passed x86_cpu_id match table. Otherwise NULL. The match table
17 * A typical table entry would be to match a specific CPU
19 * or to match a specific CPU feature
25 * Arrays used to match for this should also be declared using
31 const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match) argument
36 for (m = match; m->vendor | m->family | m->model | m->feature; m++) {
/arch/mips/kernel/
H A Dmips-mt-fpaff.c49 bool match; local
53 match = (cred->euid == pcred->euid ||
56 return match;
/arch/x86/mm/
H A Dpat_rbtree.c109 struct memtype *match; local
111 match = memtype_rb_lowest_match(root, start, end);
112 while (match != NULL && match->start < end) {
115 if (match->start == start && match->end == end)
116 return match;
118 node = rb_next(&match->rb);
120 match = container_of(node, struct memtype, rb);
122 match
133 struct memtype *match; local
[all...]
/arch/arm/plat-omap/
H A Ddmtimer.c462 unsigned int match)
476 omap_dm_timer_write_reg(timer, OMAP_TIMER_MATCH_REG, match);
480 timer->context.tmar = match;
461 omap_dm_timer_set_match(struct omap_dm_timer *timer, int enable, unsigned int match) argument
/arch/hexagon/kernel/
H A Dtime.c66 u32 match; /* Match value */ member in struct:adsp_hw_timer_struct
95 iowrite32(delta, &rtos_timer->match);
/arch/mips/lib/
H A Dcsum_partial.S551 * Set match = (src and dst have same alignment)
553 #define match rem define
558 xor match, t0, t1
567 beqz match, .Lboth_aligned
H A Dmemcpy-inatomic.S326 * Set match = (src and dst have same alignment)
328 #define match rem define
333 xor match, t0, t1
338 beqz match, .Lboth_aligned
H A Dmemcpy.S333 * Set match = (src and dst have same alignment)
335 #define match rem define
340 xor match, t0, t1
346 beqz match, .Lboth_aligned
/arch/mips/sgi-ip22/
H A Dip22-gio.c34 * @ids: array of of device match structures to search in
35 * @dev: the of device structure to match against
40 const struct gio_device_id *gio_match_device(const struct gio_device_id *match, argument
45 for (ids = match; ids->id != 0xff; ids++)
117 const struct gio_device_id *match; local
127 match = gio_match_device(drv->id_table, gio_dev);
128 if (match)
129 error = drv->probe(gio_dev, match);
381 .match = gio_bus_match,
/arch/powerpc/platforms/cell/
H A Dcelleb_pci.c474 const struct of_device_id *match; local
478 match = of_match_node(celleb_phb_match, dev);
479 if (!match)
485 phb_spec = match->data;
/arch/s390/include/asm/
H A Dccwdev.h43 const struct ccw_device_id *match)
49 && (id->cu_type != match->cu_type))
53 && (id->cu_model != match->cu_model))
57 && (id->dev_type != match->dev_type))
61 && (id->dev_model != match->dev_model))
42 ccw_device_id_match(const struct ccw_device_id *array, const struct ccw_device_id *match) argument
/arch/sh/mm/
H A Dtlbflush_64.c321 unsigned long long match, pteh=0, lpage; local
328 match = (asid << PTEH_ASID_SHIFT) | PTEH_VALID;
329 match |= lpage;
336 if (pteh == match) {
347 if (pteh == match) {
371 unsigned long long match, pteh=0, pteh_epn, pteh_low; local
385 match = (cpu_asid(cpu, mm) << PTEH_ASID_SHIFT) | PTEH_VALID;
396 if (pteh_low == match && pteh_epn >= start && pteh_epn <= end)
409 if (pteh_low == match && pteh_epn >= start && pteh_epn <= end)
/arch/powerpc/sysdev/
H A Dfsl_msi.c365 const struct of_device_id *match; local
376 match = of_match_device(fsl_of_msi_ids, &dev->dev);
377 if (!match)
379 features = match->data;
425 * Remember the phandle, so that we can match with any PCI nodes
/arch/tile/kernel/
H A Dbacktrace.c62 * operands exactly match those in 'operand_values'.
71 bool match; local
80 match = true;
83 match = false;
88 if (match)
/arch/arm/mach-tegra/
H A Dpinmux.c727 const struct of_device_id *match; local
729 match = of_match_device(tegra_pinmux_of_match, &pdev->dev);
731 if (match)
732 ((pinmux_init)(match->data))(&pingroups, &pingroup_max,
/arch/powerpc/kernel/
H A Dibmebus.c344 const struct of_device_id *match; local
354 match = of_match_device(drv->driver.of_match_table, dev);
355 if (match)
356 error = drv->probe(of_dev, match);
720 .match = ibmebus_bus_bus_match,
H A Dvdso.c630 int match = (cur_cpu_spec->cpu_features & patch->ftr_mask) local
632 if (!match)
/arch/powerpc/platforms/83xx/
H A Dsuspend.c326 const struct of_device_id *match; local
332 match = of_match_device(pmc_match, &ofdev->dev);
333 if (!match)
336 type = match->data;
/arch/um/drivers/
H A Dnet_kern.c606 int match; local
615 match = check_transport(new, eth->init, eth->index, &init,
617 if (!match)
/arch/mips/mm/
H A Duasm.c77 u32 match; member in struct:insn
260 op = ip->match;
/arch/powerpc/platforms/powermac/
H A Dlow_i2c.c1180 * let's make sure i2c-hwclock doesn't match about "imic"
1376 int i, match; local
1386 for (i = 0, match = 1; match && i < len; i ++)
1388 match = 0;
1389 *args->u[0].p = match;

Completed in 1031 milliseconds

12