Searched refs:match (Results 176 - 200 of 1156) sorted by path

1234567891011>>

/linux-master/drivers/amba/
H A Dbus.c31 /* called on periphid match and class 0x9 coresight device. */
40 /* no table data or zero mask - return match on periphid */
218 * Returning any error other than -EPROBE_DEFER from bus match
441 .match = amba_match,
462 WARN(1, "Stub driver should never match any device.\n");
/linux-master/drivers/ata/
H A Dahci.c434 /* JMicron 360/1/3/5/6, match class to avoid IDE function */
1208 * So try to match on DMI_BOARD_VENDOR of "MICRO-STAR INTER".
1213 * match on DMI_BOARD_NAME of "MS-7376".
1229 * match on DMI_BOARD_VENDOR of "MICRO-STAR INTER" again.
1253 const struct dmi_system_id *match; local
1257 match = dmi_first_match(sysids);
1259 !match)
1262 if (!match->driver_data)
1268 if (strcmp(buf, match->driver_data) >= 0)
1273 match
[all...]
H A Dlibata-transport.c772 i->t.host_attrs.ac.match = ata_tport_match;
777 i->link_attr_cont.ac.match = ata_tlink_match;
782 i->dev_attr_cont.ac.match = ata_tdev_match;
H A Dpata_ep93xx.c986 const struct soc_device_attribute *match; local
988 match = soc_device_match(ep93xx_soc_table);
989 if (match)
990 ap->udma_mask = (unsigned int) match->data;
H A Dpata_macio.c136 * - Write data setup, which appears to match the cycle time. They
251 * match the darwin code and whatever documentation I could find
1117 const struct of_device_id *match)
1116 pata_macio_attach(struct macio_dev *mdev, const struct of_device_id *match) argument
/linux-master/drivers/ata/pata_parport/
H A Dpata_parport.c488 struct pi_device_match *match = data; local
490 return pi->pardev->port == match->parport && pi->proto == match->proto;
500 struct pi_device_match match = { .parport = parport, .proto = pr }; local
507 if (bus_for_each_dev(&pata_parport_bus_type, NULL, &match, pi_find_dev))
/linux-master/drivers/base/
H A Dattribute_container.c155 if (!cont->match(cont, dev))
221 if (!cont->match(cont, dev))
312 if (!cont->match(cont, dev))
329 if (!cont->match(cont, dev))
365 if (!cont->match(cont, dev))
402 if (cont->match(cont, dev))
H A Dauxiliary.c172 /* use dev_name(&auxdev->dev) prefix before last '.' char to match to */
252 .match = auxiliary_match,
340 * @data: Data to pass to match function
341 * @match: Callback function to check device
344 * for later use, as determined by the @match callback.
348 * The callback should return 0 if the device doesn't match and non-zero
354 int (*match)(struct device *dev, const void *data))
358 dev = bus_find_device(&auxiliary_bus_type, start, data, match);
H A Dbase.h167 return drv->bus->match ? drv->bus->match(dev, drv) : 1;
H A Dbus.c379 * @data: Data to pass to match function
380 * @match: Callback function to check device
384 * determined by the @match callback.
386 * The callback should return 0 if the device doesn't match and non-zero
392 int (*match)(struct device *dev, const void *data))
404 if (match(dev, data) && get_device(dev))
H A Dclass.c419 * @data: data for the match function
420 * @match: function to check device
424 * determined by the @match callback.
426 * The callback should return 0 if the device doesn't match and non-zero
432 * @match is allowed to do anything including calling back into class
437 int (*match)(struct device *, const void *))
453 if (match(dev, data)) {
H A Dcomponent.c33 * Aggregate drivers first assemble a component match list of what they need
62 struct component_match *match; member in struct:aggregate_device
86 struct component_match *match = m->match; local
97 for (i = 0; i < match->num; i++) {
98 struct component *component = match->compare[i].component;
175 struct component_match *match = adev->match; local
180 * Scan the array of match functions and attach
183 for (i = 0; i < match
346 struct component_match *match = res; local
359 component_match_realloc(struct component_match *match, size_t num) argument
388 struct component_match *match = *matchptr; local
483 struct component_match *match = adev->match; local
512 component_master_add_with_match(struct device *parent, const struct component_master_ops *ops, struct component_match *match) argument
[all...]
H A Dcore.c3724 * match with any driver, don't block its consumers from probing in
4088 * @match: Callback function to check device
4089 * @data: Data to pass to match function
4093 * determined by the @match callback.
4095 * The callback should return 0 if the device doesn't match and non-zero
4103 int (*match)(struct device *dev, void *data))
4113 if (match(child, data) && get_device(child))
H A Dcpu.c31 /* ACPI style match is the only one that may succeed. */
372 .match = cpu_subsys_match,
H A Ddevres.c179 * @match: Match function (optional)
180 * @match_data: Data for the match function
185 * and for which @match returns 1.
191 dr_match_t match, void *match_data,
209 if (match && !match(dev, dr->data, match_data))
255 dr_match_t match, void *match_data)
264 if (match && !match(dev, dr->data, match_data))
276 * @match
190 devres_for_each_res(struct device *dev, dr_release_t release, dr_match_t match, void *match_data, void (*fn)(struct device *, void *, void *), void *data) argument
254 find_dr(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) argument
286 devres_find(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) argument
316 devres_get(struct device *dev, void *new_res, dr_match_t match, void *match_data) argument
352 devres_remove(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) argument
390 devres_destroy(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) argument
420 devres_release(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) argument
[all...]
H A Ddriver.c38 * @s: NUL-terminated string, new driver name to force a match, pass empty
140 * @data: Data to pass to match function
141 * @match: Callback function to check device
145 * determined by the @match callback.
147 * The callback should return 0 if the device doesn't match and non-zero
153 int (*match)(struct device *dev, const void *data))
164 if (match(dev, data) && get_device(dev))
H A Disa.c31 if (!isa_driver->match ||
32 isa_driver->match(dev, to_isa_dev(dev)->id))
87 .match = isa_bus_match,
H A Dplatform.c1332 * and compare it against the name of the driver. Return whether they match
1344 /* Attempt an OF style match first */
1348 /* Then try ACPI style match */
1352 /* Then try to match against the id table */
1356 /* fall-back to driver name match */
1390 * clocks and PM domains for these to match the traditional behaviour.
1486 .match = platform_match,
H A Dproperty.c825 * @childname: String to match child node name against.
841 * @childname: String to match child node name against.
1020 * Find a match to the string @name in the 'interrupt-names' string array
1295 devcon_match_fn_t match,
1316 ret = match(node, con_id, data);
1329 devcon_match_fn_t match,
1346 ret = match(node, NULL, data);
1362 * @data: Data for the match function
1363 * @match: Function to check and convert the connection description
1366 * device node. @match wil
1293 fwnode_graph_devcon_matches(const struct fwnode_handle *fwnode, const char *con_id, void *data, devcon_match_fn_t match, void **matches, unsigned int matches_len) argument
1327 fwnode_devcon_matches(const struct fwnode_handle *fwnode, const char *con_id, void *data, devcon_match_fn_t match, void **matches, unsigned int matches_len) argument
1369 fwnode_connection_find_match(const struct fwnode_handle *fwnode, const char *con_id, void *data, devcon_match_fn_t match) argument
1407 fwnode_connection_find_matches(const struct fwnode_handle *fwnode, const char *con_id, void *data, devcon_match_fn_t match, void **matches, unsigned int matches_len) argument
[all...]
H A Dsoc.c212 const struct soc_device_attribute *match)
214 if (match->machine &&
215 (!attr->machine || !glob_match(match->machine, attr->machine)))
218 if (match->family &&
219 (!attr->family || !glob_match(match->family, attr->family)))
222 if (match->revision &&
223 (!attr->revision || !glob_match(match->revision, attr->revision)))
226 if (match->soc_id &&
227 (!attr->soc_id || !glob_match(match->soc_id, attr->soc_id)))
245 * if none of them match
211 soc_device_match_attr(const struct soc_device_attribute *attr, const struct soc_device_attribute *match) argument
[all...]
/linux-master/drivers/base/power/
H A Dtrace.c165 * the match is valid).
185 int match; local
188 match = 0;
197 match++;
199 return match;
204 int match = 0; local
214 match++;
219 return match;
231 * It's possible that multiple devices will match the hash and we can't
/linux-master/drivers/bcma/
H A Dmain.c73 .match = bcma_bus_match,
H A Dscan.c272 struct bcma_device_id *match, int core_num,
335 if (match && ((match->manuf != BCMA_ANY_MANUF &&
336 match->manuf != core->id.manuf) ||
337 (match->id != BCMA_ANY_ID && match->id != core->id.id) ||
338 (match->rev != BCMA_ANY_REV && match->rev != core->id.rev) ||
339 (match->class != BCMA_ANY_CLASS && match
271 bcma_get_next_core(struct bcma_bus *bus, u32 __iomem **eromptr, struct bcma_device_id *match, int core_num, struct bcma_device *core) argument
[all...]
/linux-master/drivers/block/
H A Dswim3.c1190 const struct of_device_id *match)
1189 swim3_attach(struct macio_dev *mdev, const struct of_device_id *match) argument
/linux-master/drivers/bluetooth/
H A Dath3k.c396 BT_ERR("Patch file version did not match with firmware");
470 /* match device ID in ath3k blacklist table */
472 const struct usb_device_id *match; local
474 match = usb_match_id(intf, ath3k_blist_tbl);
475 if (match)
476 id = match;

Completed in 346 milliseconds

1234567891011>>