/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/misc/python/test/ |
D | test_solvepnp.py | 5 import numpy as np namespace 13 obj_points = np.array([[0, 0, 0], [0, 1, 0], [1, 1, 0], [1, 0, 0]], dtype=np.float32) 14 img_points = np.array( 15 [[700, 400], [700, 600], [900, 600], [900, 400]], dtype=np.float32 18 cameraMatrix = np.array( 19 [[712.0634, 0, 800], [0, 712.540, 500], [0, 0, 1]], dtype=np.float32 21 distCoeffs = np.array([[0, 0, 0, 0]], dtype=np.float32) 22 r = np.array([], dtype=np.float32) 28 obj_points = np.array([[0, 0, 0], [0, 1, 0], [1, 1, 0], [1, 0, 0]], dtype=np.float32) 29 img_points = np.array( [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/ |
D | of.h | 75 struct device_node *np; member 256 extern bool of_node_name_eq(const struct device_node *np, const char *name); 257 extern bool of_node_name_prefix(const struct device_node *np, const char *prefix); 259 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name() argument 261 return np ? np->full_name : "<no-node>"; in of_node_full_name() 304 extern struct property *of_find_property(const struct device_node *np, 307 extern int of_property_count_elems_of_size(const struct device_node *np, 309 extern int of_property_read_u32_index(const struct device_node *np, 312 extern int of_property_read_u64_index(const struct device_node *np, 315 extern int of_property_read_variable_u8_array(const struct device_node *np, [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/utility/ |
D | config.c | 19 static int get_value_int(struct device_node *np, const char *name, in get_value_int() argument 24 ret = of_property_read_u32(np, name, value); in get_value_int() 33 static int get_value_string(struct device_node *np, const char *name, in get_value_string() argument 39 ret = of_property_read_string(np, name, &const_str); in get_value_string() 50 static int get_gpio_info(struct device_node *np, const char *name, in get_gpio_info() argument 56 gnum = of_get_named_gpio_flags(np, name, 0, &gc); in get_gpio_info() 67 static int get_mname(struct device_node *np, const char *name, in get_mname() argument 70 return get_value_string(np, name, sc->inst[0].cam_name); in get_mname() 72 static int get_twi_addr(struct device_node *np, const char *name, in get_twi_addr() argument 75 return get_value_int(np, name, &sc->inst[0].cam_addr); in get_twi_addr() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/opp/ |
D | of.c | 34 static struct device_node *_opp_of_get_opp_desc_node(struct device_node *np, int index) in _opp_of_get_opp_desc_node() argument 37 return of_parse_phandle(np, "operating-points-v2", index); in _opp_of_get_opp_desc_node() 50 struct device_node *np; in _managed_opp() local 52 np = _opp_of_get_opp_desc_node(dev->of_node, index); in _managed_opp() 53 if (!np) { in _managed_opp() 59 if (opp_table->np == np) { in _managed_opp() 76 of_node_put(np); in _managed_opp() 90 if (opp->np == opp_np) { in _find_opp_of_np() 102 static struct device_node *of_parse_required_opp(struct device_node *np, int index) in of_parse_required_opp() argument 104 return of_parse_phandle(np, "required-opps", index); in of_parse_required_opp() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
D | rockchip_opp_select.c | 124 static int rockchip_nvmem_cell_read_common(struct device_node *np, in rockchip_nvmem_cell_read_common() argument 132 cell = of_nvmem_cell_get(np, cell_id); in rockchip_nvmem_cell_read_common() 153 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, in rockchip_nvmem_cell_read_u8() argument 156 return rockchip_nvmem_cell_read_common(np, cell_id, val, sizeof(*val)); in rockchip_nvmem_cell_read_u8() 160 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, in rockchip_nvmem_cell_read_u16() argument 163 return rockchip_nvmem_cell_read_common(np, cell_id, val, sizeof(*val)); in rockchip_nvmem_cell_read_u16() 167 static int rockchip_get_sel_table(struct device_node *np, char *porp_name, in rockchip_get_sel_table() argument 174 prop = of_find_property(np, porp_name, NULL); in rockchip_get_sel_table() 181 count = of_property_count_u32_elems(np, porp_name); in rockchip_get_sel_table() 193 of_property_read_u32_index(np, porp_name, 3 * i, in rockchip_get_sel_table() [all …]
|
D | rockchip_system_monitor.c | 393 static int rockchip_get_temp_freq_table(struct device_node *np, in rockchip_get_temp_freq_table() argument 401 prop = of_find_property(np, porp_name, NULL); in rockchip_get_temp_freq_table() 408 count = of_property_count_u32_elems(np, porp_name); in rockchip_get_temp_freq_table() 420 of_property_read_u32_index(np, porp_name, 2 * i, in rockchip_get_temp_freq_table() 422 of_property_read_u32_index(np, porp_name, 2 * i + 1, in rockchip_get_temp_freq_table() 431 static int rockchip_get_adjust_volt_table(struct device_node *np, in rockchip_get_adjust_volt_table() argument 439 prop = of_find_property(np, porp_name, NULL); in rockchip_get_adjust_volt_table() 446 count = of_property_count_u32_elems(np, porp_name); in rockchip_get_adjust_volt_table() 458 of_property_read_u32_index(np, porp_name, 3 * i, in rockchip_get_adjust_volt_table() 460 of_property_read_u32_index(np, porp_name, 3 * i + 1, in rockchip_get_adjust_volt_table() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/soc/ |
D | rockchip_opp_select.c | 124 static int rockchip_nvmem_cell_read_common(struct device_node *np, in rockchip_nvmem_cell_read_common() argument 132 cell = of_nvmem_cell_get(np, cell_id); in rockchip_nvmem_cell_read_common() 153 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, in rockchip_nvmem_cell_read_u8() argument 156 return rockchip_nvmem_cell_read_common(np, cell_id, val, sizeof(*val)); in rockchip_nvmem_cell_read_u8() 160 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, in rockchip_nvmem_cell_read_u16() argument 163 return rockchip_nvmem_cell_read_common(np, cell_id, val, sizeof(*val)); in rockchip_nvmem_cell_read_u16() 167 static int rockchip_get_sel_table(struct device_node *np, char *porp_name, in rockchip_get_sel_table() argument 174 prop = of_find_property(np, porp_name, NULL); in rockchip_get_sel_table() 181 count = of_property_count_u32_elems(np, porp_name); in rockchip_get_sel_table() 193 of_property_read_u32_index(np, porp_name, 3 * i, in rockchip_get_sel_table() [all …]
|
D | rockchip_system_monitor.c | 393 static int rockchip_get_temp_freq_table(struct device_node *np, in rockchip_get_temp_freq_table() argument 401 prop = of_find_property(np, porp_name, NULL); in rockchip_get_temp_freq_table() 408 count = of_property_count_u32_elems(np, porp_name); in rockchip_get_temp_freq_table() 420 of_property_read_u32_index(np, porp_name, 2 * i, in rockchip_get_temp_freq_table() 422 of_property_read_u32_index(np, porp_name, 2 * i + 1, in rockchip_get_temp_freq_table() 431 static int rockchip_get_adjust_volt_table(struct device_node *np, in rockchip_get_adjust_volt_table() argument 439 prop = of_find_property(np, porp_name, NULL); in rockchip_get_adjust_volt_table() 446 count = of_property_count_u32_elems(np, porp_name); in rockchip_get_adjust_volt_table() 458 of_property_read_u32_index(np, porp_name, 3 * i, in rockchip_get_adjust_volt_table() 460 of_property_read_u32_index(np, porp_name, 3 * i + 1, in rockchip_get_adjust_volt_table() [all …]
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
D | rockchip_opp_select.c | 87 static int rockchip_nvmem_cell_read_common(struct device_node *np, const char *cell_id, void *val, … in rockchip_nvmem_cell_read_common() argument 93 cell = of_nvmem_cell_get(np, cell_id); in rockchip_nvmem_cell_read_common() 115 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, u8 *val) in rockchip_nvmem_cell_read_u8() argument 117 return rockchip_nvmem_cell_read_common(np, cell_id, val, sizeof(*val)); in rockchip_nvmem_cell_read_u8() 121 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, u16 *val) in rockchip_nvmem_cell_read_u16() argument 123 return rockchip_nvmem_cell_read_common(np, cell_id, val, sizeof(*val)); in rockchip_nvmem_cell_read_u16() 127 static int rockchip_get_sel_table(struct device_node *np, char *porp_name, struct sel_table **table) in rockchip_get_sel_table() argument 133 prop = of_find_property(np, porp_name, NULL); in rockchip_get_sel_table() 142 count = of_property_count_u32_elems(np, porp_name); in rockchip_get_sel_table() 157 of_property_read_u32_index(np, porp_name, 0x03 * i, &sel_table[i].min); in rockchip_get_sel_table() [all …]
|
D | rockchip_system_monitor.c | 387 static int rockchip_get_temp_freq_table(struct device_node *np, char *porp_name, struct temp_freq_t… in rockchip_get_temp_freq_table() argument 393 prop = of_find_property(np, porp_name, NULL); in rockchip_get_temp_freq_table() 402 count = of_property_count_u32_elems(np, porp_name); in rockchip_get_temp_freq_table() 417 of_property_read_u32_index(np, porp_name, 0x2 * i, &table[i].temp); in rockchip_get_temp_freq_table() 418 of_property_read_u32_index(np, porp_name, 0x2 * i + 1, &table[i].freq); in rockchip_get_temp_freq_table() 426 static int rockchip_get_adjust_volt_table(struct device_node *np, char *porp_name, struct volt_adju… in rockchip_get_adjust_volt_table() argument 432 prop = of_find_property(np, porp_name, NULL); in rockchip_get_adjust_volt_table() 441 count = of_property_count_u32_elems(np, porp_name); in rockchip_get_adjust_volt_table() 456 of_property_read_u32_index(np, porp_name, 0x3 * i, &volt_table[i].min); in rockchip_get_adjust_volt_table() 457 of_property_read_u32_index(np, porp_name, 0x3 * i + 1, &volt_table[i].max); in rockchip_get_adjust_volt_table() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/gpio/ |
D | gpiolib-of.c | 40 struct device_node *np = dev->of_node; in of_gpio_spi_cs_get_count() local 48 …if (!of_device_is_compatible(np, "fsl,spi") && !of_device_is_compatible(np, "aeroflexgaisler,spict… in of_gpio_spi_cs_get_count() 49 !of_device_is_compatible(np, "ibm,ppc4xx-spi")) { in of_gpio_spi_cs_get_count() 52 return of_gpio_named_count(np, "gpios"); in of_gpio_spi_cs_get_count() 91 …return chip->gpiodev->dev.of_node == gpiospec->np && chip->of_xlate && chip->of_xlate(chip, gpiosp… in of_gpiochip_match_node_and_xlate() 126 struct device_node *np = gc->of_node; in of_gpio_need_valid_mask() local 128 size = of_property_count_u32_elems(np, "gpio-reserved-ranges"); in of_gpio_need_valid_mask() 135 static void of_gpio_flags_quirks(struct device_node *np, const char *propname, enum of_gpio_flags *… in of_gpio_flags_quirks() argument 142 …(of_device_is_compatible(np, "regulator-fixed") || of_device_is_compatible(np, "reg-fixed-voltage"… in of_gpio_flags_quirks() 144 of_device_is_compatible(np, "regulator-gpio")))) { in of_gpio_flags_quirks() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/ |
D | init-input.c | 45 struct device_node *np = NULL; in sunxi_ctp_startup() local 51 np = data->node; in sunxi_ctp_startup() 53 if (!np) { in sunxi_ctp_startup() 55 np = of_find_node_by_name(NULL, data->np_name); in sunxi_ctp_startup() 57 np = of_find_node_by_name(NULL, "ctp"); in sunxi_ctp_startup() 60 if (!np) { in sunxi_ctp_startup() 65 if (!of_device_is_available(np)) { in sunxi_ctp_startup() 71 client = of_find_i2c_device_by_node(np); in sunxi_ctp_startup() 76 pdev = of_find_device_by_node(np); in sunxi_ctp_startup() 85 ret = of_property_read_u32(np, "ctp_twi_id", &data->twi_id); in sunxi_ctp_startup() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/regulator/ |
D | of_regulator.c | 24 static int of_get_regulation_constraints(struct device *dev, struct device_node *np, in of_get_regulation_constraints() argument 35 n_phandles = of_count_phandle_with_args(np, "regulator-coupled-with", NULL); in of_get_regulation_constraints() 38 constraints->name = of_get_property(np, "regulator-name", NULL); in of_get_regulation_constraints() 40 if (!of_property_read_u32(np, "regulator-min-microvolt", &pval)) { in of_get_regulation_constraints() 44 if (!of_property_read_u32(np, "regulator-max-microvolt", &pval)) { in of_get_regulation_constraints() 58 if (!of_property_read_u32(np, "regulator-microvolt-offset", &pval)) { in of_get_regulation_constraints() 61 if (!of_property_read_u32(np, "regulator-min-microamp", &pval)) { in of_get_regulation_constraints() 64 if (!of_property_read_u32(np, "regulator-max-microamp", &pval)) { in of_get_regulation_constraints() 68 if (!of_property_read_u32(np, "regulator-input-current-limit-microamp", &pval)) { in of_get_regulation_constraints() 77 constraints->boot_on = of_property_read_bool(np, "regulator-boot-on"); in of_get_regulation_constraints() [all …]
|
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/ |
D | rockchip_opp_select.h | 19 int (*get_soc_info)(struct device *dev, struct device_node *np, int *bin, int *process); 35 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_name, int proces… 37 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int proce… 39 void rockchip_of_get_bin_sel(struct device *dev, struct device_node *np, int bin, int *scale_sel); 40 void rockchip_of_get_bin_volt_sel(struct device *dev, struct device_node *np, int bin, int *bin_vol… 41 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, u8 *val); 42 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, u16 *val); 43 int rockchip_get_volt_rm_table(struct device *dev, struct device_node *np, char *porp_name, 57 static inline void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_na… in rockchip_of_get_lkg_sel() argument 62 static inline void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_n… in rockchip_of_get_pvtm_sel() argument [all …]
|
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/ |
D | rockchip_opp_select.h | 19 int (*get_soc_info)(struct device *dev, struct device_node *np, 39 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, 42 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, 45 void rockchip_of_get_bin_sel(struct device *dev, struct device_node *np, 47 void rockchip_of_get_bin_volt_sel(struct device *dev, struct device_node *np, 49 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, 51 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, 53 int rockchip_get_volt_rm_table(struct device *dev, struct device_node *np, 74 struct device_node *np, in rockchip_of_get_lkg_sel() argument 81 struct device_node *np, in rockchip_of_get_pvtm_sel() argument [all …]
|
/device/board/isoftstone/yangfan/kernel/src/incl/soc/ |
D | rockchip_opp_select.h | 19 int (*get_soc_info)(struct device *dev, struct device_node *np, 38 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, 41 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, 44 void rockchip_of_get_bin_sel(struct device *dev, struct device_node *np, 46 void rockchip_of_get_bin_volt_sel(struct device *dev, struct device_node *np, 48 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, 50 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, 52 int rockchip_get_volt_rm_table(struct device *dev, struct device_node *np, 73 struct device_node *np, in rockchip_of_get_lkg_sel() argument 80 struct device_node *np, in rockchip_of_get_pvtm_sel() argument [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
D | osal_platform.c | 27 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_uint() local 30 if (of_property_read_u32(np, name, &temp_value)) { in osal_platform_get_modparam_uint() 41 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_int() local 44 if (of_property_read_u32(np, name, &temp_value)) { in osal_platform_get_modparam_int() 55 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_uchar() local 58 if (of_property_read_u8(np, name, &temp_value)) { in osal_platform_get_modparam_uchar() 69 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_ushort() local 72 if (of_property_read_u16(np, name, &temp_value)) { in osal_platform_get_modparam_ushort() 83 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_string() local 86 if (of_property_read_string(np, name, &string)) { in osal_platform_get_modparam_string() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/cpufreq/ |
D | cpufreq-dt-platdev.c | 167 struct device_node *np = of_cpu_device_node_get(0); in cpu0_node_has_opp_v2_prop() local 170 if (of_get_property(np, "operating-points-v2", NULL)) in cpu0_node_has_opp_v2_prop() 173 of_node_put(np); in cpu0_node_has_opp_v2_prop() 179 struct device_node *np = of_find_node_by_path("/"); in cpufreq_dt_platdev_init() local 183 if (!np) in cpufreq_dt_platdev_init() 186 match = of_match_node(whitelist, np); in cpufreq_dt_platdev_init() 192 if (cpu0_node_has_opp_v2_prop() && !of_match_node(blacklist, np)) in cpufreq_dt_platdev_init() 195 of_node_put(np); in cpufreq_dt_platdev_init() 199 of_node_put(np); in cpufreq_dt_platdev_init()
|
/device/soc/rockchip/common/vendor/drivers/cpufreq/ |
D | rockchip-cpufreq.c | 48 static int px30_get_soc_info(struct device *dev, struct device_node *np, int *bin, int *process) in px30_get_soc_info() argument 57 if (of_property_match_string(np, "nvmem-cell-names", "performance") >= 0) { in px30_get_soc_info() 58 ret = rockchip_nvmem_cell_read_u8(np, "performance", &value); in px30_get_soc_info() 72 static int rk3288_get_soc_info(struct device *dev, struct device_node *np, int *bin, int *process) in rk3288_get_soc_info() argument 81 if (of_property_match_string(np, "nvmem-cell-names", "special") >= 0) { in rk3288_get_soc_info() 82 ret = rockchip_nvmem_cell_read_u8(np, "special", &value); in rk3288_get_soc_info() 100 if (of_property_match_string(np, "nvmem-cell-names", name) >= 0) { in rk3288_get_soc_info() 101 ret = rockchip_nvmem_cell_read_u8(np, name, &value); in rk3288_get_soc_info() 120 if (of_property_match_string(np, "nvmem-cell-names", "process") >= 0) { in rk3288_get_soc_info() 121 ret = rockchip_nvmem_cell_read_u8(np, "process", &value); in rk3288_get_soc_info() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/cpufreq/ |
D | rockchip-cpufreq.c | 53 static int px30_get_soc_info(struct device *dev, struct device_node *np, in px30_get_soc_info() argument 62 if (of_property_match_string(np, "nvmem-cell-names", in px30_get_soc_info() 64 ret = rockchip_nvmem_cell_read_u8(np, "performance", &value); in px30_get_soc_info() 77 static int rk3288_get_soc_info(struct device *dev, struct device_node *np, in rk3288_get_soc_info() argument 86 if (of_property_match_string(np, "nvmem-cell-names", "special") >= 0) { in rk3288_get_soc_info() 87 ret = rockchip_nvmem_cell_read_u8(np, "special", &value); in rk3288_get_soc_info() 103 if (of_property_match_string(np, "nvmem-cell-names", name) >= 0) { in rk3288_get_soc_info() 104 ret = rockchip_nvmem_cell_read_u8(np, name, &value); in rk3288_get_soc_info() 120 if (of_property_match_string(np, "nvmem-cell-names", in rk3288_get_soc_info() 122 ret = rockchip_nvmem_cell_read_u8(np, "process", &value); in rk3288_get_soc_info() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/cpufreq/ |
D | cpufreq-dt-platdev.c | 389 struct device_node *np = of_cpu_device_node_get(0); in cpu0_node_has_opp_v2_prop() local 392 if (of_get_property(np, "operating-points-v2", NULL)) { in cpu0_node_has_opp_v2_prop() 396 of_node_put(np); in cpu0_node_has_opp_v2_prop() 402 struct device_node *np = of_find_node_by_path("/"); in cpufreq_dt_platdev_init() local 406 if (!np) { in cpufreq_dt_platdev_init() 410 match = of_match_node(whitelist, np); in cpufreq_dt_platdev_init() 416 if (cpu0_node_has_opp_v2_prop() && !of_match_node(blacklist, np)) { in cpufreq_dt_platdev_init() 420 of_node_put(np); in cpufreq_dt_platdev_init() 424 of_node_put(np); in cpufreq_dt_platdev_init()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/src/driver/sensor/ |
D | sensor_bsp_common.c | 32 sbp->np = dev->of_node; in sensor_bp_init() 45 struct device_node *np = NULL; in pwr_am_enable() local 48 np = sensor_bp->np; in pwr_am_enable() 49 sensor_bp->vana = of_get_named_gpio(np, propname, 0); in pwr_am_enable() 100 struct device_node *np = NULL; in reset_am_enable() local 103 np = sensor_bp->np; in reset_am_enable() 104 sensor_bp->reset = of_get_named_gpio(np, propname, 0); in reset_am_enable()
|
/device/soc/amlogic/a311d/soc/amlogic/secmon/ |
D | secmon.c | 83 struct device_node *np = pdev->dev.of_node; in secmon_probe() local 88 if (!of_property_read_u32(np, "in_base_func", &id)) { in secmon_probe() 92 if (!of_property_read_u32(np, "out_base_func", &id)) { in secmon_probe() 96 if (!of_property_read_u32(np, "inout_size_func", &id)) { in secmon_probe() 100 if (of_property_read_u32(np, "reserve_mem_size", &secmon_size)) { in secmon_probe() 151 struct device_node *np; in secmon_clear_cma_mmu() local 154 np = of_find_node_by_name(NULL, "secmon"); in secmon_clear_cma_mmu() 155 if (!np) { in secmon_clear_cma_mmu() 159 if (of_property_read_u32_array(np, "clear_range", clear, 2L)) { in secmon_clear_cma_mmu()
|
/device/soc/rockchip/common/sdk_linux/drivers/clocksource/ |
D | timer-rockchip.c | 131 static int __init rk_timer_probe(struct rk_timer *timer, struct device_node *np) in rk_timer_probe() argument 138 timer->base = of_iomap(np, 0); in rk_timer_probe() 144 if (of_device_is_compatible(np, "rockchip,rk3399-timer")) { in rk_timer_probe() 150 pclk = of_clk_get_by_name(np, "pclk"); in rk_timer_probe() 164 timer_clk = of_clk_get_by_name(np, "timer"); in rk_timer_probe() 180 irq = irq_of_parse_and_map(np, 0); in rk_timer_probe() 209 static int __init rk_clkevt_init(struct device_node *np) in rk_clkevt_init() argument 220 ret = rk_timer_probe(&rk_clkevt->timer, np); in rk_clkevt_init() 255 static int __init rk_clksrc_init(struct device_node *np) in rk_clksrc_init() argument 265 ret = rk_timer_probe(rk_clksrc, np); in rk_clksrc_init() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/arm/ |
D | juno_opp.c | 71 struct device_node *np; in setup_opps() local 75 np = of_find_node_by_name(NULL, "gpu"); in setup_opps() 76 if (!np) { in setup_opps() 81 pdev = of_find_device_by_node(np); in setup_opps() 84 of_node_put(np); in setup_opps() 90 of_node_put(np); in setup_opps()
|