/linux-master/drivers/tc/ |
H A D | tc-driver.c | 53 * @tdev: the TC device structure to match against 57 * tc_device_id structure or %NULL if there is no match. 78 * @dev: the device structure to match against 83 * is a match or 0 otherwise. 100 .match = tc_bus_match,
|
/linux-master/drivers/misc/ |
H A D | atmel-ssc.c | 136 const struct of_device_id *match; local 137 match = of_match_node(atmel_ssc_dt_ids, pdev->dev.of_node); 138 if (match == NULL) 140 return match->data;
|
/linux-master/sound/usb/ |
H A D | implicit.c | 277 const struct snd_usb_implicit_fb_match *match, 280 for (; match->id; match++) 281 if (match->id == chip->usb_id && 282 (!match->iface_class || 283 (alts->desc.bInterfaceClass == match->iface_class))) 284 return match; 276 find_implicit_fb_entry(struct snd_usb_audio *chip, const struct snd_usb_implicit_fb_match *match, const struct usb_host_interface *alts) argument
|
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 34 /* Used to compare new/old filters. Return true if IPs match */ 468 /* Filter match */ 1707 struct flow_match_ports match; local 1709 flow_rule_match_ports(rule, &match); 1710 if ((match.key->src && match.mask->src != htons(U16_MAX)) || 1711 (match.key->dst && match.mask->dst != htons(U16_MAX))) { 1716 t->src_port = match.key->src; 1717 t->dst_port = match 1733 struct flow_match_ipv6_addrs match; local 1760 struct flow_match_ipv4_addrs match; local 1847 struct flow_match_basic match; local [all...] |
/linux-master/drivers/soc/renesas/ |
H A D | renesas-soc.c | 461 const struct of_device_id *match; local 471 match = of_match_node(renesas_socs, of_root); 472 if (!match) 475 soc_id = strchr(match->compatible, ',') + 1; 476 soc = match->data; 479 np = of_find_matching_node_and_match(NULL, renesas_ids, &match); 481 id = match->data;
|
/linux-master/drivers/mfd/ |
H A D | mfd-core.c | 57 const struct mfd_cell_acpi_match *match = cell->acpi_match; local 74 if (match) { 75 if (match->pnpid) { 82 strscpy(ids[0].id, match->pnpid, sizeof(ids[0].id)); 86 adev = acpi_find_child_device(parent, match->adr, false); 113 /* No of_reg defined - allocate first free compatible match */ 118 /* OF node does not contatin a 'reg' property to match to */ 122 /* No match */ 200 goto match; 210 match [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | ip_tables.c | 248 * normally, except that they will NEVER match rules that ask 251 * match it. */ 291 acpar.match = ematch->u.kernel.match; 293 if (!acpar.match->match(skb, &acpar)) 455 par.match = m->u.kernel.match; 458 if (par.match->destroy != NULL) 459 par.match 478 struct xt_match *match; local 1261 struct xt_match *match; local [all...] |
/linux-master/net/ipv6/netfilter/ |
H A D | ip6_tables.c | 97 /* We need match for the '-p all', too! */ 270 * normally, except that they will NEVER match rules that ask 273 * match it. */ 314 acpar.match = ematch->u.kernel.match; 316 if (!acpar.match->match(skb, &acpar)) 473 par.match = m->u.kernel.match; 476 if (par.match 495 struct xt_match *match; local 1277 struct xt_match *match; local [all...] |
/linux-master/lib/lz4/ |
H A D | lz4hc_compress.c | 118 /* HC4 match finder */ 126 const BYTE * const match = base + matchIndex; local 128 if (*(match + ml) == *(ip + ml) 129 && (LZ4_read32(match) == LZ4_read32(ip))) { 131 match + MINMATCH, iLimit) + MINMATCH; 135 *matchpos = match; 139 const BYTE * const match = dictBase + matchIndex; local 141 if (LZ4_read32(match) == LZ4_read32(ip)) { 149 match + MINMATCH, vLimit) + MINMATCH; 267 const BYTE * const match, 262 LZ4HC_encodeSequence( const BYTE **ip, BYTE **op, const BYTE **anchor, int matchLength, const BYTE * const match, limitedOutput_directive limitedOutputBuffer, BYTE *oend) argument [all...] |
/linux-master/drivers/regulator/ |
H A D | of_regulator.c | 382 * @matches: match table for the regulators 383 * @num_matches: number of entries in match table 385 * This function uses a match table specified by the regulator driver to 390 * or otherwise the child node's name. Note that the match table is modified 421 struct of_regulator_match *match = &matches[i]; local 422 match->init_data = NULL; 423 match->of_node = NULL; 432 struct of_regulator_match *match = &matches[i]; local 433 if (match->of_node) 436 if (strcmp(match [all...] |
H A D | mt6397-regulator.c | 37 #define MT6397_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ 43 .of_match = of_match_ptr(match), \ 65 #define MT6397_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ 70 .of_match = of_match_ptr(match), \ 85 #define MT6397_REG_FIXED(match, vreg, enreg, enbit, volt) \ 89 .of_match = of_match_ptr(match), \
|
H A D | mt6323-regulator.c | 39 #define MT6323_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ 44 .of_match = of_match_ptr(match), \ 63 #define MT6323_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ 68 .of_match = of_match_ptr(match), \ 85 #define MT6323_REG_FIXED(match, vreg, enreg, enbit, volt, \ 90 .of_match = of_match_ptr(match), \
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | net.c | 70 /* MCAST frames that don't match layer 2 filters are not sent to ME */ 109 * ARP request is forwarded to ME only if IP address match in the 151 * We are required to have a match on the IP level and we didn't 152 * have such match. 195 bool match; local 203 match = !filters->ipv4_filter.ipv4_addr || 220 return iwl_mei_rx_filter_tcp_udp(skb, match, 236 match && (icmp->type != ICMP_ECHO || icmp->code != 0)) { 249 match)) {
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_dcb.c | 93 bool match = false; local 99 match = true; 103 match = false; 107 if (match) 112 if (!match) {
|
/linux-master/drivers/usb/host/ |
H A D | fsl-mph-dr-of.c | 183 const struct of_device_id *match; local 191 match = of_match_device(fsl_usb2_mph_dr_of_match, &ofdev->dev); 192 if (!match) 196 if (match->data) 197 memcpy(pdata, match->data, sizeof(data));
|
/linux-master/drivers/cxl/ |
H A D | acpi.c | 535 static int add_host_bridge_dport(struct device *match, void *arg) argument 545 struct acpi_device *hb = to_cxl_host_bridge(host, match); 550 rc = cxl_get_chbs(match, hb, &ctx); 555 dev_warn(match, "No CHBS found for Host Bridge (UID %lld)\n", 561 dev_warn(match, "CHBS invalid for Host Bridge (UID %lld)\n", 575 dev_dbg(match, "RCRB found for UID %lld: %pa\n", ctx.uid, 587 ret = get_genport_coordinates(match, dport); 589 dev_dbg(match, "Failed to get generic port perf coordinates.\n"); 598 static int add_host_bridge_uport(struct device *match, void *arg) argument 602 struct acpi_device *hb = to_cxl_host_bridge(host, match); 655 add_root_nvdimm_bridge(struct device *match, void *data) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_capture.c | 422 const struct __guc_mmio_reg_descr_group *match; local 428 match = guc_capture_get_one_list(reglists, owner, type, classid); 429 if (!match) 432 for (i = 0; i < num_entries && i < match->num_regs; ++i) { 433 ptr[i].offset = match->list[i].reg.reg; 435 ptr[i].flags = match->list[i].flags; 436 ptr[i].mask = match->list[i].mask; 441 for (i = match->num_regs, j = 0; i < num_entries && 442 i < (match->num_regs + matchext->num_regs) && 459 const struct __guc_mmio_reg_descr_group *match; local 1368 const struct __guc_mmio_reg_descr_group *match; local [all...] |
/linux-master/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 362 struct amvdec_timestamp *match = NULL; local 375 * Delete any record that remained unused for 32 match 385 match = tmp; 388 if (!match) { 389 dev_err(dev, "Buffer %u done but can't match offset (%08X)\n", 392 timestamp = match->ts; 393 timecode = match->tc; 394 vbuf_flags = match->flags; 395 list_del(&match->list); 396 kfree(match); [all...] |
/linux-master/arch/riscv/kvm/ |
H A D | vcpu_insn.c | 138 unsigned long match; member in struct:insn_func 348 .match = INSN_MATCH_CSRRW, 353 .match = INSN_MATCH_CSRRS, 358 .match = INSN_MATCH_CSRRC, 363 .match = INSN_MATCH_CSRRWI, 368 .match = INSN_MATCH_CSRRSI, 373 .match = INSN_MATCH_CSRRCI, 378 .match = INSN_MATCH_WFI, 391 if ((insn & ifn->mask) == ifn->match) {
|
/linux-master/drivers/of/ |
H A D | base.c | 84 const char *match = __of_get_property(np, "device_type", NULL); local 86 return np && match && type && !strcmp(match, type); 293 * @compat: required compatible string, NULL or "" for any match 294 * @type: required device_type value, NULL or "" for any match 295 * @name: required node name, NULL or "" for any match 297 * Checks if the given @compat, @type and @name strings match the 301 * Returns 0 for no match, and a positive integer on match. The return 327 /* Compatible match ha 1027 const struct of_device_id *match; local 1050 of_find_matching_node_and_match(struct device_node *from, const struct of_device_id *matches, const struct of_device_id **match) argument 1404 int i, ret, map_len, match; local [all...] |
/linux-master/drivers/nfc/s3fwrn5/ |
H A D | firmware.c | 333 } match[] = { local 341 for (i = 0; i < ARRAY_SIZE(match); ++i) 342 if (bootinfo->hw_version[0] == match[i].version[0] && 343 bootinfo->hw_version[1] == match[i].version[1] && 344 bootinfo->hw_version[3] == match[i].version[3]) { 345 *base_addr = match[i].base_addr;
|
/linux-master/lib/zstd/compress/ |
H A D | zstd_opt.c | 292 * Provides the cost of the match part (offset + matchLength) of a sequence 316 /* match Length */ 354 /* match Length */ 431 const BYTE* match; local 469 smallerPtr = nextPtr+1; /* new "smaller" => larger of match */ 486 match = base + matchIndex; 487 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); 489 match = dictBase + matchIndex; 490 matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); 492 match 662 const BYTE* const match = base + matchIndex3; local 665 const BYTE* const match = dictBase + matchIndex3; local 691 const BYTE* match; local 750 const BYTE* match = dmsBase + dictMatchIndex; local [all...] |
/linux-master/drivers/gpu/drm/mcde/ |
H A D | mcde_drv.c | 272 struct component_match *match = NULL; local 389 /* Create something that will match the subdrivers when we bind */ 396 component_match_add(dev, &match, component_compare_dev, d); 401 if (!match) { 406 if (IS_ERR(match)) { 407 dev_err(dev, "could not create component match\n"); 408 ret = PTR_ERR(match); 427 match);
|
/linux-master/kernel/ |
H A D | seccomp.c | 400 * @match: stores struct seccomp_filter that resulted in the return value, 407 struct seccomp_filter **match) 430 *match = f; 1099 static bool should_sleep_killable(struct seccomp_filter *match, argument 1102 return match->wait_killable_recv && n->state == SECCOMP_NOTIFY_SENT; 1106 struct seccomp_filter *match, 1115 mutex_lock(&match->notify_lock); 1117 if (!match->notif) 1123 n.id = seccomp_next_notify_id(match); 1125 list_add_tail(&n.list, &match 406 seccomp_run_filters(const struct seccomp_data *sd, struct seccomp_filter **match) argument 1105 seccomp_do_user_notification(int this_syscall, struct seccomp_filter *match, const struct seccomp_data *sd) argument 1207 struct seccomp_filter *match = NULL; local [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | align.c | 10 const char *match; member in struct:bpf_reg_match 641 if (!m.match) 653 printf("Failed to find line %u for match: %s=%s\n", 654 m.line, m.reg, m.match); 671 while (!(p = strstr(line_ptr, m.reg)) || !strstr(p, m.match)) { 678 if (cur_line != m.line || !line_ptr || !(p = strstr(line_ptr, m.reg)) || !strstr(p, m.match)) { 679 printf("Failed to find match %u: %s=%s\n", m.line, m.reg, m.match);
|