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

12

/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/arc/kernel/
H A Ddevtree.c20 static const void * __init arch_get_next_mach(const char *const **match) argument
29 *match = m->dt_compat;
/arch/metag/kernel/
H A Ddevtree.c37 static const void * __init arch_get_next_mach(const char *const **match) argument
46 *match = m->dt_compat;
/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,
/arch/arm/kernel/
H A Ddevtree.c184 static const void * __init arch_get_next_mach(const char *const **match) argument
193 *match = m->dt_compat;
246 /* Change machine number to match the mdesc we're using */
/arch/mips/kernel/
H A Dmips-mt-fpaff.c49 bool match; local
53 match = (uid_eq(cred->euid, pcred->euid) ||
56 return match;
/arch/sh/mm/
H A Dtlbflush_64.c33 unsigned long long match, pteh=0, lpage; local
40 match = (asid << PTEH_ASID_SHIFT) | PTEH_VALID;
41 match |= lpage;
48 if (pteh == match) {
59 if (pteh == match) {
83 unsigned long long match, pteh=0, pteh_epn, pteh_low; local
97 match = (cpu_asid(cpu, mm) << PTEH_ASID_SHIFT) | PTEH_VALID;
108 if (pteh_low == match && pteh_epn >= start && pteh_epn <= end)
121 if (pteh_low == match && pteh_epn >= start && pteh_epn <= end)
/arch/arm/mach-mvebu/
H A Dsystem-controller.c163 const struct of_device_id *match; local
167 &match);
173 mvebu_sc = (struct mvebu_system_controller *)match->data;
H A Dcoherency.c363 const struct of_device_id *match; local
365 np = of_find_matching_node_and_match(NULL, of_coherency_table, &match);
367 int type = (int) match->data;
/arch/x86/mm/
H A Dpat_rbtree.c104 struct memtype *match; local
106 match = memtype_rb_lowest_match(root, start, end);
107 while (match != NULL && match->start < end) {
110 if (match->start == start && match->end == end)
111 return match;
113 node = rb_next(&match->rb);
115 match = container_of(node, struct memtype, rb);
117 match
128 struct memtype *match; local
[all...]
/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.S608 * Set match = (src and dst have same alignment)
610 #define match rem define
615 xor match, t0, t1
624 beqz match, .Lboth_aligned\@
H A Dmemcpy.S409 * Set match = (src and dst have same alignment)
411 #define match rem define
416 xor match, t0, t1
422 beqz match, .Lboth_aligned\@
/arch/mips/sgi-ip22/
H A Dip22-gio.c43 * @ids: array of of device match structures to search in
44 * @dev: the of device structure to match against
49 const struct gio_device_id *gio_match_device(const struct gio_device_id *match, argument
54 for (ids = match; ids->id != 0xff; ids++)
126 const struct gio_device_id *match; local
136 match = gio_match_device(drv->id_table, gio_dev);
137 if (match)
138 error = drv->probe(gio_dev, match);
400 .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.h44 const struct ccw_device_id *match)
50 && (id->cu_type != match->cu_type))
54 && (id->cu_model != match->cu_model))
58 && (id->dev_type != match->dev_type))
62 && (id->dev_model != match->dev_model))
43 ccw_device_id_match(const struct ccw_device_id *array, const struct ccw_device_id *match) argument
/arch/arm/mach-omap2/
H A Dtimer.c156 * @match - device-tree match structure for matching a device type
157 * @property - optional timer property to match
165 static struct device_node * __init omap_get_timer_dt(const struct of_device_id *match, argument
170 for_each_matching_node(np, match) {
/arch/arm/plat-omap/
H A Ddmtimer.c227 * one timer but it was not an exact match
231 * match.
238 /* Exit loop early if we find an exact match */
292 * @cap: Bit mask of capabilities to match
595 unsigned int match)
608 omap_dm_timer_write_reg(timer, OMAP_TIMER_MATCH_REG, match);
613 timer->context.tmar = match;
800 const struct of_device_id *match; local
803 match = of_match_device(of_match_ptr(omap_timer_match), dev);
804 pdata = match
594 omap_dm_timer_set_match(struct omap_dm_timer *timer, int enable, unsigned int match) argument
[all...]
/arch/powerpc/sysdev/
H A Dfsl_msi.c383 const struct of_device_id *match; local
392 match = of_match_device(fsl_of_msi_ids, &dev->dev);
393 if (!match)
395 features = match->data;
451 * Remember the phandle, so that we can match with any PCI nodes
/arch/tile/kernel/
H A Dbacktrace.c63 * operands exactly match those in 'operand_values'.
72 bool match; local
81 match = true;
84 match = false;
89 if (match)
/arch/arm/common/
H A DbL_switcher.c459 * Now let's do the pairing. We match each CPU with another CPU
468 int match = -1; local
478 * Let's remember the last match to create "odd"
484 match = j;
486 if (match != -1) {
487 bL_switcher_cpu_pairing[i] = match;
488 cpumask_clear_cpu(match, &available_cpus);
489 pr_info("CPU%d paired with CPU%d\n", i, match);
/arch/powerpc/kernel/
H A Dvdso.c633 int match = (cur_cpu_spec->cpu_features & patch->ftr_mask) local
635 if (!match)
/arch/powerpc/platforms/83xx/
H A Dsuspend.c327 const struct of_device_id *match; local
333 match = of_match_device(pmc_match, &ofdev->dev);
334 if (!match)
337 type = match->data;

Completed in 1401 milliseconds

12