/linux-6.6.21/drivers/base/ |
D | property.c | 56 bool fwnode_property_present(const struct fwnode_handle *fwnode, in fwnode_property_present() 256 static int fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in fwnode_property_read_int_array() 296 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u8_array() 325 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u16_array() 354 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u32_array() 383 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u64_array() 412 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in fwnode_property_read_string_array() 446 int fwnode_property_read_string(const struct fwnode_handle *fwnode, in fwnode_property_read_string() 470 int fwnode_property_match_string(const struct fwnode_handle *fwnode, in fwnode_property_match_string() 523 int fwnode_property_get_reference_args(const struct fwnode_handle *fwnode, in fwnode_property_get_reference_args() [all …]
|
D | swnode.c | 18 struct fwnode_handle fwnode; member 39 bool is_software_node(const struct fwnode_handle *fwnode) in is_software_node() 56 struct fwnode_handle *fwnode = dev_fwnode(dev); in dev_to_swnode() local 90 const struct software_node *to_software_node(const struct fwnode_handle *fwnode) in to_software_node() 366 static struct fwnode_handle *software_node_get(struct fwnode_handle *fwnode) in software_node_get() 375 static void software_node_put(struct fwnode_handle *fwnode) in software_node_put() 382 static bool software_node_property_present(const struct fwnode_handle *fwnode, in software_node_property_present() 390 static int software_node_read_int_array(const struct fwnode_handle *fwnode, in software_node_read_int_array() 401 static int software_node_read_string_array(const struct fwnode_handle *fwnode, in software_node_read_string_array() 412 software_node_get_name(const struct fwnode_handle *fwnode) in software_node_get_name() [all …]
|
D | core.c | 138 static void fwnode_links_purge_suppliers(struct fwnode_handle *fwnode) in fwnode_links_purge_suppliers() 154 static void fwnode_links_purge_consumers(struct fwnode_handle *fwnode) in fwnode_links_purge_consumers() 170 void fwnode_links_purge(struct fwnode_handle *fwnode) in fwnode_links_purge() 176 void fw_devlink_purge_absent_suppliers(struct fwnode_handle *fwnode) in fw_devlink_purge_absent_suppliers() 222 static void __fw_devlink_pickup_dangling_consumers(struct fwnode_handle *fwnode, in __fw_devlink_pickup_dangling_consumers() 1004 static struct fwnode_handle *fwnode_links_check_suppliers( in fwnode_links_check_suppliers() 1714 static void fw_devlink_parse_fwnode(struct fwnode_handle *fwnode) in fw_devlink_parse_fwnode() 1723 static void fw_devlink_parse_fwtree(struct fwnode_handle *fwnode) in fw_devlink_parse_fwtree() 1874 static bool fwnode_init_without_drv(struct fwnode_handle *fwnode) in fwnode_init_without_drv() 1889 static bool fwnode_ancestor_init_without_drv(struct fwnode_handle *fwnode) in fwnode_ancestor_init_without_drv() [all …]
|
/linux-6.6.21/drivers/acpi/ |
D | property.c | 704 acpi_device_data_of_node(const struct fwnode_handle *fwnode) in acpi_device_data_of_node() 723 int acpi_node_prop_get(const struct fwnode_handle *fwnode, in acpi_node_prop_get() 775 acpi_fwnode_get_named_child_node(const struct fwnode_handle *fwnode, in acpi_fwnode_get_named_child_node() 883 int __acpi_node_get_property_reference(const struct fwnode_handle *fwnode, in __acpi_node_get_property_reference() 1167 static int acpi_node_prop_read(const struct fwnode_handle *fwnode, in acpi_node_prop_read() 1196 struct fwnode_handle *acpi_get_next_subnode(const struct fwnode_handle *fwnode, in acpi_get_next_subnode() 1258 acpi_node_get_parent(const struct fwnode_handle *fwnode) in acpi_node_get_parent() 1279 static bool is_acpi_graph_node(struct fwnode_handle *fwnode, in is_acpi_graph_node() 1305 const struct fwnode_handle *fwnode, struct fwnode_handle *prev) in acpi_graph_get_next_endpoint() 1362 const struct fwnode_handle *fwnode, const char *prop_name, in acpi_graph_get_child_prop_value() [all …]
|
D | irq.c | 163 static inline void acpi_irq_parse_one_match(struct fwnode_handle *fwnode, in acpi_irq_parse_one_match() 203 struct fwnode_handle *fwnode; in acpi_irq_parse_one_cb() local 337 struct fwnode_handle *fwnode, in acpi_irq_create_hierarchy()
|
/linux-6.6.21/drivers/hwtracing/coresight/ |
D | coresight-cti-platform.c | 74 static int cti_plat_get_cpu_at_node(struct fwnode_handle *fwnode) in cti_plat_get_cpu_at_node() 81 const char *cti_plat_get_node_name(struct fwnode_handle *fwnode) in cti_plat_get_node_name() 94 cti_plat_get_csdev_or_node_name(struct fwnode_handle *fwnode, in cti_plat_get_csdev_or_node_name() 106 static bool cti_plat_node_name_eq(struct fwnode_handle *fwnode, in cti_plat_node_name_eq() 224 struct fwnode_handle *fwnode = dev_fwnode(dev); in cti_plat_check_v8_arch_compatible() local 232 static int cti_plat_count_sig_elements(const struct fwnode_handle *fwnode, in cti_plat_count_sig_elements() 241 const struct fwnode_handle *fwnode, in cti_plat_read_trig_group() 268 const struct fwnode_handle *fwnode, in cti_plat_read_trig_types() 315 const struct fwnode_handle *fwnode) in cti_plat_process_filter_sigs() 342 struct fwnode_handle *fwnode) in cti_plat_create_connection() [all …]
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 124 static int v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi2_bus() 266 v4l2_fwnode_endpoint_parse_parallel_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_parallel_bus() 387 v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi1_bus() 420 static int __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in __v4l2_fwnode_endpoint_parse() 496 int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse() 519 int v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_alloc_parse() 560 int v4l2_fwnode_parse_link(struct fwnode_handle *fwnode, in v4l2_fwnode_parse_link() 630 v4l2_fwnode_connector_parse_analog(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse_analog() 662 v4l2_fwnode_get_connector_type(struct fwnode_handle *fwnode) in v4l2_fwnode_get_connector_type() 678 int v4l2_fwnode_connector_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse() [all …]
|
/linux-6.6.21/drivers/of/ |
D | property.c | 866 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() 871 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() 876 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available() 881 static bool of_fwnode_device_dma_supported(const struct fwnode_handle *fwnode) in of_fwnode_device_dma_supported() 887 of_fwnode_device_get_dma_attr(const struct fwnode_handle *fwnode) in of_fwnode_device_get_dma_attr() 895 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present() 901 static int of_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_int_array() 927 of_fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_string_array() 938 static const char *of_fwnode_get_name(const struct fwnode_handle *fwnode) in of_fwnode_get_name() 943 static const char *of_fwnode_get_name_prefix(const struct fwnode_handle *fwnode) in of_fwnode_get_name_prefix() [all …]
|
/linux-6.6.21/include/linux/ |
D | property.h | 83 bool fwnode_device_is_compatible(const struct fwnode_handle *fwnode, const char *compat) in fwnode_device_is_compatible() 115 #define fwnode_for_each_parent_node(fwnode, parent) \ argument 129 #define fwnode_for_each_child_node(fwnode, child) \ argument 133 #define fwnode_for_each_available_child_node(fwnode, child) \ argument 213 static inline bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool() 219 static inline int fwnode_property_read_u8(const struct fwnode_handle *fwnode, in fwnode_property_read_u8() 225 static inline int fwnode_property_read_u16(const struct fwnode_handle *fwnode, in fwnode_property_read_u16() 231 static inline int fwnode_property_read_u32(const struct fwnode_handle *fwnode, in fwnode_property_read_u32() 237 static inline int fwnode_property_read_u64(const struct fwnode_handle *fwnode, in fwnode_property_read_u64() 243 static inline int fwnode_property_count_u8(const struct fwnode_handle *fwnode, in fwnode_property_count_u8() [all …]
|
D | fwnode.h | 93 struct fwnode_handle *fwnode; member 169 #define fwnode_has_op(fwnode, op) \ argument 172 #define fwnode_call_int_op(fwnode, op, ...) \ argument 176 #define fwnode_call_bool_op(fwnode, op, ...) \ argument 180 #define fwnode_call_ptr_op(fwnode, op, ...) \ argument 183 #define fwnode_call_void_op(fwnode, op, ...) \ argument 188 #define get_dev_from_fwnode(fwnode) get_device((fwnode)->dev) argument 190 static inline void fwnode_init(struct fwnode_handle *fwnode, in fwnode_init() 198 static inline void fwnode_dev_initialized(struct fwnode_handle *fwnode, in fwnode_dev_initialized()
|
D | irqdomain.h | 64 struct fwnode_handle *fwnode; member 161 struct fwnode_handle *fwnode; member 296 static inline bool is_fwnode_irqchip(struct fwnode_handle *fwnode) in is_fwnode_irqchip() 305 struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, in irq_find_matching_fwnode() 375 static inline struct irq_domain *irq_domain_create_linear(struct fwnode_handle *fwnode, in irq_domain_create_linear() 383 static inline struct irq_domain *irq_domain_create_tree(struct fwnode_handle *fwnode, in irq_domain_create_tree() 625 struct fwnode_handle *fwnode, enum irq_domain_bus_token bus_token) in irq_find_matching_fwnode()
|
D | acpi.h | 49 #define ACPI_HANDLE_FWNODE(fwnode) \ argument 54 struct fwnode_handle *fwnode; in acpi_alloc_fwnode_static() local 65 static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode) in acpi_free_fwnode_static() 772 #define ACPI_HANDLE_FWNODE(fwnode) (NULL) argument 814 static inline bool is_acpi_node(const struct fwnode_handle *fwnode) in is_acpi_node() 819 static inline bool is_acpi_device_node(const struct fwnode_handle *fwnode) in is_acpi_device_node() 824 static inline struct acpi_device *to_acpi_device_node(const struct fwnode_handle *fwnode) in to_acpi_device_node() 829 static inline bool is_acpi_data_node(const struct fwnode_handle *fwnode) in is_acpi_data_node() 834 static inline struct acpi_data_node *to_acpi_data_node(const struct fwnode_handle *fwnode) in to_acpi_data_node() 839 static inline bool acpi_data_node_match(const struct fwnode_handle *fwnode, in acpi_data_node_match() [all …]
|
/linux-6.6.21/drivers/usb/typec/ |
D | mux.c | 27 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() 71 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get() 257 static int mux_fwnode_match(struct device *dev, const void *fwnode) in mux_fwnode_match() 265 static void *typec_mux_match(const struct fwnode_handle *fwnode, in typec_mux_match() 296 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) in fwnode_typec_mux_get()
|
D | retimer.c | 20 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()
|
/linux-6.6.21/drivers/gpio/ |
D | gpiolib-swnode.c | 39 static struct gpio_chip *swnode_get_chip(struct fwnode_handle *fwnode) in swnode_get_chip() 52 struct gpio_desc *swnode_find_gpio(struct fwnode_handle *fwnode, in swnode_find_gpio() 104 int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) in swnode_gpio_count()
|
/linux-6.6.21/include/linux/usb/ |
D | typec_mux.h | 21 struct fwnode_handle *fwnode; member 55 struct fwnode_handle *fwnode; member 76 static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) in fwnode_typec_mux_get()
|
/linux-6.6.21/drivers/leds/ |
D | led-core.c | 378 struct fwnode_handle *fwnode = led_cdev->dev->fwnode; in led_get_default_pattern() local 420 struct fwnode_handle *fwnode, in led_parse_fwnode_props() 474 struct fwnode_handle *fwnode = init_data->fwnode; in led_compose_name() local 532 enum led_default_state led_init_default_state_get(struct fwnode_handle *fwnode) in led_init_default_state_get()
|
/linux-6.6.21/drivers/platform/x86/intel/ |
D | chtwc_int33fe.c | 163 struct fwnode_handle *fwnode; in cht_int33fe_setup_dp() local 254 struct fwnode_handle *fwnode; in cht_int33fe_register_max17047() local 307 struct fwnode_handle *fwnode; in cht_int33fe_typec_probe() local
|
/linux-6.6.21/drivers/net/mdio/ |
D | fwnode_mdio.c | 19 fwnode_find_pse_control(struct fwnode_handle *fwnode) in fwnode_find_pse_control() 39 fwnode_find_mii_timestamper(struct fwnode_handle *fwnode) in fwnode_find_mii_timestamper()
|
/linux-6.6.21/drivers/usb/roles/ |
D | class.c | 97 static void *usb_role_switch_match(const struct fwnode_handle *fwnode, const char *id, in usb_role_switch_match() 111 usb_role_switch_is_parent(struct fwnode_handle *fwnode) in usb_role_switch_is_parent() 156 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *fwnode) in fwnode_usb_role_switch_get() 194 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
|
/linux-6.6.21/drivers/acpi/arm64/ |
D | apmt.c | 76 struct fwnode_handle *fwnode) in apmt_add_platform_device() 121 struct fwnode_handle *fwnode; in apmt_init_platform_devices() local
|
/linux-6.6.21/lib/ |
D | logic_pio.c | 125 struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode) in find_io_range_by_fwnode() 189 unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode, in logic_pio_trans_hwaddr()
|
/linux-6.6.21/drivers/platform/chrome/ |
D | cros_typec_switch.c | 181 struct fwnode_handle *fwnode) in cros_typec_register_mode_switch() 195 static int cros_typec_register_retimer(struct cros_typec_port *port, struct fwnode_handle *fwnode) in cros_typec_register_retimer() 213 struct fwnode_handle *fwnode; in cros_typec_register_switches() local
|
/linux-6.6.21/drivers/platform/surface/ |
D | surface_gpe.c | 297 struct fwnode_handle *fwnode; in surface_gpe_init() local 343 struct fwnode_handle *fwnode = surface_gpe_device->dev.fwnode; in surface_gpe_exit() local
|
/linux-6.6.21/kernel/irq/ |
D | irqdomain.c | 34 struct fwnode_handle fwnode; member 48 static const char *irqchip_fwnode_get_name(const struct fwnode_handle *fwnode) in irqchip_fwnode_get_name() 116 void irq_domain_free_fwnode(struct fwnode_handle *fwnode) in irq_domain_free_fwnode() 129 static struct irq_domain *__irq_domain_create(struct fwnode_handle *fwnode, in __irq_domain_create() 255 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size, in __irq_domain_add() 356 struct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode, in irq_domain_create_simple() 411 struct irq_domain *irq_domain_create_legacy(struct fwnode_handle *fwnode, in irq_domain_create_legacy() 437 struct fwnode_handle *fwnode = fwspec->fwnode; in irq_find_matching_fwspec() local 1136 struct fwnode_handle *fwnode, in irq_domain_create_hierarchy()
|