/linux-master/drivers/acpi/ |
H A D | glue.c | 36 if (type && type->match && type->find_companion) { 68 if (tmp->match(dev)) {
|
/linux-master/drivers/gpu/drm/omapdrm/dss/ |
H A D | dss.c | 1353 struct component_match **match; member in struct:dss_component_match_data 1359 struct component_match **match = cmatch->match; local 1380 component_match_add(cmatch->dev, match, component_compare_dev, dev); 1424 struct component_match *match = NULL; local 1500 cmatch.match = &match; 1503 r = component_master_add_with_match(&pdev->dev, &dss_component_ops, match);
|
/linux-master/sound/core/seq/ |
H A D | seq_prioq.c | 248 bool (*match)(struct snd_seq_event_cell *cell, 260 if (!match(cell, arg)) {
|
/linux-master/include/linux/ |
H A D | of.h | 278 const struct of_device_id **match); 510 const struct of_device_id **match) 945 const char *match = of_node_get_device_type(np); local 947 return np && match && type && !strcmp(match, type); 1112 * not exist or its length does not match a multiple of u8 and -ENODATA if the 1131 * not exist or its length does not match a multiple of u16 and -ENODATA if the 1150 * not exist or its length does not match a multiple of u32 and -ENODATA if the 1169 * not exist or its length does not match a multiple of u64 and -ENODATA if the 1458 #define for_each_matching_node_and_match(dn, matches, match) \ 507 of_find_matching_node_and_match( struct device_node *from, const struct of_device_id *matches, const struct of_device_id **match) argument [all...] |
/linux-master/drivers/phy/tegra/ |
H A D | xusb.c | 426 struct tegra_xusb_lane *lane, *match = ERR_PTR(-ENODEV); local 440 if (!IS_ERR(match)) 441 dev_err(&port->dev, "conflicting match: %s-%u / %s\n", 442 map->type, map->index, match->soc->name); 444 match = lane; 447 return match; 1178 const struct of_device_id *match; local 1190 match = of_match_node(tegra_xusb_padctl_of_match, pdev->dev.of_node); 1191 soc = match->data;
|
/linux-master/tools/testing/selftests/devices/ |
H A D | test_discoverable_devices.py | 37 if dir_regex.match(d): 46 if dir_regex.match(d.name):
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-qos.c | 489 * numbers match (est_oper->buf match with est_admin->buf). 492 * and est_oper->buf not match with est_oper->buf). 517 * EST CTL register. In the second iteration they will match and code returns. 1006 struct flow_dissector *dissector = rule->match.dissector; 1009 struct flow_match_eth_addrs match; local 1029 flow_rule_match_eth_addrs(rule, &match); 1031 if (!is_zero_ether_addr(match.mask->src)) { 1037 if (is_broadcast_ether_addr(match.key->dst) && 1038 is_broadcast_ether_addr(match [all...] |
H A D | cpts.c | 105 static int cpts_fifo_read(struct cpts *cpts, int match) argument 166 if (type == match) 175 return type == match ? 0 : -1; 191 static void cpts_update_cur_time(struct cpts *cpts, int match, argument 206 if (cpts->irq_poll && cpts_fifo_read(cpts, match) && match != -1) 345 dev_dbg(cpts->dev, "match tx timestamp mtype_seqid %08x\n",
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | eeprom.c | 47 #define CHECK_EEPROM_ERR(match) (match ? 0 : -EINVAL)
|
/linux-master/drivers/regulator/ |
H A D | lp872x.c | 824 struct of_regulator_match *match; local 850 match = lp8720_matches; 854 match = lp8725_matches; 861 count = of_regulator_match(dev, np, match, num_matches); 867 (uintptr_t)match[i].driver_data; 868 pdata->regulator_data[i].init_data = match[i].init_data;
|
/linux-master/drivers/pci/ |
H A D | vgaarb.c | 214 unsigned int wants, legacy_wants, match; local 281 match = lwants & conflict->owns; 282 if (!match) 298 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_MEM) 300 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_IO) 311 conflict->owns &= ~match;
|
/linux-master/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi_capture.c | 213 /* RAW formats need an exact match between pixel and mbus formats. */ 319 const struct sun6i_csi_capture_format_match *match = local 322 if (match->pixelformat == pixelformat && 323 match->mbus_code == mbus_code) 900 bool match; local 949 /* With raw input mode, we need a 1:1 match between input and output. */ 952 match = sun6i_csi_capture_format_match(pixelformat, mbus_code); 953 if (!match)
|
/linux-master/fs/nfs/ |
H A D | pnfs_nfs.c | 625 * declare a match. 633 bool match = false; local 637 match = false; 640 match = same_sockaddr(sa1, sa2); 641 if (match) 644 if (!match) 647 return match;
|
/linux-master/security/selinux/ss/ |
H A D | services.c | 3399 struct class_datum *match; local 3404 match = symtab_search(&policydb->p_classes, class); 3405 if (!match) { 3412 *nperms = match->permissions.nprim; 3417 if (match->comdatum) { 3418 rc = hashtab_map(&match->comdatum->permissions.table, 3424 rc = hashtab_map(&match->permissions.table, get_permissions_callback, 3643 int match = 0; local 3658 match = -ESTALE; 3666 match [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | fib_nexthops.sh | 269 # remove the idle time since we cannot match it 282 out=$($IP route ls match ${pfx} 2>/dev/null) 293 out=$($IP -6 route ls match ${pfx} 2>/dev/null | sed -e 's/pref medium//') 599 local rc dev match h addr 622 match=0 626 match=1 630 if (( match == 0 )); then 652 local rc dev match h addr 675 match=0 679 match [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | uvesafb.c | 318 int i, match = -1, h = 0, d = 0x7fffffff; local 326 * We have an exact match in terms of resolution 334 match = i; 340 par->vbe_modes[match].depth != depth) 347 return match; 1370 int match = -1; local 1381 match = uvesafb_vbe_find_mode(par, var->xres, var->yres, depth, 1383 if (match == -1) 1386 mode = &par->vbe_modes[match]; 1399 !(par->vbe_modes[match] [all...] |
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-ioctl.c | 663 pr_cont("type=%u, ", p->match.type); 664 if (p->match.type == V4L2_CHIP_MATCH_I2C_DRIVER) 666 (int)sizeof(p->match.name), p->match.name); 668 pr_cont("addr=%u, ", p->match.addr); 676 pr_cont("type=%u, ", p->match.type); 677 if (p->match.type == V4L2_CHIP_MATCH_I2C_DRIVER) 679 (int)sizeof(p->match.name), p->match.name); 681 pr_cont("addr=%u, ", p->match [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-dbg-tlv.c | 1043 bool match = false; local 1047 match = true; 1051 if (!match) 1143 struct iwl_dbg_tlv_node *node, *match = NULL; local 1152 match = node; 1157 if (!match) { 1165 return iwl_dbg_tlv_override_trig_node(fwrt, trig_tlv, match);
|
/linux-master/drivers/usb/core/ |
H A D | driver.c | 274 * device driver has an id_table or a match function; i.e., 298 (udriver->id_table || udriver->match)) { 640 /* returns 0 if no match, 1 if match */ 676 /* returns 0 if no match, 1 if match */ 682 * checked for a match if the device class is Vendor Specific, 683 * unless the match record specifies the Vendor ID. */ 711 /* returns 0 if no match, 1 if match */ [all...] |
/linux-master/drivers/pwm/ |
H A D | core.c | 125 /* reapplication of the current state should give an exact match */ 1420 unsigned int match; local 1437 * name. If the consumer device was passed in as NULL or if no match 1441 * If a match is found, the provider PWM chip is looked up by name 1449 * If an entry has a device ID, it must match 1450 * If an entry has a connection ID, it must match 1457 match = 0; 1463 match += 2; 1470 match += 1; 1473 if (match > bes [all...] |
/linux-master/kernel/debug/kdb/ |
H A D | kdb_main.c | 169 * Update the permissions flags (kdb_cmd_enabled) to match the 244 * match A character string representing an environment variable. 246 * NULL No environment variable matches 'match' 249 char *kdbgetenv(const char *match) argument 252 int matchlen = strlen(match); 261 if ((strncmp(match, e, matchlen) == 0) 304 * match A character string representing a numeric value 306 * *value the unsigned long representation of the env variable 'match' 310 static int kdbgetulenv(const char *match, unsigned long *value) argument 314 ep = kdbgetenv(match); 335 kdbgetintenv(const char *match, int *value) argument [all...] |
/linux-master/drivers/tty/serial/ |
H A D | sunsu.c | 1391 struct device_node *match; local 1394 match = of_find_node_by_path(keyb); 1401 of_node_put(match); 1403 if (dp == match) { 1409 match = of_find_node_by_path(ms); 1411 of_node_put(match); 1413 if (dp == match) {
|
/linux-master/fs/ceph/ |
H A D | mds_client.c | 4191 ceph_decode_64_safe(&p, end, cap_auths[i].match.uid, bad); 4194 cap_auths[i].match.gids = kcalloc(_len, sizeof(u32), 4196 if (!cap_auths[i].match.gids) { 4201 cap_auths[i].match.num_gids = _len; 4204 cap_auths[i].match.gids[j], 4210 cap_auths[i].match.path = kcalloc(_len + 1, sizeof(char), 4212 if (!cap_auths[i].match.path) { 4216 ceph_decode_copy(&p, cap_auths[i].match.path, _len); 4219 while (_len && cap_auths[i].match.path[_len - 1] == '/') { 4220 cap_auths[i].match [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_flow.c | 892 * @match: bit field of all fields 900 u8 seg, enum ice_flow_field fld, u64 match) 945 if (match & BIT(sib)) 964 if (match & BIT(sib)) 1185 u64 match = params->prof->segs[i].match; local 1188 for_each_set_bit(j, (unsigned long *)&match, 1190 status = ice_flow_xtract_fld(hw, params, i, j, match); 1193 clear_bit(j, (unsigned long *)&match); 1281 segs[i].match ! 899 ice_flow_xtract_fld(struct ice_hw *hw, struct ice_flow_prof_params *params, u8 seg, enum ice_flow_field fld, u64 match) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 1004 /* Set PPS timestamp to match NIC top of second */ 1183 struct efx_ptp_match *match; local 1185 match = (struct efx_ptp_match *)skb->cb; 1186 if (match->state == PTP_PACKET_STATE_MATCH_UNWANTED) { 1188 } else if (time_after(jiffies, match->expiry)) { 1189 match->state = PTP_PACKET_STATE_TIMED_OUT; 1739 struct efx_ptp_match *match = (struct efx_ptp_match *)skb->cb; local 1743 match->expiry = jiffies + msecs_to_jiffies(PKT_EVENT_LIFETIME_MS); 1768 match->state = PTP_PACKET_STATE_UNMATCHED; 1776 match [all...] |