Searched refs:bus_shift (Results 1 – 9 of 9) sorted by relevance
/linux-2.6.39/drivers/mfd/ |
D | htc-pasic3.c | 26 unsigned int bus_shift; member 40 int bus_shift = asic->bus_shift; in pasic3_write_register() local 41 void __iomem *addr = asic->mapping + (REG_ADDR << bus_shift); in pasic3_write_register() 42 void __iomem *data = asic->mapping + (REG_DATA << bus_shift); in pasic3_write_register() 55 int bus_shift = asic->bus_shift; in pasic3_read_register() local 56 void __iomem *addr = asic->mapping + (REG_ADDR << bus_shift); in pasic3_read_register() 57 void __iomem *data = asic->mapping + (REG_DATA << bus_shift); in pasic3_read_register() 162 asic->bus_shift = (resource_size(r) - 5) >> 3; in pasic3_probe() 167 ds1wm_resources[0].end = (5 << asic->bus_shift) - 1; in pasic3_probe()
|
D | htc-egpio.c | 35 int bus_shift; /* byte shift */ member 54 writew(value, ei->base_addr + (reg << ei->bus_shift)); in egpio_writew() 59 return readw(ei->base_addr + (reg << ei->bus_shift)); in egpio_readw() 70 ei->ack_write, ei->ack_register << ei->bus_shift); in ack_irqs() 165 ei->base_addr, reg << ei->bus_shift, value); in egpio_get() 296 ei->bus_shift = fls(pdata->bus_width - 1) - 3; in egpio_probe() 297 pr_debug("bus_shift = %d\n", ei->bus_shift); in egpio_probe()
|
D | asic3.c | 77 unsigned int bus_shift; member 95 (reg >> asic->bus_shift)); in asic3_write_register() 102 (reg >> asic->bus_shift)); in asic3_read_register() 688 tmio_core_mmc_pwr(asic->tmio_cnf, 1 - asic->bus_shift, state); in asic3_mmc_pwr() 695 tmio_core_mmc_clk_div(asic->tmio_cnf, 1 - asic->bus_shift, state); in asic3_mmc_clk_div() 754 tmio_core_mmc_enable(asic->tmio_cnf, 1 - asic->bus_shift, in asic3_mmc_enable() 804 ds1wm_resources[0].start >>= asic->bus_shift; in asic3_mfd_probe() 805 ds1wm_resources[0].end >>= asic->bus_shift; in asic3_mfd_probe() 808 asic->tmio_cnf = ioremap((ASIC3_SD_CONFIG_BASE >> asic->bus_shift) + in asic3_mfd_probe() 809 mem_sdio->start, 0x400 >> asic->bus_shift); in asic3_mfd_probe() [all …]
|
/linux-2.6.39/drivers/mmc/host/ |
D | tmio_mmc_pio.c | 50 return readw(host->ctl + (addr << host->bus_shift)); in sd_ctrl_read16() 56 readsw(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_read16_rep() 61 return readw(host->ctl + (addr << host->bus_shift)) | in sd_ctrl_read32() 62 readw(host->ctl + ((addr + 2) << host->bus_shift)) << 16; in sd_ctrl_read32() 67 writew(val, host->ctl + (addr << host->bus_shift)); in sd_ctrl_write16() 73 writesw(host->ctl + (addr << host->bus_shift), buf, count); in sd_ctrl_write16_rep() 78 writew(val, host->ctl + (addr << host->bus_shift)); in sd_ctrl_write32() 79 writew(val >> 16, host->ctl + ((addr + 2) << host->bus_shift)); in sd_ctrl_write32() 814 _host->bus_shift = resource_size(res_ctl) >> 10; in tmio_mmc_host_probe()
|
D | tmio_mmc.h | 42 unsigned long bus_shift; member
|
D | tmio_mmc_dma.c | 29 writew(enable ? 2 : 0, host->ctl + (0xd8 << host->bus_shift)); in tmio_mmc_enable_dma()
|
/linux-2.6.39/drivers/w1/masters/ |
D | ds1wm.c | 91 int bus_shift; /* # of shifts to calc register offsets */ member 106 __raw_writeb(val, ds1wm_data->map + (reg << ds1wm_data->bus_shift)); in ds1wm_write_register() 111 return __raw_readb(ds1wm_data->map + (reg << ds1wm_data->bus_shift)); in ds1wm_read_register() 357 ds1wm_data->bus_shift = resource_size(res) >> 3; in ds1wm_probe()
|
/linux-2.6.39/include/linux/ |
D | altera_uart.h | 14 unsigned int bus_shift; /* Bus shift (address stride) */ member
|
/linux-2.6.39/drivers/tty/serial/ |
D | altera_uart.c | 580 port->regshift = platp->bus_shift; in altera_uart_probe()
|