Home
last modified time | relevance | path

Searched refs:dev_fwnode (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/linux/drivers/media/i2c/
H A Ddw9768.c428 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-mode", in dw9768_probe()
432 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,clock-presc", in dw9768_probe()
436 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-timing", in dw9768_probe()
474 full_power = (is_acpi_node(dev_fwnode(dev)) && in dw9768_probe()
476 (is_of_node(dev_fwnode(dev)) && !IS_ENABLED(CONFIG_PM)); in dw9768_probe()
523 if ((is_acpi_node(dev_fwnode(dev)) && acpi_dev_state_d0(dev)) || in dw9768_remove()
524 (is_of_node(dev_fwnode(dev)) && !IS_ENABLED(CONFIG_PM))) { in dw9768_remove()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-platform.c123 root_fwnode = dev_fwnode(dev); in cti_plat_create_v8_etm_connection()
183 cpuid = cti_plat_get_cpu_at_node(dev_fwnode(dev)); in cti_plat_create_v8_connections()
224 struct fwnode_handle *fwnode = dev_fwnode(dev); in cti_plat_check_v8_arch_compatible()
420 if (IS_ERR_OR_NULL(dev_fwnode(dev))) in cti_plat_create_impdef_connections()
461 struct fwnode_handle *fwnode = dev_fwnode(dev); in coresight_cti_get_platform_data()
H A Dcoresight-tpda.c65 rc = fwnode_property_read_u32(dev_fwnode(csdev->dev.parent), in tpdm_read_element_size()
72 rc = fwnode_property_read_u32(dev_fwnode(csdev->dev.parent), in tpdm_read_element_size()
H A Dcoresight-core.c278 conn.dest_fwnode = fwnode_handle_get(dev_fwnode(&helper->dev)); in coresight_add_helper()
1353 csdev->dev.fwnode = fwnode_handle_get(dev_fwnode(desc->dev)); in coresight_register()
1524 return fwnode_property_present(dev_fwnode(dev), in coresight_loses_context_with_cpu()
1545 idx = coresight_search_device_idx(dict, dev_fwnode(dev)); in coresight_alloc_device_name()
1557 list[idx] = dev_fwnode(dev); in coresight_alloc_device_name()
/linux/include/linux/
H A Dproperty.h35 #define dev_fwnode(dev) \ macro
112 return fwnode_device_is_big_endian(dev_fwnode(dev)); in device_is_big_endian()
124 return fwnode_device_is_compatible(dev_fwnode(dev), compat); in device_is_compatible()
136 return fwnode_property_match_property_string(dev_fwnode(dev), propname, array, n); in device_property_match_property_string()
238 return fwnode_get_child_node_count(dev_fwnode(dev)); in device_get_child_node_count()
246 return fwnode_get_named_child_node_count(dev_fwnode(dev), name); in device_get_named_child_node_count()
556 return fwnode_connection_find_match(dev_fwnode(dev), con_id, data, match); in device_connection_find_match()
/linux/drivers/pci/pwrctrl/
H A Dcore.c20 if (dev_fwnode(dev) != dev_fwnode(pwrctrl->dev)) in pci_pwrctrl_notify()
/linux/drivers/mmc/host/
H A Dof_mmc_spi.c57 if (dev->platform_data || !dev_fwnode(dev)) in mmc_spi_get_pdata()
92 if (!dev->platform_data || !dev_fwnode(dev)) in mmc_spi_put_pdata()
/linux/drivers/tty/serial/
H A Dserial_base_bus.c79 device_set_node(dev, fwnode_handle_get(dev_fwnode(parent_dev))); in serial_base_device_init()
100 fwnode_handle_put(dev_fwnode(dev)); in serial_base_ctrl_release()
148 fwnode_handle_put(dev_fwnode(dev)); in serial_base_port_release()
/linux/drivers/usb/typec/mux/
H A Dfsa4480.c209 ep = fwnode_graph_get_next_endpoint(dev_fwnode(&fsa->client->dev), NULL); in fsa4480_parse_data_lanes_mapping()
309 sw_desc.fwnode = dev_fwnode(dev); in fsa4480_probe()
317 mux_desc.fwnode = dev_fwnode(dev); in fsa4480_probe()
H A Dit5205.c223 sw_desc.fwnode = dev_fwnode(dev); in it5205_probe()
232 mux_desc.fwnode = dev_fwnode(dev); in it5205_probe()
/linux/drivers/usb/roles/
H A Dclass.c166 sw = usb_role_switch_is_parent(dev_fwnode(dev)); in usb_role_switch_get()
399 if (dev_fwnode(&sw->dev)) { in usb_role_switch_register()
422 if (dev_fwnode(&sw->dev)) in usb_role_switch_unregister()
/linux/drivers/irqchip/
H A Dirq-sg2042-msi.c237 .fwnode = dev_fwnode(dev), in sg204x_msi_init_domains()
280 ret = fwnode_property_get_reference_args(dev_fwnode(dev), "msi-ranges", in sg2042_msi_probe()
288 ret = fwnode_property_get_reference_args(dev_fwnode(dev), "msi-ranges", NULL, in sg2042_msi_probe()
H A Dirq-sni-exiu.c288 data = exiu_init(dev_fwnode(&pdev->dev), res); in exiu_acpi_probe()
292 domain = acpi_irq_create_hierarchy(0, NUM_IRQS, dev_fwnode(&pdev->dev), in exiu_acpi_probe()
H A Dirq-sl28cpld.c71 return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_intc_probe()
/linux/arch/powerpc/include/asm/
H A Dmpc5xxx.h20 return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev)); in mpc5xxx_get_bus_frequency()
/linux/drivers/hwmon/
H A Diio_hwmon.c192 if (dev_fwnode(dev)) { in iio_hwmon_probe()
193 sname = devm_kasprintf(dev, GFP_KERNEL, "%pfwP", dev_fwnode(dev)); in iio_hwmon_probe()
/linux/drivers/mtd/nand/raw/
H A Dtechnologic-nand-controller.c156 child = fwnode_get_next_child_node(dev_fwnode(&pdev->dev), NULL); in ts72xx_nand_probe()
194 struct fwnode_handle *fwnode = dev_fwnode(&pdev->dev); in ts72xx_nand_remove()
/linux/include/linux/usb/
H A Dtypec_retimer.h36 return fwnode_typec_retimer_get(dev_fwnode(dev)); in typec_retimer_get()
/linux/drivers/i2c/
H A Di2c-atr.c651 if (!fwnode_property_present(dev_fwnode(dev), "i2c-alias-pool")) { in i2c_atr_parse_alias_pool()
654 ret = fwnode_property_count_u32(dev_fwnode(dev), "i2c-alias-pool"); in i2c_atr_parse_alias_pool()
682 ret = fwnode_property_read_u32_array(dev_fwnode(dev), "i2c-alias-pool", in i2c_atr_parse_alias_pool()
890 fwnode_handle_put(dev_fwnode(&chan->adap.dev)); in i2c_atr_add_adapter()
913 fwnode = dev_fwnode(&adap->dev); in i2c_atr_del_adapter()
/linux/drivers/acpi/
H A Dviot.c90 fwnode = dev_fwnode(&pdev->dev); in viot_get_pci_iommu_fwnode()
103 viommu->fwnode = dev_fwnode(&pdev->dev); in viot_get_pci_iommu_fwnode()
/linux/drivers/gpio/
H A Dgpio-twl6040.c84 device_set_node(&pdev->dev, dev_fwnode(pdev->dev.parent)); in gpo_twl6040_probe()
H A Dgpio-altera-a10sr.c93 gpio->gp.fwnode = dev_fwnode(&pdev->dev); in altr_a10sr_gpio_probe()
H A Dgpio-tps6586x.c83 device_set_node(&pdev->dev, dev_fwnode(pdev->dev.parent)); in tps6586x_gpio_probe()
H A Dgpio-sl28cpld.c76 ret = devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_gpio_irq_init()
/linux/drivers/soc/renesas/
H A Dpwc-rzv2m.c113 priv->gp.fwnode = dev_fwnode(&pdev->dev); in rzv2m_pwc_probe()

12345678910>>...12