/drivers/clk/hisilicon/ |
H A D | clk-hip04.c | 46 static void __init hip04_clk_init(struct device_node *np) argument 50 clk_data = hisi_clk_init(np, HIP04_NR_CLKS);
|
/drivers/input/touchscreen/ |
H A D | of_touchscreen.c | 26 struct device_node *np = dev->dev.parent->of_node; local 34 of_property_read_u32(np, "touchscreen-size-x", &absinfo->maximum); 35 of_property_read_u32(np, "touchscreen-fuzz-x", &absinfo->fuzz); 38 of_property_read_u32(np, "touchscreen-size-y", &absinfo->maximum); 39 of_property_read_u32(np, "touchscreen-fuzz-y", &absinfo->fuzz); 42 of_property_read_u32(np, "touchscreen-max-pressure", &absinfo->maximum); 43 of_property_read_u32(np, "touchscreen-fuzz-pressure", &absinfo->fuzz);
|
/drivers/char/tpm/ |
H A D | tpm_of.c | 25 struct device_node *np; local 34 np = of_find_node_by_name(NULL, "ibm,vtpm"); 35 if (!np) { 40 sizep = of_get_property(np, "linux,sml-size", NULL); 50 basep = of_get_property(np, "linux,sml-base", NULL); 56 of_node_put(np); 71 of_node_put(np);
|
/drivers/clocksource/ |
H A D | clksrc-of.c | 28 struct device_node *np; local 33 for_each_matching_node_and_match(np, __clksrc_of_table, &match) { 34 if (!of_device_is_available(np)) 38 init_func(np);
|
/drivers/clk/at91/ |
H A D | sckc.c | 38 static void __init of_at91sam9x5_sckc_setup(struct device_node *np) argument 43 void __iomem *regbase = of_iomap(np, 0); 48 for_each_child_of_node(np, childnp) {
|
/drivers/clk/ |
H A D | clk-efm32gg.c | 25 static void __init efm32gg_cmu_init(struct device_node *np) argument 33 base = of_iomap(np, 0); 79 of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data);
|
/drivers/mmc/host/ |
H A D | mmci_qcom_dml.h | 19 int dml_hw_init(struct mmci_host *host, struct device_node *np); 22 static inline int dml_hw_init(struct mmci_host *host, struct device_node *np) argument
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | of.c | 30 struct device_node *np = dev->of_node; local 35 if (!np || !of_device_is_compatible(np, "brcm,bcm4329-fmac")) 42 irq = irq_of_parse_and_map(np, 0); 54 if (of_property_read_u32(np, "brcm,drive-strength", &val) == 0)
|
/drivers/of/ |
H A D | of_net.c | 16 * @np: Pointer to the given device_node 22 int of_get_phy_mode(struct device_node *np) argument 27 err = of_property_read_string(np, "phy-mode", &pm); 29 err = of_property_read_string(np, "phy-connection-type", &pm); 59 const void *of_get_mac_address(struct device_node *np) argument 63 pp = of_find_property(np, "mac-address", NULL); 67 pp = of_find_property(np, "local-mac-address", NULL); 71 pp = of_find_property(np, "address", NULL);
|
H A D | of_mtd.c | 30 * @np: Pointer to the given device_node 35 int of_get_nand_ecc_mode(struct device_node *np) argument 40 err = of_property_read_string(np, "nand-ecc-mode", &pm); 55 * @np: Pointer to the given device_node 59 int of_get_nand_ecc_step_size(struct device_node *np) argument 64 ret = of_property_read_u32(np, "nand-ecc-step-size", &val); 72 * @np: Pointer to the given device_node 76 int of_get_nand_ecc_strength(struct device_node *np) argument 81 ret = of_property_read_u32(np, "nand-ecc-strength", &val); 88 * @np 92 of_get_nand_bus_width(struct device_node *np) argument 115 of_get_nand_on_flash_bbt(struct device_node *np) argument [all...] |
H A D | of_private.h | 19 * @np: Pointer to device_node that the alias stands for 29 struct device_node *np; member in struct:alias_prop 45 extern int of_property_notify(int action, struct device_node *np, 49 static inline int of_property_notify(int action, struct device_node *np, argument 66 extern const void *__of_get_property(const struct device_node *np, 68 extern int __of_add_property(struct device_node *np, struct property *prop); 69 extern int __of_add_property_sysfs(struct device_node *np, 71 extern int __of_remove_property(struct device_node *np, struct property *prop); 72 extern void __of_remove_property_sysfs(struct device_node *np, 74 extern int __of_update_property(struct device_node *np, [all...] |
/drivers/usb/phy/ |
H A D | of.c | 27 * @np: Pointer to the given device_node 32 enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) argument 37 err = of_property_read_string(np, "phy_type", &phy_type);
|
/drivers/video/ |
H A D | of_videomode.c | 18 * @np - devicenode with the display_timings 31 int of_get_videomode(struct device_node *np, struct videomode *vm, argument 37 disp = of_get_display_timings(np); 39 pr_err("%s: no timings specified\n", of_node_full_name(np));
|
/drivers/bus/ |
H A D | omap-ocp2scp.c | 38 struct device_node *np = pdev->dev.of_node; local 40 if (np) { 41 ret = of_platform_populate(np, NULL, NULL, &pdev->dev);
|
/drivers/clk/sunxi/ |
H A D | clk-sun8i-apb0.c | 24 struct device_node *np = pdev->dev.of_node; local 25 const char *clk_name = np->name; 36 clk_parent = of_clk_get_parent_name(np, 0); 40 of_property_read_string(np, "clock-output-names", &clk_name); 48 return of_clk_add_provider(np, of_clk_src_simple_get, clk);
|
H A D | clk-sun6i-apb0.c | 33 struct device_node *np = pdev->dev.of_node; local 34 const char *clk_name = np->name; 45 clk_parent = of_clk_get_parent_name(np, 0); 49 of_property_read_string(np, "clock-output-names", &clk_name); 57 return of_clk_add_provider(np, of_clk_src_simple_get, clk);
|
/drivers/gpu/drm/ |
H A D | drm_panel.c | 79 struct drm_panel *of_drm_find_panel(struct device_node *np) argument 86 if (panel->dev->of_node == np) {
|
/drivers/memory/ |
H A D | of_memory.h | 16 extern const struct lpddr2_min_tck *of_get_min_tck(struct device_node *np, 23 *of_get_min_tck(struct device_node *np, struct device *dev) argument
|
/drivers/power/reset/ |
H A D | hisi-reboot.c | 37 struct device_node *np = pdev->dev.of_node; local 39 base = of_iomap(np, 0); 45 if (of_property_read_u32(np, "reboot-offset", &reboot_offset) < 0) {
|
H A D | as3722-poweroff.c | 51 struct device_node *np = pdev->dev.parent->of_node; local 53 if (!np) 56 if (!of_property_read_bool(np, "ams,system-power-controller"))
|
/drivers/clk/samsung/ |
H A D | clk-exynos5440.c | 93 static void __init exynos5440_clk_init(struct device_node *np) argument 98 reg_base = of_iomap(np, 0); 105 ctx = samsung_clk_init(np, reg_base, CLK_NR_CLKS); 126 samsung_clk_of_add_provider(np, ctx);
|
/drivers/clk/ti/ |
H A D | clockdomain.c | 71 struct device_node *np; local 72 for_each_matching_node(np, ti_clkdm_match_table) { 73 of_ti_clockdomain_setup(np);
|
/drivers/cpufreq/ |
H A D | arm_big_little_dt.c | 36 struct device_node *np = of_cpu_device_node_get(cpu); local 38 if (!of_get_property(np, "operating-points", NULL)) { 39 of_node_put(np); 40 np = NULL; 43 return np; 48 struct device_node *np; local 51 np = of_node_get(cpu_dev->of_node); 52 if (!np) { 58 of_node_put(np); 65 struct device_node *np; local 89 struct device_node *np; local [all...] |
/drivers/gpio/ |
H A D | gpio-clps711x.c | 20 struct device_node *np = pdev->dev.of_node; local 24 int err, id = np ? of_alias_get_id(np, "gpio") : pdev->id;
|
/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_mdio.c | 59 int temac_mdio_setup(struct temac_local *lp, struct device_node *np) argument 69 bus_hz = of_get_property(np, "clock-frequency", &size); 88 of_address_to_resource(np, 0, &res); 100 rc = of_mdiobus_register(bus, np);
|