/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/mmc/host/ |
D | tmio_mmc.h | 148 unsigned int bus_shift; member 213 return ioread16(host->ctl + (addr << host->bus_shift)); in sd_ctrl_read16() 219 ioread16_rep(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_read16_rep() 225 return ioread16(host->ctl + (addr << host->bus_shift)) | in sd_ctrl_read16_and_16_as_32() 226 ioread16(host->ctl + ((addr + 2) << host->bus_shift)) << 16; in sd_ctrl_read16_and_16_as_32() 232 ioread32_rep(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_read32_rep() 243 iowrite16(val, host->ctl + (addr << host->bus_shift)); in sd_ctrl_write16() 249 iowrite16_rep(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_write16_rep() 258 iowrite16(val & 0xffff, host->ctl + (addr << host->bus_shift)); in sd_ctrl_write32_as_16_and_16() 259 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() 901 int width = (host->bus_shift == 2) ? 64 : 32; in renesas_sdhi_enable_dma() 984 host->bus_shift = of_data->bus_shift; in renesas_sdhi_probe() 1019 if (!host->bus_shift && resource_size(res) > 0x100) /* old way to determine the shift */ in renesas_sdhi_probe() 1020 host->bus_shift = 1; in renesas_sdhi_probe()
|
D | renesas_sdhi.h | 32 unsigned int bus_shift; member
|
D | renesas_sdhi_internal_dmac.c | 99 .bus_shift = 2, 114 .bus_shift = 2, 130 .bus_shift = 2,
|
D | renesas_sdhi_sys_dmac.c | 372 (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()
|
/linux-6.12.1/arch/loongarch/pci/ |
D | acpi.c | 113 bus_range = resource_size(cfgres) >> ops->bus_shift; in arch_pci_ecam_create() 115 bsz = 1 << ops->bus_shift; in arch_pci_ecam_create() 158 int ret, bus_shift; in pci_acpi_setup_ecam_mapping() local 173 bus_shift = ecam_ops->bus_shift ? : 20; in pci_acpi_setup_ecam_mapping() 175 if (bus_shift == 20) in pci_acpi_setup_ecam_mapping() 178 cfgres.start = root->mcfg_addr + (bus_res->start << bus_shift); in pci_acpi_setup_ecam_mapping() 179 cfgres.end = cfgres.start + (resource_size(bus_res) << bus_shift) - 1; in pci_acpi_setup_ecam_mapping()
|
/linux-6.12.1/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()
|
/linux-6.12.1/include/linux/ |
D | pci-ecam.h | 45 unsigned int bus_shift; member 58 unsigned int bus_shift; member
|
D | altera_uart.h | 13 unsigned int bus_shift; /* Bus shift (address stride) */ member
|
/linux-6.12.1/include/media/drv-intf/ |
D | renesas-ceu.h | 16 unsigned char bus_shift; member
|
/linux-6.12.1/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,
|
/linux-6.12.1/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()
|
/linux-6.12.1/arch/sh/boards/mach-migor/ |
D | setup.c | 311 .bus_shift = 0, 318 .bus_shift = 0,
|
/linux-6.12.1/arch/sh/boards/mach-ecovec24/ |
D | setup.c | 408 .bus_shift = 0, 415 .bus_shift = 0, 452 .bus_shift = 0,
|
/linux-6.12.1/arch/sh/boards/mach-ap325rxa/ |
D | setup.c | 277 .bus_shift = 0,
|
/linux-6.12.1/arch/sh/boards/mach-kfr2r09/ |
D | setup.c | 250 .bus_shift = 0,
|
/linux-6.12.1/drivers/tty/serial/ |
D | altera_uart.c | 580 port->regshift = platp->bus_shift; in altera_uart_probe()
|