Home
last modified time | relevance | path

Searched refs:np (Results 1 – 25 of 78) sorted by relevance

1234

/include/linux/
Dof_gpio.h51 extern int of_get_named_gpio_flags(struct device_node *np,
54 extern int of_mm_gpiochip_add_data(struct device_node *np,
57 static inline int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add() argument
60 return of_mm_gpiochip_add_data(np, mm_gc, NULL); in of_mm_gpiochip_add()
67 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags() argument
98 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count() argument
100 return of_count_phandle_with_args(np, propname, "#gpio-cells"); in of_gpio_named_count()
109 static inline int of_gpio_count(struct device_node *np) in of_gpio_count() argument
111 return of_gpio_named_count(np, "gpios"); in of_gpio_count()
114 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags() argument
[all …]
Dof_mdio.h15 extern int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np);
22 of_phy_get_and_connect(struct net_device *dev, struct device_node *np,
29 extern int of_phy_register_fixed_link(struct device_node *np);
30 extern void of_phy_deregister_fixed_link(struct device_node *np);
31 extern bool of_phy_is_fixed_link(struct device_node *np);
35 const struct device_node *np) in of_mdio_parse_addr() argument
40 ret = of_property_read_u32(np, "reg", &addr); in of_mdio_parse_addr()
42 dev_err(dev, "%s has invalid PHY address\n", np->full_name); in of_mdio_parse_addr()
49 np->full_name, addr); in of_mdio_parse_addr()
57 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register() argument
[all …]
Dof.h75 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 …]
Dof_net.h13 extern int of_get_phy_mode(struct device_node *np);
14 extern const void *of_get_mac_address(struct device_node *np);
15 extern struct net_device *of_find_net_device_by_node(struct device_node *np);
17 static inline int of_get_phy_mode(struct device_node *np) in of_get_phy_mode() argument
22 static inline const void *of_get_mac_address(struct device_node *np) in of_get_mac_address() argument
27 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) in of_find_net_device_by_node() argument
Dnetpoll.h58 void netpoll_send_udp(struct netpoll *np, const char *msg, int len);
59 void netpoll_print_options(struct netpoll *np);
60 int netpoll_parse_options(struct netpoll *np, char *opt);
61 int __netpoll_setup(struct netpoll *np, struct net_device *ndev);
62 int netpoll_setup(struct netpoll *np);
63 void __netpoll_cleanup(struct netpoll *np);
64 void __netpoll_free(struct netpoll *np);
65 void netpoll_cleanup(struct netpoll *np);
66 void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb,
68 static inline void netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) in netpoll_send_skb() argument
[all …]
Dof_dma.h35 extern int of_dma_controller_register(struct device_node *np,
39 extern void of_dma_controller_free(struct device_node *np);
41 extern int of_dma_router_register(struct device_node *np,
47 extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
55 static inline int of_dma_controller_register(struct device_node *np, in of_dma_controller_register() argument
63 static inline void of_dma_controller_free(struct device_node *np) in of_dma_controller_free() argument
67 static inline int of_dma_router_register(struct device_node *np, in of_dma_router_register() argument
77 static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel() argument
Dof_clk.h14 unsigned int of_clk_get_parent_count(struct device_node *np);
15 const char *of_clk_get_parent_name(struct device_node *np, int index);
20 static inline unsigned int of_clk_get_parent_count(struct device_node *np) in of_clk_get_parent_count() argument
24 static inline const char *of_clk_get_parent_name(struct device_node *np, in of_clk_get_parent_name() argument
Ddevfreq_cooling.h69 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df,
72 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df);
79 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, in of_devfreq_cooling_register_power() argument
86 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df) in of_devfreq_cooling_register() argument
Dof_reserved_mem.h35 struct device_node *np, int idx);
41 struct reserved_mem *of_reserved_mem_lookup(struct device_node *np);
44 struct device_node *np, int idx) in of_reserved_mem_device_init_by_idx() argument
53 static inline struct reserved_mem *of_reserved_mem_lookup(struct device_node *np) in of_reserved_mem_lookup() argument
Dof_address.h13 int np; member
34 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
59 extern bool of_dma_is_coherent(struct device_node *np);
67 static inline u64 of_translate_address(struct device_node *np, in of_translate_address() argument
106 static inline bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent() argument
135 struct device_node *np,
150 struct device_node *np, in of_pci_range_to_resource() argument
Dof_platform.h52 extern struct platform_device *of_device_alloc(struct device_node *np,
56 extern struct platform_device *of_find_device_by_node(struct device_node *np);
58 static inline struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node() argument
65 extern struct platform_device *of_platform_device_create(struct device_node *np,
Dof_irq.h52 struct device_node *np,
57 extern void of_msi_configure(struct device *dev, struct device_node *np);
83 struct device_node *np, in of_msi_get_domain() argument
93 static inline void of_msi_configure(struct device *dev, struct device_node *np) in of_msi_configure() argument
Dof_pci.h15 int of_pci_get_devfn(struct device_node *np);
24 static inline int of_pci_get_devfn(struct device_node *np) in of_pci_get_devfn() argument
Dpm_domain.h279 int of_genpd_add_provider_simple(struct device_node *np,
281 int of_genpd_add_provider_onecell(struct device_node *np,
283 void of_genpd_del_provider(struct device_node *np);
287 struct generic_pm_domain *of_genpd_remove_last(struct device_node *np);
299 static inline int of_genpd_add_provider_simple(struct device_node *np, in of_genpd_add_provider_simple() argument
305 static inline int of_genpd_add_provider_onecell(struct device_node *np, in of_genpd_add_provider_onecell() argument
311 static inline void of_genpd_del_provider(struct device_node *np) {} in of_genpd_del_provider() argument
356 struct generic_pm_domain *of_genpd_remove_last(struct device_node *np) in of_genpd_remove_last() argument
Dphy_fixed.h22 struct device_node *np);
41 struct device_node *np) in fixed_phy_register() argument
Dhwspinlock.h64 int of_hwspin_lock_get_id(struct device_node *np, int index);
70 int of_hwspin_lock_get_id_byname(struct device_node *np, const char *name);
130 static inline int of_hwspin_lock_get_id(struct device_node *np, int index) in of_hwspin_lock_get_id() argument
141 int of_hwspin_lock_get_id_byname(struct device_node *np, const char *name) in of_hwspin_lock_get_id_byname() argument
Dnvmem-consumer.h210 struct nvmem_cell *of_nvmem_cell_get(struct device_node *np,
212 struct nvmem_device *of_nvmem_device_get(struct device_node *np,
215 static inline struct nvmem_cell *of_nvmem_cell_get(struct device_node *np, in of_nvmem_cell_get() argument
221 static inline struct nvmem_device *of_nvmem_device_get(struct device_node *np, in of_nvmem_device_get() argument
/include/linux/mfd/
Dsyscon.h20 extern struct regmap *device_node_to_regmap(struct device_node *np);
21 extern struct regmap *syscon_node_to_regmap(struct device_node *np);
24 struct device_node *np,
27 struct device_node *np,
32 static inline struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap() argument
37 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap() argument
48 struct device_node *np, in syscon_regmap_lookup_by_phandle() argument
55 struct device_node *np, in syscon_regmap_lookup_by_phandle_args() argument
Daltera-sysmgr.h18 struct regmap *altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np,
22 altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np, in altr_sysmgr_regmap_lookup_by_phandle() argument
/include/linux/usb/
Dof.h18 enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0);
19 bool of_usb_host_tpl_support(struct device_node *np);
20 int of_usb_update_otg_caps(struct device_node *np,
29 of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0) in of_usb_get_dr_mode_by_phy() argument
33 static inline bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support() argument
37 static inline int of_usb_update_otg_caps(struct device_node *np, in of_usb_update_otg_caps() argument
63 enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np);
65 static inline enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) in of_usb_get_phy_mode() argument
/include/video/
Dof_display_timing.h20 int of_get_display_timing(const struct device_node *np, const char *name,
22 struct display_timings *of_get_display_timings(const struct device_node *np);
24 static inline int of_get_display_timing(const struct device_node *np, in of_get_display_timing() argument
30 of_get_display_timings(const struct device_node *np) in of_get_display_timings() argument
Dof_videomode.h14 int of_get_videomode(struct device_node *np, struct videomode *vm,
/include/media/
Drcar-fcp.h16 struct rcar_fcp_device *rcar_fcp_get(const struct device_node *np);
22 static inline struct rcar_fcp_device *rcar_fcp_get(const struct device_node *np) in rcar_fcp_get() argument
/include/drm/
Ddrm_of.h34 int drm_of_find_panel_or_bridge(const struct device_node *np,
73 static inline int drm_of_find_panel_or_bridge(const struct device_node *np, in drm_of_find_panel_or_bridge() argument
90 static inline int drm_of_panel_bridge_remove(const struct device_node *np, in drm_of_panel_bridge_remove() argument
97 remote = of_graph_get_remote_node(np, port, endpoint); in drm_of_panel_bridge_remove()
Ddrm_panel.h204 struct drm_panel *of_drm_find_panel(const struct device_node *np);
206 static inline struct drm_panel *of_drm_find_panel(const struct device_node *np) in of_drm_find_panel() argument

1234