/linux-6.6.21/include/linux/ |
D | fwnode.h | 41 struct fwnode_handle { struct 42 struct fwnode_handle *secondary; argument 58 struct fwnode_handle *supplier; argument 60 struct fwnode_handle *consumer; 74 const struct fwnode_handle *local_fwnode; 93 struct fwnode_handle *fwnode; 124 struct fwnode_handle *(*get)(struct fwnode_handle *fwnode); 125 void (*put)(struct fwnode_handle *fwnode); 126 bool (*device_is_available)(const struct fwnode_handle *fwnode); 127 const void *(*device_get_match_data)(const struct fwnode_handle *fwnode, [all …]
|
D | property.h | 35 const struct fwnode_handle *__dev_fwnode_const(const struct device *dev); 36 struct fwnode_handle *__dev_fwnode(struct device *dev); 58 bool fwnode_property_present(const struct fwnode_handle *fwnode, 60 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, 63 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, 66 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, 69 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, 72 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode, 75 int fwnode_property_read_string(const struct fwnode_handle *fwnode, 77 int fwnode_property_match_string(const struct fwnode_handle *fwnode, [all …]
|
D | irqdomain.h | 41 struct fwnode_handle; 64 struct fwnode_handle *fwnode; 161 struct fwnode_handle *fwnode; 232 struct fwnode_handle *__irq_domain_alloc_fwnode(unsigned int type, int id, 242 struct fwnode_handle *irq_domain_alloc_named_fwnode(const char *name) in irq_domain_alloc_named_fwnode() 248 struct fwnode_handle *irq_domain_alloc_named_id_fwnode(const char *name, int id) in irq_domain_alloc_named_id_fwnode() 254 static inline struct fwnode_handle *irq_domain_alloc_fwnode(phys_addr_t *pa) in irq_domain_alloc_fwnode() 259 void irq_domain_free_fwnode(struct fwnode_handle *fwnode); 260 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size, 264 struct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode, [all …]
|
D | acpi_iort.h | 27 struct fwnode_handle *fw_node); 29 struct fwnode_handle *iort_find_domain_token(int trans_id); 37 void iort_get_rmr_sids(struct fwnode_handle *iommu_fwnode, 39 void iort_put_rmr_sids(struct fwnode_handle *iommu_fwnode, 54 void iort_get_rmr_sids(struct fwnode_handle *iommu_fwnode, struct list_head *head) { } in iort_get_rmr_sids() 56 void iort_put_rmr_sids(struct fwnode_handle *iommu_fwnode, struct list_head *head) { } in iort_put_rmr_sids()
|
D | acpi.h | 52 static inline struct fwnode_handle *acpi_alloc_fwnode_static(void) in acpi_alloc_fwnode_static() 54 struct fwnode_handle *fwnode; in acpi_alloc_fwnode_static() 56 fwnode = kzalloc(sizeof(struct fwnode_handle), GFP_KERNEL); in acpi_alloc_fwnode_static() 65 static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode) in acpi_free_fwnode_static() 352 struct fwnode_handle *(*)(u32)); 357 struct fwnode_handle *fwnode, 776 struct fwnode_handle; 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() [all …]
|
D | fwnode_mdio.h | 14 struct fwnode_handle *child, u32 addr); 17 struct fwnode_handle *child, u32 addr); 22 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_phy_device_register() 28 struct fwnode_handle *child, in fwnode_mdiobus_register_phy()
|
D | acpi_mdio.h | 12 int __acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *fwnode, 16 acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *handle) in acpi_mdiobus_register() 22 acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *fwnode) in acpi_mdiobus_register()
|
/linux-6.6.21/drivers/base/ |
D | property.c | 20 struct fwnode_handle *__dev_fwnode(struct device *dev) in __dev_fwnode() 27 const struct fwnode_handle *__dev_fwnode_const(const struct device *dev) in __dev_fwnode_const() 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() [all …]
|
D | swnode.c | 18 struct fwnode_handle fwnode; 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() 90 const struct software_node *to_software_node(const struct fwnode_handle *fwnode) in to_software_node() 98 struct fwnode_handle *software_node_fwnode(const struct software_node *node) in software_node_fwnode() 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() [all …]
|
/linux-6.6.21/drivers/acpi/ |
D | property.c | 65 struct fwnode_handle *parent); 74 struct fwnode_handle *parent) in acpi_nondev_subnode_extract() 126 struct fwnode_handle *parent) in acpi_nondev_subnode_data_ok() 147 struct fwnode_handle *parent) in acpi_nondev_subnode_ok() 166 struct fwnode_handle *parent) in acpi_add_nondev_subnodes() 214 struct fwnode_handle *parent) in acpi_enumerate_nondev_subnodes() 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() 774 static struct fwnode_handle * 775 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_get_gsi_domain_id)(u32 gsi); 111 static struct fwnode_handle * 115 struct fwnode_handle *result; in acpi_get_irq_source_fwhandle() 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() 310 struct fwnode_handle *(*fn)(u32)) in acpi_set_irq_model() 337 struct fwnode_handle *fwnode, in acpi_irq_create_hierarchy()
|
/linux-6.6.21/include/media/ |
D | v4l2-fwnode.h | 94 struct fwnode_handle *local_node; 97 struct fwnode_handle *remote_node; 224 int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, 282 int v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, 303 int v4l2_fwnode_parse_link(struct fwnode_handle *fwnode, 347 int v4l2_fwnode_connector_parse(struct fwnode_handle *fwnode, 372 int v4l2_fwnode_connector_add_link(struct fwnode_handle *fwnode,
|
D | v4l2-async.h | 56 struct fwnode_handle *fwnode; 137 struct fwnode_handle *endpoint; 178 struct fwnode_handle *fwnode, 200 struct fwnode_handle *endpoint, 263 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()
|
/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() 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 …]
|
/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/usb/ |
D | typec_mux.h | 15 struct fwnode_handle; 21 struct fwnode_handle *fwnode; 27 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode); 55 struct fwnode_handle *fwnode; 63 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode); 76 static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) in fwnode_typec_mux_get()
|
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); 87 fwnode_usb_role_switch_get(struct fwnode_handle *node) in fwnode_usb_role_switch_get() 95 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
|
D | typec_retimer.h | 12 struct fwnode_handle; 24 struct fwnode_handle *fwnode; 30 struct typec_retimer *fwnode_typec_retimer_get(struct fwnode_handle *fwnode);
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | irq.h | 105 struct fwnode_handle *get_pch_msi_handle(int pci_segment); 115 extern struct fwnode_handle *cpuintc_handle; 116 extern struct fwnode_handle *liointc_handle; 117 extern struct fwnode_handle *pch_lpc_handle; 118 extern struct fwnode_handle *pch_pic_handle[MAX_IO_PICS];
|
/linux-6.6.21/drivers/gpio/ |
D | gpiolib-swnode.h | 6 struct fwnode_handle; 9 struct gpio_desc *swnode_find_gpio(struct fwnode_handle *fwnode, 12 int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id);
|
D | gpiolib-acpi.h | 17 struct fwnode_handle; 30 struct gpio_desc *acpi_find_gpio(struct fwnode_handle *fwnode, 48 acpi_find_gpio(struct fwnode_handle *fwnode, const char *con_id, in acpi_find_gpio()
|
/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/arch/riscv/kernel/ |
D | irq.c | 18 static struct fwnode_handle *(*__get_intc_node)(void); 20 void riscv_set_intc_hwnode_fn(struct fwnode_handle *(*fn)(void)) in riscv_set_intc_hwnode_fn() 25 struct fwnode_handle *riscv_get_intc_hwnode(void) in riscv_get_intc_hwnode()
|
/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() 62 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_phy_device_register() 113 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_register_phy()
|