/linux-5.19.10/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-5.19.10/drivers/mfd/ |
D | htc-pasic3.c | 23 unsigned int bus_shift; member 37 int bus_shift = asic->bus_shift; in pasic3_write_register() local 38 void __iomem *addr = asic->mapping + (REG_ADDR << bus_shift); in pasic3_write_register() 39 void __iomem *data = asic->mapping + (REG_DATA << bus_shift); in pasic3_write_register() 52 int bus_shift = asic->bus_shift; in pasic3_read_register() local 53 void __iomem *addr = asic->mapping + (REG_ADDR << bus_shift); in pasic3_read_register() 54 void __iomem *data = asic->mapping + (REG_DATA << bus_shift); in pasic3_read_register() 160 asic->bus_shift = (resource_size(r) - 5) >> 3; in pasic3_probe() 165 ds1wm_resources[0].end = (5 << asic->bus_shift) - 1; in pasic3_probe()
|
D | asic3.c | 76 unsigned int bus_shift; member 93 (reg >> asic->bus_shift)); in asic3_write_register() 100 (reg >> asic->bus_shift)); in asic3_read_register() 708 tmio_core_mmc_pwr(asic->tmio_cnf, 1 - asic->bus_shift, state); in asic3_mmc_pwr() 715 tmio_core_mmc_clk_div(asic->tmio_cnf, 1 - asic->bus_shift, state); in asic3_mmc_clk_div() 767 tmio_core_mmc_enable(asic->tmio_cnf, 1 - asic->bus_shift, in asic3_mmc_enable() 887 ds1wm_resources[0].start >>= asic->bus_shift; in asic3_mfd_probe() 888 ds1wm_resources[0].end >>= asic->bus_shift; in asic3_mfd_probe() 893 asic->bus_shift) + mem_sdio->start, in asic3_mfd_probe() 894 ASIC3_SD_CONFIG_SIZE >> asic->bus_shift); in asic3_mfd_probe() [all …]
|
/linux-5.19.10/drivers/mmc/host/ |
D | tmio_mmc.h | 149 unsigned int bus_shift; member 228 return ioread16(host->ctl + (addr << host->bus_shift)); in sd_ctrl_read16() 234 ioread16_rep(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_read16_rep() 240 return ioread16(host->ctl + (addr << host->bus_shift)) | in sd_ctrl_read16_and_16_as_32() 241 ioread16(host->ctl + ((addr + 2) << host->bus_shift)) << 16; in sd_ctrl_read16_and_16_as_32() 247 ioread32_rep(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_read32_rep() 258 iowrite16(val, host->ctl + (addr << host->bus_shift)); in sd_ctrl_write16() 264 iowrite16_rep(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_write16_rep() 273 iowrite16(val & 0xffff, host->ctl + (addr << host->bus_shift)); in sd_ctrl_write32_as_16_and_16() 274 iowrite16(val >> 16, host->ctl + ((addr + 2) << host->bus_shift)); in sd_ctrl_write32_as_16_and_16() [all …]
|
D | renesas_sdhi_core.c | 320 return readl(priv->scc_ctl + (addr << host->bus_shift)); in sd_scc_read32() 327 writel(val, priv->scc_ctl + (addr << host->bus_shift)); in sd_scc_write32() 883 int width = (host->bus_shift == 2) ? 64 : 32; in renesas_sdhi_enable_dma() 964 host->bus_shift = of_data->bus_shift; in renesas_sdhi_probe() 997 if (!host->bus_shift && resource_size(res) > 0x100) /* old way to determine the shift */ in renesas_sdhi_probe() 998 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 | tmio_mmc.c | 160 host->bus_shift = resource_size(res) >> 10; in tmio_mmc_probe()
|
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 | 618 host->bus_shift = 1; in uniphier_sd_probe()
|
/linux-5.19.10/drivers/w1/masters/ |
D | ds1wm.c | 98 unsigned int bus_shift; /* # of shifts to calc register offsets */ member 120 switch (ds1wm_data->bus_shift) { in ds1wm_write_register() 132 switch (ds1wm_data->bus_shift) { in ds1wm_write_register() 151 switch (ds1wm_data->bus_shift) { in ds1wm_read_register() 163 switch (ds1wm_data->bus_shift) { in ds1wm_read_register() 540 if (plat->bus_shift > 2) { in ds1wm_probe() 543 ds1wm_data->bus_shift); in ds1wm_probe() 547 ds1wm_data->bus_shift = plat->bus_shift; in ds1wm_probe() 549 if ((8 << ds1wm_data->bus_shift) > resource_size(res)) { in ds1wm_probe() 553 8 << ds1wm_data->bus_shift); in ds1wm_probe() [all …]
|
/linux-5.19.10/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-5.19.10/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-5.19.10/include/linux/mfd/ |
D | ds1wm.h | 28 unsigned int bus_shift; member
|
/linux-5.19.10/include/media/drv-intf/ |
D | renesas-ceu.h | 16 unsigned char bus_shift; member
|
/linux-5.19.10/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,
|
/linux-5.19.10/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-5.19.10/arch/sh/boards/mach-migor/ |
D | setup.c | 311 .bus_shift = 0, 318 .bus_shift = 0,
|
/linux-5.19.10/arch/sh/boards/mach-ecovec24/ |
D | setup.c | 408 .bus_shift = 0, 415 .bus_shift = 0, 452 .bus_shift = 0,
|
/linux-5.19.10/arch/sh/boards/mach-ap325rxa/ |
D | setup.c | 276 .bus_shift = 0,
|
/linux-5.19.10/arch/sh/boards/mach-kfr2r09/ |
D | setup.c | 250 .bus_shift = 0,
|
/linux-5.19.10/drivers/tty/serial/ |
D | altera_uart.c | 602 port->regshift = platp->bus_shift; in altera_uart_probe()
|