Home
last modified time | relevance | path

Searched refs:i_dev (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/i2c/busses/
Di2c-designware-platdrv.c427 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in dw_i2c_plat_runtime_suspend() local
429 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() local
442 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() local
451 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 …]
Di2c-designware-pcidrv.c198 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_runtime_suspend() local
200 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() local
208 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() local
217 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() local
227 i2c_mark_adapter_resumed(&i_dev->adapter); in i2c_dw_pci_resume()
/linux-6.1.9/drivers/iio/adc/
Drockchip_saradc.c260 struct iio_dev *i_dev = pf->indio_dev; in rockchip_saradc_trigger_handler() local
261 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()
/linux-6.1.9/drivers/iommu/intel/
Diommu.c4559 struct device *i_dev; in intel_iommu_get_resv_regions() local
4565 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()