Home
last modified time | relevance | path

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

1234

/include/linux/
Dof_mdio.h17 int __of_mdiobus_register(struct mii_bus *mdio, struct device_node *np,
21 struct device_node *np) in of_mdiobus_register() argument
23 return __of_mdiobus_register(mdio, np, THIS_MODULE); in of_mdiobus_register()
27 struct device_node *np, struct module *owner);
31 struct device_node *np) in devm_of_mdiobus_register() argument
33 return __devm_of_mdiobus_register(dev, mdio, np, THIS_MODULE); in devm_of_mdiobus_register()
36 struct mdio_device *of_mdio_find_device(struct device_node *np);
43 of_phy_get_and_connect(struct net_device *dev, struct device_node *np,
47 int of_phy_register_fixed_link(struct device_node *np);
48 void of_phy_deregister_fixed_link(struct device_node *np);
[all …]
Dof_net.h15 extern int of_get_phy_mode(struct device_node *np, phy_interface_t *interface);
16 extern int of_get_mac_address(struct device_node *np, u8 *mac);
17 extern int of_get_mac_address_nvmem(struct device_node *np, u8 *mac);
18 int of_get_ethdev_address(struct device_node *np, struct net_device *dev);
19 extern struct net_device *of_find_net_device_by_node(struct device_node *np);
21 static inline int of_get_phy_mode(struct device_node *np, in of_get_phy_mode() argument
27 static inline int of_get_mac_address(struct device_node *np, u8 *mac) in of_get_mac_address() argument
32 static inline int of_get_mac_address_nvmem(struct device_node *np, u8 *mac) in of_get_mac_address_nvmem() argument
37 static inline int of_get_ethdev_address(struct device_node *np, struct net_device *dev) in of_get_ethdev_address() argument
42 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) in of_find_net_device_by_node() argument
Dof.h72 struct device_node *np; member
258 extern bool of_node_name_eq(const struct device_node *np, const char *name);
259 extern bool of_node_name_prefix(const struct device_node *np, const char *prefix);
261 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name() argument
263 return np ? np->full_name : "<no-node>"; in of_node_full_name()
308 extern struct property *of_find_property(const struct device_node *np,
311 extern int of_property_count_elems_of_size(const struct device_node *np,
313 extern int of_property_read_u32_index(const struct device_node *np,
316 extern int of_property_read_u64_index(const struct device_node *np,
319 extern int of_property_read_variable_u8_array(const struct device_node *np,
[all …]
Dnetpoll.h59 void netpoll_send_udp(struct netpoll *np, const char *msg, int len);
60 void netpoll_print_options(struct netpoll *np);
61 int netpoll_parse_options(struct netpoll *np, char *opt);
62 int __netpoll_setup(struct netpoll *np, struct net_device *ndev);
63 int netpoll_setup(struct netpoll *np);
64 void __netpoll_cleanup(struct netpoll *np);
65 void __netpoll_free(struct netpoll *np);
66 void netpoll_cleanup(struct netpoll *np);
67 void do_netpoll_cleanup(struct netpoll *np);
68 netdev_tx_t netpoll_send_skb(struct netpoll *np, struct sk_buff *skb);
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(const struct device_node *np);
15 const char *of_clk_get_parent_name(const struct device_node *np, int index);
20 static inline unsigned int of_clk_get_parent_count(const struct device_node *np) in of_clk_get_parent_count() argument
24 static inline const char *of_clk_get_parent_name(const struct device_node *np, in of_clk_get_parent_name() argument
Dof_reserved_mem.h35 struct device_node *np, int idx);
37 struct device_node *np,
41 struct reserved_mem *of_reserved_mem_lookup(struct device_node *np);
48 struct device_node *np, int idx) in of_reserved_mem_device_init_by_idx() argument
54 struct device_node *np, in of_reserved_mem_device_init_by_name() argument
62 static inline struct reserved_mem *of_reserved_mem_lookup(struct device_node *np) in of_reserved_mem_lookup() argument
Dof_address.h61 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
75 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size);
87 struct device_node *np,
89 extern int of_range_to_resource(struct device_node *np, int index,
91 extern bool of_dma_is_coherent(struct device_node *np);
99 static inline u64 of_translate_address(struct device_node *np, in of_translate_address() argument
111 static inline int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size) in of_property_read_reg() argument
142 struct device_node *np, in of_pci_range_to_resource() argument
148 static inline int of_range_to_resource(struct device_node *np, int index, in of_range_to_resource() argument
154 static inline bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent() argument
[all …]
Dof_device.h32 struct device_node *np,
35 struct device_node *np, in of_dma_configure() argument
38 return of_dma_configure_id(dev, np, force_dma, NULL); in of_dma_configure()
73 struct device_node *np, in of_dma_configure_id() argument
80 struct device_node *np, in of_dma_configure() argument
Ddevfreq_cooling.h45 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df,
48 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df);
58 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, in of_devfreq_cooling_register_power() argument
65 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df) in of_devfreq_cooling_register() argument
Dof_platform.h53 extern struct platform_device *of_device_alloc(struct device_node *np,
62 extern struct platform_device *of_find_device_by_node(struct device_node *np);
64 static inline struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node() argument
76 extern struct platform_device *of_platform_device_create(struct device_node *np,
96 static inline struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create() argument
Dof_gpio.h22 extern int of_get_named_gpio(const struct device_node *np,
30 static inline int of_get_named_gpio(const struct device_node *np, in of_get_named_gpio() argument
Dof_pci.h14 int of_pci_get_devfn(struct device_node *np);
23 static inline int of_pci_get_devfn(struct device_node *np) in of_pci_get_devfn() argument
Dof_irq.h51 struct device_node *np,
56 extern void of_msi_configure(struct device *dev, struct device_node *np);
90 struct device_node *np, in of_msi_get_domain() argument
100 static inline void of_msi_configure(struct device *dev, struct device_node *np) in of_msi_configure() argument
/include/linux/mfd/
Dsyscon.h20 struct regmap *device_node_to_regmap(struct device_node *np);
21 struct regmap *syscon_node_to_regmap(struct device_node *np);
23 struct regmap *syscon_regmap_lookup_by_phandle(struct device_node *np,
25 struct regmap *syscon_regmap_lookup_by_phandle_args(struct device_node *np,
29 struct regmap *syscon_regmap_lookup_by_phandle_optional(struct device_node *np,
31 int of_syscon_register_regmap(struct device_node *np,
34 static inline struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap() argument
39 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap() argument
50 struct device_node *np, in syscon_regmap_lookup_by_phandle() argument
57 struct device_node *np, in syscon_regmap_lookup_by_phandle_args() argument
[all …]
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.h17 enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0);
18 bool of_usb_host_tpl_support(struct device_node *np);
19 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
68 enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np);
70 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
/include/soc/fsl/qe/
Dqmc.h19 int qmc_chan_count_phandles(struct device_node *np, const char *phandles_name);
21 struct qmc_chan *qmc_chan_get_byphandles_index(struct device_node *np,
25 struct device_node *np,
29 static inline struct qmc_chan *qmc_chan_get_byphandle(struct device_node *np, in qmc_chan_get_byphandle() argument
32 return qmc_chan_get_byphandles_index(np, phandle_name, 0); in qmc_chan_get_byphandle()
36 struct device_node *np, in devm_qmc_chan_get_byphandle() argument
39 return devm_qmc_chan_get_byphandles_index(dev, np, phandle_name, 0); in devm_qmc_chan_get_byphandle()
42 struct qmc_chan *qmc_chan_get_bychild(struct device_node *np);
45 struct qmc_chan *devm_qmc_chan_get_bychild(struct device *dev, struct device_node *np);
/include/drm/bridge/
Daux-bridge.h24 struct auxiliary_device *devm_drm_dp_hpd_bridge_alloc(struct device *parent, struct device_node *np
27 struct device_node *np);
31 struct device_node *np) in devm_drm_dp_hpd_bridge_alloc() argument
42 struct device_node *np) in drm_dp_hpd_bridge_register() argument
/include/linux/firmware/
Dtrusted_foundations.h74 struct device_node *np = of_find_compatible_node(NULL, NULL, "tlm,trusted-foundations"); in of_register_trusted_foundations() local
76 if (!np) in of_register_trusted_foundations()
78 of_node_put(np); in of_register_trusted_foundations()
/include/linux/clk/
Dsamsung.h14 void s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f,
18 static inline void s3c64xx_clk_init(struct device_node *np, in s3c64xx_clk_init() argument
/include/linux/soc/samsung/
Dexynos-pmu.h25 struct regmap *exynos_get_pmu_regmap_by_phandle(struct device_node *np,
33 static inline struct regmap *exynos_get_pmu_regmap_by_phandle(struct device_node *np, in exynos_get_pmu_regmap_by_phandle() argument
/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_panel.h288 struct drm_panel *of_drm_find_panel(const struct device_node *np);
289 int of_drm_get_panel_orientation(const struct device_node *np,
292 static inline struct drm_panel *of_drm_find_panel(const struct device_node *np) in of_drm_find_panel() argument
297 static inline int of_drm_get_panel_orientation(const struct device_node *np, in of_drm_get_panel_orientation() argument

1234