| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fwnode.h | 32 struct fwnode_handle { struct 33 struct fwnode_handle *secondary; argument 43 struct fwnode_handle *supplier; argument 45 struct fwnode_handle *consumer; 61 const struct fwnode_handle *local_fwnode; 73 struct fwnode_handle *fwnode; 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, [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | irqdomain.h | 65 struct fwnode_handle *fwnode; 172 struct fwnode_handle *fwnode; 237 struct fwnode_handle *__irq_domain_alloc_fwnode(unsigned int type, int id, 247 struct fwnode_handle *irq_domain_alloc_named_fwnode(const char *name) in irq_domain_alloc_named_fwnode() 253 struct fwnode_handle *irq_domain_alloc_named_id_fwnode(const char *name, int id) in irq_domain_alloc_named_id_fwnode() 259 static inline struct fwnode_handle *irq_domain_alloc_fwnode(phys_addr_t *pa) in irq_domain_alloc_fwnode() 264 void irq_domain_free_fwnode(struct fwnode_handle *fwnode); 265 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size, 289 static inline struct fwnode_handle *of_node_to_fwnode(struct device_node *node) in of_node_to_fwnode() 296 static inline bool is_fwnode_irqchip(struct fwnode_handle *fwnode) in is_fwnode_irqchip() [all …]
|
| H A 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,
|
| H A D | irq_sim.h | 19 struct irq_domain *irq_domain_create_sim(struct fwnode_handle *fwnode, 22 struct fwnode_handle *fwnode,
|
| H A 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,
|
| /OK3568_Linux_fs/kernel/drivers/base/ |
| H A 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 …]
|
| H A D | swnode.c | 17 struct fwnode_handle fwnode; 36 bool is_software_node(const struct fwnode_handle *fwnode) in is_software_node() 53 struct fwnode_handle *fwnode = dev_fwnode(dev); in dev_to_swnode() 87 const struct software_node *to_software_node(const struct fwnode_handle *fwnode) in to_software_node() 95 struct fwnode_handle *software_node_fwnode(const struct software_node *node) in software_node_fwnode() 363 static struct fwnode_handle *software_node_get(struct fwnode_handle *fwnode) in software_node_get() 372 static void software_node_put(struct fwnode_handle *fwnode) in software_node_put() 379 static bool software_node_property_present(const struct fwnode_handle *fwnode, in software_node_property_present() 387 static int software_node_read_int_array(const struct fwnode_handle *fwnode, in software_node_read_int_array() 398 static int software_node_read_string_array(const struct fwnode_handle *fwnode, in software_node_read_string_array() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A 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 …]
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/include/media/ |
| H A 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,
|
| H A 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()
|
| H A D | v4l2-async.h | 82 struct fwnode_handle *fwnode; 182 struct fwnode_handle *fwnode, 208 struct fwnode_handle *endpoint,
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/of/ |
| H A D | property.c | 842 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() 847 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() 852 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available() 857 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present() 863 static int of_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_int_array() 889 of_fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_string_array() 900 static const char *of_fwnode_get_name(const struct fwnode_handle *fwnode) in of_fwnode_get_name() 905 static const char *of_fwnode_get_name_prefix(const struct fwnode_handle *fwnode) in of_fwnode_get_name_prefix() 914 static struct fwnode_handle * 915 of_fwnode_get_parent(const struct fwnode_handle *fwnode) in of_fwnode_get_parent() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A 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,
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/media/v4l2-core/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/gpio/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/include/acpi/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/roles/ |
| H A 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() 146 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *fwnode) in fwnode_usb_role_switch_get() 184 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
|
| /OK3568_Linux_fs/kernel/drivers/acpi/arm64/ |
| H A D | iort.c | 30 struct fwnode_handle *fw_node; 38 struct fwnode_handle *fwnode; 54 struct fwnode_handle *fwnode) in iort_set_fwnode() 81 static inline struct fwnode_handle *iort_get_fwnode( in iort_get_fwnode() 85 struct fwnode_handle *fwnode = NULL; in iort_get_fwnode() 127 struct fwnode_handle *fwnode) in iort_get_iort_node() 163 struct fwnode_handle *fw_node) in iort_register_domain_token() 209 struct fwnode_handle *iort_find_domain_token(int trans_id) in iort_find_domain_token() 211 struct fwnode_handle *fw_node = NULL; in iort_find_domain_token() 684 struct fwnode_handle *handle; in iort_get_device_domain() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/irqchip/ |
| H A D | arm-gic-common.h | 42 struct fwnode_handle; 43 int gicv2m_init(struct fwnode_handle *parent_handle,
|
| H A 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()
|