/Linux-v5.4/drivers/net/ethernet/dec/tulip/ |
D | media.c | 68 iowrite32(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0); in tulip_mdio_read() 82 iowrite32(MDIO_ENB | MDIO_DATA_WRITE1, mdio_addr); in tulip_mdio_read() 84 iowrite32(MDIO_ENB | MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_read() 91 iowrite32(MDIO_ENB | dataval, mdio_addr); in tulip_mdio_read() 93 iowrite32(MDIO_ENB | dataval | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_read() 98 iowrite32(MDIO_ENB_IN, mdio_addr); in tulip_mdio_read() 101 iowrite32(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_read() 123 iowrite32(val, ioaddr + comet_miireg2offset[location]); in tulip_mdio_write() 129 iowrite32(cmd, ioaddr + 0xA0); in tulip_mdio_write() 141 iowrite32(MDIO_ENB | MDIO_DATA_WRITE1, mdio_addr); in tulip_mdio_write() [all …]
|
D | 21142.c | 79 iowrite32(0, ioaddr + CSR13); in t21142_media_task() 80 iowrite32(0x0003FFFF, ioaddr + CSR14); in t21142_media_task() 82 iowrite32(t21142_csr13[dev->if_port], ioaddr + CSR13); in t21142_media_task() 87 iowrite32(0, ioaddr + CSR13); in t21142_media_task() 88 iowrite32(0x0003FFFF, ioaddr + CSR14); in t21142_media_task() 90 iowrite32(1, ioaddr + CSR13); in t21142_media_task() 98 iowrite32(0x0301, ioaddr + CSR12); in t21142_media_task() 124 iowrite32(0x0001, ioaddr + CSR13); in t21142_start_nway() 126 iowrite32(csr14, ioaddr + CSR14); in t21142_start_nway() 128 iowrite32(tp->csr6, ioaddr + CSR6); in t21142_start_nway() [all …]
|
D | pnic.c | 33 iowrite32(0x32 | (dev->if_port & 1), ioaddr + CSR12); in pnic_do_nway() 35 iowrite32(0x1F868, ioaddr + 0xB8); in pnic_do_nway() 62 iowrite32((ioread32(ioaddr + CSR7) & ~TPLnkFail) | TPLnkPass, ioaddr + CSR7); in pnic_lnk_change() 70 iowrite32(tp->csr6, ioaddr + CSR6); in pnic_lnk_change() 71 iowrite32(0x30, ioaddr + CSR12); in pnic_lnk_change() 72 iowrite32(0x0201F078, ioaddr + 0xB8); /* Turn on autonegotiation. */ in pnic_lnk_change() 83 iowrite32((ioread32(ioaddr + CSR7) & ~TPLnkPass) | TPLnkFail, ioaddr + CSR7); in pnic_lnk_change() 118 iowrite32(0x0201F078, ioaddr + 0xB8); in pnic_timer() 137 iowrite32(0x33, ioaddr + CSR12); in pnic_timer() 139 iowrite32(0x1F868, ioaddr + 0xB8); in pnic_timer() [all …]
|
/Linux-v5.4/drivers/watchdog/ |
D | davinci_wdt.c | 80 iowrite32(0, davinci_wdt->base + TCR); in davinci_wdt_start() 82 iowrite32(0, davinci_wdt->base + TGCR); in davinci_wdt_start() 84 iowrite32(tgcr, davinci_wdt->base + TGCR); in davinci_wdt_start() 86 iowrite32(0, davinci_wdt->base + TIM12); in davinci_wdt_start() 87 iowrite32(0, davinci_wdt->base + TIM34); in davinci_wdt_start() 90 iowrite32(timer_margin, davinci_wdt->base + PRD12); in davinci_wdt_start() 92 iowrite32(timer_margin, davinci_wdt->base + PRD34); in davinci_wdt_start() 94 iowrite32(ENAMODE12_PERIODIC, davinci_wdt->base + TCR); in davinci_wdt_start() 100 iowrite32(WDKEY_SEQ0 | WDEN, davinci_wdt->base + WDTCR); in davinci_wdt_start() 102 iowrite32(WDKEY_SEQ1 | WDEN, davinci_wdt->base + WDTCR); in davinci_wdt_start() [all …]
|
/Linux-v5.4/drivers/net/ethernet/cisco/enic/ |
D | vnic_cq.c | 67 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in vnic_cq_init() 68 iowrite32(flow_control_enable, &cq->ctrl->flow_control_enable); in vnic_cq_init() 69 iowrite32(color_enable, &cq->ctrl->color_enable); in vnic_cq_init() 70 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init() 71 iowrite32(cq_tail, &cq->ctrl->cq_tail); in vnic_cq_init() 72 iowrite32(cq_tail_color, &cq->ctrl->cq_tail_color); in vnic_cq_init() 73 iowrite32(interrupt_enable, &cq->ctrl->interrupt_enable); in vnic_cq_init() 74 iowrite32(cq_entry_enable, &cq->ctrl->cq_entry_enable); in vnic_cq_init() 75 iowrite32(cq_message_enable, &cq->ctrl->cq_message_enable); in vnic_cq_init() 76 iowrite32(interrupt_offset, &cq->ctrl->interrupt_offset); in vnic_cq_init() [all …]
|
D | vnic_wq.c | 144 iowrite32(count, &wq->ctrl->ring_size); in enic_wq_init_start() 145 iowrite32(fetch_index, &wq->ctrl->fetch_index); in enic_wq_init_start() 146 iowrite32(posted_index, &wq->ctrl->posted_index); in enic_wq_init_start() 147 iowrite32(cq_index, &wq->ctrl->cq_index); in enic_wq_init_start() 148 iowrite32(error_interrupt_enable, &wq->ctrl->error_interrupt_enable); in enic_wq_init_start() 149 iowrite32(error_interrupt_offset, &wq->ctrl->error_interrupt_offset); in enic_wq_init_start() 150 iowrite32(0, &wq->ctrl->error_status); in enic_wq_init_start() 173 iowrite32(1, &wq->ctrl->enable); in vnic_wq_enable() 181 iowrite32(0, &wq->ctrl->enable); in vnic_wq_disable() 212 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_clean() [all …]
|
D | vnic_rq.c | 124 iowrite32(count, &rq->ctrl->ring_size); in vnic_rq_init_start() 125 iowrite32(cq_index, &rq->ctrl->cq_index); in vnic_rq_init_start() 126 iowrite32(error_interrupt_enable, &rq->ctrl->error_interrupt_enable); in vnic_rq_init_start() 127 iowrite32(error_interrupt_offset, &rq->ctrl->error_interrupt_offset); in vnic_rq_init_start() 128 iowrite32(0, &rq->ctrl->dropped_packet_count); in vnic_rq_init_start() 129 iowrite32(0, &rq->ctrl->error_status); in vnic_rq_init_start() 130 iowrite32(fetch_index, &rq->ctrl->fetch_index); in vnic_rq_init_start() 131 iowrite32(posted_index, &rq->ctrl->posted_index); in vnic_rq_init_start() 153 iowrite32(1, &rq->ctrl->enable); in vnic_rq_enable() 167 iowrite32(0, &rq->ctrl->enable); in vnic_rq_disable() [all …]
|
/Linux-v5.4/drivers/scsi/fnic/ |
D | vnic_cq.c | 62 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in vnic_cq_init() 63 iowrite32(flow_control_enable, &cq->ctrl->flow_control_enable); in vnic_cq_init() 64 iowrite32(color_enable, &cq->ctrl->color_enable); in vnic_cq_init() 65 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init() 66 iowrite32(cq_tail, &cq->ctrl->cq_tail); in vnic_cq_init() 67 iowrite32(cq_tail_color, &cq->ctrl->cq_tail_color); in vnic_cq_init() 68 iowrite32(interrupt_enable, &cq->ctrl->interrupt_enable); in vnic_cq_init() 69 iowrite32(cq_entry_enable, &cq->ctrl->cq_entry_enable); in vnic_cq_init() 70 iowrite32(cq_message_enable, &cq->ctrl->cq_message_enable); in vnic_cq_init() 71 iowrite32(interrupt_offset, &cq->ctrl->interrupt_offset); in vnic_cq_init() [all …]
|
D | vnic_wq.c | 163 iowrite32(count, &wq->ctrl->ring_size); in vnic_wq_init_start() 164 iowrite32(fetch_index, &wq->ctrl->fetch_index); in vnic_wq_init_start() 165 iowrite32(posted_index, &wq->ctrl->posted_index); in vnic_wq_init_start() 166 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_init_start() 167 iowrite32(error_interrupt_enable, &wq->ctrl->error_interrupt_enable); in vnic_wq_init_start() 168 iowrite32(error_interrupt_offset, &wq->ctrl->error_interrupt_offset); in vnic_wq_init_start() 169 iowrite32(0, &wq->ctrl->error_status); in vnic_wq_init_start() 185 iowrite32(wq->ring.desc_count, &wq->ctrl->ring_size); in vnic_wq_init() 186 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_init() 187 iowrite32(0, &wq->ctrl->posted_index); in vnic_wq_init() [all …]
|
D | vnic_wq_copy.c | 27 iowrite32(1, &wq->ctrl->enable); in vnic_wq_copy_enable() 34 iowrite32(0, &wq->ctrl->enable); in vnic_wq_copy_disable() 62 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_copy_clean() 63 iowrite32(0, &wq->ctrl->posted_index); in vnic_wq_copy_clean() 64 iowrite32(0, &wq->ctrl->error_status); in vnic_wq_copy_clean() 110 iowrite32(wq->ring.desc_count, &wq->ctrl->ring_size); in vnic_wq_copy_init() 111 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_copy_init() 112 iowrite32(0, &wq->ctrl->posted_index); in vnic_wq_copy_init() 113 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_copy_init() 114 iowrite32(error_interrupt_enable, &wq->ctrl->error_interrupt_enable); in vnic_wq_copy_init() [all …]
|
D | vnic_rq.c | 120 iowrite32(rq->ring.desc_count, &rq->ctrl->ring_size); in vnic_rq_init() 121 iowrite32(cq_index, &rq->ctrl->cq_index); in vnic_rq_init() 122 iowrite32(error_interrupt_enable, &rq->ctrl->error_interrupt_enable); in vnic_rq_init() 123 iowrite32(error_interrupt_offset, &rq->ctrl->error_interrupt_offset); in vnic_rq_init() 124 iowrite32(0, &rq->ctrl->dropped_packet_count); in vnic_rq_init() 125 iowrite32(0, &rq->ctrl->error_status); in vnic_rq_init() 132 iowrite32(fetch_index, &rq->ctrl->posted_index); in vnic_rq_init() 144 iowrite32(1, &rq->ctrl->enable); in vnic_rq_enable() 151 iowrite32(0, &rq->ctrl->enable); in vnic_rq_disable() 188 iowrite32(fetch_index, &rq->ctrl->posted_index); in vnic_rq_clean()
|
/Linux-v5.4/drivers/scsi/snic/ |
D | vnic_cq.c | 63 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in svnic_cq_init() 64 iowrite32(flow_control_enable, &cq->ctrl->flow_control_enable); in svnic_cq_init() 65 iowrite32(color_enable, &cq->ctrl->color_enable); in svnic_cq_init() 66 iowrite32(cq_head, &cq->ctrl->cq_head); in svnic_cq_init() 67 iowrite32(cq_tail, &cq->ctrl->cq_tail); in svnic_cq_init() 68 iowrite32(cq_tail_color, &cq->ctrl->cq_tail_color); in svnic_cq_init() 69 iowrite32(interrupt_enable, &cq->ctrl->interrupt_enable); in svnic_cq_init() 70 iowrite32(cq_entry_enable, &cq->ctrl->cq_entry_enable); in svnic_cq_init() 71 iowrite32(cq_message_enable, &cq->ctrl->cq_message_enable); in svnic_cq_init() 72 iowrite32(interrupt_offset, &cq->ctrl->interrupt_offset); in svnic_cq_init() [all …]
|
D | vnic_wq.c | 164 iowrite32(count, &wq->ctrl->ring_size); in vnic_wq_init_start() 165 iowrite32(fetch_index, &wq->ctrl->fetch_index); in vnic_wq_init_start() 166 iowrite32(posted_index, &wq->ctrl->posted_index); in vnic_wq_init_start() 167 iowrite32(cq_index, &wq->ctrl->cq_index); in vnic_wq_init_start() 168 iowrite32(error_interrupt_enable, &wq->ctrl->error_interrupt_enable); in vnic_wq_init_start() 169 iowrite32(error_interrupt_offset, &wq->ctrl->error_interrupt_offset); in vnic_wq_init_start() 170 iowrite32(0, &wq->ctrl->error_status); in vnic_wq_init_start() 192 iowrite32(1, &wq->ctrl->enable); in svnic_wq_enable() 199 iowrite32(0, &wq->ctrl->enable); in svnic_wq_disable() 232 iowrite32(0, &wq->ctrl->fetch_index); in svnic_wq_clean() [all …]
|
/Linux-v5.4/drivers/ata/ |
D | sata_rcar.c | 162 iowrite32(0, base + SATAPHYADDR_REG); in sata_rcar_gen1_phy_preinit() 164 iowrite32(SATAPHYRESET_PHYRST, base + SATAPHYRESET_REG); in sata_rcar_gen1_phy_preinit() 167 iowrite32(0, base + SATAPHYRESET_REG); in sata_rcar_gen1_phy_preinit() 177 iowrite32(0, base + SATAPHYRESET_REG); in sata_rcar_gen1_phy_write() 179 iowrite32(SATAPHYACCEN_PHYLANE, base + SATAPHYACCEN_REG); in sata_rcar_gen1_phy_write() 181 iowrite32(val, base + SATAPHYWDATA_REG); in sata_rcar_gen1_phy_write() 186 iowrite32(SATAPHYADDR_PHYCMD_WRITE | reg, base + SATAPHYADDR_REG); in sata_rcar_gen1_phy_write() 196 iowrite32(0, base + SATAPHYADDR_REG); in sata_rcar_gen1_phy_write() 214 iowrite32(RCAR_GEN2_PHY_CTL1, base + RCAR_GEN2_PHY_CTL1_REG); in sata_rcar_gen2_phy_init() 215 iowrite32(RCAR_GEN2_PHY_CTL2, base + RCAR_GEN2_PHY_CTL2_REG); in sata_rcar_gen2_phy_init() [all …]
|
/Linux-v5.4/arch/arc/plat-axs10x/ |
D | axs10x.c | 68 iowrite32(~(1 << MB_TO_GPIO_IRQ), (void __iomem *) GPIO_INTMASK); in axs10x_enable_gpio_intc_wire() 69 iowrite32(0, (void __iomem *) GPIO_INTTYPE_LEVEL); in axs10x_enable_gpio_intc_wire() 70 iowrite32(~0, (void __iomem *) GPIO_INT_POLARITY); in axs10x_enable_gpio_intc_wire() 71 iowrite32(1 << MB_TO_GPIO_IRQ, (void __iomem *) GPIO_INTEN); in axs10x_enable_gpio_intc_wire() 240 iowrite32(slave_select, base + 0x0); /* SLV0 */ in axs101_set_memmap() 241 iowrite32(slave_offset, base + 0x8); /* OFFSET0 */ in axs101_set_memmap() 249 iowrite32(slave_select, base + 0x4); /* SLV1 */ in axs101_set_memmap() 250 iowrite32(slave_offset, base + 0xC); /* OFFSET1 */ in axs101_set_memmap() 259 iowrite32(1, (void __iomem *) CREG_CPU_ADDR_770_UPD); in axs101_early_init() 264 iowrite32(1, (void __iomem *) CREG_CPU_ADDR_TUNN_UPD); in axs101_early_init() [all …]
|
/Linux-v5.4/drivers/rtc/ |
D | rtc-asm9260.c | 126 iowrite32(0, priv->iobase + HW_CIIR); in asm9260_rtc_irq() 177 iowrite32(0, priv->iobase + HW_SEC); in asm9260_rtc_set_time() 179 iowrite32(tm->tm_year, priv->iobase + HW_YEAR); in asm9260_rtc_set_time() 180 iowrite32(tm->tm_mon, priv->iobase + HW_MONTH); in asm9260_rtc_set_time() 181 iowrite32(tm->tm_mday, priv->iobase + HW_DOM); in asm9260_rtc_set_time() 182 iowrite32(tm->tm_wday, priv->iobase + HW_DOW); in asm9260_rtc_set_time() 183 iowrite32(tm->tm_yday, priv->iobase + HW_DOY); in asm9260_rtc_set_time() 184 iowrite32(tm->tm_hour, priv->iobase + HW_HOUR); in asm9260_rtc_set_time() 185 iowrite32(tm->tm_min, priv->iobase + HW_MIN); in asm9260_rtc_set_time() 186 iowrite32(tm->tm_sec, priv->iobase + HW_SEC); in asm9260_rtc_set_time() [all …]
|
/Linux-v5.4/drivers/media/pci/dt3155/ |
D | dt3155.c | 40 iowrite32((tmp << 17) | IIC_READ, addr + IIC_CSR2); in read_i2c_reg() 47 iowrite32(DIRECT_ABORT, addr + IIC_CSR1); in read_i2c_reg() 70 iowrite32((tmp << 17) | IIC_WRITE | data, addr + IIC_CSR2); in write_i2c_reg() 76 iowrite32(DIRECT_ABORT, addr + IIC_CSR1); in write_i2c_reg() 96 iowrite32((tmp << 17) | IIC_WRITE | data, addr + IIC_CSR2); in write_i2c_reg_nowait() 116 iowrite32(DIRECT_ABORT, addr + IIC_CSR1); in wait_i2c_reg() 156 iowrite32(dma_addr, pd->regs + EVEN_DMA_START); in dt3155_start_streaming() 157 iowrite32(dma_addr + pd->width, pd->regs + ODD_DMA_START); in dt3155_start_streaming() 158 iowrite32(pd->width, pd->regs + EVEN_DMA_STRIDE); in dt3155_start_streaming() 159 iowrite32(pd->width, pd->regs + ODD_DMA_STRIDE); in dt3155_start_streaming() [all …]
|
/Linux-v5.4/drivers/rapidio/devices/ |
D | tsi721.c | 89 iowrite32(data, priv->regs + offset); in tsi721_lcwrite() 142 iowrite32(rd_count + 2, regs + TSI721_DMAC_DWRCNT); in tsi721_maint_dma() 171 iowrite32(TSI721_DMAC_INT_ALL, regs + TSI721_DMAC_INT); in tsi721_maint_dma() 172 iowrite32(TSI721_DMAC_CTL_INIT, regs + TSI721_DMAC_CTL); in tsi721_maint_dma() 174 iowrite32(0, regs + TSI721_DMAC_DWRCNT); in tsi721_maint_dma() 191 iowrite32(swr_ptr, regs + TSI721_DMAC_DSRP); in tsi721_maint_dma() 282 iowrite32(TSI721_RIO_PW_RX_STAT_PW_DISC | TSI721_RIO_PW_RX_STAT_PW_VAL, in tsi721_pw_handler() 324 iowrite32(TSI721_RIO_PW_RX_STAT_PW_DISC | TSI721_RIO_PW_RX_STAT_PW_VAL, in tsi721_pw_enable() 327 iowrite32(rval, priv->regs + TSI721_RIO_EM_INT_ENABLE); in tsi721_pw_enable() 373 iowrite32(regval, in tsi721_dbell_handler() [all …]
|
/Linux-v5.4/drivers/vme/bridges/ |
D | vme_ca91cx42.c | 189 iowrite32(serviced, bridge->base + LINT_STAT); in ca91cx42_irqhandler() 206 iowrite32(0, bridge->base + VINT_EN); in ca91cx42_irq_init() 209 iowrite32(0, bridge->base + LINT_EN); in ca91cx42_irq_init() 211 iowrite32(0x00FFFFFF, bridge->base + LINT_STAT); in ca91cx42_irq_init() 222 iowrite32(0, bridge->base + LINT_MAP0); in ca91cx42_irq_init() 223 iowrite32(0, bridge->base + LINT_MAP1); in ca91cx42_irq_init() 224 iowrite32(0, bridge->base + LINT_MAP2); in ca91cx42_irq_init() 231 iowrite32(tmp, bridge->base + LINT_EN); in ca91cx42_irq_init() 242 iowrite32(0, bridge->base + VINT_EN); in ca91cx42_irq_exit() 245 iowrite32(0, bridge->base + LINT_EN); in ca91cx42_irq_exit() [all …]
|
/Linux-v5.4/arch/arm/mach-shmobile/ |
D | setup-r8a7740.c | 33 iowrite32(0x01600164, reg); in r8a7740_meram_workaround() 47 iowrite32(0x0, pfc_inta_ctrl); in r8a7740_init_irq_of() 54 iowrite32(0x0, intc_prio_base + 0x0); in r8a7740_init_irq_of() 55 iowrite32(0x0, intc_prio_base + 0x4); in r8a7740_init_irq_of() 56 iowrite32(0x0, intc_prio_base + 0x8); in r8a7740_init_irq_of() 57 iowrite32(0x0, intc_prio_base + 0xc); in r8a7740_init_irq_of()
|
/Linux-v5.4/drivers/staging/vt6655/ |
D | mac.c | 227 iowrite32(*(u32 *)(cxt_buf + MAC_REG_TXDMAPTR0), in MACvRestoreContext() 229 iowrite32(*(u32 *)(cxt_buf + MAC_REG_AC0DMAPTR), in MACvRestoreContext() 231 iowrite32(*(u32 *)(cxt_buf + MAC_REG_BCNDMAPTR), in MACvRestoreContext() 233 iowrite32(*(u32 *)(cxt_buf + MAC_REG_RXDMAPTR0), in MACvRestoreContext() 235 iowrite32(*(u32 *)(cxt_buf + MAC_REG_RXDMAPTR1), in MACvRestoreContext() 323 iowrite32(DMACTL_CLRRUN, io_base + MAC_REG_RXDMACTL0); in MACbSafeRxOff() 324 iowrite32(DMACTL_CLRRUN, io_base + MAC_REG_RXDMACTL1); in MACbSafeRxOff() 376 iowrite32(DMACTL_CLRRUN, io_base + MAC_REG_TXDMACTL0); in MACbSafeTxOff() 378 iowrite32(DMACTL_CLRRUN, io_base + MAC_REG_AC0DMACTL); in MACbSafeTxOff() 535 iowrite32(curr_desc_addr, io_base + MAC_REG_RXDMAPTR0); in MACvSetCurrRx0DescAddr() [all …]
|
/Linux-v5.4/drivers/net/can/ |
D | pch_can.c | 194 iowrite32(ioread32(addr) | mask, addr); in pch_can_bit_set() 199 iowrite32(ioread32(addr) & ~mask, addr); in pch_can_bit_clear() 231 iowrite32(reg_val, &priv->regs->opt); in pch_can_set_optmode() 239 iowrite32(num, creq_addr); in pch_can_rw_msg_obj() 284 iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[dir].cmask); in pch_can_set_rxtx() 288 iowrite32(PCH_CMASK_RDWR | PCH_CMASK_ARB | PCH_CMASK_CTRL, in pch_can_set_rxtx() 332 iowrite32(PCH_CMASK_RX_TX_SET, &priv->regs->ifregs[0].cmask); in pch_can_clear_if_buffers() 333 iowrite32(0xffff, &priv->regs->ifregs[0].mask1); in pch_can_clear_if_buffers() 334 iowrite32(0xffff, &priv->regs->ifregs[0].mask2); in pch_can_clear_if_buffers() 335 iowrite32(0x0, &priv->regs->ifregs[0].id1); in pch_can_clear_if_buffers() [all …]
|
D | kvaser_pciefd.c | 340 iowrite32(BIT(0), pcie->reg_base + KVASER_PCIEFD_SPI_SSEL_REG); in kvaser_pciefd_spi_cmd() 341 iowrite32(BIT(10), pcie->reg_base + KVASER_PCIEFD_SPI_CTRL_REG); in kvaser_pciefd_spi_cmd() 349 iowrite32(*tx++, pcie->reg_base + KVASER_PCIEFD_SPI_TX_REG); in kvaser_pciefd_spi_cmd() 362 iowrite32(0, pcie->reg_base + KVASER_PCIEFD_SPI_TX_REG); in kvaser_pciefd_spi_cmd() 373 iowrite32(0, pcie->reg_base + KVASER_PCIEFD_SPI_CTRL_REG); in kvaser_pciefd_spi_cmd() 490 iowrite32(cmd, can->reg_base + KVASER_PCIEFD_KCAN_CMD_REG); in kvaser_pciefd_request_status() 502 iowrite32(mode, can->reg_base + KVASER_PCIEFD_KCAN_MODE_REG); in kvaser_pciefd_enable_err_gen() 515 iowrite32(mode, can->reg_base + KVASER_PCIEFD_KCAN_MODE_REG); in kvaser_pciefd_disable_err_gen() 529 iowrite32(msk, can->reg_base + KVASER_PCIEFD_KCAN_IEN_REG); in kvaser_pciefd_set_tx_irq() 561 iowrite32(mode, can->reg_base + KVASER_PCIEFD_KCAN_MODE_REG); in kvaser_pciefd_setup_controller() [all …]
|
/Linux-v5.4/drivers/usb/gadget/udc/ |
D | fotg210-udc.c | 36 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int() 47 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int() 55 iowrite32(value, fotg210->reg + FOTG210_DCFESR); in fotg210_set_cxdone() 95 iowrite32(val, fotg210->reg + FOTG210_EPMAP); in fotg210_fifo_ep_mapping() 101 iowrite32(val, fotg210->reg + FOTG210_FIFOMAP); in fotg210_fifo_ep_mapping() 106 iowrite32(val, fotg210->reg + FOTG210_FIFOCF); in fotg210_fifo_ep_mapping() 116 iowrite32(val, fotg210->reg + FOTG210_FIFOMAP); in fotg210_set_fifo_dir() 126 iowrite32(val, fotg210->reg + FOTG210_FIFOCF); in fotg210_set_tfrtype() 139 iowrite32(val, fotg210->reg + offset); in fotg210_set_mps() 189 iowrite32(value, reg); in fotg210_reset_tseq() [all …]
|
/Linux-v5.4/drivers/gpio/ |
D | gpio-pch.c | 110 iowrite32(reg_val, &chip->reg->po); in pch_gpio_set() 136 iowrite32(reg_val, &chip->reg->po); in pch_gpio_direction_output() 140 iowrite32(pm, &chip->reg->pm); in pch_gpio_direction_output() 156 iowrite32(pm, &chip->reg->pm); in pch_gpio_direction_input() 183 iowrite32(chip->pch_gpio_reg.ien_reg, &chip->reg->ien); in pch_gpio_restore_reg_conf() 184 iowrite32(chip->pch_gpio_reg.imask_reg, &chip->reg->imask); in pch_gpio_restore_reg_conf() 186 iowrite32(chip->pch_gpio_reg.po_reg, &chip->reg->po); in pch_gpio_restore_reg_conf() 188 iowrite32(chip->pch_gpio_reg.pm_reg, &chip->reg->pm); in pch_gpio_restore_reg_conf() 189 iowrite32(chip->pch_gpio_reg.im0_reg, &chip->reg->im0); in pch_gpio_restore_reg_conf() 191 iowrite32(chip->pch_gpio_reg.im1_reg, &chip->reg->im1); in pch_gpio_restore_reg_conf() [all …]
|