/include/linux/ |
D | fwnode.h | 73 struct fwnode_handle *fwnode; member 104 struct fwnode_handle *(*get)(struct fwnode_handle *fwnode); 105 void (*put)(struct fwnode_handle *fwnode); 106 bool (*device_is_available)(const struct fwnode_handle *fwnode); 107 const void *(*device_get_match_data)(const struct fwnode_handle *fwnode, 109 bool (*property_present)(const struct fwnode_handle *fwnode, 111 int (*property_read_int_array)(const struct fwnode_handle *fwnode, 119 const char *(*get_name)(const struct fwnode_handle *fwnode); 120 const char *(*get_name_prefix)(const struct fwnode_handle *fwnode); 121 struct fwnode_handle *(*get_parent)(const struct fwnode_handle *fwnode); [all …]
|
D | property.h | 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, 74 int fwnode_property_get_reference_args(const struct fwnode_handle *fwnode, [all …]
|
D | irq_sim.h | 19 struct irq_domain *irq_domain_create_sim(struct fwnode_handle *fwnode, 22 struct fwnode_handle *fwnode,
|
D | irqdomain.h | 65 struct fwnode_handle *fwnode; member 172 struct fwnode_handle *fwnode; member 233 return to_of_node(d->fwnode); in irq_domain_get_of_node() 264 void irq_domain_free_fwnode(struct fwnode_handle *fwnode); 266 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size, 268 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size, 295 return node ? &node->fwnode : NULL; in of_node_to_fwnode() 300 static inline bool is_fwnode_irqchip(struct fwnode_handle *fwnode) in is_fwnode_irqchip() argument 302 return fwnode && fwnode->ops == &irqchip_fwnode_ops; in is_fwnode_irqchip() 309 struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, in irq_find_matching_fwnode() argument [all …]
|
D | acpi.h | 43 #define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode) 47 #define ACPI_HANDLE_FWNODE(fwnode) \ argument 48 acpi_device_handle(to_acpi_device_node(fwnode)) 52 struct fwnode_handle *fwnode; in acpi_alloc_fwnode_static() local 54 fwnode = kzalloc(sizeof(struct fwnode_handle), GFP_KERNEL); in acpi_alloc_fwnode_static() 55 if (!fwnode) in acpi_alloc_fwnode_static() 58 fwnode_init(fwnode, &acpi_static_fwnode_ops); in acpi_alloc_fwnode_static() 60 return fwnode; in acpi_alloc_fwnode_static() 63 static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode) in acpi_free_fwnode_static() argument 65 if (WARN_ON(!is_acpi_static_node(fwnode))) in acpi_free_fwnode_static() [all …]
|
D | logic_pio.h | 20 struct fwnode_handle *fwnode; member 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 | of.h | 55 struct fwnode_handle fwnode; member 111 fwnode_init(&node->fwnode, &of_fwnode_ops); in of_node_init() 155 static inline bool is_of_node(const struct fwnode_handle *fwnode) in is_of_node() argument 157 return !IS_ERR_OR_NULL(fwnode) && fwnode->ops == &of_fwnode_ops; in is_of_node() 166 struct device_node, fwnode) : \ 175 &__of_fwnode_handle_node->fwnode : NULL; \ 453 static inline bool is_of_node(const struct fwnode_handle *fwnode) in is_of_node() argument 458 static inline struct device_node *to_of_node(const struct fwnode_handle *fwnode) in to_of_node() argument
|
D | iommu.h | 344 struct fwnode_handle *fwnode; member 419 struct fwnode_handle *fwnode) in iommu_device_set_fwnode() argument 421 iommu->fwnode = fwnode; in iommu_device_set_fwnode() 626 const struct iommu_ops *iommu_ops_from_fwnode(struct fwnode_handle *fwnode); 945 struct fwnode_handle *fwnode) in iommu_device_set_fwnode() argument 1007 const struct iommu_ops *iommu_ops_from_fwnode(struct fwnode_handle *fwnode) in iommu_ops_from_fwnode() argument
|
D | msi.h | 378 struct irq_domain *msi_create_irq_domain(struct fwnode_handle *fwnode, 389 struct irq_domain *platform_msi_create_irq_domain(struct fwnode_handle *fwnode, 423 struct irq_domain *pci_msi_create_irq_domain(struct fwnode_handle *fwnode,
|
D | device.h | 527 struct fwnode_handle *fwnode; /* firmware device node */ member 828 void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode); 829 void set_secondary_fwnode(struct device *dev, struct fwnode_handle *fwnode); 831 void device_set_node(struct device *dev, struct fwnode_handle *fwnode);
|
/include/linux/usb/ |
D | typec_mux.h | 19 struct fwnode_handle *fwnode; member 25 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode); 53 struct fwnode_handle *fwnode; member 59 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode,
|
D | role.h | 39 struct fwnode_handle *fwnode; member 59 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode); 94 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode() argument
|
D | tcpm.h | 127 struct fwnode_handle *fwnode; member
|
D | typec.h | 259 struct fwnode_handle *fwnode; member
|
/include/media/ |
D | v4l2-fwnode.h | 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-async.h | 82 struct fwnode_handle *fwnode; member 182 struct fwnode_handle *fwnode,
|
/include/linux/irqchip/ |
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() argument
|
D | arm-gic-v4.h | 20 struct fwnode_handle *fwnode; member 54 struct fwnode_handle *fwnode; member
|
/include/acpi/ |
D | acpi_bus.h | 355 struct fwnode_handle fwnode; member 386 struct fwnode_handle fwnode; member 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() argument 403 return (is_acpi_device_node(fwnode) || is_acpi_data_node(fwnode)); in is_acpi_node() 412 struct acpi_device, fwnode) : \ 422 struct acpi_data_node, fwnode) : \ 426 static inline bool is_acpi_static_node(const struct fwnode_handle *fwnode) in is_acpi_static_node() argument 428 return !IS_ERR_OR_NULL(fwnode) && in is_acpi_static_node() [all …]
|
/include/linux/platform_data/ |
D | gpio-dwapb.h | 12 struct fwnode_handle *fwnode; member
|
/include/linux/soc/ti/ |
D | ti_sci_inta_msi.h | 16 *ti_sci_inta_msi_create_irq_domain(struct fwnode_handle *fwnode,
|
/include/linux/device/ |
D | bus.h | 148 int device_match_fwnode(struct device *dev, const void *fwnode); 203 bus_find_device_by_fwnode(struct bus_type *bus, const struct fwnode_handle *fwnode) in bus_find_device_by_fwnode() argument 205 return bus_find_device(bus, NULL, fwnode, device_match_fwnode); in bus_find_device_by_fwnode()
|
D | driver.h | 202 const struct fwnode_handle *fwnode) in driver_find_device_by_fwnode() argument 204 return driver_find_device(drv, NULL, fwnode, device_match_fwnode); in driver_find_device_by_fwnode()
|
D | class.h | 159 const struct fwnode_handle *fwnode) in class_find_device_by_fwnode() argument 161 return class_find_device(class, NULL, fwnode, device_match_fwnode); in class_find_device_by_fwnode()
|
/include/linux/gpio/ |
D | consumer.h | 178 struct gpio_desc *fwnode_get_named_gpiod(struct fwnode_handle *fwnode, 182 struct gpio_desc *fwnode_gpiod_get_index(struct fwnode_handle *fwnode, 548 struct gpio_desc *fwnode_get_named_gpiod(struct fwnode_handle *fwnode, in fwnode_get_named_gpiod() argument 557 struct gpio_desc *fwnode_gpiod_get_index(struct fwnode_handle *fwnode, in fwnode_gpiod_get_index() argument 567 struct fwnode_handle *fwnode, in devm_fwnode_gpiod_get_index() argument 579 struct fwnode_handle *fwnode, in devm_fwnode_gpiod_get() argument 584 return devm_fwnode_gpiod_get_index(dev, fwnode, con_id, 0, in devm_fwnode_gpiod_get()
|