Lines Matching defs:fwnode
971 client->dev.fwnode = info->fwnode;
1036 * i2c_find_device_by_fwnode() - find an i2c_client for the fwnode
1037 * @fwnode: &struct fwnode_handle corresponding to the &struct i2c_client
1039 * Look up and return the &struct i2c_client corresponding to the @fwnode.
1040 * If no client can be found, or @fwnode is NULL, this returns NULL.
1044 struct i2c_client *i2c_find_device_by_fwnode(struct fwnode_handle *fwnode)
1049 if (!fwnode)
1052 dev = bus_find_device_by_fwnode(&i2c_bus_type, fwnode);
1438 domain = irq_domain_create_linear(adap->dev.parent->fwnode,
1825 * i2c_find_adapter_by_fwnode() - find an i2c_adapter for the fwnode
1826 * @fwnode: &struct fwnode_handle corresponding to the &struct i2c_adapter
1828 * Look up and return the &struct i2c_adapter corresponding to the @fwnode.
1829 * If no adapter can be found, or @fwnode is NULL, this returns NULL.
1833 struct i2c_adapter *i2c_find_adapter_by_fwnode(struct fwnode_handle *fwnode)
1838 if (!fwnode)
1841 dev = bus_find_device(&i2c_bus_type, NULL, fwnode,
1855 * i2c_get_adapter_by_fwnode() - find an i2c_adapter for the fwnode
1856 * @fwnode: &struct fwnode_handle corresponding to the &struct i2c_adapter
1858 * Look up and return the &struct i2c_adapter corresponding to the @fwnode,
1860 * or @fwnode is NULL, this returns NULL.
1865 struct i2c_adapter *i2c_get_adapter_by_fwnode(struct fwnode_handle *fwnode)
1869 adapter = i2c_find_adapter_by_fwnode(fwnode);