Home
last modified time | relevance | path

Searched refs:match (Results 1 – 200 of 1063) sorted by relevance

123456

/linux-4.1.27/drivers/regulator/
Ddevres.c262 struct regulator_supply_alias_match *match = res; in devm_regulator_match_supply_alias() local
265 return match->dev == target->dev && strcmp(match->id, target->id) == 0; in devm_regulator_match_supply_alias()
270 struct regulator_supply_alias_match *match = res; in devm_regulator_destroy_supply_alias() local
272 regulator_unregister_supply_alias(match->dev, match->id); in devm_regulator_destroy_supply_alias()
292 struct regulator_supply_alias_match *match; in devm_regulator_register_supply_alias() local
295 match = devres_alloc(devm_regulator_destroy_supply_alias, in devm_regulator_register_supply_alias()
298 if (!match) in devm_regulator_register_supply_alias()
301 match->dev = dev; in devm_regulator_register_supply_alias()
302 match->id = id; in devm_regulator_register_supply_alias()
306 devres_free(match); in devm_regulator_register_supply_alias()
[all …]
Dof_regulator.c234 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local
235 match->init_data = NULL; in of_regulator_match()
236 match->of_node = NULL; in of_regulator_match()
245 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local
246 if (match->of_node) in of_regulator_match()
249 if (strcmp(match->name, name)) in of_regulator_match()
252 match->init_data = in of_regulator_match()
254 match->desc); in of_regulator_match()
255 if (!match->init_data) { in of_regulator_match()
261 match->of_node = of_node_get(child); in of_regulator_match()
Das3711-regulator.c191 struct of_regulator_match *match; in as3711_regulator_parse_dt() local
207 for (i = 0, match = as3711_regulator_matches; i < count; i++, match++) in as3711_regulator_parse_dt()
208 if (match->of_node) { in as3711_regulator_parse_dt()
209 pdata->init_data[i] = match->init_data; in as3711_regulator_parse_dt()
210 of_node[i] = match->of_node; in as3711_regulator_parse_dt()
Dmt6397-regulator.c43 #define MT6397_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ argument
48 .of_match = of_match_ptr(match), \
67 #define MT6397_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ argument
72 .of_match = of_match_ptr(match), \
87 #define MT6397_REG_FIXED(match, vreg, enreg, enbit, volt) \ argument
91 .of_match = of_match_ptr(match), \
Dtps65218-regulator.c224 const struct of_device_id *match; in tps65218_regulator_probe() local
228 match = of_match_device(tps65218_of_match, &pdev->dev); in tps65218_regulator_probe()
229 if (!match) in tps65218_regulator_probe()
232 template = match->data; in tps65218_regulator_probe()
Dfan53555.c367 const struct of_device_id *match; in fan53555_regulator_probe() local
369 match = of_match_device(of_match_ptr(fan53555_dt_ids), in fan53555_regulator_probe()
371 if (!match) in fan53555_regulator_probe()
374 di->vendor = (unsigned long) match->data; in fan53555_regulator_probe()
Dmax1586.c228 const struct of_device_id *match; in max1586_pmic_probe() local
232 match = of_match_device(of_match_ptr(max1586_of_match), in max1586_pmic_probe()
234 if (!match) { in max1586_pmic_probe()
/linux-4.1.27/drivers/base/
Dcomponent.c37 struct component_match *match; member
111 struct component_match *match = master->match; in find_components() local
115 if (!match) { in find_components()
127 for (i = 0; i < match->num; i++) { in find_components()
129 match->compare[i].fn, in find_components()
130 match->compare[i].data); in find_components()
233 struct component_match *match, size_t num) in component_match_realloc() argument
237 if (match && match->alloc == num) in component_match_realloc()
238 return match; in component_match_realloc()
244 if (match) { in component_match_realloc()
[all …]
Ddevres.c163 dr_match_t match, void *match_data, in devres_for_each_res() argument
181 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res()
227 dr_match_t match, void *match_data) in find_dr() argument
236 if (match && !match(dev, dr->data, match_data)) in find_dr()
259 dr_match_t match, void *match_data) in devres_find() argument
265 dr = find_dr(dev, release, match, match_data); in devres_find()
289 dr_match_t match, void *match_data) in devres_get() argument
296 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get()
325 dr_match_t match, void *match_data) in devres_remove() argument
331 dr = find_dr(dev, release, match, match_data); in devres_remove()
[all …]
Dplatform.c998 .match = platform_match,
1201 struct platform_device *match; in early_platform_driver_probe_id() local
1236 match = NULL; in early_platform_driver_probe_id()
1239 match = early_platform_match(epdrv, match_id); in early_platform_driver_probe_id()
1242 if (match) { in early_platform_driver_probe_id()
1248 if (!match->dev.init_name && slab_is_available()) { in early_platform_driver_probe_id()
1249 if (match->id != -1) in early_platform_driver_probe_id()
1250 match->dev.init_name = in early_platform_driver_probe_id()
1252 match->name, in early_platform_driver_probe_id()
1253 match->id); in early_platform_driver_probe_id()
[all …]
Disa.c30 if (!isa_driver->match || in isa_bus_match()
31 isa_driver->match(dev, to_isa_dev(dev)->id)) in isa_bus_match()
88 .match = isa_bus_match,
Ddma-mapping.c42 struct dma_devres *this = res, *match = match_data; in dmam_match() local
44 if (this->vaddr == match->vaddr) { in dmam_match()
45 WARN_ON(this->size != match->size || in dmam_match()
46 this->dma_handle != match->dma_handle); in dmam_match()
Dattribute_container.c156 if (!cont->match(cont, dev)) in attribute_container_add_device()
222 if (!cont->match(cont, dev)) in attribute_container_remove_device()
263 if (!cont->match(cont, dev)) in attribute_container_device_trigger()
300 if (cont->match(cont, dev)) in attribute_container_trigger()
Dbase.h117 return drv->bus->match ? drv->bus->match(dev, drv) : 1; in driver_match_device()
/linux-4.1.27/arch/x86/mm/
Dpat_rbtree.c104 struct memtype *match; in memtype_rb_exact_match() local
106 match = memtype_rb_lowest_match(root, start, end); in memtype_rb_exact_match()
107 while (match != NULL && match->start < end) { in memtype_rb_exact_match()
110 if (match->start == start && match->end == end) in memtype_rb_exact_match()
111 return match; in memtype_rb_exact_match()
113 node = rb_next(&match->rb); in memtype_rb_exact_match()
115 match = container_of(node, struct memtype, rb); in memtype_rb_exact_match()
117 match = NULL; in memtype_rb_exact_match()
129 struct memtype *match; in memtype_rb_check_conflict() local
132 match = memtype_rb_lowest_match(&memtype_rbroot, start, end); in memtype_rb_check_conflict()
[all …]
/linux-4.1.27/net/openvswitch/
Dflow_netlink.c61 static void update_range(struct sw_flow_match *match, in update_range() argument
69 range = &match->range; in update_range()
71 range = &match->mask->range; in update_range()
86 #define SW_FLOW_KEY_PUT(match, field, value, is_mask) \ argument
88 update_range(match, offsetof(struct sw_flow_key, field), \
89 sizeof((match)->key->field), is_mask); \
91 (match)->mask->key.field = value; \
93 (match)->key->field = value; \
96 #define SW_FLOW_KEY_MEMCPY_OFFSET(match, offset, value_p, len, is_mask) \ argument
98 update_range(match, offset, len, is_mask); \
[all …]
Dflow_table.c459 const struct sw_flow_match *match) in ovs_flow_cmp_unmasked_key() argument
461 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key()
463 int key_end = match->range.end; in ovs_flow_cmp_unmasked_key()
516 const struct sw_flow_match *match) in ovs_flow_tbl_lookup_exact() argument
524 flow = masked_flow_lookup(ti, match->key, mask); in ovs_flow_tbl_lookup_exact()
526 ovs_flow_cmp_unmasked_key(flow, match)) in ovs_flow_tbl_lookup_exact()
546 bool ovs_flow_cmp(const struct sw_flow *flow, const struct sw_flow_match *match) in ovs_flow_cmp() argument
549 return flow_cmp_masked_key(flow, match->key, &match->range); in ovs_flow_cmp()
551 return ovs_flow_cmp_unmasked_key(flow, match); in ovs_flow_cmp()
/linux-4.1.27/arch/x86/kvm/
Dassigned-dev.c54 struct kvm_assigned_dev_kernel *match; in kvm_find_assigned_dev() local
57 match = list_entry(ptr, struct kvm_assigned_dev_kernel, list); in kvm_find_assigned_dev()
58 if (match->assigned_dev_id == assigned_dev_id) in kvm_find_assigned_dev()
59 return match; in kvm_find_assigned_dev()
568 struct kvm_assigned_dev_kernel *match; in kvm_vm_ioctl_assign_irq() local
576 match = kvm_find_assigned_dev(&kvm->arch.assigned_dev_head, in kvm_vm_ioctl_assign_irq()
578 if (!match) in kvm_vm_ioctl_assign_irq()
595 r = assign_host_irq(kvm, match, host_irq_type); in kvm_vm_ioctl_assign_irq()
600 r = assign_guest_irq(kvm, match, assigned_irq, guest_irq_type); in kvm_vm_ioctl_assign_irq()
611 struct kvm_assigned_dev_kernel *match; in kvm_vm_ioctl_deassign_dev_irq() local
[all …]
/linux-4.1.27/net/netfilter/
Dxt_ipvs.c56 bool match = true; in ipvs_mt() local
59 match = skb->ipvs_property ^ in ipvs_mt()
66 match = false; in ipvs_mt()
75 match = false; in ipvs_mt()
81 match = false; in ipvs_mt()
90 match = false; in ipvs_mt()
102 match = false; in ipvs_mt()
110 match = false; in ipvs_mt()
119 match = false; in ipvs_mt()
125 match = false; in ipvs_mt()
[all …]
Dx_tables.c50 struct list_head match; member
124 int xt_register_match(struct xt_match *match) in xt_register_match() argument
126 u_int8_t af = match->family; in xt_register_match()
129 list_add(&match->list, &xt[af].match); in xt_register_match()
136 xt_unregister_match(struct xt_match *match) in xt_unregister_match() argument
138 u_int8_t af = match->family; in xt_unregister_match()
141 list_del(&match->list); in xt_unregister_match()
147 xt_register_matches(struct xt_match *match, unsigned int n) in xt_register_matches() argument
153 err = xt_register_match(&match[i]); in xt_register_matches()
161 xt_unregister_matches(match, i); in xt_register_matches()
[all …]
Dnft_compat.c311 struct xt_match *match = expr->ops->data; in nft_match_eval() local
315 nft_compat_set_par((struct xt_action_param *)&pkt->xt, match, info); in nft_match_eval()
317 ret = match->match(skb, (struct xt_action_param *)&pkt->xt); in nft_match_eval()
343 struct xt_match *match, void *info, in nft_match_set_mtchk_param() argument
368 par->match = match; in nft_match_set_mtchk_param()
397 struct xt_match *match = expr->ops->data; in nft_match_init() local
405 ret = nft_compat_chain_validate_dependency(match->table, ctx->chain); in nft_match_init()
409 match_compat_from_user(match, nla_data(tb[NFTA_MATCH_INFO]), info); in nft_match_init()
417 nft_match_set_mtchk_param(&par, ctx, match, info, &e, proto, inv); in nft_match_init()
425 module_put(match->me); in nft_match_init()
[all …]
Dxt_owner.c25 if ((info->match & (XT_OWNER_UID|XT_OWNER_GID)) && in owner_check()
38 return (info->match ^ info->invert) == 0; in owner_mt()
39 else if (info->match & info->invert & XT_OWNER_SOCKET) in owner_mt()
48 return ((info->match ^ info->invert) & in owner_mt()
51 if (info->match & XT_OWNER_UID) { in owner_mt()
60 if (info->match & XT_OWNER_GID) { in owner_mt()
77 .match = owner_mt,
DKconfig45 filtering (see `Connection state match support' below).
59 `CONNMARK' target and `connmark' match. Similar to the mark value
134 to connection tracking entries. It selected by the connlabel match.
454 This option adds the "exthdr" expression that you can use to match
460 This option adds the "meta" expression that you can use to match and
467 This option adds the "meta" expression that you can use to match
549 x_tables match/target extensions over the nf_tables
566 tristate 'nfmark target and match support'
569 This option adds the "MARK" target and "mark" match.
571 Netfilter mark matching allows you to match packets based on the
[all …]
Dxt_tcpudp.c171 .match = tcp_mt,
180 .match = tcp_mt,
189 .match = udp_mt,
198 .match = udp_mt,
207 .match = udp_mt,
216 .match = udp_mt,
Dxt_dscp.c74 .match = dscp_mt,
82 .match = dscp_mt6,
90 .match = tos_mt,
98 .match = tos_mt,
Dxt_policy.c41 #define MATCH_ADDR(x,y,z) (!e->match.x || \ in match_xfrm_state()
44 #define MATCH(x,y) (!e->match.x || ((e->x == (y)) ^ e->invert.x)) in match_xfrm_state()
161 .match = policy_mt,
169 .match = policy_mt,
Dxt_length.c46 .match = length_mt,
53 .match = length_mt6,
Dxt_hl.c71 .match = ttl_mt,
79 .match = hl_mt6,
Dxt_ipcomp.c83 .match = comp_mt,
92 .match = comp_mt,
Dxt_esp.c80 .match = esp_mt,
89 .match = esp_mt,
Dxt_tcpmss.c84 .match = tcpmss_mt,
92 .match = tcpmss_mt,
Dxt_set.c554 .match = set_match_v0,
564 .match = set_match_v1,
574 .match = set_match_v1,
585 .match = set_match_v1,
595 .match = set_match_v1,
606 .match = set_match_v3,
616 .match = set_match_v3,
627 .match = set_match_v4,
637 .match = set_match_v4,
Dxt_conntrack.c222 if (par->match->revision != 3) { in conntrack_mt()
294 .match = conntrack_mt_v1,
304 .match = conntrack_mt_v2,
314 .match = conntrack_mt_v3,
Dxt_socket.c436 .match = socket_mt4_v0,
445 .match = socket_mt4_v1_v2,
457 .match = socket_mt6_v1_v2,
469 .match = socket_mt4_v1_v2,
481 .match = socket_mt6_v1_v2,
Dxt_ecn.c153 .match = ecn_mt4,
161 .match = ecn_mt6,
Dxt_multiport.c138 .match = multiport_mt,
147 .match = multiport_mt,
/linux-4.1.27/arch/sh/mm/
Dtlbflush_64.c33 unsigned long long match, pteh=0, lpage; in local_flush_tlb_one() local
40 match = (asid << PTEH_ASID_SHIFT) | PTEH_VALID; in local_flush_tlb_one()
41 match |= lpage; in local_flush_tlb_one()
48 if (pteh == match) { in local_flush_tlb_one()
59 if (pteh == match) { in local_flush_tlb_one()
83 unsigned long long match, pteh=0, pteh_epn, pteh_low; in local_flush_tlb_range() local
97 match = (cpu_asid(cpu, mm) << PTEH_ASID_SHIFT) | PTEH_VALID; in local_flush_tlb_range()
108 if (pteh_low == match && pteh_epn >= start && pteh_epn <= end) in local_flush_tlb_range()
121 if (pteh_low == match && pteh_epn >= start && pteh_epn <= end) in local_flush_tlb_range()
/linux-4.1.27/arch/x86/tools/
Dgen-insn-attr-x86.awk241 if (match(i, imm_expr) == 1) {
250 } else if (match(i, modrm_expr))
289 if (match($i, opnd_expr)) {
294 if (match($i, ext_expr))
296 if (match($i, sep_expr))
302 if (match(opcode, group_expr)) {
310 if (match(ext, force64_expr))
314 if (match(opcode, rex_expr))
318 if (match(opcode, fpu_expr))
322 if (match(ext, vexonly_expr))
[all …]
Ddistill.awk29 if (match(prev_mnemonic, bad_expr))
32 if (match(prev_hex, fwait_expr) && prev_mnemonic != "fwait") {
/linux-4.1.27/drivers/mmc/core/
Dpwrseq.c37 struct mmc_pwrseq_match *match = ERR_PTR(-ENODEV); in mmc_pwrseq_find() local
42 match = &pwrseq_match[i]; in mmc_pwrseq_find()
47 return match; in mmc_pwrseq_find()
54 struct mmc_pwrseq_match *match; in mmc_pwrseq_alloc() local
68 match = mmc_pwrseq_find(np); in mmc_pwrseq_alloc()
69 if (IS_ERR(match)) { in mmc_pwrseq_alloc()
70 ret = PTR_ERR(match); in mmc_pwrseq_alloc()
74 pwrseq = match->alloc(host, &pdev->dev); in mmc_pwrseq_alloc()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-async.c30 asd->match.i2c.adapter_id == client->adapter->nr && in match_i2c()
31 asd->match.i2c.address == client->addr; in match_i2c()
39 return !strcmp(asd->match.device_name.name, dev_name(dev)); in match_devname()
44 return dev->of_node == asd->match.of.node; in match_of()
55 bool (*match)(struct device *, struct v4l2_async_subdev *); in v4l2_async_belongs() local
61 match = asd->match.custom.match; in v4l2_async_belongs()
62 if (!match) in v4l2_async_belongs()
67 match = match_devname; in v4l2_async_belongs()
70 match = match_i2c; in v4l2_async_belongs()
73 match = match_of; in v4l2_async_belongs()
[all …]
/linux-4.1.27/drivers/tty/serial/
Dearlycon.c106 static int __init register_earlycon(char *buf, const struct earlycon_id *match) in register_earlycon() argument
120 err = match->setup(&early_console_dev, buf); in register_earlycon()
150 const struct earlycon_id *match; in setup_earlycon() local
158 for (match = __earlycon_table; match->name[0]; match++) { in setup_earlycon()
159 size_t len = strlen(match->name); in setup_earlycon()
161 if (strncmp(buf, match->name, len)) in setup_earlycon()
171 return register_earlycon(buf, match); in setup_earlycon()
Dof_serial.c163 const struct of_device_id *match; in of_platform_serial_probe() local
169 match = of_match_device(of_platform_serial_table, &ofdev->dev); in of_platform_serial_probe()
170 if (!match) in of_platform_serial_probe()
180 port_type = (unsigned long)match->data; in of_platform_serial_probe()
/linux-4.1.27/lib/zlib_deflate/
Ddeflate.c80 static void check_match (deflate_state *s, IPos start, IPos match,
561 register Byte *match; /* matched string */ in longest_match() local
604 match = s->window + cur_match; in longest_match()
613 if (*(ush*)(match+best_len-1) != scan_end || in longest_match()
614 *(ush*)match != scan_start) continue; in longest_match()
625 Assert(scan[2] == match[2], "scan[2]?"); in longest_match()
626 scan++, match++; in longest_match()
628 } while (*(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match()
629 *(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match()
630 *(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match()
[all …]
/linux-4.1.27/drivers/media/rc/
Dwinbond-cir.c698 u8 match[11]; in wbcir_shutdown() local
703 memset(match, 0, sizeof(match)); in wbcir_shutdown()
723 match[0] = (wake_sc & 0x003F); /* 6 command bits */ in wbcir_shutdown()
724 match[0] |= (wake_sc & 0x0180) >> 1; /* 2 address bits */ in wbcir_shutdown()
725 match[1] = (wake_sc & 0x0E00) >> 9; /* 3 address bits */ in wbcir_shutdown()
727 match[1] |= 0x10; in wbcir_shutdown()
740 match[1] = bitrev8((wake_sc & 0xFF)); in wbcir_shutdown()
741 match[0] = ~match[1]; in wbcir_shutdown()
743 match[3] = bitrev8((wake_sc & 0xFF00) >> 8); in wbcir_shutdown()
745 match[2] = bitrev8((wake_sc & 0xFF0000) >> 16); in wbcir_shutdown()
[all …]
Dir-rx51.c57 unsigned int match; member
78 u32 load, match; in init_timing_params() local
81 match = -(lirc_rx51->duty_cycle * -load / 100); in init_timing_params()
83 omap_dm_timer_set_match(lirc_rx51->pwm_timer, 1, match); in init_timing_params()
89 lirc_rx51->match = 0; in init_timing_params()
102 if (lirc_rx51->match == 0) in pulse_timer_set_timeout()
105 counter = lirc_rx51->match; in pulse_timer_set_timeout()
/linux-4.1.27/lib/
Dglob.c71 bool match = false, inverted = (*pat == '!'); in glob_match() local
95 match |= (a <= c && c <= b); in glob_match()
98 if (match == inverted) in glob_match()
142 bool match = glob_match(pat, str); in test() local
143 bool success = match == expected; in test()
160 printk(message, pat, str, mismatch + 3*match); in test()
/linux-4.1.27/drivers/media/pci/cx23885/
Dcx23885-ioctl.c29 if (chip->match.addr > 1) in cx23885_g_chip_info()
31 if (chip->match.addr == 1) { in cx23885_g_chip_info()
65 if (reg->match.addr > 1) in cx23885_g_register()
67 if (reg->match.addr) in cx23885_g_register()
97 if (reg->match.addr > 1) in cx23885_s_register()
99 if (reg->match.addr) in cx23885_s_register()
/linux-4.1.27/scripts/
Danalyze_suspend.py123 m = re.match('(?P<name>.*)_dmesg\.txt$', self.dmesgfile)
127 m = re.match('(?P<name>.*)_ftrace\.txt$', self.ftracefile)
161 mD = re.match('^(?P<y>[0-9]*)-(?P<m>[0-9]*)-(?P<d>[0-9]*)', outD)
162 mT = re.match('^(?P<h>[0-9]*):(?P<m>[0-9]*):(?P<s>[0-9]*)', outT)
583 if(re.match('[0-9]*-[0-9]*\.[0-9]*[\.0-9]*\:[\.0-9]*$', pdev)):
632 if(d == 'traceevent' or re.match('^ *\/\* *(?P<msg>.*) \*\/ *$', m)):
638 em = re.match('^ *\/\* *(?P<msg>.*) \*\/ *$', m)
641 emm = re.match('^(?P<call>.*?): (?P<msg>.*)', msg)
653 match = re.match('^(?P<d> *)(?P<o>.*)$', m)
654 if(not match):
[all …]
Dcheckkconfigsymbols.py70 if opts.diff and not re.match(r"^[\w\-\.]+\.\.[\w\-\.]+$", opts.diff):
181 if REGEX_FILE_KCONFIG.match(gitfile):
244 if REGEX_KCONFIG_DEF.match(line):
248 elif REGEX_KCONFIG_HELP.match(line):
253 elif REGEX_KCONFIG_STMT.match(line):
/linux-4.1.27/drivers/of/
Dirq.c102 int imaplen, match, i; in of_irq_parse_raw() local
196 match = 0; in of_irq_parse_raw()
197 while (imaplen > (addrsize + intsize + 1) && !match) { in of_irq_parse_raw()
199 match = 1; in of_irq_parse_raw()
201 match &= !((match_array[i] ^ *imap++) & imask[i]); in of_irq_parse_raw()
203 pr_debug(" -> match=%d (imaplen=%d)\n", match, imaplen); in of_irq_parse_raw()
220 match = 0; in of_irq_parse_raw()
248 if (!match) in of_irq_parse_raw()
526 const struct of_device_id *match; in of_irq_init() local
534 match = of_match_node(matches, desc->dev); in of_irq_init()
[all …]
/linux-4.1.27/drivers/firmware/efi/
Dvars.c45 validate_device_path(efi_char16_t *var_name, int match, u8 *buffer, in validate_device_path() argument
78 validate_boot_order(efi_char16_t *var_name, int match, u8 *buffer, in validate_boot_order() argument
89 validate_load_option(efi_char16_t *var_name, int match, u8 *buffer, in validate_load_option() argument
98 for (i = match; i < match+4; i++) { in validate_load_option()
105 if (namelen > match + 4) in validate_load_option()
135 return validate_device_path(var_name, match, buffer + desclength + 6, in validate_load_option()
140 validate_uint16(efi_char16_t *var_name, int match, u8 *buffer, in validate_uint16() argument
151 validate_ascii_string(efi_char16_t *var_name, int match, u8 *buffer, in validate_ascii_string() argument
170 bool (*validate)(efi_char16_t *var_name, int match, u8 *data,
218 int *match) in variable_matches() argument
[all …]
/linux-4.1.27/drivers/base/power/
Dtrace.c172 int match; in show_file_hash() local
175 match = 0; in show_file_hash()
184 match++; in show_file_hash()
186 return match; in show_file_hash()
191 int match = 0; in show_dev_hash() local
201 match++; in show_dev_hash()
206 return match; in show_dev_hash()
/linux-4.1.27/drivers/power/reset/
Dat91-reset.c174 const struct of_device_id *match; in at91_reset_of_probe() local
193 match = of_match_node(at91_reset_of_match, pdev->dev.of_node); in at91_reset_of_probe()
194 at91_restart_nb.notifier_call = match->data; in at91_reset_of_probe()
200 const struct platform_device_id *match; in at91_reset_platform_probe() local
221 match = platform_get_device_id(pdev); in at91_reset_platform_probe()
224 unsigned long, void *)) match->driver_data; in at91_reset_platform_probe()
Dst-poweroff.c120 const struct of_device_id *match; in st_reset_probe() local
123 match = of_match_device(st_reset_of_match, dev); in st_reset_probe()
124 if (!match) in st_reset_probe()
127 st_restart_syscfg = (struct reset_syscfg *)match->data; in st_reset_probe()
Dvexpress-poweroff.c114 const struct of_device_id *match = in vexpress_reset_probe() local
119 if (!match) in vexpress_reset_probe()
127 switch ((enum vexpress_reset_func)match->data) { in vexpress_reset_probe()
Dqnap-poweroff.c84 const struct of_device_id *match = in qnap_power_off_probe() local
86 cfg = match->data; in qnap_power_off_probe()
/linux-4.1.27/drivers/clocksource/
Dclksrc-of.c29 const struct of_device_id *match; in clocksource_of_init() local
33 for_each_matching_node_and_match(np, __clksrc_of_table, &match) { in clocksource_of_init()
37 init_func = match->data; in clocksource_of_init()
/linux-4.1.27/drivers/clk/st/
Dclkgen-mux.c390 const struct of_device_id *match; in st_of_clkgena_divmux_setup() local
397 match = of_match_node(clkgena_divmux_of_match, np); in st_of_clkgena_divmux_setup()
398 if (WARN_ON(!match)) in st_of_clkgena_divmux_setup()
401 data = (struct clkgena_divmux_data *)match->data; in st_of_clkgena_divmux_setup()
490 const struct of_device_id *match; in st_of_clkgena_prediv_setup() local
496 match = of_match_node(clkgena_prediv_of_match, np); in st_of_clkgena_prediv_setup()
497 if (!match) { in st_of_clkgena_prediv_setup()
502 data = (struct clkgena_prediv_data *)match->data; in st_of_clkgena_prediv_setup()
627 const struct of_device_id *match; in st_of_clkgen_mux_setup() local
634 match = of_match_node(mux_of_match, np); in st_of_clkgen_mux_setup()
[all …]
Dclkgen-pll.c642 const struct of_device_id *match; in clkgen_c32_pll_setup() local
650 match = of_match_node(c32_pll_of_match, np); in clkgen_c32_pll_setup()
651 if (!match) { in clkgen_c32_pll_setup()
656 data = (struct clkgen_pll_data *) match->data; in clkgen_c32_pll_setup()
725 const struct of_device_id *match; in clkgengpu_c32_pll_setup() local
732 match = of_match_node(c32_gpu_pll_of_match, np); in clkgengpu_c32_pll_setup()
733 if (!match) { in clkgengpu_c32_pll_setup()
738 data = (struct clkgen_pll_data *)match->data; in clkgengpu_c32_pll_setup()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dled.c170 const struct pci_device_id *match; in ath5k_init_leds() local
176 match = NULL; in ath5k_init_leds()
178 match = pci_match_id(&ath5k_led_devices[0], pdev); in ath5k_init_leds()
180 if (match) { in ath5k_init_leds()
182 ah->led_pin = ATH_PIN(match->driver_data); in ath5k_init_leds()
183 ah->led_on = ATH_POLARITY(match->driver_data); in ath5k_init_leds()
/linux-4.1.27/net/wireless/
Dwext-spy.c198 int match = -1; in wireless_spy_update() local
209 match = i; in wireless_spy_update()
216 if (match >= 0) { in wireless_spy_update()
217 if (spydata->spy_thr_under[match]) { in wireless_spy_update()
219 spydata->spy_thr_under[match] = 0; in wireless_spy_update()
225 spydata->spy_thr_under[match] = 1; in wireless_spy_update()
/linux-4.1.27/include/linux/netfilter/
Dx_tables.h30 const struct xt_match *match; member
61 const struct xt_match *match; member
73 const struct xt_match *match; member
116 bool (*match)(const struct sk_buff *skb, member
239 int xt_register_matches(struct xt_match *match, unsigned int n);
240 void xt_unregister_matches(struct xt_match *match, unsigned int n);
369 compat_uptr_t match; member
423 int xt_compat_match_offset(const struct xt_match *match);
/linux-4.1.27/sound/hda/
Dhda_bus_type.c20 if (hdrv->match) in hda_bus_match()
21 return hdrv->match(hdev, hdrv); in hda_bus_match()
27 .match = hda_bus_match,
/linux-4.1.27/kernel/trace/
Dtrace_events_filter.c152 int match = 0; \
156 match = (*addr < val); \
159 match = (*addr <= val); \
162 match = (*addr > val); \
165 match = (*addr >= val); \
168 match = (*addr & val); \
174 return !!match == !pred->not; \
182 int match; \
184 match = (val == *addr) ^ pred->not; \
186 return match; \
[all …]
/linux-4.1.27/net/bridge/netfilter/
DKconfig81 This option adds the among match, which allows matching the MAC source
90 This option adds the ARP match, which allows ARP and RARP header field
98 This option adds the IP match, which allows basic IP header field
107 This option adds the IP6 match, which allows basic IPV6 header field
113 tristate "ebt: limit match support"
115 This option adds the limit match, which allows you to control
116 the rate at which a rule can be matched. This match is the
117 equivalent of the iptables limit match.
125 This option adds the mark match, which allows matching frames based on
127 This value is the same as the one used in the iptables mark match and
[all …]
Debtables.c103 par->match = m->u.match; in ebt_do_match()
105 return m->u.match->match(skb, par) ? EBT_MATCH : EBT_NOMATCH; in ebt_do_match()
363 struct xt_match *match; in ebt_check_match() local
371 match = xt_request_find_match(NFPROTO_BRIDGE, m->u.name, 0); in ebt_check_match()
372 if (IS_ERR(match)) in ebt_check_match()
373 return PTR_ERR(match); in ebt_check_match()
374 m->u.match = match; in ebt_check_match()
376 par->match = match; in ebt_check_match()
381 module_put(match->me); in ebt_check_match()
596 par.match = m->u.match; in ebt_cleanup_match()
[all …]
/linux-4.1.27/arch/arm/mach-omap2/
Dcm_common.c316 const struct of_device_id *match; in omap2_cm_base_init() local
320 for_each_matching_node_and_match(np, omap_cm_dt_match_table, &match) { in omap2_cm_base_init()
321 data = (struct omap_prcm_init_data *)match->data; in omap2_cm_base_init()
354 const struct of_device_id *match; in omap_cm_init() local
358 for_each_matching_node_and_match(np, omap_cm_dt_match_table, &match) { in omap_cm_init()
359 data = match->data; in omap_cm_init()
Dprm_common.c749 const struct of_device_id *match; in omap2_prm_base_init() local
753 for_each_matching_node_and_match(np, omap_prcm_dt_match_table, &match) { in omap2_prm_base_init()
754 data = (struct omap_prcm_init_data *)match->data; in omap2_prm_base_init()
794 const struct of_device_id *match; in omap_prcm_init() local
798 for_each_matching_node_and_match(np, omap_prcm_dt_match_table, &match) { in omap_prcm_init()
799 data = match->data; in omap_prcm_init()
Dcontrol.c669 const struct of_device_id *match; in omap2_control_base_init() local
672 for_each_matching_node_and_match(np, omap_scrm_dt_match_table, &match) { in omap2_control_base_init()
673 data = (struct control_init_data *)match->data; in omap2_control_base_init()
694 const struct of_device_id *match; in omap_control_init() local
699 for_each_matching_node_and_match(np, omap_scrm_dt_match_table, &match) { in omap_control_init()
700 data = match->data; in omap_control_init()
/linux-4.1.27/fs/lockd/
Dsvcsubs.c163 nlm_host_match_fn_t match) in nlm_traverse_locks() argument
183 if (match(lockhost, host)) { in nlm_traverse_locks()
213 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file() argument
215 nlmsvc_traverse_blocks(host, file, match); in nlm_inspect_file()
216 nlmsvc_traverse_shares(host, file, match); in nlm_inspect_file()
217 return nlm_traverse_locks(host, file, match); in nlm_inspect_file()
252 nlm_traverse_files(void *data, nlm_host_match_fn_t match, in nlm_traverse_files() argument
269 if (nlm_inspect_file(data, file, match)) in nlm_traverse_files()
Dsvcshare.c93 nlm_host_match_fn_t match) in nlmsvc_traverse_shares() argument
99 if (match(share->s_host, host)) { in nlmsvc_traverse_shares()
/linux-4.1.27/net/sched/
Dem_canid.c101 int match = 0; in em_canid_match() local
111 match = 1; in em_canid_match()
117 match = (test_bit(can_id, cm->match_sff) ? 1 : 0); in em_canid_match()
120 return match; in em_canid_match()
211 .match = em_canid_match,
/linux-4.1.27/drivers/reset/sti/
Dreset-syscfg.c176 const struct of_device_id *match; in syscfg_reset_probe() local
181 match = of_match_device(dev->driver->of_match_table, dev); in syscfg_reset_probe()
182 if (!match || !match->data) in syscfg_reset_probe()
185 return syscfg_reset_controller_register(dev, match->data); in syscfg_reset_probe()
/linux-4.1.27/drivers/clk/
Dclkdev.c138 int match, best_found = 0, best_possible = 0; in clk_find() local
146 match = 0; in clk_find()
150 match += 2; in clk_find()
155 match += 1; in clk_find()
158 if (match > best_found) { in clk_find()
160 if (match != best_possible) in clk_find()
161 best_found = match; in clk_find()
Dclk-palmas.c245 const struct of_device_id *match; in palmas_clks_probe() local
250 match = of_match_device(palmas_clks_of_match, &pdev->dev); in palmas_clks_probe()
251 match_data = (struct palmas_clks_of_match_data *)match->data; in palmas_clks_probe()
/linux-4.1.27/drivers/mfd/
Dsun6i-prcm.c139 const struct of_device_id *match; in sun6i_prcm_probe() local
144 match = of_match_node(sun6i_prcm_dt_ids, np); in sun6i_prcm_probe()
145 if (!match) in sun6i_prcm_probe()
148 data = match->data; in sun6i_prcm_probe()
Dtps65217.c166 const struct of_device_id *match; in tps65217_probe() local
171 match = of_match_device(tps65217_of_match, &client->dev); in tps65217_probe()
172 if (!match) { in tps65217_probe()
177 chip_id = (unsigned long)match->data; in tps65217_probe()
Dtps65218.c219 const struct of_device_id *match; in tps65218_probe() local
222 match = of_match_device(of_tps65218_match_table, &client->dev); in tps65218_probe()
223 if (!match) { in tps65218_probe()
Dmax77686.c212 const struct of_device_id *match; in max77686_i2c_probe() local
228 match = of_match_node(max77686_pmic_dt_match, i2c->dev.of_node); in max77686_i2c_probe()
229 if (!match) in max77686_i2c_probe()
232 max77686->type = (unsigned long)match->data; in max77686_i2c_probe()
Dtps65910.c395 const struct of_device_id *match; in tps65910_parse_dt() local
398 match = of_match_device(tps65910_of_match, &client->dev); in tps65910_parse_dt()
399 if (!match) { in tps65910_parse_dt()
404 *chip_id = (unsigned long)match->data; in tps65910_parse_dt()
/linux-4.1.27/arch/s390/include/asm/
Dccwdev.h44 const struct ccw_device_id *match) in ccw_device_id_match() argument
50 && (id->cu_type != match->cu_type)) in ccw_device_id_match()
54 && (id->cu_model != match->cu_model)) in ccw_device_id_match()
58 && (id->dev_type != match->dev_type)) in ccw_device_id_match()
62 && (id->dev_model != match->dev_model)) in ccw_device_id_match()
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_drv.c362 struct component_match **match, struct device_node *port) in armada_add_endpoints() argument
378 component_match_add(dev, match, compare_of, remote); in armada_add_endpoints()
384 struct component_match **match) in armada_drm_find_components() argument
397 component_match_add(dev, match, compare_of, port); in armada_drm_find_components()
411 armada_add_endpoints(dev, match, port); in armada_drm_find_components()
419 component_match_add(dev, match, compare_dev_name, in armada_drm_find_components()
432 armada_add_endpoints(dev, match, port); in armada_drm_find_components()
449 struct component_match *match = NULL; in armada_drm_probe() local
452 ret = armada_drm_find_components(&pdev->dev, &match); in armada_drm_probe()
457 &armada_master_ops, match); in armada_drm_probe()
/linux-4.1.27/drivers/memory/
Datmel-sdramc.c55 const struct of_device_id *match; in atmel_ramc_probe() local
59 match = of_match_device(atmel_ramc_of_match, &pdev->dev); in atmel_ramc_probe()
60 caps = match->data; in atmel_ramc_probe()
Dfsl-corenet-cf.c179 const struct of_device_id *match; in ccf_probe() local
183 match = of_match_device(ccf_matches, &pdev->dev); in ccf_probe()
184 if (WARN_ON(!match)) in ccf_probe()
204 ccf->info = match->data; in ccf_probe()
/linux-4.1.27/include/linux/netfilter_bridge/
Debtables.h26 bool (*match)(const struct sk_buff *skb, const struct net_device *in, member
27 const struct net_device *out, const struct xt_match *match,
31 const struct xt_match *match, void *matchinfo,
33 void (*destroy)(const struct xt_match *match, void *matchinfo);
/linux-4.1.27/arch/alpha/lib/
Dev67-strrchr.S39 mov zero, t6 # E : t6 is last match aligned addr
42 mov zero, t8 # E : t8 is last match byte compare mask
67 cmovne t3, v0, t6 # E : save previous comparisons match
83 negq t1, t4 # E : isolate first null byte match
89 cmovne t3, t3, t8 # E : save it, if match found Latency=2, extra map slot
99 cmoveq t8, 0x3f, t2 # E : Compensate for case when no match is seen
Dstrrchr.S22 mov zero, t6 # .. e1 : t6 is last match aligned addr
24 mov zero, t8 # .. e1 : t8 is last match byte compare mask
45 cmovne t3, v0, t6 # .. e1 : save previous comparisons match
55 negq t1, t4 # e0 : isolate first null byte match
61 cmovne t3, t3, t8 # .. e1 : save it, if match found
Dev67-strchr.S55 or t2, t3, t0 # E : bits set iff char match or zero match
58 cttz t0, a2 # U0 : speculative (in case we get a match)
75 cttz t3, a2 # U0 : speculative (in case we get a match)
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_drv.c461 struct component_match *match = NULL; in exynos_drm_match_add() local
490 component_match_add(dev, &match, compare_dev, in exynos_drm_match_add()
501 component_match_add(dev, &match, compare_dev, cdev->crtc_dev); in exynos_drm_match_add()
502 component_match_add(dev, &match, compare_dev, cdev->conn_dev); in exynos_drm_match_add()
510 return attach_cnt ? match : ERR_PTR(-EPROBE_DEFER); in exynos_drm_match_add()
567 struct component_match *match; in exynos_drm_platform_probe() local
572 match = exynos_drm_match_add(&pdev->dev); in exynos_drm_platform_probe()
573 if (IS_ERR(match)) { in exynos_drm_platform_probe()
574 return PTR_ERR(match); in exynos_drm_platform_probe()
578 match); in exynos_drm_platform_probe()
/linux-4.1.27/drivers/bcma/
Dscan.c275 struct bcma_device_id *match, int core_num, in bcma_get_next_core() argument
336 if (match && ((match->manuf != BCMA_ANY_MANUF && in bcma_get_next_core()
337 match->manuf != core->id.manuf) || in bcma_get_next_core()
338 (match->id != BCMA_ANY_ID && match->id != core->id.id) || in bcma_get_next_core()
339 (match->rev != BCMA_ANY_REV && match->rev != core->id.rev) || in bcma_get_next_core()
340 (match->class != BCMA_ANY_CLASS && match->class != core->id.class) in bcma_get_next_core()
/linux-4.1.27/drivers/net/can/mscan/
Dmpc5xxx_can.c288 const struct of_device_id *match; in mpc5xxx_can_probe() local
298 match = of_match_device(mpc5xxx_can_table, &ofdev->dev); in mpc5xxx_can_probe()
299 if (!match) in mpc5xxx_can_probe()
301 data = match->data; in mpc5xxx_can_probe()
361 const struct of_device_id *match; in mpc5xxx_can_remove() local
366 match = of_match_device(mpc5xxx_can_table, &ofdev->dev); in mpc5xxx_can_remove()
367 data = match ? match->data : NULL; in mpc5xxx_can_remove()
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
Daicasm_scan.l518 struct macro_arg **match_marg, regmatch_t *match);
537 regmatch_t match;
542 &match_marg, &match);
558 body_pos -= match.rm_eo - match.rm_so;
577 regmatch_t *match)
594 *match = matches[1];
595 *next_match = match->rm_eo + search_pos;
/linux-4.1.27/drivers/mmc/host/
Ddw_mmc-k3.c45 const struct of_device_id *match; in dw_mci_k3_probe() local
47 match = of_match_node(dw_mci_k3_match, pdev->dev.of_node); in dw_mci_k3_probe()
48 drv_data = match->data; in dw_mci_k3_probe()
Ddw_mmc-rockchip.c111 const struct of_device_id *match; in dw_mci_rockchip_probe() local
116 match = of_match_node(dw_mci_rockchip_match, pdev->dev.of_node); in dw_mci_rockchip_probe()
117 drv_data = match->data; in dw_mci_rockchip_probe()
Ddw_mmc-pltfm.c106 const struct of_device_id *match; in dw_mci_pltfm_probe() local
109 match = of_match_node(dw_mci_pltfm_match, pdev->dev.of_node); in dw_mci_pltfm_probe()
110 drv_data = match->data; in dw_mci_pltfm_probe()
Dsdhci-iproc.c178 const struct of_device_id *match; in sdhci_iproc_probe() local
185 match = of_match_device(sdhci_iproc_of_match, &pdev->dev); in sdhci_iproc_probe()
186 if (!match) in sdhci_iproc_probe()
188 iproc_data = match->data; in sdhci_iproc_probe()
Dsdhci-tegra.c250 const struct of_device_id *match; in sdhci_tegra_probe() local
258 match = of_match_device(sdhci_tegra_dt_match, &pdev->dev); in sdhci_tegra_probe()
259 if (!match) in sdhci_tegra_probe()
261 soc_data = match->data; in sdhci_tegra_probe()
Dsdhci-pxav2.c170 const struct of_device_id *match; in sdhci_pxav2_probe() local
195 match = of_match_device(of_match_ptr(sdhci_pxav2_of_match), &pdev->dev); in sdhci_pxav2_probe()
196 if (match) { in sdhci_pxav2_probe()
/linux-4.1.27/drivers/usb/dwc2/
Dplatform.c155 const struct of_device_id *match; in dwc2_driver_probe() local
165 match = of_match_device(dwc2_of_match_table, &dev->dev); in dwc2_driver_probe()
166 if (match && match->data) { in dwc2_driver_probe()
167 params = match->data; in dwc2_driver_probe()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
Dgf110.c27 gf110_gpio_reset(struct nvkm_gpio *gpio, u8 match) in gf110_gpio_reset() argument
43 (match != DCB_GPIO_UNUSED && match != func)) in gf110_gpio_reset()
Dnv50.c27 nv50_gpio_reset(struct nvkm_gpio *gpio, u8 match) in nv50_gpio_reset() argument
47 (match != DCB_GPIO_UNUSED && match != func)) in nv50_gpio_reset()
/linux-4.1.27/drivers/i2c/busses/
Di2c-pca-isa.c120 int match = base != 0; in pca_isa_match() local
122 if (match) { in pca_isa_match()
128 return match; in pca_isa_match()
187 .match = pca_isa_match,
/linux-4.1.27/arch/mips/sgi-ip22/
Dip22-gio.c49 const struct gio_device_id *gio_match_device(const struct gio_device_id *match, in gio_match_device() argument
54 for (ids = match; ids->id != 0xff; ids++) in gio_match_device()
126 const struct gio_device_id *match; in gio_device_probe() local
136 match = gio_match_device(drv->id_table, gio_dev); in gio_device_probe()
137 if (match) in gio_device_probe()
138 error = drv->probe(gio_dev, match); in gio_device_probe()
378 .match = gio_bus_match,
/linux-4.1.27/fs/ocfs2/
Dstack_o2cb.c43 # error Lock modes do not match
46 # error Lock modes do not match
49 # error Lock modes do not match
52 # error Lock modes do not match
55 # error Lock modes do not match
58 # error Lock modes do not match
61 # error Lock modes do not match
/linux-4.1.27/net/ipv6/netfilter/
DKconfig126 tristate '"ah" match support'
129 This module allows one to match AH packets.
144 tristate '"frag" Fragmentation header match support'
147 frag matching allows you to match packets based on the fragmentation
153 tristate '"hbh" hop-by-hop and "dst" opts header match support'
156 This allows one to match packets based on the hop-by-hop
162 tristate '"hl" hoplimit match support'
174 This module allows one to match packets based upon
180 tristate '"mh" match support'
183 This module allows one to match MH packets.
[all …]
Dip6_tables.c381 acpar.match = ematch->u.kernel.match; in ip6t_do_table()
383 if (!acpar.match->match(skb, &acpar)) in ip6t_do_table()
571 par.match = m->u.kernel.match; in cleanup_match()
574 if (par.match->destroy != NULL) in cleanup_match()
575 par.match->destroy(&par); in cleanup_match()
576 module_put(par.match->me); in cleanup_match()
605 par->match = m->u.kernel.match; in check_match()
612 par.match->name); in check_match()
621 struct xt_match *match; in find_check_match() local
624 match = xt_request_find_match(NFPROTO_IPV6, m->u.user.name, in find_check_match()
[all …]
Dip6t_hbh.c64 (par->match == &hbh_mt6_reg[0]) ? in hbh_mt6()
189 .match = hbh_mt6,
197 .match = hbh_mt6,
/linux-4.1.27/drivers/phy/
Dphy-stih41x-usb.c127 const struct of_device_id *match; in stih41x_usb_phy_probe() local
137 match = of_match_device(stih41x_usb_phy_of_match, &pdev->dev); in stih41x_usb_phy_probe()
138 if (!match) in stih41x_usb_phy_probe()
141 phy_dev->cfg = match->data; in stih41x_usb_phy_probe()
Dphy-exynos-dp-video.c81 const struct of_device_id *match; in exynos_dp_video_phy_probe() local
96 match = of_match_node(exynos_dp_video_phy_of_match, dev->of_node); in exynos_dp_video_phy_probe()
97 state->drvdata = match->data; in exynos_dp_video_phy_probe()
Dphy-samsung-usb2.c132 const struct of_device_id *match; in samsung_usb2_phy_probe() local
145 match = of_match_node(samsung_usb2_phy_of_match, pdev->dev.of_node); in samsung_usb2_phy_probe()
146 if (!match) { in samsung_usb2_phy_probe()
150 cfg = match->data; in samsung_usb2_phy_probe()
/linux-4.1.27/include/linux/iio/common/
Dst_sensors_i2c.h23 const struct of_device_id *match);
26 const struct of_device_id *match) in st_sensors_of_i2c_probe() argument
/linux-4.1.27/kernel/irq/
Ddevres.c23 struct irq_devres *this = res, *match = data; in devm_irq_match() local
25 return this->irq == match->irq && this->dev_id == match->dev_id; in devm_irq_match()
/linux-4.1.27/drivers/soc/qcom/
Dqcom_gsbi.c137 const struct of_device_id *match; in gsbi_probe() local
161 match = of_match_node(tcsr_dt_match, tcsr_node); in gsbi_probe()
162 if (match) in gsbi_probe()
163 config = match->data; in gsbi_probe()
/linux-4.1.27/drivers/irqchip/
Dirq-st.c159 const struct of_device_id *match; in st_irq_syscfg_probe() local
166 match = of_match_device(st_irq_syscfg_match, &pdev->dev); in st_irq_syscfg_probe()
167 if (!match) in st_irq_syscfg_probe()
170 ddata->syscfg = (unsigned int)match->data; in st_irq_syscfg_probe()
Dirq-atmel-aic-common.c199 const struct of_device_id *match; in aic_common_irq_fixup() local
204 match = of_match_node(matches, root); in aic_common_irq_fixup()
207 if (match) { in aic_common_irq_fixup()
208 void (*fixup)(struct device_node *) = match->data; in aic_common_irq_fixup()
Dirq-tegra.c298 const struct of_device_id *match; in tegra_ictlr_init() local
314 match = of_match_node(ictlr_matches, node); in tegra_ictlr_init()
315 if (!match) /* Should never happen... */ in tegra_ictlr_init()
318 soc = match->data; in tegra_ictlr_init()
/linux-4.1.27/drivers/misc/
Datmel_tclib.c135 const struct of_device_id *match; in tc_probe() local
136 match = of_match_node(atmel_tcb_dt_ids, pdev->dev.of_node); in tc_probe()
137 if (match) in tc_probe()
138 tc->tcb_config = match->data; in tc_probe()
Datmel-ssc.c136 const struct of_device_id *match; in atmel_ssc_get_driver_data() local
137 match = of_match_node(atmel_ssc_dt_ids, pdev->dev.of_node); in atmel_ssc_get_driver_data()
138 if (match == NULL) in atmel_ssc_get_driver_data()
140 return match->data; in atmel_ssc_get_driver_data()
/linux-4.1.27/arch/arm/mach-mvebu/
Dsystem-controller.c163 const struct of_device_id *match; in mvebu_system_controller_init() local
167 &match); in mvebu_system_controller_init()
173 mvebu_sc = (struct mvebu_system_controller *)match->data; in mvebu_system_controller_init()
Dcoherency.c171 const struct of_device_id *match; in coherency_type() local
198 np = of_find_matching_node_and_match(NULL, of_coherency_table, &match); in coherency_type()
202 type = (int) match->data; in coherency_type()
/linux-4.1.27/scripts/coccinelle/misc/
Dirqf_oneshot.cocci73 @match depends on report || org@
80 p << match.p;
86 p << match.p;
/linux-4.1.27/net/ipv4/netfilter/
Dip_tables.c358 acpar.match = ematch->u.kernel.match; in ipt_do_table()
360 if (!acpar.match->match(skb, &acpar)) in ipt_do_table()
558 par.match = m->u.kernel.match; in cleanup_match()
561 if (par.match->destroy != NULL) in cleanup_match()
562 par.match->destroy(&par); in cleanup_match()
563 module_put(par.match->me); in cleanup_match()
593 par->match = m->u.kernel.match; in check_match()
599 duprintf("check failed for `%s'.\n", par->match->name); in check_match()
608 struct xt_match *match; in find_check_match() local
611 match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, in find_check_match()
[all …]
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/
Dmii-fec.c101 const struct of_device_id *match; in fs_enet_mdio_probe() local
108 match = of_match_device(fs_enet_mdio_fec_match, &ofdev->dev); in fs_enet_mdio_probe()
109 if (!match) in fs_enet_mdio_probe()
111 get_bus_freq = match->data; in fs_enet_mdio_probe()
/linux-4.1.27/arch/arm/mach-rockchip/
Dpm.c253 const struct of_device_id *match; in rockchip_suspend_init() local
258 &match); in rockchip_suspend_init()
259 if (!match) { in rockchip_suspend_init()
263 pm_data = (struct rockchip_pm_data *) match->data; in rockchip_suspend_init()
/linux-4.1.27/fs/isofs/
Dnamei.c54 int de_len, match, i, dlen; in isofs_find_entry() local
128 match = 0; in isofs_find_entry()
135 match = (isofs_cmp(dentry, dpnt, dlen) == 0); in isofs_find_entry()
137 if (match) { in isofs_find_entry()
/linux-4.1.27/drivers/watchdog/
Dmpc8xxx_wdt.c155 const struct of_device_id *match; in mpc8xxx_wdt_probe() local
162 match = of_match_device(mpc8xxx_wdt_match, &ofdev->dev); in mpc8xxx_wdt_probe()
163 if (!match) in mpc8xxx_wdt_probe()
165 wdt_type = match->data; in mpc8xxx_wdt_probe()
Dsirfsoc_wdt.c44 u32 counter, match; in sirfsoc_wdt_gettimeleft() local
50 match = readl(wdt_base + in sirfsoc_wdt_gettimeleft()
53 time_left = match - counter; in sirfsoc_wdt_gettimeleft()
/linux-4.1.27/drivers/thermal/st/
Dst_thermal.c191 const struct of_device_id *match; in st_thermal_register() local
207 match = of_match_device(st_thermal_of_match, dev); in st_thermal_register()
208 if (!(match && match->data)) in st_thermal_register()
211 sensor->cdata = match->data; in st_thermal_register()
/linux-4.1.27/arch/x86/kernel/cpu/
Dmatch.c31 const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match) in x86_match_cpu() argument
36 for (m = match; m->vendor | m->family | m->model | m->feature; m++) { in x86_match_cpu()
/linux-4.1.27/arch/metag/kernel/
Ddevtree.c37 static const void * __init arch_get_next_mach(const char *const **match) in arch_get_next_mach() argument
46 *match = m->dt_compat; in arch_get_next_mach()
/linux-4.1.27/drivers/usb/host/
Dfsl-mph-dr-of.c166 const struct of_device_id *match; in fsl_usb2_mph_dr_of_probe() local
174 match = of_match_device(fsl_usb2_mph_dr_of_match, &ofdev->dev); in fsl_usb2_mph_dr_of_probe()
175 if (!match) in fsl_usb2_mph_dr_of_probe()
179 if (match->data) in fsl_usb2_mph_dr_of_probe()
180 memcpy(pdata, match->data, sizeof(data)); in fsl_usb2_mph_dr_of_probe()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c419 struct component_match **match, in rockchip_add_endpoints() argument
436 component_match_add(dev, match, compare_of, remote); in rockchip_add_endpoints()
484 struct component_match *match = NULL; in rockchip_drm_platform_probe() local
506 component_match_add(dev, &match, compare_of, port->parent); in rockchip_drm_platform_probe()
515 if (!match) { in rockchip_drm_platform_probe()
533 rockchip_add_endpoints(dev, &match, port); in rockchip_drm_platform_probe()
537 return component_master_add_with_match(dev, &rockchip_drm_ops, match); in rockchip_drm_platform_probe()
Ddw_hdmi-rockchip.c250 const struct of_device_id *match; in dw_hdmi_rockchip_bind() local
265 match = of_match_node(dw_hdmi_rockchip_dt_ids, pdev->dev.of_node); in dw_hdmi_rockchip_bind()
266 plat_data = match->data; in dw_hdmi_rockchip_bind()
/linux-4.1.27/Documentation/pcmcia/
Ddevicetable.txt11 struct pcmcia_device_id[] entries which match devices to drivers.
13 If you want to match product ID strings, you also need to pass the crc32
14 hashes of the string to the macro, e.g. if you want to match the product ID
/linux-4.1.27/arch/arc/kernel/
Ddevtree.c42 static const void * __init arch_get_next_mach(const char *const **match) in arch_get_next_mach() argument
51 *match = m->dt_compat; in arch_get_next_mach()
/linux-4.1.27/arch/sparc/kernel/
Dof_device_32.c141 .match = of_bus_pci_match,
150 .match = of_bus_sbus_match,
159 .match = of_bus_ambapp_match,
168 .match = NULL,
180 if (!of_busses[i].match || of_busses[i].match(np)) in of_match_bus()
Dof_device_64.c186 .match = of_bus_pci_match,
195 .match = of_bus_simba_match,
204 .match = of_bus_sbus_match,
213 .match = of_bus_fhc_match,
222 .match = NULL,
234 if (!of_busses[i].match || of_busses[i].match(np)) in of_match_bus()
Dprom_common.c104 int of_find_in_proplist(const char *list, const char *match, int len) in of_find_in_proplist() argument
109 if (!strcmp(list, match)) in of_find_in_proplist()
Dvio.c33 int match = 1; in vio_match_device() local
35 match &= !strcmp(matches->type, type); in vio_match_device()
38 match &= len && in vio_match_device()
41 if (match) in vio_match_device()
117 .match = vio_bus_match,
/linux-4.1.27/include/media/
Dv4l2-async.h54 bool (*match)(struct device *, member
58 } match; member
/linux-4.1.27/drivers/hwmon/
Dvexpress.c222 const struct of_device_id *match; in vexpress_hwmon_probe() local
231 match = of_match_device(vexpress_hwmon_of_match, &pdev->dev); in vexpress_hwmon_probe()
232 if (!match) in vexpress_hwmon_probe()
234 type = match->data; in vexpress_hwmon_probe()
/linux-4.1.27/drivers/acpi/
Dioapic.c69 bool match = false; in acpi_is_ioapic() local
81 match = true; in acpi_is_ioapic()
84 match = true; in acpi_is_ioapic()
90 return match; in acpi_is_ioapic()
/linux-4.1.27/arch/ia64/scripts/
Dunwcheck.py40 m = start_pattern.match(line)
51 m = rlen_pattern.match(line)
/linux-4.1.27/arch/mips/kernel/
Dmips-mt-fpaff.c49 bool match; in check_same_owner() local
53 match = (uid_eq(cred->euid, pcred->euid) || in check_same_owner()
56 return match; in check_same_owner()
/linux-4.1.27/sound/pci/hda/
Dhda_i915.c156 struct component_match *match = NULL; in hda_i915_init() local
161 component_match_add(dev, &match, hda_component_master_match, hda); in hda_i915_init()
163 match); in hda_i915_init()
/linux-4.1.27/drivers/iommu/
Dof_iommu.c177 const struct of_device_id *match, *matches = &__iommu_of_table; in of_iommu_init() local
179 for_each_matching_node_and_match(np, matches, &match) { in of_iommu_init()
180 const of_iommu_init_fn init_fn = match->data; in of_iommu_init()
/linux-4.1.27/drivers/clk/samsung/
Dclk-exynos-audss.c114 const struct of_device_id *match; in exynos_audss_clk_probe() local
117 match = of_match_node(exynos_audss_clk_of_match, pdev->dev.of_node); in exynos_audss_clk_probe()
118 if (!match) in exynos_audss_clk_probe()
120 variant = (enum exynos_audss_clk_type)match->data; in exynos_audss_clk_probe()
/linux-4.1.27/drivers/pwm/
Dpwm-atmel-hlcdc.c237 const struct of_device_id *match; in atmel_hlcdc_pwm_probe() local
253 match = of_match_node(atmel_hlcdc_dt_ids, dev->parent->of_node); in atmel_hlcdc_pwm_probe()
254 if (match) in atmel_hlcdc_pwm_probe()
255 chip->errata = match->data; in atmel_hlcdc_pwm_probe()
Dcore.c607 unsigned int match; in pwm_get() local
636 match = 0; in pwm_get()
642 match += 2; in pwm_get()
649 match += 1; in pwm_get()
652 if (match > best) { in pwm_get()
655 if (match != 3) in pwm_get()
656 best = match; in pwm_get()
Dpwm-atmel.c302 const struct of_device_id *match; in atmel_pwm_get_driver_data() local
304 match = of_match_device(atmel_pwm_dt_ids, &pdev->dev); in atmel_pwm_get_driver_data()
305 if (!match) in atmel_pwm_get_driver_data()
308 return match->data; in atmel_pwm_get_driver_data()
/linux-4.1.27/tools/perf/tests/
Dattr.py181 match = {}
205 match[exp_name] = exp_list
215 for res_name in match[exp_name]:
217 if res_group not in match[group]:
221 (exp_name, str(match[group])))
/linux-4.1.27/Documentation/driver-model/
Dbus.txt16 optionally initialize the match callback.
20 .match = pci_bus_match,
40 match(): Attaching Drivers to Devices
48 The purpose of the match callback is to give the bus an opportunity to
55 iterated over, and the match callback is called for each device that
Dbinding.txt27 ID of the device must match one of the device IDs that the driver
31 a device against the IDs of a driver. The bus returns 1 if a match was
34 int match(struct device * dev, struct device_driver * drv);
36 If a match is found, the device's driver field is set to the driver
82 The bus's list of devices is iterated over to find a match. Devices
/linux-4.1.27/drivers/memory/tegra/
Dmc.c211 const struct of_device_id *match; in tegra_mc_probe() local
217 match = of_match_node(tegra_mc_of_match, pdev->dev.of_node); in tegra_mc_probe()
218 if (!match) in tegra_mc_probe()
226 mc->soc = match->data; in tegra_mc_probe()
/linux-4.1.27/drivers/thermal/
Darmada_thermal.c259 const struct of_device_id *match; in armada_thermal_probe() local
263 match = of_match_device(armada_thermal_id_table, &pdev->dev); in armada_thermal_probe()
264 if (!match) in armada_thermal_probe()
281 priv->data = (struct armada_thermal_data *)match->data; in armada_thermal_probe()
/linux-4.1.27/drivers/uwb/
Dumc-bus.c126 if (umc_driver->match) in umc_bus_match()
127 return umc_driver->match(umc_driver, umc); in umc_bus_match()
191 .match = umc_bus_match,
/linux-4.1.27/Documentation/
Ddynamic-debug-howto.txt111 A another way is to use wildcard. The match rule support '*' (matches
113 example, you can match all usb drivers:
117 At the syntactical level, a command comprises a sequence of match
120 command ::= match-spec* flags-spec
122 The match-spec's are used to choose a subset of the known pr_debug()
125 match-specs will select all debug statement callsites.
127 A match specification comprises a keyword, which controls the
131 match-spec ::= 'func' string |
174 string. Note that the string does not need to match the
184 format nfsd:\040SETATTR // one way to match a format with whitespace
[all …]
/linux-4.1.27/drivers/gpu/drm/imx/
Ddw_hdmi-imx.c195 const struct of_device_id *match; in dw_hdmi_imx_bind() local
210 match = of_match_node(dw_hdmi_imx_dt_ids, pdev->dev.of_node); in dw_hdmi_imx_bind()
211 plat_data = match->data; in dw_hdmi_imx_bind()
/linux-4.1.27/arch/powerpc/platforms/83xx/
Dsuspend.c327 const struct of_device_id *match; in pmc_probe() local
333 match = of_match_device(pmc_match, &ofdev->dev); in pmc_probe()
334 if (!match) in pmc_probe()
337 type = match->data; in pmc_probe()
/linux-4.1.27/fs/xfs/
Dxfs_extent_busy.c114 int match = 0; in xfs_extent_busy_search() local
127 match = -1; in xfs_extent_busy_search()
132 match = -1; in xfs_extent_busy_search()
136 match = (busyp->length == len) ? 1 : -1; in xfs_extent_busy_search()
142 return match; in xfs_extent_busy_search()
/linux-4.1.27/security/tomoyo/
Dcondition.c227 const bool match) in tomoyo_scan_exec_realpath() argument
239 return result == match; in tomoyo_scan_exec_realpath()
777 const bool match = condp->equals; in tomoyo_condition() local
797 == match) in tomoyo_condition()
804 match)) in tomoyo_condition()
1048 == match) in tomoyo_condition()
1052 max_v[0] >= ptr->values[0]) == match) in tomoyo_condition()
1069 if (!(max_v[0] & max_v[1]) == !match) in tomoyo_condition()
1079 if (!(max_v[0] & max_v[1]) == !match) in tomoyo_condition()
1085 if ((min_v[0] <= max_v[1] && max_v[0] >= min_v[1]) == match) in tomoyo_condition()
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
Dhdmi.c367 const struct of_device_id *match; in hdmi_bind() local
369 match = of_match_node(dt_match, of_node); in hdmi_bind()
370 if (match && match->data) { in hdmi_bind()
371 hdmi_cfg = (struct hdmi_platform_config *)match->data; in hdmi_bind()
372 DBG("hdmi phy: %s", match->compatible); in hdmi_bind()
/linux-4.1.27/drivers/iio/common/st_sensors/
Dst_sensors_i2c.c95 const struct of_device_id *match) in st_sensors_of_i2c_probe() argument
99 of_id = of_match_device(match, &client->dev); in st_sensors_of_i2c_probe()
/linux-4.1.27/drivers/gpu/host1x/
Dmipi.c288 const struct of_device_id *match; in tegra_mipi_probe() local
293 match = of_match_node(tegra_mipi_of_match, pdev->dev.of_node); in tegra_mipi_probe()
294 if (!match) in tegra_mipi_probe()
301 mipi->soc = match->data; in tegra_mipi_probe()
/linux-4.1.27/drivers/net/ethernet/arc/
Demac_rockchip.c93 const struct of_device_id *match; in emac_rockchip_probe() local
127 match = of_match_node(emac_rockchip_dt_ids, dev->of_node); in emac_rockchip_probe()
128 priv->soc_data = match->data; in emac_rockchip_probe()
/linux-4.1.27/scripts/mod/
Dmodpost.c781 static int match(const char *sym, const char * const pat[]) in match() function
852 !match(sec, section_white_list)) { in check_section()
1091 if (match(fromsec, check->fromsec)) { in section_mismatch()
1092 if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) in section_mismatch()
1094 if (check->good_tosec[0] && !match(tosec, check->good_tosec)) in section_mismatch()
1160 if (match(tosec, init_data_sections) && in secref_whitelist()
1161 match(fromsec, data_sections) && in secref_whitelist()
1167 match(fromsec, data_sections) && in secref_whitelist()
1172 if (match(tosec, init_exit_sections) && in secref_whitelist()
1173 match(fromsec, data_sections) && in secref_whitelist()
[all …]
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd-pltfrm.c46 const struct of_device_id *match; in get_variant_ops() local
48 match = of_match_node(ufs_of_match, dev->of_node); in get_variant_ops()
49 if (match) in get_variant_ops()
50 return (struct ufs_hba_variant_ops *)match->data; in get_variant_ops()
/linux-4.1.27/arch/arm/common/
DbL_switcher.c456 int match = -1; in bL_switcher_halve_cpus() local
472 match = j; in bL_switcher_halve_cpus()
474 if (match != -1) { in bL_switcher_halve_cpus()
475 bL_switcher_cpu_pairing[i] = match; in bL_switcher_halve_cpus()
476 cpumask_clear_cpu(match, &available_cpus); in bL_switcher_halve_cpus()
477 pr_info("CPU%d paired with CPU%d\n", i, match); in bL_switcher_halve_cpus()
/linux-4.1.27/include/linux/
Ddevice.h114 int (*match)(struct device *dev, struct device_driver *drv); member
156 int (*match)(struct device *dev, void *data));
294 int (*match)(struct device *dev, void *data));
417 int (*match)(struct device *, const void *));
585 dr_match_t match, void *match_data,
591 dr_match_t match, void *match_data);
593 dr_match_t match, void *match_data);
595 dr_match_t match, void *match_data);
597 dr_match_t match, void *match_data);
599 dr_match_t match, void *match_data);
[all …]
/linux-4.1.27/drivers/mtd/maps/
Dphysmap_of.c154 const struct of_device_id *match; in of_flash_probe() local
171 match = of_match_device(of_flash_match, &dev->dev); in of_flash_probe()
172 if (!match) in of_flash_probe()
174 probe_type = match->data; in of_flash_probe()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dmkregtable.c625 regmatch_t match[4]; in parser_auth() local
671 r = regexec(&mask_rex, buf, 4, match, 0); in parser_auth()
680 buf[match[0].rm_eo] = 0; in parser_auth()
681 buf[match[1].rm_eo] = 0; in parser_auth()
682 buf[match[2].rm_eo] = 0; in parser_auth()
683 o = strtol(&buf[match[1].rm_so], NULL, 16); in parser_auth()
/linux-4.1.27/security/selinux/ss/
Dservices.c2765 struct class_datum *match; in security_get_permissions() local
2770 match = hashtab_search(policydb.p_classes.table, class); in security_get_permissions()
2771 if (!match) { in security_get_permissions()
2778 *nperms = match->permissions.nprim; in security_get_permissions()
2783 if (match->comdatum) { in security_get_permissions()
2784 rc = hashtab_map(match->comdatum->permissions.table, in security_get_permissions()
2790 rc = hashtab_map(match->permissions.table, get_permissions_callback, in security_get_permissions()
2980 int match = 0; in selinux_audit_rule_match() local
2990 match = -ESTALE; in selinux_audit_rule_match()
2998 match = -ENOENT; in selinux_audit_rule_match()
[all …]
/linux-4.1.27/drivers/net/ethernet/sfc/
Dptp.c951 struct efx_ptp_match *match; in efx_ptp_match_rx() local
963 match = (struct efx_ptp_match *)skb->cb; in efx_ptp_match_rx()
970 if ((evt->seq0 == match->words[0]) && in efx_ptp_match_rx()
971 (evt->seq1 == match->words[1])) { in efx_ptp_match_rx()
978 match->state = PTP_PACKET_STATE_MATCHED; in efx_ptp_match_rx()
999 struct efx_ptp_match *match; in efx_ptp_process_events() local
1001 match = (struct efx_ptp_match *)skb->cb; in efx_ptp_process_events()
1002 if (match->state == PTP_PACKET_STATE_MATCH_UNWANTED) { in efx_ptp_process_events()
1007 } else if (time_after(jiffies, match->expiry)) { in efx_ptp_process_events()
1008 match->state = PTP_PACKET_STATE_TIMED_OUT; in efx_ptp_process_events()
[all …]
/linux-4.1.27/arch/arm/kernel/
Ddevtree.c184 static const void * __init arch_get_next_mach(const char *const **match) in arch_get_next_mach() argument
193 *match = m->dt_compat; in arch_get_next_mach()
/linux-4.1.27/Documentation/devicetree/bindings/timer/
Drenesas,mtu2.txt4 clock inputs and programmable compare match.
6 Channels share hardware resources but their counter and compare match value
Drenesas,tmu.txt4 programmable compare match.
6 Channels share hardware resources but their counter and compare match value
Drenesas,cmt.txt4 inputs and programmable compare match.
6 Channels share hardware resources but their counter and compare match value
9 position of the channel in the CMT and don't match the channel numbers in the
/linux-4.1.27/drivers/power/avs/
Drockchip-io-domain.c219 const struct of_device_id *match; in rockchip_iodomain_probe() local
233 match = of_match_node(rockchip_iodomain_match, np); in rockchip_iodomain_probe()
234 iod->soc_data = (struct rockchip_iodomain_soc_data *)match->data; in rockchip_iodomain_probe()
/linux-4.1.27/drivers/gpio/
Dgpio-palmas.c166 const struct of_device_id *match; in palmas_gpio_probe() local
169 match = of_match_device(of_palmas_gpio_match, &pdev->dev); in palmas_gpio_probe()
170 dev_data = match->data; in palmas_gpio_probe()
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_drv.c179 const struct of_device_id *match; in get_mdp_ver() local
180 match = of_match_node(match_types, dev->of_node); in get_mdp_ver()
181 if (match) in get_mdp_ver()
182 return (int)(unsigned long)match->data; in get_mdp_ver()
1015 struct component_match *match = NULL; in msm_pdev_probe() local
1017 add_components(&pdev->dev, &match, "connectors"); in msm_pdev_probe()
1018 add_components(&pdev->dev, &match, "gpus"); in msm_pdev_probe()
1042 component_match_add(&pdev->dev, &match, compare_dev, dev); in msm_pdev_probe()
1047 return component_master_add_with_match(&pdev->dev, &msm_drm_ops, match); in msm_pdev_probe()
/linux-4.1.27/arch/arm/plat-omap/
Ddmtimer.c595 unsigned int match) in omap_dm_timer_set_match() argument
608 omap_dm_timer_write_reg(timer, OMAP_TIMER_MATCH_REG, match); in omap_dm_timer_set_match()
613 timer->context.tmar = match; in omap_dm_timer_set_match()
800 const struct of_device_id *match; in omap_dm_timer_probe() local
804 match = of_match_device(of_match_ptr(omap_timer_match), dev); in omap_dm_timer_probe()
805 pdata = match ? match->data : dev->platform_data; in omap_dm_timer_probe()
/linux-4.1.27/drivers/video/backlight/
Dhx8357.c586 const struct of_device_id *match; in hx8357_probe() local
601 match = of_match_device(hx8357_dt_ids, &spi->dev); in hx8357_probe()
602 if (!match || !match->data) in hx8357_probe()
659 ret = ((int (*)(struct lcd_device *))match->data)(lcdev); in hx8357_probe()
/linux-4.1.27/arch/tile/kernel/
Dbacktrace.c72 bool match; in find_matching_insn() local
81 match = true; in find_matching_insn()
84 match = false; in find_matching_insn()
89 if (match) in find_matching_insn()
/linux-4.1.27/drivers/char/hw_random/
Domap-rng.c319 const struct of_device_id *match; in of_get_omap_rng_device_details() local
323 match = of_match_device(of_match_ptr(omap_rng_of_match), dev); in of_get_omap_rng_device_details()
324 if (!match) { in of_get_omap_rng_device_details()
328 priv->pdata = match->data; in of_get_omap_rng_device_details()
/linux-4.1.27/drivers/staging/rtl8712/
Dieee80211.c399 int match; in r8712_get_wps_ie() local
404 match = false; in r8712_get_wps_ie()
412 match = true; in r8712_get_wps_ie()
417 return match; in r8712_get_wps_ie()
/linux-4.1.27/Documentation/networking/
Dpolicy-routing.txt8 1. Basic match
9 2. Longest match
42 RTP_NAT - lookup in attached class and if a match is found,
44 RTP_MASQUERADE - lookup in attached class and if a match is found,
/linux-4.1.27/drivers/firewire/
Dcore-device.c157 int match = 0; in match_ids() local
160 match |= IEEE1394_MATCH_VENDOR_ID; in match_ids()
162 match |= IEEE1394_MATCH_MODEL_ID; in match_ids()
164 match |= IEEE1394_MATCH_SPECIFIER_ID; in match_ids()
166 match |= IEEE1394_MATCH_VERSION; in match_ids()
168 return (match & id_table->match_flags) == id_table->match_flags; in match_ids()
237 .match = fw_unit_match,
895 int match = 0; in lookup_existing_device() local
928 match = 1; in lookup_existing_device()
934 return match; in lookup_existing_device()
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_drm_drv.c250 struct component_match *match = NULL; in sti_drm_master_probe() local
257 component_match_add(dev, &match, compare_of, child_np); in sti_drm_master_probe()
262 return component_master_add_with_match(dev, &sti_drm_ops, match); in sti_drm_master_probe()
/linux-4.1.27/arch/x86/include/asm/
Dcpu_device_id.h11 extern const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match);
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dprimecell.txt10 "arm,primecell". The specific name will match the ARM
20 - dma-names : From common DMA binding, needs to match the 'dmas' property.
/linux-4.1.27/drivers/pinctrl/berlin/
Dberlin-bg2cd.c177 const struct of_device_id *match = in berlin2cd_pinctrl_probe() local
202 return berlin_pinctrl_probe(pdev, match->data); in berlin2cd_pinctrl_probe()
/linux-4.1.27/Documentation/crypto/
Dasymmetric-keys.txt52 This can then be used to refer to the key, either by complete match or by
53 partial match. The key type may also use other criteria to refer to a key.
55 The asymmetric key type's match function can then perform a wider range of
59 (1) If the criterion string is of the form "id:<hexdigits>" then the match
61 after the "id:" match the tail. For instance:
65 will match a key with fingerprint:
70 match will match the ID as in (1), but with the added restriction that
152 doesn't match.
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c281 const struct of_device_id *match; in atmel_hlcdc_dc_load() local
285 match = of_match_node(atmel_hlcdc_of_match, dev->dev->parent->of_node); in atmel_hlcdc_dc_load()
286 if (!match) { in atmel_hlcdc_dc_load()
291 if (!match->data) { in atmel_hlcdc_dc_load()
304 dc->desc = match->data; in atmel_hlcdc_dc_load()
/linux-4.1.27/tools/perf/scripts/perl/bin/
Dfailed-syscalls-report5 if ! expr match "$1" "-" > /dev/null ; then
/linux-4.1.27/tools/perf/scripts/python/bin/
Dsyscall-counts-report5 if ! expr match "$1" "-" > /dev/null ; then
Dsyscall-counts-by-pid-report5 if ! expr match "$1" "-" > /dev/null ; then
Dfailed-syscalls-by-pid-report5 if ! expr match "$1" "-" > /dev/null ; then
/linux-4.1.27/tools/hv/
Dhv_vss_daemon.c81 char match[] = "/dev/"; in vss_operate() local
104 if (strncmp(ent->mnt_fsname, match, strlen(match))) in vss_operate()
/linux-4.1.27/include/uapi/linux/netfilter/
Dxt_owner.h15 __u8 match, invert; member

123456