/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | of_regulator.c | 373 * @matches: match table for the regulators 374 * @num_matches: number of entries in match table 376 * This function uses a match table specified by the regulator driver to 381 * or otherwise the child node's name. Note that the match table is modified 412 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local 413 match->init_data = NULL; in of_regulator_match() 414 match->of_node = NULL; in of_regulator_match() 423 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local 424 if (match->of_node) in of_regulator_match() 427 if (strcmp(match in of_regulator_match() [all...] |
H A D | mt6358-regulator.c | 39 #define MT6358_BUCK(match, vreg, min, max, step, \ 45 .of_match = of_match_ptr(match), \ 67 #define MT6358_LDO(match, vreg, ldo_volt_table, \ 73 .of_match = of_match_ptr(match), \ 91 #define MT6358_LDO1(match, vreg, min, max, step, \ 97 .of_match = of_match_ptr(match), \ 116 #define MT6358_REG_FIXED(match, vreg, \ 121 .of_match = of_match_ptr(match), \ 135 #define MT6366_BUCK(match, vreg, min, max, step, \ 141 .of_match = of_match_ptr(match), \ [all...] |
/kernel/linux/linux-6.6/drivers/bcma/ |
H A D | scan.c | 272 struct bcma_device_id *match, int core_num, in bcma_get_next_core() 335 if (match && ((match->manuf != BCMA_ANY_MANUF && in bcma_get_next_core() 336 match->manuf != core->id.manuf) || in bcma_get_next_core() 337 (match->id != BCMA_ANY_ID && match->id != core->id.id) || in bcma_get_next_core() 338 (match->rev != BCMA_ANY_REV && match->rev != core->id.rev) || in bcma_get_next_core() 339 (match->class != BCMA_ANY_CLASS && match in bcma_get_next_core() 271 bcma_get_next_core(struct bcma_bus *bus, u32 __iomem **eromptr, struct bcma_device_id *match, int core_num, struct bcma_device *core) bcma_get_next_core() argument [all...] |
/kernel/linux/linux-6.6/drivers/phy/rockchip/ |
H A D | phy-rockchip-usb.c | 461 const struct of_device_id *match; in rockchip_usb_phy_probe() local 469 match = of_match_device(dev->driver->of_match_table, dev); in rockchip_usb_phy_probe() 470 if (!match || !match->data) { in rockchip_usb_phy_probe() 475 phy_base->pdata = match->data; in rockchip_usb_phy_probe() 524 const struct of_device_id *match; in rockchip_init_usb_uart() local 534 &match); in rockchip_init_usb_uart() 540 pr_debug("%s: using settings for %s\n", __func__, match->compatible); in rockchip_init_usb_uart() 541 data = match->data; in rockchip_init_usb_uart() 545 __func__, match in rockchip_init_usb_uart() [all...] |
/kernel/linux/linux-5.10/drivers/base/ |
H A D | devres.c | 181 * @match: Match function (optional) 182 * @match_data: Data for the match function 187 * and for which @match returns 1. 193 dr_match_t match, void *match_data, in devres_for_each_res() 211 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res() 257 dr_match_t match, void *match_data) in find_dr() 266 if (match && !match(dev, dr->data, match_data)) in find_dr() 278 * @match 192 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) devres_for_each_res() argument 256 find_dr(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) find_dr() argument 288 devres_find(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) devres_find() argument 318 devres_get(struct device *dev, void *new_res, dr_match_t match, void *match_data) devres_get() argument 354 devres_remove(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) devres_remove() argument 392 devres_destroy(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) devres_destroy() argument 422 devres_release(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) devres_release() argument [all...] |
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | arm_scpi.c | 356 struct scpi_xfer *t, *match = NULL; in scpi_process_cmd() local 369 match = list_first_entry(&ch->rx_pending, struct scpi_xfer, in scpi_process_cmd() 371 list_del(&match->node); in scpi_process_cmd() 376 match = t; in scpi_process_cmd() 381 if (match && !completion_done(&match->done)) { in scpi_process_cmd() 389 len = match->rx_len; in scpi_process_cmd() 391 match->status = ioread32(&mem->status); in scpi_process_cmd() 392 memcpy_fromio(match->rx_buf, mem->payload, len); in scpi_process_cmd() 396 len = min_t(unsigned int, match in scpi_process_cmd() [all...] |
/kernel/linux/linux-6.6/drivers/base/ |
H A D | devres.c | 179 * @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, in devres_for_each_res() 209 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res() 255 dr_match_t match, void *match_data) in find_dr() 264 if (match && !match(dev, dr->data, match_data)) in find_dr() 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) devres_for_each_res() argument 254 find_dr(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) find_dr() argument 286 devres_find(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) devres_find() argument 316 devres_get(struct device *dev, void *new_res, dr_match_t match, void *match_data) devres_get() argument 352 devres_remove(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) devres_remove() argument 390 devres_destroy(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) devres_destroy() argument 420 devres_release(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) devres_release() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | arm_scpi.c | 356 struct scpi_xfer *t, *match = NULL; in scpi_process_cmd() local 369 match = list_first_entry(&ch->rx_pending, struct scpi_xfer, in scpi_process_cmd() 371 list_del(&match->node); in scpi_process_cmd() 376 match = t; in scpi_process_cmd() 381 if (match && !completion_done(&match->done)) { in scpi_process_cmd() 389 len = match->rx_len; in scpi_process_cmd() 391 match->status = ioread32(&mem->status); in scpi_process_cmd() 392 memcpy_fromio(match->rx_buf, mem->payload, len); in scpi_process_cmd() 396 len = min_t(unsigned int, match in scpi_process_cmd() [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | cpufreq-dt-platdev.c | 176 const struct of_device_id *match; in cpufreq_dt_platdev_init() local 182 match = of_match_node(whitelist, np); in cpufreq_dt_platdev_init() 183 if (match) { in cpufreq_dt_platdev_init() 184 data = match->data; in cpufreq_dt_platdev_init()
|
/kernel/linux/linux-5.10/arch/mips/generic/ |
H A D | init.c | 36 const struct of_device_id *match; in plat_get_fdt() local 51 match = mips_machine_is_compatible(check_mach, fdt); in plat_get_fdt() 52 if (match) { in plat_get_fdt() 54 mach_match_data = match->data; in plat_get_fdt()
|
/kernel/linux/linux-6.6/arch/mips/generic/ |
H A D | init.c | 36 const struct of_device_id *match; in plat_get_fdt() local 50 match = mips_machine_is_compatible(check_mach, fdt); in plat_get_fdt() 51 if (match) { in plat_get_fdt() 53 mach_match_data = match->data; in plat_get_fdt()
|
/kernel/linux/linux-6.6/Documentation/sphinx/ |
H A D | kernel_abi.py | 112 match = line_regex.search(line) 113 if match: 114 new_f = match.group(1) 128 ln = int(match.group(2)) - 1
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | sun6i-prcm.c | 150 const struct of_device_id *match; in sun6i_prcm_probe() local 155 match = of_match_node(sun6i_prcm_dt_ids, pdev->dev.of_node); in sun6i_prcm_probe() 156 if (!match) in sun6i_prcm_probe() 159 data = match->data; in sun6i_prcm_probe()
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | tps65218-pwrbutton.c | 94 const struct of_device_id *match; in tps6521x_pb_probe() local 98 match = of_match_node(of_tps6521x_pb_match, dev->of_node); in tps6521x_pb_probe() 99 if (!match) in tps6521x_pb_probe() 106 pwr->data = match->data; in tps6521x_pb_probe()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_dscp.c | 17 MODULE_DESCRIPTION("Xtables: DSCP/TOS field match"); 69 .match = dscp_mt, 77 .match = dscp_mt6, 85 .match = tos_mt, 93 .match = tos_mt,
|
/kernel/linux/linux-5.10/include/linux/netfilter_bridge/ |
H A D | ebtables.h | 23 bool (*match)(const struct sk_buff *skb, const struct net_device *in, member 24 const struct net_device *out, const struct xt_match *match, 28 const struct xt_match *match, void *matchinfo, 30 void (*destroy)(const struct xt_match *match, void *matchinfo);
|
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-plat.c | 48 const struct of_device_id *match; in cdns_plat_pcie_probe() local 57 match = of_match_device(cdns_plat_pcie_of_match, dev); in cdns_plat_pcie_probe() 58 if (!match) in cdns_plat_pcie_probe() 61 data = (struct cdns_plat_pcie_of_data *)match->data; in cdns_plat_pcie_probe()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | sun6i-prcm.c | 130 const struct of_device_id *match; in sun6i_prcm_probe() local 135 match = of_match_node(sun6i_prcm_dt_ids, pdev->dev.of_node); in sun6i_prcm_probe() 136 if (!match) in sun6i_prcm_probe() 139 data = match->data; in sun6i_prcm_probe()
|
H A D | tps6594-spi.c | 92 const struct of_device_id *match; in tps6594_spi_probe() local 108 match = of_match_device(tps6594_spi_of_match_table, dev); in tps6594_spi_probe() 109 if (!match) in tps6594_spi_probe() 111 tps->chip_id = (unsigned long)match->data; in tps6594_spi_probe()
|
/kernel/linux/linux-6.6/drivers/memory/ |
H A D | pl353-smc.c | 75 const struct of_device_id *match = NULL; in pl353_smc_probe() local 112 match = of_match_node(pl353_smc_supported_children, child); in pl353_smc_probe() 113 if (!match) { in pl353_smc_probe() 119 if (!match) { in pl353_smc_probe()
|
/kernel/linux/linux-6.6/include/linux/netfilter_bridge/ |
H A D | ebtables.h | 23 bool (*match)(const struct sk_buff *skb, const struct net_device *in, member 24 const struct net_device *out, const struct xt_match *match, 28 const struct xt_match *match, void *matchinfo, 30 void (*destroy)(const struct xt_match *match, void *matchinfo);
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | cpufreq-dt-platdev.c | 203 const struct of_device_id *match; in cpufreq_dt_platdev_init() local 209 match = of_match_node(allowlist, np); in cpufreq_dt_platdev_init() 210 if (match) { in cpufreq_dt_platdev_init() 211 data = match->data; in cpufreq_dt_platdev_init()
|
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | tps65218-pwrbutton.c | 86 const struct of_device_id *match; in tps6521x_pb_probe() local 90 match = of_match_node(of_tps6521x_pb_match, dev->of_node); in tps6521x_pb_probe() 91 if (!match) in tps6521x_pb_probe() 98 pwr->data = match->data; in tps6521x_pb_probe()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_dscp.c | 17 MODULE_DESCRIPTION("Xtables: DSCP/TOS field match"); 69 .match = dscp_mt, 77 .match = dscp_mt6, 85 .match = tos_mt, 93 .match = tos_mt,
|
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clkdev.c | 31 * 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; in clk_find() local 49 match = 0; in clk_find() 53 match += 2; in clk_find() 58 match += 1; in clk_find() 61 if (match > best_found) { in clk_find() 63 if (match != best_possible) in clk_find() 64 best_found = match; in clk_find()
|