/linux-4.1.27/drivers/sh/intc/ |
D | handle.c | 73 fn += (mr->reg_width >> 3) - 1; in _intc_mask_data() 78 (mr->reg_width - 1) - *fld_idx); in _intc_mask_data() 137 fn += (pr->reg_width >> 3) - 1; in _intc_prio_data() 140 BUG_ON(n * pr->field_width > pr->reg_width); in _intc_prio_data() 142 bit = pr->reg_width - (n * pr->field_width); in _intc_prio_data() 194 fn += (mr->reg_width >> 3) - 1; in intc_ack_data() 199 (mr->reg_width - 1) - j); in intc_ack_data() 272 fn += (sr->reg_width >> 3) - 1; in intc_get_sense_handle() 274 BUG_ON((j + 1) * sr->field_width > sr->reg_width); in intc_get_sense_handle() 276 bit = sr->reg_width - ((j + 1) * sr->field_width); in intc_get_sense_handle()
|
D | balancing.c | 67 fn += (mr->reg_width >> 3) - 1; in intc_dist_data() 72 (mr->reg_width - 1) - j); in intc_dist_data()
|
D | virq.c | 136 unsigned int fn = REG_FN_TEST_BASE + (subgroup->reg_width >> 3) - 1; in intc_subgroup_data() 139 0, 1, (subgroup->reg_width - 1) - index); in intc_subgroup_data()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | bus.c | 77 size_t count, u16 offset, u8 reg_width) in b43_bus_bcma_block_read() argument 79 bcma_block_read(dev->bdev, buffer, count, offset, reg_width); in b43_bus_bcma_block_read() 83 size_t count, u16 offset, u8 reg_width) in b43_bus_bcma_block_write() argument 85 bcma_block_write(dev->bdev, buffer, count, offset, reg_width); in b43_bus_bcma_block_write() 180 size_t count, u16 offset, u8 reg_width) in b43_bus_ssb_block_read() argument 182 ssb_block_read(dev->sdev, buffer, count, offset, reg_width); in b43_bus_ssb_block_read() 186 size_t count, u16 offset, u8 reg_width) in b43_bus_ssb_block_write() argument 188 ssb_block_write(dev->sdev, buffer, count, offset, reg_width); in b43_bus_ssb_block_write()
|
D | bus.h | 33 size_t count, u16 offset, u8 reg_width); 35 size_t count, u16 offset, u8 reg_width);
|
D | b43.h | 1068 size_t count, u16 offset, u8 reg_width) in b43_block_read() argument 1070 dev->dev->block_read(dev->dev, buffer, count, offset, reg_width); in b43_block_read() 1074 size_t count, u16 offset, u8 reg_width) in b43_block_write() argument 1076 dev->dev->block_write(dev->dev, buffer, count, offset, reg_width); in b43_block_write()
|
/linux-4.1.27/include/linux/ |
D | sh_intc.h | 41 unsigned long reg, reg_width; member 47 unsigned long set_reg, clr_reg, reg_width; member 58 unsigned long set_reg, clr_reg, reg_width, field_width; member 66 unsigned long reg, reg_width, field_width; member
|
/linux-4.1.27/drivers/pinctrl/sh-pfc/ |
D | core.c | 147 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width) in sh_pfc_read_raw_reg() argument 149 switch (reg_width) { in sh_pfc_read_raw_reg() 162 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width, in sh_pfc_write_raw_reg() argument 165 switch (reg_width) { in sh_pfc_write_raw_reg() 192 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper() 195 *posp = crp->reg_width; in sh_pfc_config_reg_helper() 213 crp->reg, value, field, crp->reg_width, crp->field_width); in sh_pfc_write_config_reg() 218 data = sh_pfc_read_raw_reg(mapped_reg, crp->reg_width); in sh_pfc_write_config_reg() 227 sh_pfc_write_raw_reg(mapped_reg, crp->reg_width, data); in sh_pfc_write_config_reg() 239 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg()
|
D | gpio.c | 68 return sh_pfc_read_raw_reg(mem, dreg->reg_width); in gpio_read_data_reg() 77 sh_pfc_write_raw_reg(mem, dreg->reg_width, value); in gpio_write_data_reg() 89 for (i = 0, dreg = pfc->info->data_regs; dreg->reg_width; ++i, ++dreg) { in gpio_setup_data_reg() 90 for (bit = 0; bit < dreg->reg_width; bit++) { in gpio_setup_data_reg() 111 for (i = 0; pfc->info->data_regs[i].reg_width; ++i) in gpio_setup_data_regs() 119 for (i = 0, dreg = pfc->info->data_regs; dreg->reg_width; ++i, ++dreg) { in gpio_setup_data_regs() 163 pos = reg->info->reg_width - (bit + 1); in gpio_pin_set_value() 195 pos = reg->info->reg_width - (bit + 1); in gpio_pin_get()
|
D | core.h | 60 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width); 61 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width,
|
D | sh_pfc.h | 73 u8 reg_width, field_width; member 79 .reg = r, .reg_width = r_width, .field_width = f_width, \ 83 .reg = r, .reg_width = r_width, \ 90 u8 reg_width; member 95 .reg = r, .reg_width = r_width, \
|
/linux-4.1.27/drivers/bcma/ |
D | host_soc.c | 51 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_read() argument 55 switch (reg_width) { in bcma_host_soc_block_read() 95 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_write() argument 99 switch (reg_width) { in bcma_host_soc_block_write()
|
D | host_pci.c | 83 size_t count, u16 offset, u8 reg_width) in bcma_host_pci_block_read() argument 88 switch (reg_width) { in bcma_host_pci_block_read() 107 u16 offset, u8 reg_width) in bcma_host_pci_block_write() argument 112 switch (reg_width) { in bcma_host_pci_block_write()
|
/linux-4.1.27/drivers/dma/ |
D | at_hdmac.c | 744 unsigned int reg_width; in atc_prep_slave_sg() local 766 reg_width = convert_buswidth(sconfig->dst_addr_width); in atc_prep_slave_sg() 767 ctrla |= ATC_DST_WIDTH(reg_width); in atc_prep_slave_sg() 806 reg_width = convert_buswidth(sconfig->src_addr_width); in atc_prep_slave_sg() 807 ctrla |= ATC_SRC_WIDTH(reg_width); in atc_prep_slave_sg() 838 | len >> reg_width; in atc_prep_slave_sg() 858 first->tx_width = reg_width; in atc_prep_slave_sg() 859 prev->tx_width = reg_width; in atc_prep_slave_sg() 1016 atc_dma_cyclic_check_values(unsigned int reg_width, dma_addr_t buf_addr, in atc_dma_cyclic_check_values() argument 1019 if (period_len > (ATC_BTSIZE_MAX << reg_width)) in atc_dma_cyclic_check_values() [all …]
|
D | txx9dmac.c | 356 sai = ds->reg_width; in txx9dmac_dostart() 360 dai = ds->reg_width; in txx9dmac_dostart() 377 sai = ds->reg_width; in txx9dmac_dostart() 381 dai = ds->reg_width; in txx9dmac_dostart() 824 BUG_ON(!ds || !ds->reg_width); in txx9dmac_prep_slave_sg() 867 sai = ds->reg_width; in txx9dmac_prep_slave_sg() 871 dai = ds->reg_width; in txx9dmac_prep_slave_sg() 1022 TXX9_DMA_CCR_XFSZ(__ffs(ds->reg_width)); in txx9dmac_alloc_chan_resources()
|
/linux-4.1.27/include/linux/bcma/ |
D | bcma.h | 50 size_t count, u16 offset, u8 reg_width); 52 size_t count, u16 offset, u8 reg_width); 381 size_t count, u16 offset, u8 reg_width) in bcma_block_read() argument 383 core->bus->ops->block_read(core, buffer, count, offset, reg_width); in bcma_block_read() 387 u16 offset, u8 reg_width) in bcma_block_write() argument 389 core->bus->ops->block_write(core, buffer, count, offset, reg_width); in bcma_block_write()
|
/linux-4.1.27/drivers/dma/dw/ |
D | core.c | 772 unsigned int reg_width; in dwc_prep_slave_sg() local 790 reg_width = __fls(sconfig->dst_addr_width); in dwc_prep_slave_sg() 793 | DWC_CTLL_DST_WIDTH(reg_width) in dwc_prep_slave_sg() 847 reg_width = __fls(sconfig->src_addr_width); in dwc_prep_slave_sg() 850 | DWC_CTLL_SRC_WIDTH(reg_width) in dwc_prep_slave_sg() 877 if ((len >> reg_width) > dwc->block_size) { in dwc_prep_slave_sg() 878 dlen = dwc->block_size << reg_width; in dwc_prep_slave_sg() 885 desc->lli.ctlhi = dlen >> reg_width; in dwc_prep_slave_sg() 1325 unsigned int reg_width; in dw_dma_cyclic_prep() local 1361 reg_width = __ffs(sconfig->dst_addr_width); in dw_dma_cyclic_prep() [all …]
|
/linux-4.1.27/include/linux/ssb/ |
D | ssb.h | 209 size_t count, u16 offset, u8 reg_width); 211 size_t count, u16 offset, u8 reg_width); 600 size_t count, u16 offset, u8 reg_width) in ssb_block_read() argument 602 dev->ops->block_read(dev, buffer, count, offset, reg_width); in ssb_block_read() 606 size_t count, u16 offset, u8 reg_width) in ssb_block_write() argument 608 dev->ops->block_write(dev, buffer, count, offset, reg_width); in ssb_block_write()
|
/linux-4.1.27/drivers/ssb/ |
D | sdio.c | 298 size_t count, u16 offset, u8 reg_width) in ssb_sdio_block_read() argument 313 switch (reg_width) { in ssb_sdio_block_read() 337 bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error); in ssb_sdio_block_read() 405 size_t count, u16 offset, u8 reg_width) in ssb_sdio_block_write() argument 420 switch (reg_width) { in ssb_sdio_block_write() 444 bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error); in ssb_sdio_block_write()
|
D | pcmcia.c | 277 size_t count, u16 offset, u8 reg_width) in ssb_pcmcia_block_read() argument 290 switch (reg_width) { in ssb_pcmcia_block_read() 379 size_t count, u16 offset, u8 reg_width) in ssb_pcmcia_block_write() argument 390 switch (reg_width) { in ssb_pcmcia_block_write()
|
D | pci.c | 1012 size_t count, u16 offset, u8 reg_width) in ssb_pci_block_read() argument 1023 switch (reg_width) { in ssb_pci_block_read() 1086 size_t count, u16 offset, u8 reg_width) in ssb_pci_block_write() argument 1097 switch (reg_width) { in ssb_pci_block_write()
|
D | main.c | 625 size_t count, u16 offset, u8 reg_width) in ssb_ssb_block_read() argument 633 switch (reg_width) { in ssb_ssb_block_read() 698 size_t count, u16 offset, u8 reg_width) in ssb_ssb_block_write() argument 706 switch (reg_width) { in ssb_ssb_block_write()
|
/linux-4.1.27/arch/mips/include/asm/txx9/ |
D | dmac.h | 45 unsigned int reg_width; member
|
/linux-4.1.27/include/linux/mfd/ |
D | htc-egpio.h | 43 int reg_width; member
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_tmpl.h | 82 uint8_t reg_width; member 96 uint8_t reg_width; member
|
D | qla_tmpl.c | 258 ent->t256.reg_count, ent->t256.reg_width, buf, len); in qla27xx_fwdt_entry_t256() 287 ent->t258.reg_count, ent->t258.reg_width, buf, len); in qla27xx_fwdt_entry_t258()
|
/linux-4.1.27/drivers/mfd/ |
D | htc-egpio.c | 300 if ((pdata->reg_width != 8) && (pdata->reg_width != 16)) in egpio_probe() 302 ei->reg_shift = fls(pdata->reg_width - 1); in egpio_probe() 305 ei->reg_mask = (1 << pdata->reg_width) - 1; in egpio_probe()
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
D | h3xxx.c | 197 .reg_width = 16,
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | magician.c | 212 .reg_width = 8,
|
D | hx4700.c | 344 .reg_width = 16,
|
/linux-4.1.27/sound/soc/txx9/ |
D | txx9aclc.c | 349 ds->reg_width = sizeof(u32); in txx9aclc_dma_init()
|