Searched refs:match (Results 201 - 225 of 1156) sorted by path

1234567891011>>

/linux-master/drivers/bluetooth/
H A Dbtusb.c750 * the module itself. So we use a DMI list to match known broken platforms.
2365 * HCI rev values always match. As they both store the firmware number.
3820 bt_dev_err(hdev, "rampatch file version did not match with firmware");
4228 const struct usb_device_id *match; local
4230 match = usb_match_id(intf, quirks_table);
4231 if (match)
4232 id = match;
H A Dhci_h5.c834 const struct acpi_device_id *match; local
836 match = acpi_match_device(dev->driver->acpi_match_table, dev);
837 if (!match)
840 data = (const struct h5_device_data *)match->driver_data;
842 h5->id = (char *)match->id;
/linux-master/drivers/bus/fsl-mc/
H A Dfsl-mc-bus.c77 * @dev: the fsl-mc device to match against
100 * If the object is not 'plugged' don't match.
314 .match = fsl_mc_bus_match,
/linux-master/drivers/bus/mhi/ep/
H A Dmain.c1722 .match = mhi_ep_match,
/linux-master/drivers/bus/mhi/host/
H A Dinit.c1439 .match = mhi_match,
/linux-master/drivers/bus/
H A Dmips_cdmm.c124 .match = mips_cdmm_match,
H A Dmoxtet.c108 .match = moxtet_match,
H A Dsimple-pm-bus.c30 const struct of_device_id *match; local
42 match = of_match_device(dev->driver->of_match_table, dev);
46 * do anything more. We only match with the device if this driver is
47 * the most specific match because we don't want to incorrectly bind to
50 if (match && match->data) {
51 if (of_property_match_string(np, "compatible", match->compatible) == 0)
H A Dsunxi-rsb.c182 .match = sunxi_rsb_device_match,
H A Dti-sysc.c32 #define SOC_FLAG(match, flag) { .machine = match, .data = (void *)(flag), }
3112 const struct soc_device_attribute *match; local
3133 match = soc_device_match(sysc_soc_match);
3134 if (match && match->data)
3135 sysc_soc->soc = (enum sysc_soc)(uintptr_t)match->data;
3169 match = soc_device_match(sysc_soc_feat_match);
3170 if (!match)
3173 if (match
[all...]
/linux-master/drivers/cache/
H A Dsifive_ccache.c292 const struct of_device_id *match; local
296 np = of_find_matching_node_and_match(NULL, sifive_ccache_ids, &match);
300 quirks = (uintptr_t)match->data;
/linux-master/drivers/cdx/
H A Dcdx.c182 * @id: single CDX device id structure to match
183 * @dev: the CDX device structure to match against
185 * Return: matching cdx_device_id structure or NULL if there is no match.
204 * @dev: the CDX device structure to match against.
208 * NULL if there is no match.
210 * Return: matching cdx_device_id structure or NULL if there is no match.
259 * @dev: the cdx device to match against
648 .match = cdx_bus_match,
/linux-master/drivers/clk/
H A Dclk-scpi.c61 /* find closest match to given frequency in OPP table */
138 scpi_clk_ops_init(struct device *dev, const struct of_device_id *match, argument
148 init.ops = match->data;
191 const struct of_device_id *match)
235 err = scpi_clk_ops_init(dev, match, sclk, name);
267 const struct of_device_id *match; local
273 match = of_match_node(scpi_clk_match, child);
274 if (!match)
276 ret = scpi_clk_add(dev, child, match);
283 if (match
190 scpi_clk_add(struct device *dev, struct device_node *np, const struct of_device_id *match) argument
[all...]
H A Dclk-stm32f4.c1689 const struct of_device_id *match; local
1706 match = of_match_node(stm32f4_of_match, np);
1707 if (WARN_ON(!match))
1710 data = match->data;
H A Dclk.c2038 /* Didn't match, but we're expecting a clk_hw */
3273 /* true if clk->core pointers match. Avoid dereferencing garbage */
5531 const struct of_device_id *match; local
5542 for_each_matching_node_and_match(np, matches, &match) {
5560 parent->clk_init_cb = match->data;
H A Dclkdev.c31 * If an entry has a device ID, it must match
32 * If an entry has a connection ID, it must match
39 int match, best_found = 0, best_possible = 0; local
49 match = 0;
53 match += 2;
58 match += 1;
61 if (match > best_found) {
63 if (match != best_possible)
64 best_found = match;
/linux-master/drivers/clk/ralink/
H A Dclk-mtmips.c888 const struct of_device_id *match; local
906 match = of_match_node(mtmips_of_match, node);
907 if (WARN_ON(!match))
910 data = match->data;
/linux-master/drivers/clk/samsung/
H A Dclk-exynos-clkout.c82 * device node. Therefore match compatibles against parent.
87 const struct of_device_id *match; local
99 match = of_match_device(exynos_clkout_ids, dev->parent);
100 if (!match) {
101 dev_err(dev, "cannot match parent device\n");
104 variant = match->data;
H A Dclk.c270 const struct of_device_id *match; local
274 for_each_matching_node_and_match(clk_np, clk_matches, &match) {
277 fixed_rate_clk[(unsigned long)match->data].fixed_rate = freq;
/linux-master/drivers/clk/sprd/
H A Dsc9860-clk.c2024 const struct of_device_id *match; local
2028 match = of_match_node(sprd_sc9860_clk_ids, pdev->dev.of_node);
2029 if (!match) {
2034 desc = match->data;
/linux-master/drivers/clk/st/
H A Dclk-flexgen.c650 const struct of_device_id *match; local
672 match = of_match_node(flexgen_of_match, np);
673 if (match) {
674 data = (struct clkgen_data *)match->data;
/linux-master/drivers/clk/stm32/
H A Dclk-stm32-core.c23 const struct of_device_id *match,
26 const struct stm32_rcc_match_data *data = match->data;
74 const struct of_device_id *match; local
77 match = of_match_node(match_data, dev_of_node(dev));
78 if (!match) {
79 dev_err(dev, "match data not found\n");
83 rcc_match_data = match->data;
93 err = stm32_rcc_clock_init(dev, match, base);
22 stm32_rcc_clock_init(struct device *dev, const struct of_device_id *match, void __iomem *base) argument
H A Dclk-stm32mp1.c2206 const struct of_device_id *match)
2208 const struct stm32_rcc_match_data *data = match->data;
2248 const struct of_device_id *match; local
2251 match = of_match_node(match_data, dev_of_node(dev));
2252 if (!match) {
2253 dev_err(dev, "match data not found\n");
2257 rcc_match_data = match->data;
2267 err = stm32_rcc_clock_init(dev, base, match);
2205 stm32_rcc_clock_init(struct device *dev, void __iomem *base, const struct of_device_id *match) argument
/linux-master/drivers/clk/sunxi-ng/
H A Dccu-sun6i-rtc.c344 const struct of_device_id *match; local
347 match = of_match_device(sun6i_rtc_ccu_match, dev);
348 if (!match)
351 data = match->data;
/linux-master/drivers/clocksource/
H A Dtimer-atmel-tcb.c379 const struct of_device_id *match; local
418 match = of_match_node(atmel_tcb_of_match, node->parent);
419 if (!match)
422 tc.tcb_config = match->data;

Completed in 681 milliseconds

1234567891011>>