Home
last modified time | relevance | path

Searched refs:match (Results 1 - 25 of 108) sorted by relevance

12345

/device/soc/rockchip/common/sdk_linux/drivers/media/v4l2-core/
H A Dv4l2-async.c59 return client && asd->match.i2c.adapter_id == client->adapter->nr && asd->match.i2c.address == client->addr; in match_i2c()
67 return !strcmp(asd->match.device_name, dev_name(sd->dev)); in match_devname()
83 if (sd->fwnode == asd->match.fwnode) { in match_fwnode()
89 * endpoint or a device. If they're of the same type, there's no match. in match_fwnode()
93 * match unconnected endpoints. in match_fwnode()
96 asd_fwnode_is_ep = fwnode_graph_is_endpoint(asd->match.fwnode); in match_fwnode()
107 other_fwnode = asd->match.fwnode; in match_fwnode()
109 dev_fwnode = fwnode_graph_get_port_parent(asd->match.fwnode); in match_fwnode()
120 * We have a heterogeneous match in match_fwnode()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dbcmnvram.h131 * @param name name of variable to match
132 * @param match value to compare against value of variable
134 * to match or FALSE otherwise
137 nvram_match(const char *name, const char *match) in nvram_match() argument
143 * resulting in 'match' being an unused parameter. in nvram_match()
144 * Make a ref to 'match' to quiet the compiler warning. in nvram_match()
147 BCM_REFERENCE(match); in nvram_match()
149 return (value && !strcmp(value, match)); in nvram_match()
154 * @param name name of variable to match
156 * @param match valu
161 nvram_match_bitflag(const char *name, const int bit, const char *match) nvram_match_bitflag() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Dgrf.c208 const struct of_device_id *match; in rockchip_grf_init() local
213 np = of_find_matching_node_and_match(NULL, rockchip_grf_dt_match, &match); in rockchip_grf_init()
217 if (!match || !match->data) { in rockchip_grf_init()
222 grf_info = match->data; in rockchip_grf_init()
H A Dio-domain.c541 const struct of_device_id *match; in rockchip_iodomain_probe() local
558 match = of_match_node(rockchip_iodomain_match, np); in rockchip_iodomain_probe()
559 iod->soc_data = match->data; in rockchip_iodomain_probe()
561 if (match->data == &soc_data_rk3568_pmu) { in rockchip_iodomain_probe()
/device/soc/rockchip/common/sdk_linux/drivers/soc/rockchip/
H A Dgrf.c208 const struct of_device_id *match; in rockchip_grf_init() local
213 np = of_find_matching_node_and_match(NULL, rockchip_grf_dt_match, &match); in rockchip_grf_init()
217 if (!match || !match->data) { in rockchip_grf_init()
223 grf_info = match->data; in rockchip_grf_init()
H A Dio-domain.c541 const struct of_device_id *match; in rockchip_iodomain_probe() local
558 match = of_match_node(rockchip_iodomain_match, np); in rockchip_iodomain_probe()
559 iod->soc_data = match->data; in rockchip_iodomain_probe()
561 if (match->data == &soc_data_rk3568_pmu) { in rockchip_iodomain_probe()
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dmkbootimg200 match = re.search(r'^(\d{1,3})(?:\.(\d{1,3})(?:\.(\d{1,3}))?)?', x)
201 if match:
202 a = int(match.group(1))
204 if match.lastindex >= 2:
205 b = int(match.group(2))
206 if match.lastindex == 3:
207 c = int(match.group(3))
217 match = re.search(r'^(\d{4})-(\d{2})(?:-(\d{2}))?', x)
218 if match:
219 y = int(match
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/cpufreq/
H A Dcpufreq-dt-platdev.c403 const struct of_device_id *match; in cpufreq_dt_platdev_init() local
410 match = of_match_node(whitelist, np); in cpufreq_dt_platdev_init()
411 if (match) { in cpufreq_dt_platdev_init()
412 data = match->data; in cpufreq_dt_platdev_init()
/device/soc/rockchip/common/sdk_linux/drivers/regulator/
H A Dof_regulator.c319 * @matches: match table for the regulators
320 * @num_matches: number of entries in match table
322 * This function uses a match table specified by the regulator driver to
327 * or otherwise the child node's name. Note that the match table is modified
357 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local
358 match->init_data = NULL; in of_regulator_match()
359 match->of_node = NULL; in of_regulator_match()
369 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local
370 if (match->of_node) { in of_regulator_match()
374 if (strcmp(match in of_regulator_match()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
H A Dmk_prim_xml_step1.py140 match=re.search('PRIM_XML_HI_DIAG_LOG_MSG_', line)
141 if match:
153 match=re.search('_PRIM_PRI_', line)
154 if match:
/device/soc/rockchip/rk3588/kernel/drivers/clk/rockchip/
H A Dclk-link.c132 const struct of_device_id *match; in rockchip_clk_link_probe() local
137 match = of_match_node(rockchip_clk_link_of_match, node); in rockchip_clk_link_probe()
138 if (!match) in rockchip_clk_link_probe()
146 priv->link = match->data; in rockchip_clk_link_probe()
H A Dclk-pvtm.c224 const struct of_device_id *match; in rockchip_clock_pvtm_probe() local
233 match = of_match_node(rockchip_clock_pvtm_match, np); in rockchip_clock_pvtm_probe()
234 if (!match) in rockchip_clock_pvtm_probe()
237 pvtm->info = (const struct rockchip_clock_pvtm_info *)match->data; in rockchip_clock_pvtm_probe()
/device/soc/rockchip/common/sdk_linux/include/media/
H A Dv4l2-async.h22 * in order to identify a match
25 * v4l2_async_subdev.match ops
31 * algorithm that will be used to match an asynchronous device.
43 * @match_type: type of match that will be used
44 * @match: union of per-bus type matching data sets
45 * @match.fwnode:
48 * @match.device_name:
51 * @match.i2c: embedded struct with I2C parameters to be matched.
52 * Both @match.i2c.adapter_id and @match
89 bool (*match)(struct device *dev, struct v4l2_async_subdev *sd); global() member
92 } match; global() member
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/phy/rockchip/
H A Dphy-rockchip-usb.c994 const struct of_device_id *match; in rockchip_usb_phy_probe() local
1003 match = of_match_device(dev->driver->of_match_table, dev); in rockchip_usb_phy_probe()
1004 if (!match || !match->data) { in rockchip_usb_phy_probe()
1009 phy_base->pdata = match->data; in rockchip_usb_phy_probe()
1065 const struct of_device_id *match; in rockchip_init_usb_uart() local
1075 np = of_find_matching_node_and_match(NULL, rockchip_usb_phy_dt_ids, &match); in rockchip_init_usb_uart()
1081 pr_debug("%s: using settings for %s\n", __func__, match->compatible); in rockchip_init_usb_uart()
1082 data = match->data; in rockchip_init_usb_uart()
1085 pr_err("%s: usb-uart not available on %s\n", __func__, match in rockchip_init_usb_uart()
[all...]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
H A Dhw.c291 const struct of_device_id *match; in rkispp_hw_probe() local
300 match = of_match_node(rkispp_hw_of_match, node); in rkispp_hw_probe()
301 if (IS_ERR(match)) { in rkispp_hw_probe()
302 return PTR_ERR(match); in rkispp_hw_probe()
312 match_data = match->data; in rkispp_hw_probe()
313 hw_dev->match_data = match->data; in rkispp_hw_probe()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
H A Dhw.c291 const struct of_device_id *match; in rkispp_hw_probe() local
300 match = of_match_node(rkispp_hw_of_match, node); in rkispp_hw_probe()
301 if (IS_ERR(match)) in rkispp_hw_probe()
302 return PTR_ERR(match); in rkispp_hw_probe()
310 match_data = match->data; in rkispp_hw_probe()
311 hw_dev->match_data = match->data; in rkispp_hw_probe()
/device/soc/rockchip/common/vendor/drivers/clk/
H A Dclk-pvtm.c220 const struct of_device_id *match; in rockchip_clock_pvtm_probe() local
230 match = of_match_node(rockchip_clock_pvtm_match, np); in rockchip_clock_pvtm_probe()
231 if (!match) { in rockchip_clock_pvtm_probe()
235 pvtm->info = (const struct rockchip_clock_pvtm_info *)match->data; in rockchip_clock_pvtm_probe()
/device/soc/rockchip/common/vendor/drivers/regulator/
H A Dxz3216.c282 const struct of_device_id *match; in xz3216_i2c_probe() local
293 match = of_match_device(xz3216_of_match, &i2c->dev); in xz3216_i2c_probe()
294 if (!match) { in xz3216_i2c_probe()
/device/soc/rockchip/rk3566/sdk_linux/drivers/iio/adc/
H A Drockchip_saradc.c378 const struct of_device_id *match; in rockchip_saradc_probe() local
393 match = of_match_device(rockchip_saradc_match, &pdev->dev); in rockchip_saradc_probe()
394 if (!match) { in rockchip_saradc_probe()
395 dev_err(&pdev->dev, "failed to match device\n"); in rockchip_saradc_probe()
399 info->data = match->data; in rockchip_saradc_probe()
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/
H A Dclk-rk3128.c583 const struct of_device_id *match; in clk_rk3128_probe() local
586 match = of_match_device(clk_rk3128_match_table, &pdev->dev); in clk_rk3128_probe()
587 if (!match || !match->data) { in clk_rk3128_probe()
591 init_data = match->data; in clk_rk3128_probe()
/device/soc/rockchip/common/sdk_linux/scripts/
H A Dclang-wrapper.py56 m = warning_re.match(line)
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
H A Drga_drv.c725 const struct of_device_id *match = NULL; in rga_drv_probe() local
735 match = of_match_device(rga3_core0_dt_ids, dev); in rga_drv_probe()
737 match = of_match_device(rga3_core1_dt_ids, dev); in rga_drv_probe()
739 match = of_match_device(rga2_dt_ids, dev); in rga_drv_probe()
741 if (!match) { in rga_drv_probe()
776 match_data = match->data; in rga_drv_probe()
788 pr_err("%s, irq = %d, match scheduler\n", in rga_drv_probe()
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_rkvdec2.c1085 const struct of_device_id *match; in rkvdec2_core_probe() local
1087 match = of_match_node(mpp_rkvdec2_dt_match, dev->of_node); in rkvdec2_core_probe()
1088 if (match) { in rkvdec2_core_probe()
1089 mpp->var = (struct mpp_dev_var *)match->data; in rkvdec2_core_probe()
1138 const struct of_device_id *match = NULL; in rkvdec2_probe_default() local
1150 match = of_match_node(mpp_rkvdec2_dt_match, pdev->dev.of_node); in rkvdec2_probe_default()
1151 if (match) { in rkvdec2_probe_default()
1152 mpp->var = (struct mpp_dev_var *)match->data; in rkvdec2_probe_default()
H A Dmpp_vepu2.c970 const struct of_device_id *match = NULL; in vepu_core_probe() local
982 match = of_match_node(mpp_vepu2_dt_match, pdev->dev.of_node); in vepu_core_probe()
983 if (match) { in vepu_core_probe()
984 mpp->var = (struct mpp_dev_var *)match->data; in vepu_core_probe()
1023 const struct of_device_id *match = NULL; in vepu_probe_default() local
1035 match = of_match_node(mpp_vepu2_dt_match, pdev->dev.of_node); in vepu_probe_default()
1036 if (match) { in vepu_probe_default()
1037 mpp->var = (struct mpp_dev_var *)match->data; in vepu_probe_default()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_vepu2.c989 const struct of_device_id *match = NULL; in vepu_core_probe() local
1000 match = of_match_node(mpp_vepu2_dt_match, pdev->dev.of_node); in vepu_core_probe()
1001 if (match) in vepu_core_probe()
1002 mpp->var = (struct mpp_dev_var *)match->data; in vepu_core_probe()
1042 const struct of_device_id *match = NULL; in vepu_probe_default() local
1053 match = of_match_node(mpp_vepu2_dt_match, pdev->dev.of_node); in vepu_probe_default()
1054 if (match) in vepu_probe_default()
1055 mpp->var = (struct mpp_dev_var *)match->data; in vepu_probe_default()

Completed in 32 milliseconds

12345