Searched refs:i_dev (Results 1 – 4 of 4) sorted by relevance
427 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in dw_i2c_plat_runtime_suspend() local429 if (i_dev->shared_with_punit) in dw_i2c_plat_runtime_suspend()432 i_dev->disable(i_dev); in dw_i2c_plat_runtime_suspend()433 i2c_dw_prepare_clk(i_dev, false); in dw_i2c_plat_runtime_suspend()440 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in dw_i2c_plat_suspend() local442 i2c_mark_adapter_suspended(&i_dev->adapter); in dw_i2c_plat_suspend()449 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in dw_i2c_plat_runtime_resume() local451 if (!i_dev->shared_with_punit) in dw_i2c_plat_runtime_resume()452 i2c_dw_prepare_clk(i_dev, true); in dw_i2c_plat_runtime_resume()454 i_dev->init(i_dev); in dw_i2c_plat_runtime_resume()[all …]
198 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_runtime_suspend() local200 i_dev->disable(i_dev); in i2c_dw_pci_runtime_suspend()206 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_suspend() local208 i2c_mark_adapter_suspended(&i_dev->adapter); in i2c_dw_pci_suspend()215 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_runtime_resume() local217 return i_dev->init(i_dev); in i2c_dw_pci_runtime_resume()222 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_resume() local227 i2c_mark_adapter_resumed(&i_dev->adapter); in i2c_dw_pci_resume()
260 struct iio_dev *i_dev = pf->indio_dev; in rockchip_saradc_trigger_handler() local261 struct rockchip_saradc *info = iio_priv(i_dev); in rockchip_saradc_trigger_handler()273 mutex_lock(&i_dev->mlock); in rockchip_saradc_trigger_handler()275 for_each_set_bit(i, i_dev->active_scan_mask, i_dev->masklength) { in rockchip_saradc_trigger_handler()276 const struct iio_chan_spec *chan = &i_dev->channels[i]; in rockchip_saradc_trigger_handler()288 iio_push_to_buffers_with_timestamp(i_dev, &data, iio_get_time_ns(i_dev)); in rockchip_saradc_trigger_handler()290 mutex_unlock(&i_dev->mlock); in rockchip_saradc_trigger_handler()292 iio_trigger_notify_done(i_dev->trig); in rockchip_saradc_trigger_handler()
4559 struct device *i_dev; in intel_iommu_get_resv_regions() local4565 i, i_dev) { in intel_iommu_get_resv_regions()4570 if (i_dev != device && in intel_iommu_get_resv_regions()4571 !is_downstream_to_pci_bridge(device, i_dev)) in intel_iommu_get_resv_regions()