Searched refs:bus_shift (Results 1 – 13 of 13) sorted by relevance
/drivers/pci/ |
D | ecam.c | 31 unsigned int bus_shift = ops->bus_shift; in pci_ecam_create() local 45 if (!bus_shift) in pci_ecam_create() 46 bus_shift = PCIE_ECAM_BUS_SHIFT; in pci_ecam_create() 53 cfg->bus_shift = bus_shift; in pci_ecam_create() 55 bus_range_max = resource_size(cfgres) >> bus_shift; in pci_ecam_create() 62 bsz = 1 << bus_shift; in pci_ecam_create() 129 unsigned int bsz = 1 << cfg->bus_shift; in pci_ecam_add_bus() 171 unsigned int bus_shift = cfg->ops->bus_shift; in pci_ecam_map_bus() local 172 unsigned int devfn_shift = cfg->ops->bus_shift - 8; in pci_ecam_map_bus() 187 if (cfg->ops->bus_shift) { in pci_ecam_map_bus() [all …]
|
/drivers/mmc/host/ |
D | tmio_mmc.h | 150 unsigned int bus_shift; member 215 return ioread16(host->ctl + (addr << host->bus_shift)); in sd_ctrl_read16() 221 ioread16_rep(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_read16_rep() 227 return ioread16(host->ctl + (addr << host->bus_shift)) | in sd_ctrl_read16_and_16_as_32() 228 ioread16(host->ctl + ((addr + 2) << host->bus_shift)) << 16; in sd_ctrl_read16_and_16_as_32() 234 ioread32_rep(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_read32_rep() 245 iowrite16(val, host->ctl + (addr << host->bus_shift)); in sd_ctrl_write16() 251 iowrite16_rep(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_write16_rep() 260 iowrite16(val & 0xffff, host->ctl + (addr << host->bus_shift)); in sd_ctrl_write32_as_16_and_16() 261 iowrite16(val >> 16, host->ctl + ((addr + 2) << host->bus_shift)); in sd_ctrl_write32_as_16_and_16() [all …]
|
D | renesas_sdhi_core.c | 335 return readl(priv->scc_ctl + (addr << host->bus_shift)); in sd_scc_read32() 342 writel(val, priv->scc_ctl + (addr << host->bus_shift)); in sd_scc_write32() 898 int width = (host->bus_shift == 2) ? 64 : 32; in renesas_sdhi_enable_dma() 979 host->bus_shift = of_data->bus_shift; in renesas_sdhi_probe() 1014 if (!host->bus_shift && resource_size(res) > 0x100) /* old way to determine the shift */ in renesas_sdhi_probe() 1015 host->bus_shift = 1; in renesas_sdhi_probe()
|
D | renesas_sdhi_internal_dmac.c | 98 .bus_shift = 2, 113 .bus_shift = 2, 129 .bus_shift = 2,
|
D | renesas_sdhi.h | 30 unsigned int bus_shift; member
|
D | renesas_sdhi_sys_dmac.c | 371 (CTL_SD_DATA_PORT << host->bus_shift); in renesas_sdhi_sys_dmac_request_dma()
|
D | uniphier-sd.c | 690 host->bus_shift = 1; in uniphier_sd_probe()
|
/drivers/gpio/ |
D | gpio-htc-egpio.c | 36 int bus_shift; /* byte shift */ member 55 writew(value, ei->base_addr + (reg << ei->bus_shift)); in egpio_writew() 60 return readw(ei->base_addr + (reg << ei->bus_shift)); in egpio_readw() 71 ei->ack_write, ei->ack_register << ei->bus_shift); in ack_irqs() 155 ei->base_addr, reg << ei->bus_shift, value); in egpio_get() 292 ei->bus_shift = fls(pdata->bus_width - 1) - 3; in egpio_probe() 293 pr_debug("bus_shift = %d\n", ei->bus_shift); in egpio_probe()
|
/drivers/pci/controller/ |
D | pci-host-generic.c | 18 .bus_shift = 16,
|
D | pci-thunder-pem.c | 415 .bus_shift = THUNDER_PCIE_ECAM_BUS_SHIFT, 452 .bus_shift = THUNDER_PCIE_ECAM_BUS_SHIFT,
|
D | pci-loongson.c | 401 .bus_shift = 16,
|
/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/ |
D | base.c | 50 u8 shunt_shift, u8 bus_reg, u8 bus_shift, u8 shunt, in nvkm_iccsense_poll_lane() argument 60 vbus >>= bus_shift; in nvkm_iccsense_poll_lane()
|
/drivers/tty/serial/ |
D | altera_uart.c | 580 port->regshift = platp->bus_shift; in altera_uart_probe()
|