/Linux-v6.1/drivers/base/ |
D | property.c | 45 bool fwnode_property_present(const struct fwnode_handle *fwnode, in fwnode_property_present() 245 static int fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in fwnode_property_read_int_array() 285 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u8_array() 314 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u16_array() 343 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u32_array() 372 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u64_array() 401 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in fwnode_property_read_string_array() 435 int fwnode_property_read_string(const struct fwnode_handle *fwnode, in fwnode_property_read_string() 459 int fwnode_property_match_string(const struct fwnode_handle *fwnode, in fwnode_property_match_string() 511 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 …]
|
/Linux-v6.1/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() 882 int __acpi_node_get_property_reference(const struct fwnode_handle *fwnode, in __acpi_node_get_property_reference() 1174 static int acpi_node_prop_read(const struct fwnode_handle *fwnode, in acpi_node_prop_read() 1203 struct fwnode_handle *acpi_get_next_subnode(const struct fwnode_handle *fwnode, in acpi_get_next_subnode() 1265 acpi_node_get_parent(const struct fwnode_handle *fwnode) in acpi_node_get_parent() 1286 static bool is_acpi_graph_node(struct fwnode_handle *fwnode, in is_acpi_graph_node() 1312 const struct fwnode_handle *fwnode, struct fwnode_handle *prev) in acpi_graph_get_next_endpoint() 1369 const struct fwnode_handle *fwnode, const char *prop_name, in acpi_graph_get_child_prop_value() [all …]
|
D | irq.c | 157 static inline void acpi_irq_parse_one_match(struct fwnode_handle *fwnode, in acpi_irq_parse_one_match() 197 struct fwnode_handle *fwnode; in acpi_irq_parse_one_cb() local 331 struct fwnode_handle *fwnode, in acpi_irq_create_hierarchy()
|
/Linux-v6.1/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-v6.1/drivers/of/ |
D | property.c | 864 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() 869 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() 874 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available() 879 static bool of_fwnode_device_dma_supported(const struct fwnode_handle *fwnode) in of_fwnode_device_dma_supported() 885 of_fwnode_device_get_dma_attr(const struct fwnode_handle *fwnode) in of_fwnode_device_get_dma_attr() 893 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present() 899 static int of_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_int_array() 925 of_fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_string_array() 936 static const char *of_fwnode_get_name(const struct fwnode_handle *fwnode) in of_fwnode_get_name() 941 static const char *of_fwnode_get_name_prefix(const struct fwnode_handle *fwnode) in of_fwnode_get_name_prefix() [all …]
|
/Linux-v6.1/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 122 static int v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi2_bus() 264 v4l2_fwnode_endpoint_parse_parallel_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_parallel_bus() 370 v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi1_bus() 403 static int __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in __v4l2_fwnode_endpoint_parse() 479 int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse() 502 int v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_alloc_parse() 543 int v4l2_fwnode_parse_link(struct fwnode_handle *fwnode, in v4l2_fwnode_parse_link() 603 v4l2_fwnode_connector_parse_analog(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse_analog() 635 v4l2_fwnode_get_connector_type(struct fwnode_handle *fwnode) in v4l2_fwnode_get_connector_type() 651 int v4l2_fwnode_connector_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse() [all …]
|
/Linux-v6.1/include/linux/ |
D | property.h | 90 #define fwnode_for_each_parent_node(fwnode, parent) \ argument 104 #define fwnode_for_each_child_node(fwnode, child) \ argument 108 #define fwnode_for_each_available_child_node(fwnode, child) \ argument 188 static inline bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool() 194 static inline int fwnode_property_read_u8(const struct fwnode_handle *fwnode, in fwnode_property_read_u8() 200 static inline int fwnode_property_read_u16(const struct fwnode_handle *fwnode, in fwnode_property_read_u16() 206 static inline int fwnode_property_read_u32(const struct fwnode_handle *fwnode, in fwnode_property_read_u32() 212 static inline int fwnode_property_read_u64(const struct fwnode_handle *fwnode, in fwnode_property_read_u64() 218 static inline int fwnode_property_count_u8(const struct fwnode_handle *fwnode, in fwnode_property_count_u8() 224 static inline int fwnode_property_count_u16(const struct fwnode_handle *fwnode, in fwnode_property_count_u16() [all …]
|
D | fwnode.h | 84 struct fwnode_handle *fwnode; member 160 #define fwnode_has_op(fwnode, op) \ argument 163 #define fwnode_call_int_op(fwnode, op, ...) \ argument 167 #define fwnode_call_bool_op(fwnode, op, ...) \ argument 171 #define fwnode_call_ptr_op(fwnode, op, ...) \ argument 174 #define fwnode_call_void_op(fwnode, op, ...) \ argument 179 #define get_dev_from_fwnode(fwnode) get_device((fwnode)->dev) argument 181 static inline void fwnode_init(struct fwnode_handle *fwnode, in fwnode_init() 189 static inline void fwnode_dev_initialized(struct fwnode_handle *fwnode, in fwnode_dev_initialized()
|
D | irqdomain.h | 62 struct fwnode_handle *fwnode; member 173 struct fwnode_handle *fwnode; member 305 static inline bool is_fwnode_irqchip(struct fwnode_handle *fwnode) in is_fwnode_irqchip() 314 struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, in irq_find_matching_fwnode() 384 static inline struct irq_domain *irq_domain_create_linear(struct fwnode_handle *fwnode, in irq_domain_create_linear() 392 static inline struct irq_domain *irq_domain_create_tree(struct fwnode_handle *fwnode, in irq_domain_create_tree() 631 struct fwnode_handle *fwnode, enum irq_domain_bus_token bus_token) in irq_find_matching_fwnode()
|
D | acpi.h | 47 #define ACPI_HANDLE_FWNODE(fwnode) \ argument 52 struct fwnode_handle *fwnode; in acpi_alloc_fwnode_static() local 63 static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode) in acpi_free_fwnode_static() 780 #define ACPI_HANDLE_FWNODE(fwnode) (NULL) argument 823 static inline bool is_acpi_node(const struct fwnode_handle *fwnode) in is_acpi_node() 828 static inline bool is_acpi_device_node(const struct fwnode_handle *fwnode) in is_acpi_device_node() 833 static inline struct acpi_device *to_acpi_device_node(const struct fwnode_handle *fwnode) in to_acpi_device_node() 838 static inline bool is_acpi_data_node(const struct fwnode_handle *fwnode) in is_acpi_data_node() 843 static inline struct acpi_data_node *to_acpi_data_node(const struct fwnode_handle *fwnode) in to_acpi_data_node() 848 static inline bool acpi_data_node_match(const struct fwnode_handle *fwnode, in acpi_data_node_match() [all …]
|
/Linux-v6.1/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(struct fwnode_handle *fwnode, const char *id, 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(struct fwnode_handle *fwnode, const char *id, in typec_mux_match() 338 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode, in fwnode_typec_mux_get()
|
D | retimer.c | 32 static int retimer_fwnode_match(struct device *dev, const void *fwnode) in retimer_fwnode_match() 37 static void *typec_retimer_match(struct fwnode_handle *fwnode, const char *id, void *data) in typec_retimer_match() 59 struct typec_retimer *fwnode_typec_retimer_get(struct fwnode_handle *fwnode) in fwnode_typec_retimer_get()
|
/Linux-v6.1/drivers/leds/ |
D | led-core.c | 323 struct fwnode_handle *fwnode = led_cdev->dev->fwnode; in led_get_default_pattern() local 365 struct fwnode_handle *fwnode, in led_parse_fwnode_props() 419 struct fwnode_handle *fwnode = init_data->fwnode; in led_compose_name() local 481 enum led_default_state led_init_default_state_get(struct fwnode_handle *fwnode) in led_init_default_state_get()
|
D | leds-pwm.c | 62 struct led_pwm *led, struct fwnode_handle *fwnode) in led_pwm_add() 137 struct fwnode_handle *fwnode; in led_pwm_create_fwnode() local
|
/Linux-v6.1/include/linux/usb/ |
D | typec_mux.h | 21 struct fwnode_handle *fwnode; member 55 struct fwnode_handle *fwnode; member 77 static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode, in fwnode_typec_mux_get()
|
/Linux-v6.1/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() 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()
|
/Linux-v6.1/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-v6.1/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-v6.1/drivers/platform/chrome/ |
D | cros_typec_switch.c | 176 struct fwnode_handle *fwnode) in cros_typec_register_mode_switch() 190 static int cros_typec_register_retimer(struct cros_typec_port *port, struct fwnode_handle *fwnode) in cros_typec_register_retimer() 208 struct fwnode_handle *fwnode; in cros_typec_register_switches() local
|
/Linux-v6.1/lib/ |
D | logic_pio.c | 128 struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode) in find_io_range_by_fwnode() 192 unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode, in logic_pio_trans_hwaddr()
|
/Linux-v6.1/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-v6.1/drivers/leds/rgb/ |
D | leds-pwm-multicolor.c | 69 struct fwnode_handle *fwnode; in iterate_subleds() local 104 struct fwnode_handle *mcnode, *fwnode; in led_pwm_mc_probe() local
|
/Linux-v6.1/kernel/irq/ |
D | irqdomain.c | 31 struct fwnode_handle fwnode; member 45 static const char *irqchip_fwnode_get_name(const struct fwnode_handle *fwnode) in irqchip_fwnode_get_name() 113 void irq_domain_free_fwnode(struct fwnode_handle *fwnode) in irq_domain_free_fwnode() 139 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size, in __irq_domain_add() 325 struct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode, in irq_domain_create_simple() 380 struct irq_domain *irq_domain_create_legacy(struct fwnode_handle *fwnode, in irq_domain_create_legacy() 406 struct fwnode_handle *fwnode = fwspec->fwnode; in irq_find_matching_fwspec() local 1098 struct fwnode_handle *fwnode, in irq_domain_create_hierarchy()
|
/Linux-v6.1/drivers/iio/ |
D | inkern.c | 145 struct fwnode_handle *fwnode, int index) in __fwnode_iio_channel_get() 182 static struct iio_channel *fwnode_iio_channel_get(struct fwnode_handle *fwnode, in fwnode_iio_channel_get() 207 __fwnode_iio_channel_get_by_name(struct fwnode_handle *fwnode, const char *name) in __fwnode_iio_channel_get_by_name() 257 struct iio_channel *fwnode_iio_channel_get_by_name(struct fwnode_handle *fwnode, in fwnode_iio_channel_get_by_name() 292 struct fwnode_handle *fwnode = dev_fwnode(dev); in fwnode_iio_channel_get_all() local 431 struct fwnode_handle *fwnode, in devm_fwnode_iio_channel_get_by_name()
|