Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 206) sorted by relevance

123456789

/device/soc/rockchip/common/sdk_linux/drivers/media/v4l2-core/
Dv4l2-async.c59 …return client && asd->match.i2c.adapter_id == client->adapter->nr && asd->match.i2c.address == cli… 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()
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()
141 if (!asd->match.custom.match) { in match_custom()
146 return asd->match.custom.match(sd->dev, asd); in match_custom()
155 …bool (*match)(struct v4l2_async_notifier * notifier, struct v4l2_subdev * sd, struct v4l2_async_su… in v4l2_async_find_match() local
163 match = match_custom; in v4l2_async_find_match()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/uart/
Dearly_printk.c133 const struct earlycon_match *match = earlycon_match; in setup_early_printk() local
142 while (match->name) { in setup_early_printk()
143 size_t len = strlen(match->name); in setup_early_printk()
144 if (!strncmp(buf, match->name, len)) { in setup_early_printk()
148 match++; in setup_early_printk()
150 if (!match->name) { in setup_early_printk()
166 printch = match->printch; in setup_early_printk()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Dbcmnvram.h137 nvram_match(const char *name, const char *match) in nvram_match() argument
147 BCM_REFERENCE(match); in nvram_match()
149 return (value && !strcmp(value, match)); in nvram_match()
161 nvram_match_bitflag(const char *name, const int bit, const char *match) in nvram_match_bitflag() argument
164 BCM_REFERENCE(match); in nvram_match_bitflag()
165 return (value && !strcmp(value, match)); in nvram_match_bitflag()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Dbcmnvram.h134 static INLINE int nvram_match(const char *name, const char *match) in nvram_match() argument
144 BCM_REFERENCE(match); in nvram_match()
146 return (value && !strcmp(value, match)); in nvram_match()
158 const char *match) in nvram_match_bitflag() argument
161 BCM_REFERENCE(match); in nvram_match_bitflag()
162 return (value && !strcmp(value, match)); in nvram_match_bitflag()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/
Dbcmnvram.h136 nvram_match(const char *name, const char *match) in nvram_match() argument
146 BCM_REFERENCE(match); in nvram_match()
148 return (value && !strcmp(value, match)); in nvram_match()
160 nvram_match_bitflag(const char *name, const int bit, const char *match) in nvram_match_bitflag() argument
163 BCM_REFERENCE(match); in nvram_match_bitflag()
164 return (value && !strcmp(value, match)); in nvram_match_bitflag()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/cpufreq/
Dsun50i-cpufreq-nvmem.c380 const struct of_device_id *match; in sun50i_cpufreq_nvmem_probe() local
390 match = dev_get_platdata(&pdev->dev); in sun50i_cpufreq_nvmem_probe()
391 if (!match) in sun50i_cpufreq_nvmem_probe()
394 ret = sun50i_cpufreq_get_efuse(match->data, in sun50i_cpufreq_nvmem_probe()
494 const struct of_device_id *match; in sun50i_cpufreq_match_node() local
498 match = of_match_node(sun50i_cpufreq_match_list, np); in sun50i_cpufreq_match_node()
501 return match; in sun50i_cpufreq_match_node()
511 const struct of_device_id *match; in sun50i_cpufreq_init() local
514 match = sun50i_cpufreq_match_node(); in sun50i_cpufreq_init()
515 if (!match) in sun50i_cpufreq_init()
[all …]
Dcpufreq-dt-platdev.c180 const struct of_device_id *match; in cpufreq_dt_platdev_init() local
186 match = of_match_node(whitelist, np); in cpufreq_dt_platdev_init()
187 if (match) { in cpufreq_dt_platdev_init()
188 data = match->data; in cpufreq_dt_platdev_init()
/device/board/isoftstone/zhiyuan/kernel/build/tools/pack/android/
Dmkbootimg148 match = re.search(r'^(\d{1,3})(?:\.(\d{1,3})(?:\.(\d{1,3}))?)?', x)
149 if match:
150 a = int(match.group(1))
152 if match.lastindex >= 2:
153 b = int(match.group(2))
154 if match.lastindex == 3:
155 c = int(match.group(3))
164 match = re.search(r'^(\d{4})-(\d{2})-(\d{2})', x)
165 if match:
166 y = int(match.group(1)) - 2000
[all …]
/device/soc/rockchip/rk3588/kernel/scripts/
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.group(1)) - 2000
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/cpufreq/
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/vendor/drivers/rockchip/
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()
/device/soc/rockchip/common/sdk_linux/drivers/soc/rockchip/
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()
/device/soc/rockchip/common/sdk_linux/drivers/regulator/
Dof_regulator.c357 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->name, name)) { in of_regulator_match()
378 match->init_data = of_get_regulator_init_data(dev, child, match->desc); in of_regulator_match()
379 if (!match->init_data) { in of_regulator_match()
384 match->of_node = of_node_get(child); in of_regulator_match()
/device/soc/rockchip/rk3588/kernel/drivers/clk/rockchip/
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()
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/board/isoftstone/zhiyuan/kernel/driver/drivers/misc/sunxi-addr/
Dsunxi-addr.c208 char match[MATCH_STR_LEN]; in addr_factory() local
216 sprintf(match, "addr_%s", name); in addr_factory()
217 ret = of_property_read_string_index(np, match, 0, &p); in addr_factory()
272 char match[MATCH_STR_LEN]; in addr_init() local
278 sprintf(match, "type_addr_%s", info[i].name); in addr_init()
279 if (of_property_read_u32(np, match, &type)) { in addr_init()
/device/soc/telink/b91/b91_ble_sdk/drivers/B91/
Daudio.c778 …de_sec_noinline_ void audio_set_i2s_clock(audio_sample_rate_e audio_rate, audio_rate_match_e match, in audio_set_i2s_clock() argument
815 if (match == AUDIO_RATE_EQUAL) { // 48000 in audio_set_i2s_clock()
819 } else if (match == AUDIO_RATE_GT_L0) { // 48004 in audio_set_i2s_clock()
823 } else if (match == AUDIO_RATE_GT_L1) { // 48012.0 in audio_set_i2s_clock()
827 } else if (match == AUDIO_RATE_LT_L0) { // 47994.0 in audio_set_i2s_clock()
831 } else if (match == AUDIO_RATE_LT_L1) { // 47985.0 in audio_set_i2s_clock()
845 if (match == AUDIO_RATE_EQUAL) { // 44099.9 in audio_set_i2s_clock()
849 } else if (match == AUDIO_RATE_GT_L0) { // 44110.2 in audio_set_i2s_clock()
853 } else if (match == AUDIO_RATE_GT_L1) { // 44117.6 in audio_set_i2s_clock()
857 } else if (match == AUDIO_RATE_LT_L0) { // 44094.4 in audio_set_i2s_clock()
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
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/esp/esp32/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatt_util.c34 int match = 0; in uuidType() local
43 ++match; in uuidType()
53 if (match == 12) { in uuidType()
56 if (match == 14) { in uuidType()
/device/board/isoftstone/yangfan/kernel/src/driv/clk/
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/vendor/drivers/clk/
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/sdk_linux/include/media/
Dv4l2-async.h89 bool (*match)(struct device *dev, struct v4l2_async_subdev *sd); member
92 } match; member
/device/soc/rockchip/common/sdk_linux/drivers/phy/rockchip/
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->compatible); in rockchip_init_usb_uart()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
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/
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()

123456789