/kernel/linux/linux-5.10/include/linux/ |
D | fwnode.h | 17 struct fwnode_handle { struct 18 struct fwnode_handle *secondary; argument 32 const struct fwnode_handle *local_fwnode; argument 44 struct fwnode_handle *fwnode; 111 struct fwnode_handle *(*get)(struct fwnode_handle *fwnode); 112 void (*put)(struct fwnode_handle *fwnode); 113 bool (*device_is_available)(const struct fwnode_handle *fwnode); 114 const void *(*device_get_match_data)(const struct fwnode_handle *fwnode, 116 bool (*property_present)(const struct fwnode_handle *fwnode, 118 int (*property_read_int_array)(const struct fwnode_handle *fwnode, [all …]
|
D | property.h | 34 struct fwnode_handle *dev_fwnode(struct device *dev); 52 bool fwnode_device_is_available(const struct fwnode_handle *fwnode); 53 bool fwnode_property_present(const struct fwnode_handle *fwnode, 55 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, 58 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, 61 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, 64 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, 67 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode, 70 int fwnode_property_read_string(const struct fwnode_handle *fwnode, 72 int fwnode_property_match_string(const struct fwnode_handle *fwnode, [all …]
|
D | acpi.h | 50 static inline struct fwnode_handle *acpi_alloc_fwnode_static(void) in acpi_alloc_fwnode_static() 52 struct fwnode_handle *fwnode; in acpi_alloc_fwnode_static() 54 fwnode = kzalloc(sizeof(struct fwnode_handle), GFP_KERNEL); in acpi_alloc_fwnode_static() 63 static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode) in acpi_free_fwnode_static() 335 struct fwnode_handle *fwnode); 339 struct fwnode_handle *fwnode, 718 struct fwnode_handle; 746 static inline bool is_acpi_node(struct fwnode_handle *fwnode) in is_acpi_node() 751 static inline bool is_acpi_device_node(struct fwnode_handle *fwnode) in is_acpi_device_node() 756 static inline struct acpi_device *to_acpi_device_node(struct fwnode_handle *fwnode) in to_acpi_device_node() [all …]
|
D | irqdomain.h | 64 struct fwnode_handle *fwnode; 171 struct fwnode_handle *fwnode; 231 struct fwnode_handle *__irq_domain_alloc_fwnode(unsigned int type, int id, 241 struct fwnode_handle *irq_domain_alloc_named_fwnode(const char *name) in irq_domain_alloc_named_fwnode() 247 struct fwnode_handle *irq_domain_alloc_named_id_fwnode(const char *name, int id) in irq_domain_alloc_named_id_fwnode() 253 static inline struct fwnode_handle *irq_domain_alloc_fwnode(phys_addr_t *pa) in irq_domain_alloc_fwnode() 258 void irq_domain_free_fwnode(struct fwnode_handle *fwnode); 259 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size, 283 static inline struct fwnode_handle *of_node_to_fwnode(struct device_node *node) in of_node_to_fwnode() 290 static inline bool is_fwnode_irqchip(struct fwnode_handle *fwnode) in is_fwnode_irqchip() [all …]
|
D | irq_sim.h | 19 struct irq_domain *irq_domain_create_sim(struct fwnode_handle *fwnode, 22 struct fwnode_handle *fwnode,
|
D | logic_pio.h | 20 struct fwnode_handle *fwnode; 116 struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode); 117 unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode,
|
D | leds-ti-lmu-common.h | 41 struct fwnode_handle *child, 44 int ti_lmu_common_get_brt_res(struct device *dev, struct fwnode_handle *child,
|
/kernel/linux/linux-5.10/drivers/base/ |
D | property.c | 21 struct fwnode_handle *dev_fwnode(struct device *dev) in dev_fwnode() 46 bool fwnode_property_present(const struct fwnode_handle *fwnode, in fwnode_property_present() 229 static int fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in fwnode_property_read_int_array() 265 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u8_array() 291 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u16_array() 317 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u32_array() 343 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u64_array() 369 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in fwnode_property_read_string_array() 401 int fwnode_property_read_string(const struct fwnode_handle *fwnode, in fwnode_property_read_string() 425 int fwnode_property_match_string(const struct fwnode_handle *fwnode, in fwnode_property_match_string() [all …]
|
D | swnode.c | 17 struct fwnode_handle fwnode; 36 bool is_software_node(const struct fwnode_handle *fwnode) in is_software_node() 74 const struct software_node *to_software_node(const struct fwnode_handle *fwnode) in to_software_node() 82 struct fwnode_handle *software_node_fwnode(const struct software_node *node) in software_node_fwnode() 350 static struct fwnode_handle *software_node_get(struct fwnode_handle *fwnode) in software_node_get() 359 static void software_node_put(struct fwnode_handle *fwnode) in software_node_put() 366 static bool software_node_property_present(const struct fwnode_handle *fwnode, in software_node_property_present() 374 static int software_node_read_int_array(const struct fwnode_handle *fwnode, in software_node_read_int_array() 385 static int software_node_read_string_array(const struct fwnode_handle *fwnode, in software_node_read_string_array() 396 software_node_get_name(const struct fwnode_handle *fwnode) in software_node_get_name() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | property.c | 61 struct fwnode_handle *parent); 69 struct fwnode_handle *parent) in acpi_nondev_subnode_extract() 121 struct fwnode_handle *parent) in acpi_nondev_subnode_data_ok() 142 struct fwnode_handle *parent) in acpi_nondev_subnode_ok() 161 struct fwnode_handle *parent) in acpi_add_nondev_subnodes() 209 struct fwnode_handle *parent) in acpi_enumerate_nondev_subnodes() 545 acpi_device_data_of_node(const struct fwnode_handle *fwnode) in acpi_device_data_of_node() 563 int acpi_node_prop_get(const struct fwnode_handle *fwnode, in acpi_node_prop_get() 614 static struct fwnode_handle * 615 acpi_fwnode_get_named_child_node(const struct fwnode_handle *fwnode, in acpi_fwnode_get_named_child_node() [all …]
|
D | irq.c | 15 static struct fwnode_handle *acpi_gsi_domain_id; 95 static struct fwnode_handle * 98 struct fwnode_handle *result; in acpi_get_irq_source_fwhandle() 145 static inline void acpi_irq_parse_one_match(struct fwnode_handle *fwnode, in acpi_irq_parse_one_match() 184 struct fwnode_handle *fwnode; in acpi_irq_parse_one_cb() 290 struct fwnode_handle *fwnode) in acpi_set_irq_model() 307 struct fwnode_handle *fwnode, in acpi_irq_create_hierarchy()
|
/kernel/linux/linux-5.10/include/media/ |
D | v4l2-fwnode.h | 24 struct fwnode_handle; 151 struct fwnode_handle *local_node; 154 struct fwnode_handle *remote_node; 248 int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, 297 int v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, 318 int v4l2_fwnode_parse_link(struct fwnode_handle *fwnode, 362 int v4l2_fwnode_connector_parse(struct fwnode_handle *fwnode, 387 int v4l2_fwnode_connector_add_link(struct fwnode_handle *fwnode,
|
D | v4l2-flash-led-class.h | 133 struct device *dev, struct fwnode_handle *fwn, 154 struct device *dev, struct fwnode_handle *fwn, 167 struct device *dev, struct fwnode_handle *fwn, in v4l2_flash_init() 175 struct device *dev, struct fwnode_handle *fwn, in v4l2_flash_indicator_init()
|
D | v4l2-async.h | 82 struct fwnode_handle *fwnode; 182 struct fwnode_handle *fwnode, 208 struct fwnode_handle *endpoint,
|
/kernel/linux/linux-5.10/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() 118 struct fwnode_handle *root_fwnode, *cs_fwnode; in cti_plat_create_v8_etm_connection() 224 struct fwnode_handle *fwnode = dev_fwnode(dev); in cti_plat_check_v8_arch_compatible() 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() [all …]
|
/kernel/linux/linux-5.10/include/linux/usb/ |
D | typec_mux.h | 13 struct fwnode_handle; 19 struct fwnode_handle *fwnode; 25 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode); 53 struct fwnode_handle *fwnode; 59 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode,
|
D | role.h | 39 struct fwnode_handle *fwnode; 55 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *node); 59 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode); 86 fwnode_usb_role_switch_get(struct fwnode_handle *node) in fwnode_usb_role_switch_get() 94 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
|
/kernel/linux/linux-5.10/drivers/of/ |
D | property.c | 841 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() 846 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() 851 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available() 856 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present() 862 static int of_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_int_array() 888 of_fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_string_array() 899 static const char *of_fwnode_get_name(const struct fwnode_handle *fwnode) in of_fwnode_get_name() 904 static const char *of_fwnode_get_name_prefix(const struct fwnode_handle *fwnode) in of_fwnode_get_name_prefix() 913 static struct fwnode_handle * 914 of_fwnode_get_parent(const struct fwnode_handle *fwnode) in of_fwnode_get_parent() [all …]
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 129 static int v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi2_bus() 273 v4l2_fwnode_endpoint_parse_parallel_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_parallel_bus() 379 v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi1_bus() 412 static int __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in __v4l2_fwnode_endpoint_parse() 500 int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse() 523 int v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_alloc_parse() 564 int v4l2_fwnode_parse_link(struct fwnode_handle *fwnode, in v4l2_fwnode_parse_link() 624 v4l2_fwnode_connector_parse_analog(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse_analog() 656 v4l2_fwnode_get_connector_type(struct fwnode_handle *fwnode) in v4l2_fwnode_get_connector_type() 672 int v4l2_fwnode_connector_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse() [all …]
|
/kernel/linux/linux-5.10/include/linux/gpio/ |
D | consumer.h | 176 struct fwnode_handle; 178 struct gpio_desc *fwnode_get_named_gpiod(struct fwnode_handle *fwnode, 182 struct gpio_desc *fwnode_gpiod_get_index(struct fwnode_handle *fwnode, 187 struct fwnode_handle *child, 545 struct fwnode_handle; 548 struct gpio_desc *fwnode_get_named_gpiod(struct fwnode_handle *fwnode, in fwnode_get_named_gpiod() 557 struct gpio_desc *fwnode_gpiod_get_index(struct fwnode_handle *fwnode, in fwnode_gpiod_get_index() 567 struct fwnode_handle *fwnode, in devm_fwnode_gpiod_get_index() 579 struct fwnode_handle *fwnode, in devm_fwnode_gpiod_get() 591 struct fwnode_handle *child, in devm_fwnode_get_index_gpiod_from_child() [all …]
|
/kernel/linux/linux-5.10/include/linux/irqchip/ |
D | arm-gic-common.h | 42 struct fwnode_handle; 43 int gicv2m_init(struct fwnode_handle *parent_handle,
|
D | irq-partition-percpu.h | 23 struct partition_desc *partition_create_desc(struct fwnode_handle *fwnode, 37 struct partition_desc *partition_create_desc(struct fwnode_handle *fwnode, in partition_create_desc()
|
/kernel/linux/linux-5.10/drivers/usb/roles/ |
D | class.c | 90 static void *usb_role_switch_match(struct fwnode_handle *fwnode, const char *id, in usb_role_switch_match() 104 usb_role_switch_is_parent(struct fwnode_handle *fwnode) in usb_role_switch_is_parent() 106 struct fwnode_handle *parent = fwnode_get_parent(fwnode); in usb_role_switch_is_parent() 149 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *fwnode) in fwnode_usb_role_switch_get() 187 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
|
/kernel/linux/linux-5.10/include/acpi/ |
D | acpi_bus.h | 355 struct fwnode_handle fwnode; 386 struct fwnode_handle fwnode; 387 struct fwnode_handle *parent; 398 bool is_acpi_device_node(const struct fwnode_handle *fwnode); 399 bool is_acpi_data_node(const struct fwnode_handle *fwnode); 401 static inline bool is_acpi_node(const struct fwnode_handle *fwnode) in is_acpi_node() 426 static inline bool is_acpi_static_node(const struct fwnode_handle *fwnode) in is_acpi_static_node() 432 static inline bool acpi_data_node_match(const struct fwnode_handle *fwnode, in acpi_data_node_match() 439 static inline struct fwnode_handle *acpi_fwnode_handle(struct acpi_device *adev) in acpi_fwnode_handle()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpiolib-acpi.h | 50 struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode, 85 acpi_node_get_gpiod(struct fwnode_handle *fwnode, const char *propname, in acpi_node_get_gpiod()
|