Lines Matching refs:rom

76 	const struct i2c_dw_rom_config *const rom = dev->config;  in cb_i2c_idma_transfer()  local
79 dma_stop(rom->dma_dev, channel); in cb_i2c_idma_transfer()
107 const struct i2c_dw_rom_config *const rom = dev->config; in i2c_dw_idma_rx_transfer() local
112 if (!device_is_ready(rom->dma_dev)) { in i2c_dw_idma_rx_transfer()
135 if (dma_config(rom->dma_dev, DMA_INTEL_LPSS_RX_CHAN, &dma_cfg)) { in i2c_dw_idma_rx_transfer()
140 if (dma_start(rom->dma_dev, DMA_INTEL_LPSS_RX_CHAN)) { in i2c_dw_idma_rx_transfer()
153 const struct i2c_dw_rom_config *const rom = dev->config; in i2c_dw_idma_tx_transfer() local
159 if (!device_is_ready(rom->dma_dev)) { in i2c_dw_idma_tx_transfer()
182 if (dma_config(rom->dma_dev, DMA_INTEL_LPSS_TX_CHAN, &dma_cfg)) { in i2c_dw_idma_tx_transfer()
187 if (dma_start(rom->dma_dev, DMA_INTEL_LPSS_TX_CHAN)) { in i2c_dw_idma_tx_transfer()
393 const struct i2c_dw_rom_config *const rom = port->config; in i2c_dw_isr() local
395 dma_intel_lpss_isr(rom->dma_dev); in i2c_dw_isr()
742 const struct i2c_dw_rom_config *const rom = dev->config; in i2c_dw_runtime_configure() local
756 value = I2C_STD_LCNT + rom->lcnt_offset; in i2c_dw_runtime_configure()
766 value = I2C_STD_HCNT + rom->hcnt_offset; in i2c_dw_runtime_configure()
778 value = I2C_FS_LCNT + rom->lcnt_offset; in i2c_dw_runtime_configure()
789 value = I2C_FS_HCNT + rom->hcnt_offset; in i2c_dw_runtime_configure()
801 value = I2C_FSP_LCNT + rom->lcnt_offset; in i2c_dw_runtime_configure()
812 value = I2C_FSP_HCNT + rom->hcnt_offset; in i2c_dw_runtime_configure()
821 value = I2C_HS_LCNT + rom->lcnt_offset; in i2c_dw_runtime_configure()
828 value = I2C_HS_HCNT + rom->hcnt_offset; in i2c_dw_runtime_configure()
1033 const struct i2c_dw_rom_config *const rom = dev->config; in i2c_dw_initialize() local
1039 if (rom->reset.dev) { in i2c_dw_initialize()
1040 ret = reset_line_toggle_dt(&rom->reset); in i2c_dw_initialize()
1048 ret = pinctrl_apply_state(rom->pcfg, PINCTRL_STATE_DEFAULT); in i2c_dw_initialize()
1055 if (rom->pcie) { in i2c_dw_initialize()
1058 if (rom->pcie->bdf == PCIE_BDF_NONE) { in i2c_dw_initialize()
1062 pcie_probe_mbar(rom->pcie->bdf, 0, &mbar); in i2c_dw_initialize()
1063 pcie_set_cmd(rom->pcie->bdf, PCIE_CONF_CMDSTAT_MEM, true); in i2c_dw_initialize()
1067 pcie_set_cmd(rom->pcie->bdf, PCIE_CONF_CMDSTAT_MASTER, true); in i2c_dw_initialize()
1073 dma_intel_lpss_set_base(rom->dma_dev, base); in i2c_dw_initialize()
1074 dma_intel_lpss_setup(rom->dma_dev); in i2c_dw_initialize()
1120 rom->config_func(dev); in i2c_dw_initialize()
1122 dw->app_config = I2C_MODE_CONTROLLER | i2c_map_dt_bitrate(rom->bitrate); in i2c_dw_initialize()