Searched refs:match (Results 151 - 175 of 1154) sorted by relevance

1234567891011>>

/linux-master/drivers/regulator/
H A Drt5190a-regulator.c219 struct of_regulator_match *match)
222 struct regulator_init_data *init_data = match->init_data;
223 struct device_node *np = match->of_node;
324 struct of_regulator_match *match; local
329 match = rt5190a_regulator_match + i;
333 match->desc = reg_desc;
355 match = rt5190a_regulator_match + i;
357 ret = rt5190a_of_parse_cb(priv, i, match);
472 struct of_regulator_match *match = rt5190a_regulator_match + i; local
474 cfg.init_data = match
218 rt5190a_of_parse_cb(struct rt5190a_priv *priv, int rid, struct of_regulator_match *match) argument
[all...]
H A Dmt6357-regulator.c36 #define MT6357_BUCK(match, vreg, min, max, step, \
41 .of_match = of_match_ptr(match), \
59 #define MT6357_LDO(match, vreg, ldo_volt_table, \
64 .of_match = of_match_ptr(match), \
79 #define MT6357_LDO1(match, vreg, min, max, step, volt_ranges, \
84 .of_match = of_match_ptr(match), \
102 #define MT6357_REG_FIXED(match, vreg, volt) \
106 .of_match = of_match_ptr(match), \
H A Das3711-regulator.c178 struct of_regulator_match *match; local
194 for (i = 0, match = as3711_regulator_matches; i < count; i++, match++)
195 if (match->of_node) {
196 pdata->init_data[i] = match->init_data;
197 of_node[i] = match->of_node;
/linux-master/drivers/dma/ti/
H A Ddma-crossbar.c134 const struct of_device_id *match; local
153 match = of_match_node(ti_am335x_master_match, dma_node);
154 if (!match) {
326 const struct of_device_id *match; local
348 match = of_match_node(ti_dra7_master_match, dma_node);
349 if (!match) {
417 xbar->dma_offset = *(u32 *)match->data;
443 const struct of_device_id *match; local
446 match = of_match_node(ti_dma_xbar_match, pdev->dev.of_node);
447 if (unlikely(!match))
[all...]
/linux-master/net/netfilter/
H A Dxt_ipcomp.c2 /* Kernel module to match IPComp parameters for IPv4 and IPv6
24 MODULE_DESCRIPTION("Xtables: IPv4/6 IPsec-IPComp SPI match");
81 .match = comp_mt,
90 .match = comp_mt,
H A Dxt_hl.c20 MODULE_DESCRIPTION("Xtables: Hoplimit/TTL field match");
68 .match = ttl_mt,
76 .match = hl_mt6,
H A Dxt_esp.c2 /* Kernel module to match ESP parameters. */
20 MODULE_DESCRIPTION("Xtables: IPsec-ESP packet match");
77 .match = esp_mt,
86 .match = esp_mt,
H A Dxt_tcpmss.c2 /* Kernel module to match TCP MSS values. */
20 MODULE_DESCRIPTION("Xtables: TCP MSS match");
81 .match = tcpmss_mt,
89 .match = tcpmss_mt,
H A Dxt_nfacct.c16 MODULE_DESCRIPTION("Xtables: match for the extended accounting infrastructure");
63 .match = nfacct_mt,
74 .match = nfacct_mt,
H A Dxt_tcpudp.c16 MODULE_DESCRIPTION("Xtables: TCP, UDP and UDP-Lite match");
261 .match = tcp_mt,
270 .match = tcp_mt,
279 .match = udp_mt,
288 .match = udp_mt,
297 .match = udp_mt,
306 .match = udp_mt,
313 .match = icmp_match,
322 .match = icmp6_match,
H A Dnf_flow_table_offload.c32 static void nf_flow_rule_lwt_match(struct nf_flow_match *match, argument
35 struct nf_flow_key *mask = &match->mask;
36 struct nf_flow_key *key = &match->key;
42 NF_FLOW_DISSECTOR(match, FLOW_DISSECTOR_KEY_ENC_CONTROL, enc_control);
43 NF_FLOW_DISSECTOR(match, FLOW_DISSECTOR_KEY_ENC_KEYID, enc_key_id);
50 NF_FLOW_DISSECTOR(match, FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS,
77 match->dissector.used_keys |= enc_keys;
90 static int nf_flow_rule_match(struct nf_flow_match *match, argument
94 struct nf_flow_key *mask = &match->mask;
95 struct nf_flow_key *key = &match
[all...]
/linux-master/include/linux/netfilter/
H A Dx_tables.h18 * @match: the match extension
20 * @matchinfo: per-match data
32 const struct xt_match *match; member in union:xt_action_param::__anon1361
80 * struct xt_mtchk_param - parameters for match extensions'
87 * @match: struct xt_match through which this function was invoked
88 * @matchinfo: per-match data
96 const struct xt_match *match; member in struct:xt_mtchk_param
104 * struct xt_mdtor_param - match destructor parameters
109 const struct xt_match *match; member in struct:xt_mtdtor_param
153 bool (*match)(const struct sk_buff *skb, member in struct:xt_match
467 compat_uptr_t match; member in struct:compat_xt_entry_match::__anon1363::__anon1365
[all...]
/linux-master/arch/mips/ralink/
H A Dof.c56 mtmips_of_remap_node(const struct of_device_id *match, const char *type) argument
61 np = of_find_matching_node(NULL, match);
/linux-master/kernel/
H A Dtask_work.c80 * @match: match function to call
81 * @data: data to be passed in to match function
88 bool (*match)(struct callback_head *, void *data),
106 if (!match(work, data)) {
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_drv.c212 struct component_match *match = NULL; local
227 component_match_add(dev, &match, component_compare_dev, d);
233 return match ?: ERR_PTR(-ENODEV);
337 struct component_match *match; local
341 match = exynos_drm_match_add(&pdev->dev);
342 if (IS_ERR(match))
343 return PTR_ERR(match);
346 match);
/linux-master/drivers/gpu/drm/radeon/
H A Dmkregtable.c193 regmatch_t match[4]; local
239 r = regexec(&mask_rex, buf, 4, match, 0);
248 buf[match[0].rm_eo] = 0;
249 buf[match[1].rm_eo] = 0;
250 buf[match[2].rm_eo] = 0;
251 o = strtol(&buf[match[1].rm_so], NULL, 16);
/linux-master/drivers/gpu/drm/
H A Ddrm_privacy_screen.c122 int match, best = -1; local
135 * If an entry has a device ID, it must match
136 * If an entry has a connection ID, it must match
143 match = 0;
149 match += 2;
156 match += 1;
159 if (match > best) {
161 best = match;
/linux-master/arch/arm/mach-omap2/
H A Dcm_common.c207 * -EINVAL if @cld is NULL or if @cld does not match the struct
313 const struct of_device_id *match; local
319 for_each_matching_node_and_match(np, omap_cm_dt_match_table, &match) {
320 data = (struct omap_prcm_init_data *)match->data;
361 const struct of_device_id *match; local
365 for_each_matching_node_and_match(np, omap_cm_dt_match_table, &match) {
366 data = match->data;
/linux-master/drivers/hid/
H A Dhid-sensor-custom.c811 static bool hid_sensor_custom_prop_match_str(const u16 *prop, const char *match, argument
814 while (count-- && *prop && *match) {
815 if (*prop != (u16) *match)
818 match++;
821 return (count == -1) || *prop == (u16)*match;
852 const struct hid_sensor_custom_match *match,
855 struct dmi_system_id dmi[] = { match->dmi, { 0 } };
858 !hid_sensor_custom_prop_match_str(prop->serial_num + 5, match->luid,
862 if (match->model &&
863 !hid_sensor_custom_prop_match_str(prop->model, match
851 hid_sensor_custom_do_match(struct hid_sensor_hub_device *hsdev, const struct hid_sensor_custom_match *match, const struct hid_sensor_custom_properties *prop) argument
912 const struct hid_sensor_custom_match *match = local
939 hid_sensor_register_platform_device(struct platform_device *pdev, struct hid_sensor_hub_device *hsdev, const struct hid_sensor_custom_match *match) argument
972 const struct hid_sensor_custom_match *match; local
[all...]
/linux-master/arch/alpha/lib/
H A Dev67-strrchr.S40 mov zero, t6 # E : t6 is last match aligned addr
43 mov zero, t8 # E : t8 is last match byte compare mask
68 cmovne t3, v0, t6 # E : save previous comparisons match
84 negq t1, t4 # E : isolate first null byte match
90 cmovne t3, t3, t8 # E : save it, if match found Latency=2, extra map slot
100 cmoveq t8, 0x3f, t2 # E : Compensate for case when no match is seen
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c847 struct flow_match_control match; local
850 flow_rule_match_enc_control(rule, &match);
851 addr_type = match.key->addr_type;
855 struct flow_match_ipv4_addrs match; local
857 flow_rule_match_enc_ipv4_addrs(rule, &match);
860 ntohl(match.mask->src));
863 ntohl(match.key->src));
867 ntohl(match.mask->dst));
870 ntohl(match.key->dst));
876 struct flow_match_ipv6_addrs match; local
904 struct flow_match_ip match; local
[all...]
/linux-master/drivers/gpu/drm/armada/
H A Darmada_drv.c174 struct component_match **match, struct device_node *dev_node)
181 drm_of_component_match_add(dev, match, component_compare_of,
194 struct component_match *match = NULL; local
208 component_match_add(dev, &match, component_compare_dev_name,
220 armada_add_endpoints(dev, &match, d->of_node);
226 match);
173 armada_add_endpoints(struct device *dev, struct component_match **match, struct device_node *dev_node) argument
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c373 struct flow_dissector *dissector = rule->match.dissector;
384 struct flow_match_basic match; local
386 flow_rule_match_basic(rule, &match);
387 flow->l2_key.ether_type = match.key->n_proto;
388 flow->l2_mask.ether_type = match.mask->n_proto;
390 if (match.key->n_proto == htons(ETH_P_IP) ||
391 match.key->n_proto == htons(ETH_P_IPV6)) {
392 flow->l4_key.ip_proto = match.key->ip_proto;
393 flow->l4_mask.ip_proto = match.mask->ip_proto;
398 struct flow_match_eth_addrs match; local
409 struct flow_match_vlan match; local
424 struct flow_match_ipv4_addrs match; local
433 struct flow_match_ipv6_addrs match; local
444 struct flow_match_ports match; local
455 struct flow_match_icmp match; local
466 struct flow_match_ipv4_addrs match; local
480 struct flow_match_enc_keyid match; local
489 struct flow_match_ports match; local
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c100 /* Only 1 match per entry */
463 struct flow_dissector *dissector = rule->match.dissector;
464 struct flow_match_basic match; local
470 flow_rule_match_basic(rule, &match);
472 entry->ip_proto = match.key->ip_proto;
481 struct flow_dissector *dissector = rule->match.dissector;
483 struct flow_match_ipv4_addrs match; local
491 flow_rule_match_ipv4_addrs(rule, &match);
492 hw_match = ntohl(match.key->src) & ntohl(match
518 struct flow_match_ports match; local
668 struct flow_match_vlan match; local
739 struct flow_match_basic match; local
[all...]
/linux-master/lib/zstd/compress/
H A Dzstd_lazy.c81 const BYTE* match; local
112 match = mBase + matchIndex;
113 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend);
115 match = dictBase + matchIndex;
116 matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart);
118 match = base + matchIndex; /* preparation for next read of match[matchLength] */
128 if (match[matchLength] < ip[matchLength]) { /* necessarily within buffer */
129 /* match is smaller than current */
135 smallerPtr = nextPtr+1; /* new "candidate" => larger than match, whic
191 const BYTE* match = dictBase + dictMatchIndex; local
315 const BYTE* match; local
544 const BYTE* match; local
586 const BYTE* match; local
692 const BYTE* const match = base + matchIndex; local
697 const BYTE* const match = dictBase + matchIndex; local
733 const BYTE* const match = dmsBase + matchIndex; local
1225 const BYTE* const match = base + matchIndex; local
1230 const BYTE* const match = dictBase + matchIndex; local
1279 { const BYTE* const match = dmsBase + matchIndex; local
1664 const BYTE* match = (matchIndex < prefixLowestIndex) ? dictBase + matchIndex - dictIndexDelta : base + matchIndex; local
2006 const BYTE* match = (matchIndex < dictLimit) ? dictBase + matchIndex : base + matchIndex; local
[all...]

Completed in 366 milliseconds

1234567891011>>