Home
last modified time | relevance | path

Searched defs:np (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/utility/
Dconfig.c19 static int get_value_int(struct device_node *np, const char *name, in get_value_int()
33 static int get_value_string(struct device_node *np, const char *name, in get_value_string()
50 static int get_gpio_info(struct device_node *np, const char *name, in get_gpio_info()
67 static int get_mname(struct device_node *np, const char *name, in get_mname()
72 static int get_twi_addr(struct device_node *np, const char *name, in get_twi_addr()
78 static int get_twi_cci_spi(struct device_node *np, const char *name, in get_twi_cci_spi()
84 static int get_twi_id(struct device_node *np, const char *name, in get_twi_id()
89 static int get_mclk_id(struct device_node *np, const char *name, in get_mclk_id()
96 static int get_pos(struct device_node *np, const char *name, in get_pos()
101 static int get_isp_used(struct device_node *np, const char *name, in get_isp_used()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/
Dof.h75 struct device_node *np; member
259 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
434 static inline int of_property_read_u8_array(const struct device_node *np, in of_property_read_u8_array()
464 static inline int of_property_read_u16_array(const struct device_node *np, in of_property_read_u16_array()
492 static inline int of_property_read_u32_array(const struct device_node *np, in of_property_read_u32_array()
520 static inline int of_property_read_u64_array(const struct device_node *np, in of_property_read_u64_array()
575 static inline bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
580 static inline bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
585 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
691 static inline struct property *of_find_property(const struct device_node *np, in of_find_property()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
Drockchip_opp_select.c124 static int rockchip_nvmem_cell_read_common(struct device_node *np, 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()
160 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, 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()
209 static int rockchip_get_bin_sel_table(struct device_node *np, char *porp_name, in rockchip_get_bin_sel_table()
249 static int rockchip_get_sel(struct device_node *np, char *name, in rockchip_get_sel()
272 static int rockchip_get_bin_sel(struct device_node *np, char *name, in rockchip_get_bin_sel()
296 static int rockchip_parse_pvtm_config(struct device_node *np, in rockchip_parse_pvtm_config()
335 struct device_node *np, in rockchip_get_pvtm_specific_value()
474 static int rockchip_adjust_leakage(struct device *dev, struct device_node *np, in rockchip_adjust_leakage()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/soc/
Drockchip_opp_select.c124 static int rockchip_nvmem_cell_read_common(struct device_node *np, 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()
160 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, 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()
209 static int rockchip_get_bin_sel_table(struct device_node *np, char *porp_name, in rockchip_get_bin_sel_table()
249 static int rockchip_get_sel(struct device_node *np, char *name, in rockchip_get_sel()
272 static int rockchip_get_bin_sel(struct device_node *np, char *name, in rockchip_get_bin_sel()
296 static int rockchip_parse_pvtm_config(struct device_node *np, in rockchip_parse_pvtm_config()
335 struct device_node *np, in rockchip_get_pvtm_specific_value()
474 static int rockchip_adjust_leakage(struct device *dev, struct device_node *np, in rockchip_adjust_leakage()
[all …]
/device/soc/rockchip/common/vendor/drivers/rockchip/
Drockchip_opp_select.c87 static int rockchip_nvmem_cell_read_common(struct device_node *np, const char *cell_id, void *val, … 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()
121 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, u16 *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()
170 static int rockchip_get_bin_sel_table(struct device_node *np, char *porp_name, struct bin_sel_table… in rockchip_get_bin_sel_table()
212 static int rockchip_get_sel(struct device_node *np, char *name, int value, int *sel) in rockchip_get_sel()
236 static int rockchip_get_bin_sel(struct device_node *np, char *name, int value, int *sel) in rockchip_get_bin_sel()
261 static int rockchip_parse_pvtm_config(struct device_node *np, struct pvtm_config *pvtm) in rockchip_parse_pvtm_config()
306 static int rockchip_get_pvtm_specific_value(struct device *dev, struct device_node *np, struct clk … in rockchip_get_pvtm_specific_value()
444 static int rockchip_adjust_leakage(struct device *dev, struct device_node *np, int *leakage) in rockchip_adjust_leakage()
[all …]
Drockchip_system_monitor.c387 static int rockchip_get_temp_freq_table(struct device_node *np, char *porp_name, struct temp_freq_t… 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()
564 static int monitor_device_parse_wide_temp_config(struct device_node *np, struct monitor_dev_info *i… in monitor_device_parse_wide_temp_config()
642 static int monitor_device_parse_status_config(struct device_node *np, struct monitor_dev_info *info) in monitor_device_parse_status_config()
658 static int monitor_device_parse_early_min_volt(struct device_node *np, struct monitor_dev_info *inf… in monitor_device_parse_early_min_volt()
663 static int monitor_device_parse_read_margin(struct device_node *np, struct monitor_dev_info *info) in monitor_device_parse_read_margin()
671 static int monitor_device_parse_scmi_clk(struct device_node *np, struct monitor_dev_info *info) in monitor_device_parse_scmi_clk()
684 struct device_node *np; in monitor_device_parse_dt() local
1296 struct device_node *np = monitor->dev->of_node; in rockchip_system_monitor_parse_dt() local
/device/soc/rockchip/common/sdk_linux/drivers/opp/
Dof.c34 static struct device_node *_opp_of_get_opp_desc_node(struct device_node *np, int index) in _opp_of_get_opp_desc_node()
50 struct device_node *np; in _managed_opp() local
102 static struct device_node *of_parse_required_opp(struct device_node *np, int index) in of_parse_required_opp()
167 struct device_node *required_np, *np; in _opp_table_alloc_required_tables() local
224 struct device_node *np, *opp_np; in _of_init_opp_table() local
301 struct device_node *np; in _of_opp_alloc_required_opps() local
344 struct device_node *np, *opp_np; in _bandwidth_supported() local
378 struct device_node *np; in dev_pm_opp_of_find_icc_paths() local
440 …tic bool _opp_is_supported(struct device *dev, struct opp_table *opp_table, struct device_node *np) in _opp_is_supported()
641 static int _read_bw(struct dev_pm_opp *new_opp, struct opp_table *table, struct device_node *np, bo… in _read_bw()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpio/
Dgpiolib-of.c40 struct device_node *np = dev->of_node; in of_gpio_spi_cs_get_count() local
126 struct device_node *np = gc->of_node; in of_gpio_need_valid_mask() local
135 static void of_gpio_flags_quirks(struct device_node *np, const char *propname, enum of_gpio_flags *… in of_gpio_flags_quirks()
233 static struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, const char *propname, int… in of_get_named_gpiod_flags()
271 int of_get_named_gpio_flags(struct device_node *np, const char *list_name, int index, enum of_gpio_… in of_get_named_gpio_flags()
370 struct device_node *np = dev->of_node; in of_find_spi_gpio() local
401 struct device_node *np = dev->of_node; in of_find_spi_cs_gpio() local
438 struct device_node *np = dev->of_node; in of_find_regulator_gpio() local
580 static struct gpio_desc *of_parse_own_gpio(struct device_node *np, struct gpio_chip *chip, unsigned… in of_parse_own_gpio()
696 struct device_node *np; in of_gpiochip_scan_gpios() local
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
Dosal_platform.c27 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_uint() local
41 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_int() local
55 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_uchar() local
69 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_ushort() local
83 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_string() local
97 int osal_of_property_read_u32(const void *np, const char *propname, unsigned int *value) in osal_of_property_read_u32()
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/
Drockchip_opp_select.h57 static inline void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_na… in rockchip_of_get_lkg_sel()
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()
67 static inline void rockchip_of_get_bin_sel(struct device *dev, struct device_node *np, int bin, int… in rockchip_of_get_bin_sel()
71 static inline void rockchip_of_get_bin_volt_sel(struct device *dev, struct device_node *np, int bin… in rockchip_of_get_bin_volt_sel()
75 static inline int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, u8 *val) in rockchip_nvmem_cell_read_u8()
80 static inline int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, u16 *va… in rockchip_nvmem_cell_read_u16()
85 static inline int rockchip_get_volt_rm_table(struct device *dev, struct device_node *np, char *porp… in rockchip_get_volt_rm_table()
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/
Drockchip_opp_select.h74 struct device_node *np, in rockchip_of_get_lkg_sel()
81 struct device_node *np, in rockchip_of_get_pvtm_sel()
88 struct device_node *np, int bin, in rockchip_of_get_bin_sel()
94 struct device_node *np, in rockchip_of_get_bin_volt_sel()
99 static inline int rockchip_nvmem_cell_read_u8(struct device_node *np, in rockchip_nvmem_cell_read_u8()
105 static inline int rockchip_nvmem_cell_read_u16(struct device_node *np, in rockchip_nvmem_cell_read_u16()
112 struct device_node *np, in rockchip_get_volt_rm_table()
/device/board/isoftstone/yangfan/kernel/src/incl/soc/
Drockchip_opp_select.h73 struct device_node *np, in rockchip_of_get_lkg_sel()
80 struct device_node *np, in rockchip_of_get_pvtm_sel()
87 struct device_node *np, int bin, in rockchip_of_get_bin_sel()
93 struct device_node *np, in rockchip_of_get_bin_volt_sel()
98 static inline int rockchip_nvmem_cell_read_u8(struct device_node *np, in rockchip_nvmem_cell_read_u8()
104 static inline int rockchip_nvmem_cell_read_u16(struct device_node *np, in rockchip_nvmem_cell_read_u16()
111 struct device_node *np, in rockchip_get_volt_rm_table()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/
Dinit-input.c45 struct device_node *np = NULL; in sunxi_ctp_startup() local
290 struct device_node *np = NULL; in sunxi_gsensor_startup() local
392 struct device_node *np = NULL; in sunxi_gyr_startup() local
462 struct device_node *np = NULL; in sunxi_ecompass_startup() local
550 struct device_node *np = NULL; in sunxi_ls_startup() local
681 struct device_node *np = NULL; in sunxi_motor_startup() local
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/
Dclk-rk3188.c611 static struct rockchip_clk_provider *__init rk3188_common_clk_init(struct device_node *np) in rk3188_common_clk_init()
638 static void __init rk3066a_clk_init(struct device_node *np) in rk3066a_clk_init()
657 static void __init rk3188a_clk_init(struct device_node *np) in rk3188a_clk_init()
693 static void __init rk3188_clk_init(struct device_node *np) in rk3188_clk_init()
751 struct device_node *np = pdev->dev.of_node; in clk_rk3188_probe() local
Dclk-rk3128.c485 static struct rockchip_clk_provider *__init rk3128_common_clk_init(struct device_node *np) in rk3128_common_clk_init()
523 static void __init rk3126_clk_init(struct device_node *np) in rk3126_clk_init()
539 static void __init rk3128_clk_init(struct device_node *np) in rk3128_clk_init()
582 struct device_node *np = pdev->dev.of_node; in clk_rk3128_probe() local
Dclk-rk3288.c731 static void __init rk3288_common_init(struct device_node *np, enum rk3288_variant soc) in rk3288_common_init()
777 static void __init rk3288_clk_init(struct device_node *np) in rk3288_clk_init()
783 static void __init rk3288w_clk_init(struct device_node *np) in rk3288w_clk_init()
816 struct device_node *np = pdev->dev.of_node; in clk_rk3288_probe() local
Dclk-px30.c737 static void __init px30_clk_init(struct device_node *np) in px30_clk_init()
773 static void __init px30_pmu_clk_init(struct device_node *np) in px30_pmu_clk_init()
831 struct device_node *np = pdev->dev.of_node; in clk_px30_probe() local
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/cpufreq/
Dcpufreq-dt-platdev.c167 struct device_node *np = of_cpu_device_node_get(0); in cpu0_node_has_opp_v2_prop() local
179 struct device_node *np = of_find_node_by_path("/"); in cpufreq_dt_platdev_init() local
/device/soc/rockchip/common/sdk_linux/drivers/cpufreq/
Dcpufreq-dt-platdev.c389 struct device_node *np = of_cpu_device_node_get(0); in cpu0_node_has_opp_v2_prop() local
402 struct device_node *np = of_find_node_by_path("/"); in cpufreq_dt_platdev_init() local
/device/soc/rockchip/common/sdk_linux/drivers/clocksource/
Dtimer-rockchip.c131 static int __init rk_timer_probe(struct rk_timer *timer, struct device_node *np) in rk_timer_probe()
209 static int __init rk_clkevt_init(struct device_node *np) in rk_clkevt_init()
255 static int __init rk_clksrc_init(struct device_node *np) in rk_clksrc_init()
294 static int __init rk_timer_init(struct device_node *np) in rk_timer_init()
/device/soc/rockchip/common/vendor/drivers/cpufreq/
Drockchip-cpufreq.c48 static int px30_get_soc_info(struct device *dev, struct device_node *np, int *bin, int *process) 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()
138 static int rk3399_get_soc_info(struct device *dev, struct device_node *np, int *bin, int *process) in rk3399_get_soc_info()
220 static int rv1126_get_soc_info(struct device *dev, struct device_node *np, int *bin, int *process) in rv1126_get_soc_info()
414 struct device_node *np; in rockchip_cpufreq_cluster_init() local
/device/soc/rockchip/rk3588/kernel/drivers/cpufreq/
Drockchip-cpufreq.c53 static int px30_get_soc_info(struct device *dev, struct device_node *np, in px30_get_soc_info()
77 static int rk3288_get_soc_info(struct device *dev, struct device_node *np, in rk3288_get_soc_info()
137 static int rk3399_get_soc_info(struct device *dev, struct device_node *np, in rk3399_get_soc_info()
235 static int rv1126_get_soc_info(struct device *dev, struct device_node *np, in rv1126_get_soc_info()
455 struct device_node *np; in rockchip_cpufreq_cluster_init() local
/device/board/isoftstone/yangfan/kernel/src/driv/devfreq/
Drockchip_dmc.c568 struct device_node *np, uint32_t *timing) in of_get_px30_timings()
626 struct device_node *np, uint32_t *timing) in of_get_rk1808_timings()
687 struct device_node *np, uint32_t *timing) in of_get_rk3128_timings()
727 struct device_node *np, uint32_t *timing) in of_get_rk3228_timings()
753 struct device_node *np, uint32_t *timing) in of_get_rk3288_timings()
793 struct device_node *np, uint32_t *timing) in of_get_rk3328_timings()
851 struct device_node *np, uint32_t *timing) in of_get_rv1126_timings()
912 struct device_node *np) in of_get_rk3368_timings()
976 struct device_node *np) in of_get_rk3399_timings()
1598 struct device_node *np = pdev->dev.of_node; in rk3368_dmc_init() local
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/
Drockchip_dmc.c568 struct device_node *np, uint32_t *timing) in of_get_px30_timings()
626 struct device_node *np, uint32_t *timing) in of_get_rk1808_timings()
687 struct device_node *np, uint32_t *timing) in of_get_rk3128_timings()
727 struct device_node *np, uint32_t *timing) in of_get_rk3228_timings()
753 struct device_node *np, uint32_t *timing) in of_get_rk3288_timings()
793 struct device_node *np, uint32_t *timing) in of_get_rk3328_timings()
851 struct device_node *np, uint32_t *timing) in of_get_rv1126_timings()
912 struct device_node *np) in of_get_rk3368_timings()
976 struct device_node *np) in of_get_rk3399_timings()
1598 struct device_node *np = pdev->dev.of_node; in rk3368_dmc_init() local
[all …]
/device/soc/rockchip/common/vendor/drivers/devfreq/
Drockchip_dmc.c561 static void of_get_px30_timings(struct device *dev, struct device_node *np, uint32_t *timing) in of_get_px30_timings()
613 static void of_get_rk1808_timings(struct device *dev, struct device_node *np, uint32_t *timing) in of_get_rk1808_timings()
665 static void of_get_rk3128_timings(struct device *dev, struct device_node *np, uint32_t *timing) in of_get_rk3128_timings()
701 static uint32_t of_get_rk3228_timings(struct device *dev, struct device_node *np, uint32_t *timing) in of_get_rk3228_timings()
726 static void of_get_rk3288_timings(struct device *dev, struct device_node *np, uint32_t *timing) in of_get_rk3288_timings()
762 static void of_get_rk3328_timings(struct device *dev, struct device_node *np, uint32_t *timing) in of_get_rk3328_timings()
814 static void of_get_rv1126_timings(struct device *dev, struct device_node *np, uint32_t *timing) in of_get_rv1126_timings()
866 static struct rk3368_dram_timing *of_get_rk3368_timings(struct device *dev, struct device_node *np) in of_get_rk3368_timings()
913 static struct rk3399_dram_timing *of_get_rk3399_timings(struct device *dev, struct device_node *np) in of_get_rk3399_timings()
1466 struct device_node *np = pdev->dev.of_node; in rk3368_dmc_init() local
[all …]

12345678910>>...13