Searched refs:match (Results 76 - 100 of 1154) sorted by relevance

1234567891011>>

/linux-master/drivers/base/power/
H A Dtrace.c165 * the match is valid).
185 int match; local
188 match = 0;
197 match++;
199 return match;
204 int match = 0; local
214 match++;
219 return match;
231 * It's possible that multiple devices will match the hash and we can't
/linux-master/arch/x86/include/asm/
H A Dtext-patching.h191 bool match;
194 match = regs->flags & jcc_mask[cc >> 1];
196 match = ((regs->flags & X86_EFLAGS_SF) >> X86_EFLAGS_SF_BIT) ^
199 match = match || (regs->flags & X86_EFLAGS_ZF);
202 if ((match && !invert) || (!match && invert))
/linux-master/drivers/media/rc/
H A Dwinbond-cir.c672 u8 match[11]; local
680 memset(match, 0, sizeof(match));
695 match[1] |= 0x10;
697 match[0] = (wake_sc & 0x003F); /* 6 command bits */
698 match[0] |= (wake_sc & 0x0300) >> 2; /* 2 address bits */
699 match[1] = (wake_sc & 0x1c00) >> 10; /* 3 address bits */
701 match[1] |= 0x10;
712 match[1] = bitrev8(wake_sc);
713 match[
[all...]
/linux-master/drivers/crypto/ccp/
H A Dsp-platform.c62 const struct of_device_id *match; local
64 match = of_match_node(sp_of_match, pdev->dev.of_node);
65 if (match && match->data)
66 return (struct sp_dev_vdata *)match->data;
74 const struct acpi_device_id *match; local
76 match = acpi_match_device(sp_acpi_match, &pdev->dev);
77 if (match && match->driver_data)
78 return (struct sp_dev_vdata *)match
[all...]
/linux-master/net/netfilter/
H A Dx_tables.c67 struct list_head match; member in struct:xt_af
139 int xt_register_match(struct xt_match *match) argument
141 u_int8_t af = match->family;
144 list_add(&match->list, &xt[af].match);
151 xt_unregister_match(struct xt_match *match) argument
153 u_int8_t af = match->family;
156 list_del(&match->list);
162 xt_register_matches(struct xt_match *match, unsigned int n) argument
168 err = xt_register_match(&match[
182 xt_unregister_matches(struct xt_match *match, unsigned int n) argument
230 struct xt_match *match; local
545 xt_check_entry_match(const char *match, const char *target, const size_t alignment) argument
744 xt_compat_match_offset(const struct xt_match *match) argument
754 const struct xt_match *match = m->u.kernel.match; local
787 const struct xt_match *match = m->u.kernel.match; local
1663 const struct xt_match *match; local
[all...]
H A Dxt_comment.c3 * Implements a dummy match to allow attaching comments to rules
14 MODULE_DESCRIPTION("Xtables: No-op match which can be tagged with a comment");
22 /* We always match */
30 .match = comment_mt,
H A Dxt_dscp.c17 MODULE_DESCRIPTION("Xtables: DSCP/TOS field match");
69 .match = dscp_mt,
77 .match = dscp_mt6,
85 .match = tos_mt,
93 .match = tos_mt,
H A Dnft_compat.c397 struct xt_match *match = expr->ops->data; local
402 nft_compat_set_par(&xt, pkt, match, info);
404 ret = match->match(skb, &xt);
446 struct xt_match *match, void *info,
471 par->match = match;
501 struct xt_match *match = expr->ops->data; local
509 match_compat_from_user(match, nla_data(tb[NFTA_MATCH_INFO]), info);
517 nft_match_set_mtchk_param(&par, ctx, match, inf
445 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx, struct xt_match *match, void *info, union nft_entry *entry, u16 proto, bool inv) argument
553 struct xt_match *match = expr->ops->data; local
585 struct xt_match *match = expr->ops->data; local
617 struct xt_match *match = expr->ops->data; local
779 const struct xt_match *match = expr->ops->data; local
789 struct xt_match *match; local
848 struct xt_match *match = ops->data; local
[all...]
/linux-master/net/wireless/
H A Dwext-spy.c198 int match = -1; local
204 /* Update all records that match */
209 match = i;
216 if (match >= 0) {
217 if (spydata->spy_thr_under[match]) {
219 spydata->spy_thr_under[match] = 0;
225 spydata->spy_thr_under[match] = 1;
/linux-master/drivers/cpufreq/
H A Dsun50i-cpufreq-nvmem.c169 const struct of_device_id *match; local
173 match = of_match_node(sun50i_cpufreq_match_list, np);
176 return match;
186 const struct of_device_id *match; local
189 match = sun50i_cpufreq_match_node();
190 if (!match)
H A Dti-cpufreq.c351 const struct of_device_id *match; local
354 match = of_match_node(ti_cpufreq_of_match, np);
357 return match;
363 const struct of_device_id *match; local
372 match = dev_get_platdata(&pdev->dev);
373 if (!match)
380 opp_data->soc_data = match->data;
441 const struct of_device_id *match; local
444 match = ti_cpufreq_match_node();
445 if (match)
[all...]
H A Dcpufreq-dt-platdev.c211 const struct of_device_id *match; local
217 match = of_match_node(allowlist, np);
218 if (match) {
219 data = match->data;
/linux-master/drivers/net/dsa/microchip/
H A Dksz9477_tc_flower.c41 struct flow_match_basic match; local
43 flow_rule_match_basic(rule, &match);
45 if (match.key->n_proto) {
46 if (match.mask->n_proto != ETHER_TYPE_FULL_MASK) {
52 ethtype = be16_to_cpu(match.key->n_proto);
105 * the device and parses the L2 keys if they match. If unsupported keys are
115 struct flow_dissector *dissector = rule->match.dissector;
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dled.c55 /* Devices we match on for LED config info (typically laptops) */
171 const struct pci_device_id *match; local
177 match = NULL;
179 match = pci_match_id(&ath5k_led_devices[0], pdev);
181 if (match) {
183 ah->led_pin = ATH_PIN(match->driver_data);
184 ah->led_on = ATH_POLARITY(match->driver_data);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A Dgf119.c27 gf119_gpio_reset(struct nvkm_gpio *gpio, u8 match) argument
44 (match != DCB_GPIO_UNUSED && match != func))
/linux-master/scripts/
H A Dsetlocalversion70 desc=$(git describe --match=$tag 2>/dev/null)
79 desc=$(git describe --match=$tag 2>/dev/null)
85 desc=$(git describe --match=$tag 2>/dev/null)
/linux-master/drivers/mfd/
H A Dsun6i-prcm.c130 const struct of_device_id *match; local
135 match = of_match_node(sun6i_prcm_dt_ids, pdev->dev.of_node);
136 if (!match)
139 data = match->data;
H A Dtps6594-spi.c92 const struct of_device_id *match; local
108 match = of_match_device(tps6594_spi_of_match_table, dev);
109 if (!match)
111 tps->chip_id = (unsigned long)match->data;
/linux-master/arch/mips/generic/
H A Dinit.c36 const struct of_device_id *match; local
50 match = mips_machine_is_compatible(check_mach, fdt);
51 if (match) {
53 mach_match_data = match->data;
/linux-master/include/linux/
H A Dtask_work.h32 bool (*match)(struct callback_head *, void *data), void *data);
/linux-master/include/linux/netfilter_bridge/
H A Debtables.h23 bool (*match)(const struct sk_buff *skb, const struct net_device *in, member in struct:ebt_match
24 const struct net_device *out, const struct xt_match *match,
28 const struct xt_match *match, void *matchinfo,
30 void (*destroy)(const struct xt_match *match, void *matchinfo);
/linux-master/sound/soc/intel/common/
H A Dsoc-acpi-intel-arl-match.c3 * soc-apci-intel-arl-match.c - tables and support for ARL ACPI enumeration.
9 #include <sound/soc-acpi-intel-match.h>
/linux-master/Documentation/sphinx/
H A Dkernel_abi.py112 match = line_regex.search(line)
113 if match:
114 new_f = match.group(1)
128 ln = int(match.group(2)) - 1
/linux-master/drivers/clk/
H A Dclk-scpi.c61 /* find closest match to given frequency in OPP table */
138 scpi_clk_ops_init(struct device *dev, const struct of_device_id *match, argument
148 init.ops = match->data;
191 const struct of_device_id *match)
235 err = scpi_clk_ops_init(dev, match, sclk, name);
267 const struct of_device_id *match; local
273 match = of_match_node(scpi_clk_match, child);
274 if (!match)
276 ret = scpi_clk_add(dev, child, match);
283 if (match
190 scpi_clk_add(struct device *dev, struct device_node *np, const struct of_device_id *match) argument
[all...]
/linux-master/drivers/base/
H A Dsoc.c212 const struct soc_device_attribute *match)
214 if (match->machine &&
215 (!attr->machine || !glob_match(match->machine, attr->machine)))
218 if (match->family &&
219 (!attr->family || !glob_match(match->family, attr->family)))
222 if (match->revision &&
223 (!attr->revision || !glob_match(match->revision, attr->revision)))
226 if (match->soc_id &&
227 (!attr->soc_id || !glob_match(match->soc_id, attr->soc_id)))
245 * if none of them match
211 soc_device_match_attr(const struct soc_device_attribute *attr, const struct soc_device_attribute *match) argument
[all...]

Completed in 301 milliseconds

1234567891011>>