/linux-4.4.14/drivers/regulator/ |
D | devres.c | 262 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 …]
|
D | of_regulator.c | 252 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local 253 match->init_data = NULL; in of_regulator_match() 254 match->of_node = NULL; in of_regulator_match() 263 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local 264 if (match->of_node) in of_regulator_match() 267 if (strcmp(match->name, name)) in of_regulator_match() 270 match->init_data = in of_regulator_match() 272 match->desc); in of_regulator_match() 273 if (!match->init_data) { in of_regulator_match() 279 match->of_node = of_node_get(child); in of_regulator_match()
|
D | as3711-regulator.c | 191 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()
|
D | mt6397-regulator.c | 43 #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), \
|
D | pbias-regulator.c | 152 const struct of_device_id *match; in pbias_regulator_probe() local 170 match = of_match_device(of_match_ptr(pbias_of_match), &pdev->dev); in pbias_regulator_probe() 171 if (match && match->data) { in pbias_regulator_probe() 172 data = match->data; in pbias_regulator_probe()
|
D | tps65218-regulator.c | 224 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()
|
D | 88pm800.c | 94 #define PM800_BUCK(match, vreg, ereg, ebit, amax, volt_ranges, n_volt) \ argument 98 .of_match = of_match_ptr(#match), \ 124 #define PM800_LDO(match, vreg, ereg, ebit, amax, ldo_volt_table) \ argument 128 .of_match = of_match_ptr(#match), \
|
D | fan53555.c | 368 const struct of_device_id *match; in fan53555_regulator_probe() local 370 match = of_match_device(of_match_ptr(fan53555_dt_ids), in fan53555_regulator_probe() 372 if (!match) in fan53555_regulator_probe() 375 di->vendor = (unsigned long) match->data; in fan53555_regulator_probe()
|
/linux-4.4.14/drivers/base/ |
D | component.c | 37 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 …]
|
D | devres.c | 164 dr_match_t match, void *match_data, in devres_for_each_res() argument 182 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res() 228 dr_match_t match, void *match_data) in find_dr() argument 237 if (match && !match(dev, dr->data, match_data)) in find_dr() 260 dr_match_t match, void *match_data) in devres_find() argument 266 dr = find_dr(dev, release, match, match_data); in devres_find() 290 dr_match_t match, void *match_data) in devres_get() argument 297 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get() 326 dr_match_t match, void *match_data) in devres_remove() argument 332 dr = find_dr(dev, release, match, match_data); in devres_remove() [all …]
|
D | platform.c | 1076 .match = platform_match, 1279 struct platform_device *match; in early_platform_driver_probe_id() local 1314 match = NULL; in early_platform_driver_probe_id() 1317 match = early_platform_match(epdrv, match_id); in early_platform_driver_probe_id() 1320 if (match) { in early_platform_driver_probe_id() 1326 if (!match->dev.init_name && slab_is_available()) { in early_platform_driver_probe_id() 1327 if (match->id != -1) in early_platform_driver_probe_id() 1328 match->dev.init_name = in early_platform_driver_probe_id() 1330 match->name, in early_platform_driver_probe_id() 1331 match->id); in early_platform_driver_probe_id() [all …]
|
D | isa.c | 30 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,
|
D | attribute_container.c | 156 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()
|
D | dma-mapping.c | 42 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()
|
D | base.h | 117 return drv->bus->match ? drv->bus->match(dev, drv) : 1; in driver_match_device()
|
/linux-4.4.14/arch/x86/mm/ |
D | pat_rbtree.c | 104 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.4.14/net/openvswitch/ |
D | flow_netlink.c | 62 static void update_range(struct sw_flow_match *match, in update_range() argument 70 range = &match->range; in update_range() 72 range = &match->mask->range; in update_range() 87 #define SW_FLOW_KEY_PUT(match, field, value, is_mask) \ argument 89 update_range(match, offsetof(struct sw_flow_key, field), \ 90 sizeof((match)->key->field), is_mask); \ 92 (match)->mask->key.field = value; \ 94 (match)->key->field = value; \ 97 #define SW_FLOW_KEY_MEMCPY_OFFSET(match, offset, value_p, len, is_mask) \ argument 99 update_range(match, offset, len, is_mask); \ [all …]
|
D | flow_table.c | 461 const struct sw_flow_match *match) in ovs_flow_cmp_unmasked_key() argument 463 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key() 465 int key_end = match->range.end; in ovs_flow_cmp_unmasked_key() 518 const struct sw_flow_match *match) in ovs_flow_tbl_lookup_exact() argument 526 flow = masked_flow_lookup(ti, match->key, mask); in ovs_flow_tbl_lookup_exact() 528 ovs_flow_cmp_unmasked_key(flow, match)) in ovs_flow_tbl_lookup_exact() 548 bool ovs_flow_cmp(const struct sw_flow *flow, const struct sw_flow_match *match) in ovs_flow_cmp() argument 551 return flow_cmp_masked_key(flow, match->key, &match->range); in ovs_flow_cmp() 553 return ovs_flow_cmp_unmasked_key(flow, match); in ovs_flow_cmp()
|
/linux-4.4.14/net/netfilter/ |
D | xt_ipvs.c | 57 bool match = true; in ipvs_mt() local 60 match = skb->ipvs_property ^ in ipvs_mt() 67 match = false; in ipvs_mt() 76 match = false; in ipvs_mt() 82 match = false; in ipvs_mt() 91 match = false; in ipvs_mt() 103 match = false; in ipvs_mt() 111 match = false; in ipvs_mt() 120 match = false; in ipvs_mt() 126 match = false; in ipvs_mt() [all …]
|
D | x_tables.c | 50 struct list_head match; member 121 int xt_register_match(struct xt_match *match) in xt_register_match() argument 123 u_int8_t af = match->family; in xt_register_match() 126 list_add(&match->list, &xt[af].match); in xt_register_match() 133 xt_unregister_match(struct xt_match *match) in xt_unregister_match() argument 135 u_int8_t af = match->family; in xt_unregister_match() 138 list_del(&match->list); in xt_unregister_match() 144 xt_register_matches(struct xt_match *match, unsigned int n) in xt_register_matches() argument 150 err = xt_register_match(&match[i]); in xt_register_matches() 158 xt_unregister_matches(match, i); in xt_register_matches() [all …]
|
D | nft_compat.c | 312 struct xt_match *match = expr->ops->data; in nft_match_eval() local 316 nft_compat_set_par((struct xt_action_param *)&pkt->xt, match, info); in nft_match_eval() 318 ret = match->match(skb, (struct xt_action_param *)&pkt->xt); in nft_match_eval() 344 struct xt_match *match, void *info, in nft_match_set_mtchk_param() argument 369 par->match = match; in nft_match_set_mtchk_param() 399 struct xt_match *match = expr->ops->data; in nft_match_init() local 407 ret = nft_compat_chain_validate_dependency(match->table, ctx->chain); in nft_match_init() 411 match_compat_from_user(match, nla_data(tb[NFTA_MATCH_INFO]), info); in nft_match_init() 419 nft_match_set_mtchk_param(&par, ctx, match, info, &e, proto, inv); in nft_match_init() 427 module_put(match->me); in nft_match_init() [all …]
|
D | xt_owner.c | 26 if ((info->match & (XT_OWNER_UID|XT_OWNER_GID)) && in owner_check() 40 return (info->match ^ info->invert) == 0; in owner_mt() 41 else if (info->match & info->invert & XT_OWNER_SOCKET) in owner_mt() 50 return ((info->match ^ info->invert) & in owner_mt() 53 if (info->match & XT_OWNER_UID) { in owner_mt() 62 if (info->match & XT_OWNER_GID) { in owner_mt() 79 .match = owner_mt,
|
D | Kconfig | 53 filtering (see `Connection state match support' below). 67 `CONNMARK' target and `connmark' match. Similar to the mark value 142 to connection tracking entries. It selected by the connlabel match. 468 This option adds the "exthdr" expression that you can use to match 474 This option adds the "meta" expression that you can use to match and 481 This option adds the "meta" expression that you can use to match 563 x_tables match/target extensions over the nf_tables 580 tristate 'nfmark target and match support' 583 This option adds the "MARK" target and "mark" match. 585 Netfilter mark matching allows you to match packets based on the [all …]
|
D | xt_tcpudp.c | 171 .match = tcp_mt, 180 .match = tcp_mt, 189 .match = udp_mt, 198 .match = udp_mt, 207 .match = udp_mt, 216 .match = udp_mt,
|
D | xt_dscp.c | 74 .match = dscp_mt, 82 .match = dscp_mt6, 90 .match = tos_mt, 98 .match = tos_mt,
|
D | xt_policy.c | 41 #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,
|
D | xt_socket.c | 461 .match = socket_mt4_v0, 470 .match = socket_mt4_v1_v2_v3, 482 .match = socket_mt6_v1_v2_v3, 494 .match = socket_mt4_v1_v2_v3, 506 .match = socket_mt6_v1_v2_v3, 518 .match = socket_mt4_v1_v2_v3, 530 .match = socket_mt6_v1_v2_v3,
|
D | xt_length.c | 46 .match = length_mt, 53 .match = length_mt6,
|
D | xt_hl.c | 71 .match = ttl_mt, 79 .match = hl_mt6,
|
D | xt_ipcomp.c | 83 .match = comp_mt, 92 .match = comp_mt,
|
D | xt_esp.c | 80 .match = esp_mt, 89 .match = esp_mt,
|
D | xt_tcpmss.c | 84 .match = tcpmss_mt, 92 .match = tcpmss_mt,
|
D | xt_set.c | 559 .match = set_match_v0, 569 .match = set_match_v1, 579 .match = set_match_v1, 590 .match = set_match_v1, 600 .match = set_match_v1, 611 .match = set_match_v3, 621 .match = set_match_v3, 632 .match = set_match_v4, 642 .match = set_match_v4,
|
D | xt_conntrack.c | 222 if (par->match->revision != 3) { in conntrack_mt() 294 .match = conntrack_mt_v1, 304 .match = conntrack_mt_v2, 314 .match = conntrack_mt_v3,
|
/linux-4.4.14/arch/x86/kvm/ |
D | assigned-dev.c | 55 struct kvm_assigned_dev_kernel *match; in kvm_find_assigned_dev() local 58 match = list_entry(ptr, struct kvm_assigned_dev_kernel, list); in kvm_find_assigned_dev() 59 if (match->assigned_dev_id == assigned_dev_id) in kvm_find_assigned_dev() 60 return match; in kvm_find_assigned_dev() 584 struct kvm_assigned_dev_kernel *match; in kvm_vm_ioctl_assign_irq() local 592 match = kvm_find_assigned_dev(&kvm->arch.assigned_dev_head, in kvm_vm_ioctl_assign_irq() 594 if (!match) in kvm_vm_ioctl_assign_irq() 611 r = assign_host_irq(kvm, match, host_irq_type); in kvm_vm_ioctl_assign_irq() 616 r = assign_guest_irq(kvm, match, assigned_irq, guest_irq_type); in kvm_vm_ioctl_assign_irq() 627 struct kvm_assigned_dev_kernel *match; in kvm_vm_ioctl_deassign_dev_irq() local [all …]
|
/linux-4.4.14/arch/sh/mm/ |
D | tlbflush_64.c | 33 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.4.14/tools/perf/util/intel-pt-decoder/ |
D | gen-insn-attr-x86.awk | 241 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 …]
|
/linux-4.4.14/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 241 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 …]
|
D | distill.awk | 29 if (match(prev_mnemonic, bad_expr)) 32 if (match(prev_hex, fwait_expr) && prev_mnemonic != "fwait") {
|
/linux-4.4.14/drivers/mmc/core/ |
D | pwrseq.c | 37 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.4.14/drivers/media/v4l2-core/ |
D | v4l2-async.c | 30 asd->match.i2c.adapter_id == client->adapter->nr && in match_i2c() 31 asd->match.i2c.address == client->addr; in match_i2c() 40 return !strcmp(asd->match.device_name.name, dev_name(sd->dev)); in match_devname() 45 return sd->of_node == asd->match.of.node; in match_of() 50 if (!asd->match.custom.match) in match_custom() 54 return asd->match.custom.match(sd->dev, asd); in match_custom() 64 bool (*match)(struct v4l2_subdev *, struct v4l2_async_subdev *); in v4l2_async_belongs() local 71 match = match_custom; in v4l2_async_belongs() 74 match = match_devname; in v4l2_async_belongs() 77 match = match_i2c; in v4l2_async_belongs() [all …]
|
/linux-4.4.14/drivers/tty/serial/ |
D | earlycon.c | 109 static int __init register_earlycon(char *buf, const struct earlycon_id *match) in register_earlycon() argument 124 err = match->setup(&early_console_dev, buf); in register_earlycon() 154 const struct earlycon_id *match; in setup_earlycon() local 162 for (match = __earlycon_table; match->name[0]; match++) { in setup_earlycon() 163 size_t len = strlen(match->name); in setup_earlycon() 165 if (strncmp(buf, match->name, len)) in setup_earlycon() 175 return register_earlycon(buf, match); in setup_earlycon()
|
D | of_serial.c | 175 const struct of_device_id *match; in of_platform_serial_probe() local 181 match = of_match_device(of_platform_serial_table, &ofdev->dev); in of_platform_serial_probe() 182 if (!match) in of_platform_serial_probe() 192 port_type = (unsigned long)match->data; in of_platform_serial_probe()
|
/linux-4.4.14/lib/zlib_deflate/ |
D | deflate.c | 80 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.4.14/drivers/media/rc/ |
D | winbond-cir.c | 698 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 …]
|
D | ir-rx51.c | 57 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.4.14/lib/ |
D | glob.c | 71 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.4.14/drivers/media/pci/cx23885/ |
D | cx23885-ioctl.c | 29 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.4.14/scripts/ |
D | analyze_suspend.py | 123 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 …]
|
D | checkkconfigsymbols.py | 83 if opts.diff and not re.match(r"^[\w\-\.]+\.\.[\w\-\.]+$", opts.diff): 101 re.match(opts.ignore, "this/is/just/a/test.c") 231 if REGEX_FILE_KCONFIG.match(gitfile): 238 if ignore and re.match(ignore, sfile): 244 if ignore and re.match(ignore, kfile): 301 if REGEX_KCONFIG_DEF.match(line): 305 elif REGEX_KCONFIG_HELP.match(line): 310 elif REGEX_KCONFIG_STMT.match(line): 319 if REGEX_NUMERIC.match(feature):
|
/linux-4.4.14/drivers/firmware/efi/ |
D | vars.c | 45 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.4.14/drivers/gpu/drm/ |
D | drm_of.c | 84 struct component_match *match = NULL; in drm_of_component_probe() local 104 component_match_add(dev, &match, compare_of, port); in drm_of_component_probe() 113 if (!match) { in drm_of_component_probe() 143 component_match_add(dev, &match, compare_of, remote); in drm_of_component_probe() 149 return component_master_add_with_match(dev, m_ops, match); in drm_of_component_probe()
|
/linux-4.4.14/drivers/base/power/ |
D | trace.c | 172 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.4.14/kernel/trace/ |
D | trace_events_filter.c | 152 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.4.14/drivers/usb/chipidea/ |
D | ci_hdrc_usb2.c | 51 const struct of_device_id *match; in ci_hdrc_usb2_probe() local 58 match = of_match_device(ci_hdrc_usb2_of_match, &pdev->dev); in ci_hdrc_usb2_probe() 59 if (match && match->data) { in ci_hdrc_usb2_probe() 61 *ci_pdata = *(struct ci_hdrc_platform_data *)match->data; in ci_hdrc_usb2_probe()
|
/linux-4.4.14/drivers/soc/sunxi/ |
D | sunxi_sram.c | 91 const struct of_device_id *match; in sunxi_sram_show() local 106 match = of_match_node(sunxi_sram_dt_ids, section_node); in sunxi_sram_show() 107 if (!match) in sunxi_sram_show() 109 sram_data = match->data; in sunxi_sram_show() 154 const struct of_device_id *match; in sunxi_sram_of_parse() local 171 match = of_match_node(sunxi_sram_dt_ids, args.np); in sunxi_sram_of_parse() 172 if (!match) { in sunxi_sram_of_parse() 178 return match->data; in sunxi_sram_of_parse()
|
/linux-4.4.14/drivers/dma/ |
D | ti-dma-crossbar.c | 126 const struct of_device_id *match; in ti_am335x_xbar_probe() local 146 match = of_match_node(ti_am335x_master_match, dma_node); in ti_am335x_xbar_probe() 147 if (!match) { in ti_am335x_xbar_probe() 287 const struct of_device_id *match; in ti_dra7_xbar_probe() local 310 match = of_match_node(ti_dra7_master_match, dma_node); in ti_dra7_xbar_probe() 311 if (!match) { in ti_dra7_xbar_probe() 344 xbar->dma_offset = (u32)match->data; in ti_dra7_xbar_probe() 365 const struct of_device_id *match; in ti_dma_xbar_probe() local 368 match = of_match_node(ti_dma_xbar_match, pdev->dev.of_node); in ti_dma_xbar_probe() 369 if (unlikely(!match)) in ti_dma_xbar_probe() [all …]
|
/linux-4.4.14/drivers/clocksource/ |
D | clksrc-probe.c | 30 const struct of_device_id *match; in clocksource_probe() local 34 for_each_matching_node_and_match(np, __clksrc_of_table, &match) { in clocksource_probe() 38 init_func = match->data; in clocksource_probe()
|
/linux-4.4.14/drivers/clk/st/ |
D | clkgen-mux.c | 388 const struct of_device_id *match; in st_of_clkgena_divmux_setup() local 395 match = of_match_node(clkgena_divmux_of_match, np); in st_of_clkgena_divmux_setup() 396 if (WARN_ON(!match)) in st_of_clkgena_divmux_setup() 399 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 = match->data; in st_of_clkgena_prediv_setup() 632 const struct of_device_id *match; in st_of_clkgen_mux_setup() local 639 match = of_match_node(mux_of_match, np); in st_of_clkgen_mux_setup() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | led.c | 170 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.4.14/net/wireless/ |
D | wext-spy.c | 198 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.4.14/drivers/of/ |
D | irq.c | 104 int imaplen, match, i; in of_irq_parse_raw() local 198 match = 0; in of_irq_parse_raw() 199 while (imaplen > (addrsize + intsize + 1) && !match) { in of_irq_parse_raw() 201 match = 1; in of_irq_parse_raw() 203 match &= !((match_array[i] ^ *imap++) & imask[i]); in of_irq_parse_raw() 205 pr_debug(" -> match=%d (imaplen=%d)\n", match, imaplen); in of_irq_parse_raw() 222 match = 0; in of_irq_parse_raw() 250 if (!match) in of_irq_parse_raw() 529 const struct of_device_id *match; in of_irq_init() local 537 match = of_match_node(matches, desc->dev); in of_irq_init() [all …]
|
D | device.c | 169 const struct of_device_id *match; in of_device_get_match_data() local 171 match = of_match_device(dev->driver->of_match_table, dev); in of_device_get_match_data() 172 if (!match) in of_device_get_match_data() 175 return match->data; in of_device_get_match_data()
|
/linux-4.4.14/drivers/clk/ |
D | clk-scpi.c | 150 scpi_clk_ops_init(struct device *dev, const struct of_device_id *match, in scpi_clk_ops_init() argument 160 init.ops = match->data; in scpi_clk_ops_init() 203 const struct of_device_id *match) in scpi_clk_add() argument 252 clks[idx] = scpi_clk_ops_init(dev, match, sclk, name); in scpi_clk_add() 283 const struct of_device_id *match; in scpi_clocks_probe() local 289 match = of_match_node(scpi_clk_match, child); in scpi_clocks_probe() 290 if (!match) in scpi_clocks_probe() 292 ret = scpi_clk_add(dev, child, match); in scpi_clocks_probe()
|
D | clkdev.c | 138 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()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | Kconfig | 81 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 …]
|
D | ebtables.c | 103 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() 365 struct xt_match *match; in ebt_check_match() local 373 match = xt_request_find_match(NFPROTO_BRIDGE, m->u.name, 0); in ebt_check_match() 374 if (IS_ERR(match)) in ebt_check_match() 375 return PTR_ERR(match); in ebt_check_match() 376 m->u.match = match; in ebt_check_match() 378 par->match = match; in ebt_check_match() 383 module_put(match->me); in ebt_check_match() 598 par.match = m->u.match; in ebt_cleanup_match() [all …]
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | cm_common.c | 316 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()
|
D | prm_common.c | 750 const struct of_device_id *match; in omap2_prm_base_init() local 754 for_each_matching_node_and_match(np, omap_prcm_dt_match_table, &match) { in omap2_prm_base_init() 755 data = (struct omap_prcm_init_data *)match->data; in omap2_prm_base_init() 795 const struct of_device_id *match; in omap_prcm_init() local 799 for_each_matching_node_and_match(np, omap_prcm_dt_match_table, &match) { in omap_prcm_init() 800 data = match->data; in omap_prcm_init()
|
D | control.c | 673 const struct of_device_id *match; in omap2_control_base_init() local 676 for_each_matching_node_and_match(np, omap_scrm_dt_match_table, &match) { in omap2_control_base_init() 677 data = (struct control_init_data *)match->data; in omap2_control_base_init() 698 const struct of_device_id *match; in omap_control_init() local 703 for_each_matching_node_and_match(np, omap_scrm_dt_match_table, &match) { in omap_control_init() 704 data = match->data; in omap_control_init()
|
/linux-4.4.14/drivers/power/reset/ |
D | st-poweroff.c | 120 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()
|
D | vexpress-poweroff.c | 114 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()
|
D | at91-reset.c | 185 const struct of_device_id *match; in at91_reset_probe() local 207 match = of_match_node(at91_reset_of_match, pdev->dev.of_node); in at91_reset_probe() 208 at91_restart_nb.notifier_call = match->data; in at91_reset_probe()
|
D | qnap-poweroff.c | 84 const struct of_device_id *match = in qnap_power_off_probe() local 86 cfg = match->data; in qnap_power_off_probe()
|
/linux-4.4.14/include/linux/netfilter/ |
D | x_tables.h | 31 const struct xt_match *match; member 63 const struct xt_match *match; member 76 const struct xt_match *match; member 120 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); 433 compat_uptr_t match; member 487 int xt_compat_match_offset(const struct xt_match *match);
|
/linux-4.4.14/fs/lockd/ |
D | svcsubs.c | 163 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()
|
D | svcshare.c | 93 nlm_host_match_fn_t match) in nlmsvc_traverse_shares() argument 99 if (match(share->s_host, host)) { in nlmsvc_traverse_shares()
|
/linux-4.4.14/drivers/reset/sti/ |
D | reset-syscfg.c | 176 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.4.14/net/sched/ |
D | em_canid.c | 101 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.4.14/drivers/mfd/ |
D | sun6i-prcm.c | 139 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()
|
D | tps65217.c | 171 const struct of_device_id *match; in tps65217_probe() local 176 match = of_match_device(tps65217_of_match, &client->dev); in tps65217_probe() 177 if (!match) { in tps65217_probe() 182 chip_id = (unsigned long)match->data; in tps65217_probe()
|
D | mfd-core.c | 85 const struct mfd_cell_acpi_match *match = cell->acpi_match; in mfd_acpi_add_device() local 103 if (match) { in mfd_acpi_add_device() 104 if (match->pnpid) { in mfd_acpi_add_device() 107 strlcpy(ids[0].id, match->pnpid, sizeof(ids[0].id)); in mfd_acpi_add_device() 122 if (ACPI_SUCCESS(status) && match->adr == adr) { in mfd_acpi_add_device()
|
D | tps65218.c | 220 const struct of_device_id *match; in tps65218_probe() local 223 match = of_match_device(of_tps65218_match_table, &client->dev); in tps65218_probe() 224 if (!match) { in tps65218_probe()
|
D | max77686.c | 212 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()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | ccwdev.h | 44 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.4.14/drivers/memory/ |
D | atmel-sdramc.c | 55 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()
|
D | fsl-corenet-cf.c | 180 const struct of_device_id *match; in ccf_probe() local 184 match = of_match_device(ccf_matches, &pdev->dev); in ccf_probe() 185 if (WARN_ON(!match)) in ccf_probe() 205 ccf->info = match->data; in ccf_probe()
|
/linux-4.4.14/drivers/hwmon/ |
D | lm70.c | 159 const struct of_device_id *match; in lm70_probe() local 164 match = of_match_device(lm70_of_ids, &spi->dev); in lm70_probe() 165 if (match) in lm70_probe() 166 chip = (int)(uintptr_t)match->data; in lm70_probe()
|
D | vexpress.c | 222 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.4.14/include/linux/netfilter_bridge/ |
D | ebtables.h | 26 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.4.14/drivers/gpu/drm/vc4/ |
D | vc4_drv.c | 130 struct component_match **match, in vc4_match_add_drivers() argument 141 (void *)platform_bus_type.match))) { in vc4_match_add_drivers() 143 component_match_add(dev, match, compare_dev, d); in vc4_match_add_drivers() 235 struct component_match *match = NULL; in vc4_platform_drm_probe() local 238 vc4_match_add_drivers(dev, &match, in vc4_platform_drm_probe() 241 return component_master_add_with_match(dev, &vc4_drm_ops, match); in vc4_platform_drm_probe()
|
/linux-4.4.14/arch/alpha/lib/ |
D | ev67-strrchr.S | 39 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
|
D | strrchr.S | 22 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
|
D | ev67-strchr.S | 55 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.4.14/sound/hda/ |
D | hda_bus_type.c | 60 if (hdrv->match) in hda_bus_match() 61 return hdrv->match(hdev, hdrv); in hda_bus_match() 80 .match = hda_bus_match,
|
D | hdac_i915.c | 208 struct component_match *match = NULL; in snd_hdac_i915_init() local 219 component_match_add(dev, &match, hdac_component_master_match, bus); in snd_hdac_i915_init() 221 match); in snd_hdac_i915_init()
|
/linux-4.4.14/drivers/bcma/ |
D | scan.c | 275 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.4.14/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_scan.l | 518 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.4.14/drivers/net/can/mscan/ |
D | mpc5xxx_can.c | 288 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.4.14/drivers/nvmem/ |
D | mxs-ocotp.c | 180 const struct of_device_id *match; in mxs_ocotp_probe() local 185 match = of_match_device(dev->driver->of_match_table, dev); in mxs_ocotp_probe() 186 if (!match || !match->data) in mxs_ocotp_probe() 208 access = match->data; in mxs_ocotp_probe()
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-pca-isa.c | 120 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.4.14/arch/mips/sgi-ip22/ |
D | ip22-gio.c | 49 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.4.14/fs/ocfs2/ |
D | stack_o2cb.c | 43 # 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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
D | gf119.c | 27 gf119_gpio_reset(struct nvkm_gpio *gpio, u8 match) in gf119_gpio_reset() argument 44 (match != DCB_GPIO_UNUSED && match != func)) in gf119_gpio_reset()
|
D | nv50.c | 27 nv50_gpio_reset(struct nvkm_gpio *gpio, u8 match) in nv50_gpio_reset() argument 48 (match != DCB_GPIO_UNUSED && match != func)) in nv50_gpio_reset()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | Kconfig | 140 tristate '"ah" match support' 143 This module allows one to match AH packets. 158 tristate '"frag" Fragmentation header match support' 161 frag matching allows you to match packets based on the fragmentation 167 tristate '"hbh" hop-by-hop and "dst" opts header match support' 170 This allows one to match packets based on the hop-by-hop 176 tristate '"hl" hoplimit match support' 188 This module allows one to match packets based upon 194 tristate '"mh" match support' 197 This module allows one to match MH packets. [all …]
|
D | ip6_tables.c | 390 acpar.match = ematch->u.kernel.match; in ip6t_do_table() 392 if (!acpar.match->match(skb, &acpar)) in ip6t_do_table() 594 par.match = m->u.kernel.match; in cleanup_match() 597 if (par.match->destroy != NULL) in cleanup_match() 598 par.match->destroy(&par); in cleanup_match() 599 module_put(par.match->me); in cleanup_match() 607 par->match = m->u.kernel.match; in check_match() 614 par.match->name); in check_match() 623 struct xt_match *match; in find_check_match() local 626 match = xt_request_find_match(NFPROTO_IPV6, m->u.user.name, in find_check_match() [all …]
|
D | ip6t_hbh.c | 64 (par->match == &hbh_mt6_reg[0]) ? in hbh_mt6() 189 .match = hbh_mt6, 197 .match = hbh_mt6,
|
/linux-4.4.14/drivers/phy/ |
D | phy-stih41x-usb.c | 127 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()
|
D | phy-exynos-dp-video.c | 81 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()
|
D | phy-samsung-usb2.c | 145 const struct of_device_id *match; in samsung_usb2_phy_probe() local 158 match = of_match_node(samsung_usb2_phy_of_match, pdev->dev.of_node); in samsung_usb2_phy_probe() 159 if (!match) { in samsung_usb2_phy_probe() 163 cfg = match->data; in samsung_usb2_phy_probe()
|
/linux-4.4.14/include/linux/iio/common/ |
D | st_sensors_i2c.h | 23 const struct of_device_id *match); 26 const struct of_device_id *match) in st_sensors_of_i2c_probe() argument
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | ip_tables.c | 367 acpar.match = ematch->u.kernel.match; in ipt_do_table() 369 if (!acpar.match->match(skb, &acpar)) in ipt_do_table() 582 par.match = m->u.kernel.match; in cleanup_match() 585 if (par.match->destroy != NULL) in cleanup_match() 586 par.match->destroy(&par); in cleanup_match() 587 module_put(par.match->me); in cleanup_match() 596 par->match = m->u.kernel.match; in check_match() 602 duprintf("check failed for `%s'.\n", par->match->name); in check_match() 611 struct xt_match *match; in find_check_match() local 614 match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, in find_check_match() [all …]
|
/linux-4.4.14/kernel/irq/ |
D | devres.c | 23 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.4.14/drivers/soc/qcom/ |
D | qcom_gsbi.c | 137 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.4.14/drivers/mmc/host/ |
D | sdhci-of-at91.c | 56 const struct of_device_id *match; in sdhci_at91_probe() local 66 match = of_match_device(sdhci_at91_dt_match, &pdev->dev); in sdhci_at91_probe() 67 if (!match) in sdhci_at91_probe() 69 soc_data = match->data; in sdhci_at91_probe()
|
D | dw_mmc-pltfm.c | 108 const struct of_device_id *match; in dw_mci_pltfm_probe() local 111 match = of_match_node(dw_mci_pltfm_match, pdev->dev.of_node); in dw_mci_pltfm_probe() 112 drv_data = match->data; in dw_mci_pltfm_probe()
|
D | sdhci-iproc.c | 178 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()
|
D | dw_mmc-k3.c | 144 const struct of_device_id *match; in dw_mci_k3_probe() local 146 match = of_match_node(dw_mci_k3_match, pdev->dev.of_node); in dw_mci_k3_probe() 147 drv_data = match->data; in dw_mci_k3_probe()
|
D | sdhci-tegra.c | 250 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()
|
D | sdhci-pxav2.c | 170 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.4.14/drivers/misc/ |
D | atmel_tclib.c | 139 const struct of_device_id *match; in tc_probe() local 140 match = of_match_node(atmel_tcb_dt_ids, pdev->dev.of_node); in tc_probe() 141 if (match) in tc_probe() 142 tc->tcb_config = match->data; in tc_probe()
|
D | atmel-ssc.c | 136 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.4.14/drivers/irqchip/ |
D | irq-st.c | 159 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()
|
D | irq-atmel-aic-common.c | 199 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()
|
D | irq-tegra.c | 300 const struct of_device_id *match; in tegra_ictlr_init() local 316 match = of_match_node(ictlr_matches, node); in tegra_ictlr_init() 317 if (!match) /* Should never happen... */ in tegra_ictlr_init() 320 soc = match->data; in tegra_ictlr_init()
|
/linux-4.4.14/arch/arm/mach-mvebu/ |
D | system-controller.c | 163 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()
|
D | coherency.c | 217 const struct of_device_id *match; in coherency_type() local 244 np = of_find_matching_node_and_match(NULL, of_coherency_table, &match); in coherency_type() 248 type = (int) match->data; in coherency_type()
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
D | armada_drv.c | 245 struct component_match **match, struct device_node *port) in armada_add_endpoints() argument 261 component_match_add(dev, match, compare_of, remote); in armada_add_endpoints() 273 struct component_match *match = NULL; in armada_drm_probe() local 288 component_match_add(dev, &match, compare_dev_name, in armada_drm_probe() 301 armada_add_endpoints(dev, &match, port); in armada_drm_probe() 308 match); in armada_drm_probe()
|
/linux-4.4.14/arch/arm/mach-exynos/ |
D | exynos.c | 239 const struct of_device_id *match; in exynos_cpufreq_init() local 241 match = of_match_node(exynos_cpufreq_matches, root); in exynos_cpufreq_init() 242 if (!match) { in exynos_cpufreq_init() 247 platform_device_register_simple(match->data, -1, NULL, 0); in exynos_cpufreq_init()
|
/linux-4.4.14/fs/isofs/ |
D | namei.c | 54 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.4.14/drivers/net/ethernet/freescale/fs_enet/ |
D | mii-fec.c | 101 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.4.14/drivers/thermal/st/ |
D | st_thermal.c | 190 const struct of_device_id *match; in st_thermal_register() local 206 match = of_match_device(st_thermal_of_match, dev); in st_thermal_register() 207 if (!(match && match->data)) in st_thermal_register() 210 sensor->cdata = match->data; in st_thermal_register()
|
/linux-4.4.14/scripts/coccinelle/misc/ |
D | irqf_oneshot.cocci | 76 @match depends on report || org@ 83 p << match.p; 89 p << match.p;
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_drv.c | 580 struct component_match *match = NULL; in exynos_drm_match_add() local 588 (void *)platform_bus_type.match))) { in exynos_drm_match_add() 590 component_match_add(dev, &match, compare_dev, d); in exynos_drm_match_add() 596 return match ?: ERR_PTR(-ENODEV); in exynos_drm_match_add() 616 struct component_match *match; in exynos_drm_platform_probe() local 621 match = exynos_drm_match_add(&pdev->dev); in exynos_drm_platform_probe() 622 if (IS_ERR(match)) in exynos_drm_platform_probe() 623 return PTR_ERR(match); in exynos_drm_platform_probe() 626 match); in exynos_drm_platform_probe()
|
/linux-4.4.14/drivers/firmware/ |
D | arm_scpi.c | 266 struct scpi_xfer *t, *match = NULL; in scpi_process_cmd() local 277 match = t; in scpi_process_cmd() 281 if (match && !completion_done(&match->done)) { in scpi_process_cmd() 283 unsigned int len = min(match->rx_len, CMD_SIZE(cmd)); in scpi_process_cmd() 285 match->status = le32_to_cpu(mem->status); in scpi_process_cmd() 286 memcpy_fromio(match->rx_buf, mem->payload, len); in scpi_process_cmd() 287 if (match->rx_len > len) in scpi_process_cmd() 288 memset(match->rx_buf + len, 0, match->rx_len - len); in scpi_process_cmd() 289 complete(&match->done); in scpi_process_cmd()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | match.c | 31 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.4.14/arch/metag/kernel/ |
D | devtree.c | 37 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.4.14/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_drv.c | 422 struct component_match **match, in rockchip_add_endpoints() argument 439 component_match_add(dev, match, compare_of, remote); in rockchip_add_endpoints() 487 struct component_match *match = NULL; in rockchip_drm_platform_probe() local 509 component_match_add(dev, &match, compare_of, port->parent); in rockchip_drm_platform_probe() 518 if (!match) { in rockchip_drm_platform_probe() 536 rockchip_add_endpoints(dev, &match, port); in rockchip_drm_platform_probe() 540 return component_master_add_with_match(dev, &rockchip_drm_ops, match); in rockchip_drm_platform_probe()
|
D | dw_hdmi-rockchip.c | 250 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.4.14/Documentation/pcmcia/ |
D | devicetable.txt | 11 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.4.14/arch/sparc/kernel/ |
D | of_device_32.c | 141 .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()
|
D | of_device_64.c | 186 .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()
|
D | prom_common.c | 104 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()
|
D | vio.c | 33 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.4.14/arch/arc/kernel/ |
D | devtree.c | 44 static const void * __init arch_get_next_mach(const char *const **match) in arch_get_next_mach() argument 53 *match = m->dt_compat; in arch_get_next_mach()
|
/linux-4.4.14/drivers/usb/host/ |
D | fsl-mph-dr-of.c | 176 const struct of_device_id *match; in fsl_usb2_mph_dr_of_probe() local 184 match = of_match_device(fsl_usb2_mph_dr_of_match, &ofdev->dev); in fsl_usb2_mph_dr_of_probe() 185 if (!match) in fsl_usb2_mph_dr_of_probe() 189 if (match->data) in fsl_usb2_mph_dr_of_probe() 190 memcpy(pdata, match->data, sizeof(data)); in fsl_usb2_mph_dr_of_probe()
|
/linux-4.4.14/include/media/ |
D | v4l2-async.h | 55 bool (*match)(struct device *, member 59 } match; member
|
/linux-4.4.14/drivers/pci/host/ |
D | pci-layerscape.c | 231 const struct of_device_id *match; in ls_pcie_probe() local 236 match = of_match_device(ls_pcie_of_match, &pdev->dev); in ls_pcie_probe() 237 if (!match) in ls_pcie_probe() 251 pcie->drvdata = match->data; in ls_pcie_probe()
|
/linux-4.4.14/arch/arm/mach-rockchip/ |
D | pm.c | 313 const struct of_device_id *match; in rockchip_suspend_init() local 318 &match); in rockchip_suspend_init() 319 if (!match) { in rockchip_suspend_init() 323 pm_data = (struct rockchip_pm_data *) match->data; in rockchip_suspend_init()
|
/linux-4.4.14/drivers/acpi/ |
D | ioapic.c | 69 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.4.14/tools/perf/arch/x86/tests/ |
D | gen-insn-x86-dat.awk | 38 first_pos = match(useful_line, "[0-9a-fA-F]") 44 if (match($i, "^[0-9a-fA-F][0-9a-fA-F]$")) {
|
/linux-4.4.14/arch/ia64/scripts/ |
D | unwcheck.py | 40 m = start_pattern.match(line) 51 m = rlen_pattern.match(line)
|
/linux-4.4.14/drivers/iommu/ |
D | of_iommu.c | 179 const struct of_device_id *match, *matches = &__iommu_of_table; in of_iommu_init() local 181 for_each_matching_node_and_match(np, matches, &match) { in of_iommu_init() 182 const of_iommu_init_fn init_fn = match->data; in of_iommu_init()
|
/linux-4.4.14/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 49 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.4.14/drivers/clk/samsung/ |
D | clk-exynos-audss.c | 115 const struct of_device_id *match; in exynos_audss_clk_probe() local 118 match = of_match_node(exynos_audss_clk_of_match, pdev->dev.of_node); in exynos_audss_clk_probe() 119 if (!match) in exynos_audss_clk_probe() 121 variant = (enum exynos_audss_clk_type)match->data; in exynos_audss_clk_probe()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-palmas.c | 166 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 if (!match) in palmas_gpio_probe() 172 dev_data = match->data; in palmas_gpio_probe()
|
/linux-4.4.14/Documentation/driver-model/ |
D | bus.txt | 16 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
|
D | binding.txt | 27 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.4.14/tools/perf/tests/ |
D | attr.py | 181 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.4.14/drivers/gpu/drm/tilcdc/ |
D | tilcdc_external.c | 139 struct component_match **match) in tilcdc_get_external_components() argument 154 if (match) in tilcdc_get_external_components() 155 component_match_add(dev, match, dev_match_of, node); in tilcdc_get_external_components()
|
/linux-4.4.14/drivers/watchdog/ |
D | sirfsoc_wdt.c | 44 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()
|
D | st_lpc_wdt.c | 184 const struct of_device_id *match; in st_wdog_probe() local 208 match = of_match_device(st_wdog_match, &pdev->dev); in st_wdog_probe() 209 if (!match) { in st_wdog_probe() 213 st_wdog->syscfg = (struct st_wdog_syscfg *)match->data; in st_wdog_probe()
|
/linux-4.4.14/drivers/thermal/ |
D | armada_thermal.c | 259 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.4.14/drivers/input/misc/ |
D | da9063_onkey.c | 206 const struct of_device_id *match; in da9063_onkey_probe() local 210 match = of_match_node(da9063_compatible_reg_id_table, in da9063_onkey_probe() 212 if (!match) in da9063_onkey_probe() 222 onkey->config = match->data; in da9063_onkey_probe()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-atmel-hlcdc.c | 246 const struct of_device_id *match; in atmel_hlcdc_pwm_probe() local 262 match = of_match_node(atmel_hlcdc_dt_ids, dev->parent->of_node); in atmel_hlcdc_pwm_probe() 263 if (match) in atmel_hlcdc_pwm_probe() 264 chip->errata = match->data; in atmel_hlcdc_pwm_probe()
|
D | core.c | 686 unsigned int match; in pwm_get() local 715 match = 0; in pwm_get() 721 match += 2; in pwm_get() 728 match += 1; in pwm_get() 731 if (match > best) { in pwm_get() 734 if (match != 3) in pwm_get() 735 best = match; in pwm_get()
|
/linux-4.4.14/drivers/leds/ |
D | leds-tlc591xx.c | 217 const struct of_device_id *match; in tlc591xx_probe() local 222 match = of_match_device(of_tlc591xx_leds_match, dev); in tlc591xx_probe() 223 if (!match) in tlc591xx_probe() 226 tlc591xx = match->data; in tlc591xx_probe()
|
/linux-4.4.14/drivers/uwb/ |
D | umc-bus.c | 126 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.4.14/drivers/nfc/s3fwrn5/ |
D | firmware.c | 342 } match[] = { in s3fwrn5_fw_get_base_addr() local 350 for (i = 0; i < ARRAY_SIZE(match); ++i) in s3fwrn5_fw_get_base_addr() 351 if (bootinfo->hw_version[0] == match[i].version[0] && in s3fwrn5_fw_get_base_addr() 352 bootinfo->hw_version[1] == match[i].version[1] && in s3fwrn5_fw_get_base_addr() 353 bootinfo->hw_version[3] == match[i].version[3]) { in s3fwrn5_fw_get_base_addr() 354 *base_addr = match[i].base_addr; in s3fwrn5_fw_get_base_addr()
|
/linux-4.4.14/Documentation/ |
D | dynamic-debug-howto.txt | 111 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.4.14/drivers/gpu/drm/imx/ |
D | dw_hdmi-imx.c | 208 const struct of_device_id *match; in dw_hdmi_imx_bind() local 223 match = of_match_node(dw_hdmi_imx_dt_ids, pdev->dev.of_node); in dw_hdmi_imx_bind() 224 plat_data = match->data; in dw_hdmi_imx_bind()
|
/linux-4.4.14/tools/hv/ |
D | hv_vss_daemon.c | 70 char match[] = "/dev/"; in vss_operate() local 93 if (strncmp(ent->mnt_fsname, match, strlen(match))) in vss_operate()
|
/linux-4.4.14/arch/powerpc/platforms/83xx/ |
D | suspend.c | 327 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.4.14/drivers/usb/dwc2/ |
D | platform.c | 332 const struct of_device_id *match; in dwc2_driver_probe() local 340 match = of_match_device(dwc2_of_match_table, &dev->dev); in dwc2_driver_probe() 341 if (match && match->data) { in dwc2_driver_probe() 342 params = match->data; in dwc2_driver_probe()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_extent_busy.c | 114 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.4.14/security/tomoyo/ |
D | condition.c | 227 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.4.14/drivers/iio/common/st_sensors/ |
D | st_sensors_i2c.c | 95 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.4.14/drivers/net/ethernet/arc/ |
D | emac_rockchip.c | 93 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.4.14/drivers/soc/rockchip/ |
D | pm_domains.c | 366 const struct of_device_id *match; in rockchip_pm_domain_probe() local 375 match = of_match_device(dev->driver->of_match_table, dev); in rockchip_pm_domain_probe() 376 if (!match || !match->data) { in rockchip_pm_domain_probe() 381 pmu_info = match->data; in rockchip_pm_domain_probe()
|
/linux-4.4.14/scripts/mod/ |
D | modpost.c | 782 static int match(const char *sym, const char * const pat[]) in match() function 855 !match(sec, section_white_list)) { in check_section() 1095 if (match(fromsec, check->fromsec)) { in section_mismatch() 1096 if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) in section_mismatch() 1098 if (check->good_tosec[0] && !match(tosec, check->good_tosec)) in section_mismatch() 1164 if (match(tosec, init_data_sections) && in secref_whitelist() 1165 match(fromsec, data_sections) && in secref_whitelist() 1171 match(fromsec, data_sections) && in secref_whitelist() 1176 if (match(tosec, init_exit_sections) && in secref_whitelist() 1177 match(fromsec, data_sections) && in secref_whitelist() [all …]
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_ingenic.c | 207 const struct of_device_id *match; in ingenic_uart_probe() local 210 match = of_match_device(of_match, &pdev->dev); in ingenic_uart_probe() 211 if (!match) { in ingenic_uart_probe() 215 cdata = match->data; in ingenic_uart_probe()
|
/linux-4.4.14/arch/arm/common/ |
D | bL_switcher.c | 456 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.4.14/drivers/pinctrl/berlin/ |
D | berlin-bg2cd.c | 179 const struct of_device_id *match = in berlin2cd_pinctrl_probe() local 182 return berlin_pinctrl_probe(pdev, match->data); in berlin2cd_pinctrl_probe()
|
/linux-4.4.14/drivers/mtd/maps/ |
D | physmap_of.c | 156 const struct of_device_id *match; in of_flash_probe() local 173 match = of_match_device(of_flash_match, &dev->dev); in of_flash_probe() 174 if (!match) in of_flash_probe() 176 probe_type = match->data; in of_flash_probe()
|
/linux-4.4.14/drivers/pinctrl/freescale/ |
D | pinctrl-imx7d.c | 378 const struct of_device_id *match; in imx7d_pinctrl_probe() local 381 match = of_match_device(imx7d_pinctrl_of_match, &pdev->dev); in imx7d_pinctrl_probe() 383 if (!match) in imx7d_pinctrl_probe() 386 pinctrl_info = (struct imx_pinctrl_soc_info *) match->data; in imx7d_pinctrl_probe()
|
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/ |
D | hdmi.c | 426 const struct of_device_id *match; in hdmi_bind() local 428 match = of_match_node(dt_match, of_node); in hdmi_bind() 429 if (match && match->data) { in hdmi_bind() 430 hdmi_cfg = (struct hdmi_platform_config *)match->data; in hdmi_bind() 431 DBG("hdmi phy: %s", match->compatible); in hdmi_bind()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | mkregtable.c | 625 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.4.14/drivers/net/ethernet/sfc/ |
D | ptp.c | 961 struct efx_ptp_match *match; in efx_ptp_match_rx() local 973 match = (struct efx_ptp_match *)skb->cb; in efx_ptp_match_rx() 980 if ((evt->seq0 == match->words[0]) && in efx_ptp_match_rx() 981 (evt->seq1 == match->words[1])) { in efx_ptp_match_rx() 988 match->state = PTP_PACKET_STATE_MATCHED; in efx_ptp_match_rx() 1009 struct efx_ptp_match *match; in efx_ptp_process_events() local 1011 match = (struct efx_ptp_match *)skb->cb; in efx_ptp_process_events() 1012 if (match->state == PTP_PACKET_STATE_MATCH_UNWANTED) { in efx_ptp_process_events() 1017 } else if (time_after(jiffies, match->expiry)) { in efx_ptp_process_events() 1018 match->state = PTP_PACKET_STATE_TIMED_OUT; in efx_ptp_process_events() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/timer/ |
D | renesas,mtu2.txt | 4 clock inputs and programmable compare match. 6 Channels share hardware resources but their counter and compare match value
|
D | renesas,tmu.txt | 4 programmable compare match. 6 Channels share hardware resources but their counter and compare match value
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | bus.c | 140 bool (*match)(struct nvkm_i2c_bus *, in nvkm_i2c_bus_probe() 158 (!match || match(bus, &info[i].dev, data))) { in nvkm_i2c_bus_probe()
|
/linux-4.4.14/drivers/gpu/drm/sti/ |
D | sti_drv.c | 249 struct component_match *match = NULL; in sti_platform_probe() local 258 component_match_add(dev, &match, compare_of, child_np); in sti_platform_probe() 263 return component_master_add_with_match(dev, &sti_ops, match); in sti_platform_probe()
|
/linux-4.4.14/drivers/soc/tegra/fuse/ |
D | fuse-tegra.c | 215 const struct of_device_id *match; in tegra_init_fuse() local 221 np = of_find_matching_node_and_match(NULL, tegra_fuse_match, &match); in tegra_init_fuse() 284 fuse->soc = match->data; in tegra_init_fuse()
|
/linux-4.4.14/include/linux/ |
D | device.h | 114 int (*match)(struct device *dev, struct device_driver *drv); member 156 int (*match)(struct device *dev, void *data)); 324 int (*match)(struct device *dev, void *data)); 447 int (*match)(struct device *, const void *)); 623 dr_match_t match, void *match_data, 629 dr_match_t match, void *match_data); 631 dr_match_t match, void *match_data); 633 dr_match_t match, void *match_data); 635 dr_match_t match, void *match_data); 637 dr_match_t match, void *match_data); [all …]
|
/linux-4.4.14/arch/arm/plat-omap/ |
D | dmtimer.c | 595 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.4.14/drivers/video/backlight/ |
D | hx8357.c | 586 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.4.14/sound/soc/qcom/ |
D | lpass-cpu.c | 367 const struct of_device_id *match; in asoc_qcom_lpass_cpu_platform_probe() local 384 match = of_match_device(dev->driver->of_match_table, dev); in asoc_qcom_lpass_cpu_platform_probe() 385 if (!match || !match->data) in asoc_qcom_lpass_cpu_platform_probe() 388 drvdata->variant = (struct lpass_variant *)match->data; in asoc_qcom_lpass_cpu_platform_probe()
|
/linux-4.4.14/arch/arm/kernel/ |
D | devtree.c | 190 static const void * __init arch_get_next_mach(const char *const **match) in arch_get_next_mach() argument 199 *match = m->dt_compat; in arch_get_next_mach()
|
/linux-4.4.14/Documentation/networking/ |
D | policy-routing.txt | 8 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,
|