Home
last modified time | relevance | path

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

1234

/include/linux/
A Dof_mdio.h21 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
47 int of_phy_register_fixed_link(struct device_node *np);
49 bool of_phy_is_fixed_link(struct device_node *np);
54 const struct device_node *np) in of_mdio_parse_addr() argument
59 ret = of_property_read_u32(np, "reg", &addr); in of_mdio_parse_addr()
68 np->full_name, addr); in of_mdio_parse_addr()
93 struct device_node *np) in devm_of_mdiobus_register() argument
[all …]
A 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
A Dof.h72 struct device_node *np; member
263 return np ? np->full_name : "<no-node>"; in of_node_full_name()
989 return args.np; in of_parse_phandle()
1116 return a1->np == a2->np && in of_phandle_args_equal()
1571 struct device_node *np; member
1614 struct device_node *np) in of_changeset_attach_node() argument
1620 struct device_node *np) in of_changeset_detach_node() argument
1647 struct device_node *np,
1654 struct device_node *np,
1658 struct device_node *np, in of_changeset_add_prop_u32() argument
[all …]
A Dof_reserved_mem.h36 struct device_node *np, int idx);
38 struct device_node *np,
42 struct reserved_mem *of_reserved_mem_lookup(struct device_node *np);
43 int of_reserved_mem_region_to_resource(const struct device_node *np,
45 int of_reserved_mem_region_to_resource_byname(const struct device_node *np,
47 int of_reserved_mem_region_count(const struct device_node *np);
55 struct device_node *np, int idx) in of_reserved_mem_device_init_by_idx() argument
61 struct device_node *np, in of_reserved_mem_device_init_by_name() argument
69 static inline struct reserved_mem *of_reserved_mem_lookup(struct device_node *np) in of_reserved_mem_lookup() argument
74 static inline int of_reserved_mem_region_to_resource(const struct device_node *np, in of_reserved_mem_region_to_resource() argument
[all …]
A Dnetpoll.h42 #define np_info(np, fmt, ...) \ argument
43 pr_info("%s: " fmt, np->name, ##__VA_ARGS__)
44 #define np_err(np, fmt, ...) \ argument
45 pr_err("%s: " fmt, np->name, ##__VA_ARGS__)
46 #define np_notice(np, fmt, ...) \ argument
47 pr_notice("%s: " fmt, np->name, ##__VA_ARGS__)
72 int __netpoll_setup(struct netpoll *np, struct net_device *ndev);
73 int netpoll_setup(struct netpoll *np);
74 void __netpoll_free(struct netpoll *np);
75 void netpoll_cleanup(struct netpoll *np);
[all …]
A 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
A 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
A Dof_address.h62 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
76 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size);
88 const struct device_node *np,
90 extern int of_range_to_resource(struct device_node *np, int index,
92 extern bool of_dma_is_coherent(struct device_node *np);
100 static inline u64 of_translate_address(struct device_node *np, in of_translate_address() argument
143 struct device_node *np, in of_pci_range_to_resource() argument
149 static inline int of_range_to_resource(struct device_node *np, int index, in of_range_to_resource() argument
155 static inline bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent() argument
191 static inline int of_address_count(struct device_node *np) in of_address_count() argument
[all …]
A 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
A 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
A Dof_platform.h51 extern struct platform_device *of_device_alloc(struct device_node *np,
60 extern struct platform_device *of_find_device_by_node(struct device_node *np);
62 static inline struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node() argument
74 extern struct platform_device *of_platform_device_create(struct device_node *np,
94 static inline struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create() argument
A 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
A 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
A Dof_irq.h51 const struct device_node *np,
56 extern void of_msi_configure(struct device *dev, const struct device_node *np);
91 struct device_node *np, in of_msi_get_domain() argument
101 static inline void of_msi_configure(struct device *dev, struct device_node *np) in of_msi_configure() argument
A Dphy_fixed.h22 struct device_node *np);
36 struct device_node *np) in fixed_phy_register() argument
/include/linux/mfd/
A 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,
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
66 struct device_node *np, in syscon_regmap_lookup_by_phandle_optional() argument
[all …]
A 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/
A 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/soc/fsl/qe/
A 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/video/
A 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/drm/bridge/
A 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/
A 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/
A 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/
A 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/
A Drcar-fcp.h16 struct rcar_fcp_device *rcar_fcp_get(const struct device_node *np);
23 static inline struct rcar_fcp_device *rcar_fcp_get(const struct device_node *np) in rcar_fcp_get() argument

Completed in 37 milliseconds

1234