Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 57) sorted by relevance

123

/linux-4.19.296/drivers/hid/i2c-hid/
Di2c-hid-dmi-quirks.c295 .matches = {
303 .matches = {
311 .matches = {
319 .matches = {
338 .matches = {
346 .matches = {
354 .matches = {
362 .matches = {
370 .matches = {
378 .matches = {
[all …]
/linux-4.19.296/drivers/i2c/
Di2c-core-of.c191 i2c_of_match_device_sysfs(const struct of_device_id *matches, in i2c_of_match_device_sysfs() argument
196 for (; matches->compatible[0]; matches++) { in i2c_of_match_device_sysfs()
203 if (sysfs_streq(client->name, matches->compatible)) in i2c_of_match_device_sysfs()
204 return matches; in i2c_of_match_device_sysfs()
206 name = strchr(matches->compatible, ','); in i2c_of_match_device_sysfs()
208 name = matches->compatible; in i2c_of_match_device_sysfs()
213 return matches; in i2c_of_match_device_sysfs()
220 *i2c_of_match_device(const struct of_device_id *matches, in i2c_of_match_device() argument
225 if (!(client && matches)) in i2c_of_match_device()
228 match = of_match_device(matches, &client->dev); in i2c_of_match_device()
[all …]
Di2c-core.h34 i2c_acpi_match_device(const struct acpi_device_id *matches,
40 i2c_acpi_match_device(const struct acpi_device_id *matches, in i2c_acpi_match_device() argument
/linux-4.19.296/lib/zstd/
Dzstd_opt.h236 ZSTD_match_t *matches, const U32 minMatchLen) in ZSTD_insertBtAndGetAllMatches() argument
282 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex3; in ZSTD_insertBtAndGetAllMatches()
283 matches[mnum].len = (U32)currMl; in ZSTD_insertBtAndGetAllMatches()
316 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex; in ZSTD_insertBtAndGetAllMatches()
317 matches[mnum].len = (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
356 …*const ip, const BYTE *const iLimit, const U32 maxNbAttempts, const U32 mls, ZSTD_match_t *matches, in ZSTD_BtGetAllMatches() argument
362 return ZSTD_insertBtAndGetAllMatches(zc, ip, iLimit, maxNbAttempts, mls, 0, matches, minMatchLen); in ZSTD_BtGetAllMatches()
367 ZSTD_match_t *matches, const U32 minMatchLen) in ZSTD_BtGetAllMatches_selectMLS() argument
370 case 3: return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 3, matches, minMatchLen); in ZSTD_BtGetAllMatches_selectMLS()
372 case 4: return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 4, matches, minMatchLen); in ZSTD_BtGetAllMatches_selectMLS()
[all …]
/linux-4.19.296/drivers/base/
Dsoc.c235 const struct soc_device_attribute *matches) in soc_device_match() argument
239 if (!matches) in soc_device_match()
243 if (!(matches->machine || matches->family || in soc_device_match()
244 matches->revision || matches->soc_id)) in soc_device_match()
246 ret = bus_for_each_dev(&soc_bus_type, NULL, (void *)matches, in soc_device_match()
250 matches); in soc_device_match()
254 matches++; in soc_device_match()
256 return matches; in soc_device_match()
/linux-4.19.296/include/linux/
Dof_device.h16 const struct of_device_id *matches, const struct device *dev);
98 const struct of_device_id *matches, const struct device *dev) in __of_match_device() argument
102 #define of_match_device(matches, dev) \ argument
103 __of_match_device(of_match_ptr(matches), (dev))
Dof_platform.h71 const struct of_device_id *matches,
75 const struct of_device_id *matches,
88 const struct of_device_id *matches, in of_platform_populate() argument
Dof_clk.h16 void of_clk_init(const struct of_device_id *matches);
29 static inline void of_clk_init(const struct of_device_id *matches) {} in of_clk_init() argument
Dsys_soc.h40 const struct soc_device_attribute *matches);
43 const struct soc_device_attribute *matches) { return NULL; } in soc_device_match() argument
Dof.h283 const struct of_device_id *matches,
367 const struct of_device_id *matches, const struct device_node *node);
603 const struct of_device_id *matches, in of_find_matching_node_and_match() argument
997 const struct of_device_id *matches) in of_find_matching_node() argument
999 return of_find_matching_node_and_match(from, matches, NULL); in of_find_matching_node()
1217 #define for_each_matching_node(dn, matches) \ argument
1218 for (dn = of_find_matching_node(NULL, matches); dn; \
1219 dn = of_find_matching_node(dn, matches))
1220 #define for_each_matching_node_and_match(dn, matches, match) \ argument
1221 for (dn = of_find_matching_node_and_match(NULL, matches, match); \
[all …]
Dof_address.h38 const struct of_device_id *matches,
76 const struct of_device_id *matches, in of_find_matching_node_by_address() argument
/linux-4.19.296/drivers/cpuidle/
Ddt_idle_states.c25 const struct of_device_id *matches, in init_state_node() argument
32 match_id = of_match_node(matches, state_node); in init_state_node()
158 const struct of_device_id *matches, in dt_init_idle_driver() argument
201 err = init_state_node(idle_state, matches, state_node); in dt_init_idle_driver()
Ddt_idle_states.h6 const struct of_device_id *matches,
/linux-4.19.296/drivers/of/
Dplatform.c353 const struct of_device_id *matches, in of_platform_bus_create() argument
399 if (!dev || !of_match_node(matches, bus)) in of_platform_bus_create()
404 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); in of_platform_bus_create()
424 const struct of_device_id *matches, in of_platform_bus_probe() argument
438 if (of_match_node(matches, root)) { in of_platform_bus_probe()
439 rc = of_platform_bus_create(root, matches, NULL, parent, false); in of_platform_bus_probe()
441 if (!of_match_node(matches, child)) in of_platform_bus_probe()
443 rc = of_platform_bus_create(child, matches, NULL, parent, false); in of_platform_bus_probe()
475 const struct of_device_id *matches, in of_platform_populate() argument
490 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate()
Dbase.c1063 const struct of_device_id *__of_match_node(const struct of_device_id *matches, in __of_match_node() argument
1069 if (!matches) in __of_match_node()
1072 for (; matches->name[0] || matches->type[0] || matches->compatible[0]; matches++) { in __of_match_node()
1073 score = __of_device_is_compatible(node, matches->compatible, in __of_match_node()
1074 matches->type, matches->name); in __of_match_node()
1076 best_match = matches; in __of_match_node()
1091 const struct of_device_id *of_match_node(const struct of_device_id *matches, in of_match_node() argument
1098 match = __of_match_node(matches, node); in of_match_node()
1118 const struct of_device_id *matches, in of_find_matching_node_and_match() argument
1130 m = __of_match_node(matches, np); in of_find_matching_node_and_match()
Ddevice.c26 const struct of_device_id *of_match_device(const struct of_device_id *matches, in of_match_device() argument
29 if ((!matches) || (!dev->of_node)) in of_match_device()
31 return of_match_node(matches, dev->of_node); in of_match_device()
/linux-4.19.296/include/linux/regulator/
Dof_regulator.h26 struct of_regulator_match *matches,
39 struct of_regulator_match *matches, in of_regulator_match() argument
/linux-4.19.296/drivers/irqchip/
Dirq-atmel-aic-common.c190 static void __init aic_common_irq_fixup(const struct of_device_id *matches) in aic_common_irq_fixup() argument
198 match = of_match_node(matches, root); in aic_common_irq_fixup()
211 const struct of_device_id *matches) in aic_common_of_init() argument
261 aic_common_irq_fixup(matches); in aic_common_of_init()
Dirq-atmel-aic-common.h34 const struct of_device_id *matches);
/linux-4.19.296/drivers/regulator/
Dact8865-regulator.c397 struct of_regulator_match *matches; in act8865_pdata_from_dt() local
401 matches = act8600_matches; in act8865_pdata_from_dt()
405 matches = act8846_matches; in act8865_pdata_from_dt()
409 matches = act8865_matches; in act8865_pdata_from_dt()
423 matched = of_regulator_match(dev, np, matches, num_matches); in act8865_pdata_from_dt()
440 regulator->name = matches[i].name; in act8865_pdata_from_dt()
441 regulator->init_data = matches[i].init_data; in act8865_pdata_from_dt()
442 regulator->of_node = matches[i].of_node; in act8865_pdata_from_dt()
Dtps6507x-regulator.c377 struct of_regulator_match *matches; in tps6507x_parse_dt_reg_data() local
393 matches = tps6507x_matches; in tps6507x_parse_dt_reg_data()
395 ret = of_regulator_match(&pdev->dev, regulators, matches, count); in tps6507x_parse_dt_reg_data()
403 *tps6507x_reg_matches = matches; in tps6507x_parse_dt_reg_data()
413 if (!matches[idx].init_data || !matches[idx].of_node) in tps6507x_parse_dt_reg_data()
416 memcpy(&reg_data[idx], matches[idx].init_data, in tps6507x_parse_dt_reg_data()
Dof_regulator.c277 struct of_regulator_match *matches; member
287 of_node_put(devm_matches->matches[i].of_node); in devm_of_regulator_put_matches()
309 struct of_regulator_match *matches, in of_regulator_match() argument
327 devm_matches->matches = matches; in of_regulator_match()
333 struct of_regulator_match *match = &matches[i]; in of_regulator_match()
344 struct of_regulator_match *match = &matches[i]; in of_regulator_match()
Dbcm590xx-regulator.c322 struct of_regulator_match *matches = bcm590xx_matches; in bcm590xx_parse_dt_reg_data() local
343 ret = of_regulator_match(&pdev->dev, regulators, matches, count); in bcm590xx_parse_dt_reg_data()
351 *bcm590xx_reg_matches = matches; in bcm590xx_parse_dt_reg_data()
354 if (!matches[idx].init_data || !matches[idx].of_node) in bcm590xx_parse_dt_reg_data()
357 data->bcm590xx_pmu_init_data[idx] = matches[idx].init_data; in bcm590xx_parse_dt_reg_data()
/linux-4.19.296/drivers/media/usb/gspca/m5602/
Dm5602_ov9650.c185 .matches = {
192 .matches = {
199 .matches = {
206 .matches = {
213 .matches = {
221 .matches = {
228 .matches = {
235 .matches = {
242 .matches = {
/linux-4.19.296/drivers/char/tpm/
Dtpm_tis.c85 .matches = {
93 .matches = {
101 .matches = {

123