Home
last modified time | relevance | path

Searched defs:fwnode (Results 1 – 25 of 157) sorted by relevance

1234567

/linux/drivers/acpi/
H A Dproperty.c756 acpi_device_data_of_node(const struct fwnode_handle *fwnode) in acpi_device_data_of_node()
775 int acpi_node_prop_get(const struct fwnode_handle *fwnode, in acpi_node_prop_get()
827 acpi_fwnode_get_named_child_node(const struct fwnode_handle *fwnode, in acpi_fwnode_get_named_child_node()
847 static unsigned int acpi_fwnode_get_args_count(struct fwnode_handle *fwnode, in acpi_fwnode_get_args_count()
909 static struct fwnode_handle *acpi_parse_string_ref(const struct fwnode_handle *fwnode, in acpi_parse_string_ref()
947 static int acpi_fwnode_get_reference_args(const struct fwnode_handle *fwnode, in acpi_fwnode_get_reference_args()
1105 int __acpi_node_get_property_reference(const struct fwnode_handle *fwnode, in __acpi_node_get_property_reference()
1308 static int acpi_node_prop_read(const struct fwnode_handle *fwnode, in acpi_node_prop_read()
1338 acpi_get_next_subnode(const struct fwnode_handle *fwnode, in acpi_get_next_subnode()
1403 acpi_get_next_present_subnode(const struct fwnode_handle *fwnode, in acpi_get_next_present_subnode()
[all …]
/linux/drivers/of/
H A Dproperty.c1045 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get()
1050 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put()
1055 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available()
1060 static bool of_fwnode_device_dma_supported(const struct fwnode_handle *fwnode) in of_fwnode_device_dma_supported()
1066 of_fwnode_device_get_dma_attr(const struct fwnode_handle *fwnode) in of_fwnode_device_get_dma_attr()
1074 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present()
1080 static bool of_fwnode_property_read_bool(const struct fwnode_handle *fwnode, in of_fwnode_property_read_bool()
1086 static int of_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_int_array()
1112 of_fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_string_array()
1123 static const char *of_fwnode_get_name(const struct fwnode_handle *fwnode) in of_fwnode_get_name()
[all …]
/linux/drivers/usb/typec/
H A Dmux.c27 static int switch_fwnode_match(struct device *dev, const void *fwnode) in switch_fwnode_match()
35 static void *typec_switch_match(const struct fwnode_handle *fwnode, in typec_switch_match()
80 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get()
267 static int mux_fwnode_match(struct device *dev, const void *fwnode) in mux_fwnode_match()
275 static void *typec_mux_match(const struct fwnode_handle *fwnode, in typec_mux_match()
306 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) in fwnode_typec_mux_get()
H A Dretimer.c20 static int retimer_fwnode_match(struct device *dev, const void *fwnode) in retimer_fwnode_match()
25 static void *typec_retimer_match(const struct fwnode_handle *fwnode, const char *id, void *data) in typec_retimer_match()
47 struct typec_retimer *fwnode_typec_retimer_get(struct fwnode_handle *fwnode) in fwnode_typec_retimer_get()
H A Dport-mapper.c40 static int usb4_port_compare(struct device *dev, void *fwnode) in usb4_port_compare()
45 static int typec_port_compare(struct device *dev, void *fwnode) in typec_port_compare()
/linux/drivers/platform/x86/intel/
H A Dchtwc_int33fe.c163 struct fwnode_handle *fwnode; in cht_int33fe_setup_dp() local
202 struct fwnode_handle *fwnode = data; in cht_int33fe_put_swnode() local
265 struct fwnode_handle *fwnode; in cht_int33fe_register_max17047() local
318 struct fwnode_handle *fwnode; in cht_int33fe_typec_probe() local
/linux/kernel/irq/
H A Dirq_sim.c192 struct irq_domain *irq_domain_create_sim(struct fwnode_handle *fwnode, in irq_domain_create_sim()
199 struct irq_domain *irq_domain_create_sim_full(struct fwnode_handle *fwnode, in irq_domain_create_sim_full()
269 struct fwnode_handle *fwnode, in devm_irq_domain_create_sim()
279 struct fwnode_handle *fwnode, in devm_irq_domain_create_sim_full()
/linux/drivers/gpio/
H A Dgpiolib-acpi.h48 acpi_find_gpio(struct fwnode_handle *fwnode, const char *con_id, in acpi_find_gpio()
54 static inline int acpi_gpio_count(const struct fwnode_handle *fwnode, in acpi_gpio_count()
H A Dgpiolib-shared.c34 struct fwnode_handle *fwnode; member
51 struct fwnode_handle *fwnode; member
81 static struct gpio_shared_ref *gpio_shared_make_ref(struct fwnode_handle *fwnode, in gpio_shared_make_ref()
163 struct fwnode_handle *fwnode; in gpio_shared_of_traverse() local
446 int gpio_shared_add_proxy_lookup(struct device *consumer, struct fwnode_handle *fwnode, in gpio_shared_add_proxy_lookup()
H A Dgpiolib-acpi-core.c787 static int acpi_gpio_property_lookup(struct fwnode_handle *fwnode, const char *propname, in acpi_gpio_property_lookup()
891 static int acpi_get_gpiod_from_data(struct fwnode_handle *fwnode, const char *propname, in acpi_get_gpiod_from_data()
924 __acpi_find_gpio(struct fwnode_handle *fwnode, const char *con_id, unsigned int idx, in __acpi_find_gpio()
966 struct gpio_desc *acpi_find_gpio(struct fwnode_handle *fwnode, in acpi_find_gpio()
1021 struct fwnode_handle *fwnode = acpi_fwnode_handle(adev); in acpi_dev_gpio_irq_wake_get_by() local
1356 int acpi_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) in acpi_gpio_count()
/linux/drivers/thermal/
H A Dthermal_fw.c29 thermal_fwnode_cooling_device_register(struct fwnode_handle *fwnode, int fwn_index, in thermal_fwnode_cooling_device_register()
48 __devm_thermal_fwnode_cooling_device_register(struct device *dev, struct fwnode_handle *fwnode, in __devm_thermal_fwnode_cooling_device_register()
/linux/drivers/usb/roles/
H A Dclass.c126 static void *usb_role_switch_match(const struct fwnode_handle *fwnode, const char *id, in usb_role_switch_match()
140 usb_role_switch_is_parent(struct fwnode_handle *fwnode) in usb_role_switch_is_parent()
190 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *fwnode) in fwnode_usb_role_switch_get()
228 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
/linux/drivers/reset/
H A Dcore.c969 static void reset_gpio_add_devlink(struct fwnode_handle *fwnode, in reset_gpio_add_devlink()
1012 static int __reset_add_reset_gpio_device(struct fwnode_handle *fwnode, in __reset_add_reset_gpio_device()
1139 __fwnode_reset_control_get(struct fwnode_handle *fwnode, const char *id, int index, in __fwnode_reset_control_get()
1240 struct fwnode_handle *fwnode = dev_fwnode(dev); in __reset_control_get() local
1479 static int fwnode_reset_control_get_count(struct fwnode_handle *fwnode) in fwnode_reset_control_get_count()
1517 fwnode_reset_control_array_get(struct fwnode_handle *fwnode, in fwnode_reset_control_array_get()
1599 struct fwnode_handle *fwnode = dev_fwnode(dev); in reset_control_get_count() local
/linux/include/linux/
H A Dacpi.h62 #define ACPI_HANDLE_FWNODE(fwnode) \ argument
67 struct fwnode_handle *fwnode; in acpi_alloc_fwnode_static() local
78 static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode) in acpi_free_fwnode_static()
845 #define ACPI_HANDLE_FWNODE(fwnode) (NULL) argument
883 static inline bool is_acpi_node(const struct fwnode_handle *fwnode) in is_acpi_node()
888 static inline bool is_acpi_device_node(const struct fwnode_handle *fwnode) in is_acpi_device_node()
893 static inline struct acpi_device *to_acpi_device_node(const struct fwnode_handle *fwnode) in to_acpi_device_node()
898 static inline bool is_acpi_data_node(const struct fwnode_handle *fwnode) in is_acpi_data_node()
903 static inline struct acpi_data_node *to_acpi_data_node(const struct fwnode_handle *fwnode) in to_acpi_data_node()
908 static inline bool acpi_data_node_match(const struct fwnode_handle *fwnode, in acpi_data_node_match()
[all …]
H A Dacpi_mdio.h22 acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *fwnode) in acpi_mdiobus_register()
/linux/include/linux/usb/
H A Drole.h39 struct fwnode_handle *fwnode; member
95 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
/linux/drivers/net/pcs/
H A Dpcs-mtk-lynxi.c86 struct fwnode_handle *fwnode; member
130 struct fwnode_handle *fwnode = mpcs->fwnode, *pcs_fwnode; in mtk_pcs_config_polarity() local
314 struct fwnode_handle *fwnode, in mtk_pcs_lynxi_create()
/linux/drivers/irqchip/
H A Dirq-riscv-imsic-early.c185 static int __init imsic_early_probe(struct fwnode_handle *fwnode) in imsic_early_probe()
227 struct fwnode_handle *fwnode = &node->fwnode; in imsic_early_dt_init() local
H A Dirq-gic-v2m.c67 struct fwnode_handle *fwnode; member
289 static int __init gicv2m_init_one(struct fwnode_handle *fwnode, in gicv2m_init_one()
471 struct fwnode_handle *fwnode; in acpi_parse_madt_msi() local
/linux/rust/helpers/
H A Dproperty.c5 __rust_helper void rust_helper_fwnode_handle_put(struct fwnode_handle *fwnode) in rust_helper_fwnode_handle_put() argument
H A Dof.c5 __rust_helper bool rust_helper_is_of_node(const struct fwnode_handle *fwnode) in rust_helper_is_of_node() argument
/linux/drivers/acpi/riscv/
H A Drimt.c22 struct fwnode_handle *fwnode; member
45 struct fwnode_handle *fwnode) in rimt_set_fwnode()
228 struct fwnode_handle *fwnode = NULL; in rimt_get_fwnode() local
/linux/arch/powerpc/sysdev/
H A Dmpc5xxx_clocks.c16 unsigned long mpc5xxx_fwnode_get_bus_frequency(struct fwnode_handle *fwnode) in mpc5xxx_fwnode_get_bus_frequency()
/linux/drivers/net/mdio/
H A Dacpi_mdio.c32 int __acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *fwnode, in __acpi_mdiobus_register()
/linux/drivers/net/phy/
H A Dsfp-bus.c20 const struct fwnode_handle *fwnode; member
387 static struct sfp_bus *sfp_bus_get(const struct fwnode_handle *fwnode) in sfp_bus_get()
610 struct sfp_bus *sfp_bus_find_fwnode(const struct fwnode_handle *fwnode) in sfp_bus_find_fwnode()

1234567