Home
last modified time | relevance | path

Searched refs:mmio_cfg (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/i2c/busses/
H A Di2c-piix4.c157 struct sb800_mmio_cfg mmio_cfg; member
160 int piix4_sb800_region_request(struct device *dev, struct sb800_mmio_cfg *mmio_cfg) in piix4_sb800_region_request() argument
162 if (mmio_cfg->use_mmio) { in piix4_sb800_region_request()
183 mmio_cfg->addr = addr; in piix4_sb800_region_request()
200 void piix4_sb800_region_release(struct device *dev, struct sb800_mmio_cfg *mmio_cfg) in piix4_sb800_region_release() argument
202 if (mmio_cfg->use_mmio) { in piix4_sb800_region_release()
203 iounmap(mmio_cfg->addr); in piix4_sb800_region_release()
330 struct sb800_mmio_cfg mmio_cfg; in piix4_setup_sb800_smba() local
335 mmio_cfg.use_mmio = piix4_sb800_use_mmio(PIIX4_dev); in piix4_setup_sb800_smba()
336 retval = piix4_sb800_region_request(&PIIX4_dev->dev, &mmio_cfg); in piix4_setup_sb800_smba()
[all …]
H A Di2c-amd-asf-plat.c54 struct sb800_mmio_cfg mmio_cfg; member
136 reg = ioread32(dev->mmio_cfg.addr); in amd_asf_update_mmio_target()
138 iowrite32(reg, dev->mmio_cfg.addr); in amd_asf_update_mmio_target()
212 ret = piix4_sb800_region_request(&adap->dev, &dev->mmio_cfg); in amd_asf_xfer()
223 prev_port = piix4_sb800_port_sel(0, &dev->mmio_cfg); in amd_asf_xfer()
225 piix4_sb800_port_sel(prev_port, &dev->mmio_cfg); in amd_asf_xfer()
227 piix4_sb800_region_release(&adap->dev, &dev->mmio_cfg); in amd_asf_xfer()
241 ret = piix4_sb800_region_request(&target->dev, &dev->mmio_cfg); in amd_asf_reg_target()
251 piix4_sb800_region_release(&target->dev, &dev->mmio_cfg); in amd_asf_reg_target()
310 asf_dev->mmio_cfg.use_mmio = true; in amd_asf_probe()