Home
last modified time | relevance | path

Searched refs:ioread32 (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/Linux-v6.1/drivers/ata/
Dsata_fsl.c319 hcr_base, ioread32(hcr_base + ICC)); in fsl_sata_set_irq_coalescing()
356 rx_watermark = ioread32(csr_base + TRANSCFG); in fsl_sata_rx_watermark_show()
380 temp = ioread32(csr_base + TRANSCFG); in fsl_sata_rx_watermark_store()
399 if (unlikely((ioread32(hcr_base + CQ)) & (1 << tag))) { in sata_fsl_tag()
548 ioread32(CQ + hcr_base), in sata_fsl_qc_issue()
549 ioread32(CA + hcr_base), in sata_fsl_qc_issue()
550 ioread32(CE + hcr_base), ioread32(CC + hcr_base)); in sata_fsl_qc_issue()
558 tag, ioread32(CQ + hcr_base), ioread32(CA + hcr_base)); in sata_fsl_qc_issue()
561 ioread32(CE + hcr_base), in sata_fsl_qc_issue()
562 ioread32(DE + hcr_base), in sata_fsl_qc_issue()
[all …]
Dsata_rcar.c185 val = ioread32(base + SATAPHYACK_REG); in sata_rcar_gen1_phy_write()
247 u16 data = ioread32(reg); in sata_rcar_ioread16_rep()
263 return ioread32(ap->ioaddr.status_addr); in sata_rcar_check_status()
268 return ioread32(ap->ioaddr.altstatus_addr); in sata_rcar_check_altstatus()
298 nsect = ioread32(ioaddr->nsect_addr); in sata_rcar_ata_devchk()
299 lbal = ioread32(ioaddr->lbal_addr); in sata_rcar_ata_devchk()
398 tf->error = ioread32(ioaddr->error_addr); in sata_rcar_tf_read()
399 tf->nsect = ioread32(ioaddr->nsect_addr); in sata_rcar_tf_read()
400 tf->lbal = ioread32(ioaddr->lbal_addr); in sata_rcar_tf_read()
401 tf->lbam = ioread32(ioaddr->lbam_addr); in sata_rcar_tf_read()
[all …]
Dpata_pdc2027x.c206 cgcr = ioread32(port_mmio(ap, PDC_GLOBAL_CTL)); in pdc2027x_cable_detect()
300 ctcr0 = ioread32(dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_piomode()
306 ctcr1 = ioread32(dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_piomode()
340 ctcr1 = ioread32(dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_dmamode()
346 ctcr1 = ioread32(dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_dmamode()
361 ctcr0 = ioread32(dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_dmamode()
401 u32 ctcr1 = ioread32(dev_mmio(ap, dev, PDC_CTCR1)); in pdc2027x_set_mode()
467 bccrl = ioread32(mmio_base + PDC_BYTE_COUNT) & 0x7fff; in pdc_read_counter()
468 bccrh = ioread32(mmio_base + PDC_BYTE_COUNT + 0x100) & 0x7fff; in pdc_read_counter()
471 bccrlv = ioread32(mmio_base + PDC_BYTE_COUNT) & 0x7fff; in pdc_read_counter()
[all …]
Dpata_bk3710.c82 val32 = ioread32(base + BK3710_UDMASTB) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setudmamode()
87 val32 = ioread32(base + BK3710_UDMATRP) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setudmamode()
92 val32 = ioread32(base + BK3710_UDMAENV) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setudmamode()
120 val32 = ioread32(base + BK3710_DMASTB) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setmwdmamode()
124 val32 = ioread32(base + BK3710_DMARCVR) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setmwdmamode()
166 val32 = ioread32(base + BK3710_DATSTB) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setpiomode()
170 val32 = ioread32(base + BK3710_DATRCVR) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setpiomode()
189 val32 = ioread32(base + BK3710_REGSTB) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setpiomode()
193 val32 = ioread32(base + BK3710_REGRCVR) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setpiomode()
/Linux-v6.1/drivers/i2c/busses/
Di2c-pnx.c102 (ioread32(I2C_REG_STS(data)) & mstatus_active)) { in wait_timeout()
113 (ioread32(I2C_REG_CTL(data)) & mcntrl_reset)) { in wait_reset()
165 ioread32(I2C_REG_CTL(alg_data)), in i2c_pnx_start()
166 ioread32(I2C_REG_STS(alg_data))); in i2c_pnx_start()
168 } else if (ioread32(I2C_REG_STS(alg_data)) & mstatus_afi) { in i2c_pnx_start()
180 iowrite32(ioread32(I2C_REG_STS(alg_data)) | mstatus_tdi | mstatus_afi, in i2c_pnx_start()
207 __func__, ioread32(I2C_REG_STS(alg_data))); in i2c_pnx_stop()
214 (ioread32(I2C_REG_STS(alg_data)) & mstatus_active)) { in i2c_pnx_stop()
221 __func__, ioread32(I2C_REG_STS(alg_data))); in i2c_pnx_stop()
235 __func__, ioread32(I2C_REG_STS(alg_data))); in i2c_pnx_master_xmit()
[all …]
Di2c-eg20t.c190 val = ioread32(addr + offset); in pch_setbit()
198 val = ioread32(addr + offset); in pch_clrbit()
248 ioread32(p + PCH_I2CCTL), pch_i2cbc, pch_i2ctmr); in pch_i2c_init()
265 while (ioread32(p + PCH_I2CSR) & I2CMBB_BIT) { in pch_i2c_wait_for_bus_idle()
267 pch_dbg(adap, "I2CSR = %x\n", ioread32(p + PCH_I2CSR)); in pch_i2c_wait_for_bus_idle()
297 pch_dbg(adap, "I2CCTL = %x\n", ioread32(p + PCH_I2CCTL)); in pch_i2c_start()
308 pch_dbg(adap, "I2CCTL = %x\n", ioread32(p + PCH_I2CCTL)); in pch_i2c_stop()
339 if (ioread32(p + PCH_I2CSR) & PCH_GETACK) { in pch_i2c_wait_for_check_xfer()
354 pch_dbg(adap, "I2CCTL = %x\n", ioread32(p + PCH_I2CCTL)); in pch_i2c_repstart()
388 pch_dbg(adap, "I2CCTL = %x msgs->len = %d\n", ioread32(p + PCH_I2CCTL), in pch_i2c_writebytes()
[all …]
/Linux-v6.1/drivers/net/ethernet/dec/tulip/
Dpnic.c23 u32 phy_reg = ioread32(ioaddr + 0xB8); in pnic_do_nway()
56 int phy_reg = ioread32(ioaddr + 0xB8); in pnic_lnk_change()
61 if (ioread32(ioaddr + CSR5) & TPLnkFail) { in pnic_lnk_change()
62 iowrite32((ioread32(ioaddr + CSR7) & ~TPLnkFail) | TPLnkPass, ioaddr + CSR7); in pnic_lnk_change()
75 } else if (ioread32(ioaddr + CSR5) & TPLnkPass) { in pnic_lnk_change()
83 iowrite32((ioread32(ioaddr + CSR7) & ~TPLnkPass) | TPLnkFail, ioaddr + CSR7); in pnic_lnk_change()
94 if(!ioread32(ioaddr + CSR7)) { in pnic_timer()
109 int csr12 = ioread32(ioaddr + CSR12); in pnic_timer()
111 int phy_reg = ioread32(ioaddr + 0xB8); in pnic_timer()
112 int csr5 = ioread32(ioaddr + CSR5); in pnic_timer()
[all …]
Dpnic2.c88 ioread32(ioaddr + CSR12)); in pnic2_timer()
108 csr14 = (ioread32(ioaddr + CSR14) & 0xfff0ee39); in pnic2_start_nway()
135 tp->csr6 = ioread32(ioaddr + CSR6); in pnic2_start_nway()
163 csr12 = (ioread32(ioaddr + CSR12) & 0xffff8fff); in pnic2_start_nway()
177 int csr12 = ioread32(ioaddr + CSR12); in pnic2_lnk_change()
182 csr12, csr5, ioread32(ioaddr + CSR14)); in pnic2_lnk_change()
241 csr14 = (ioread32(ioaddr + CSR14) & 0xffffff7f); in pnic2_lnk_change()
253 tp->csr6 = (ioread32(ioaddr + CSR6) & 0xfe3bd1fd); in pnic2_lnk_change()
272 ioread32(ioaddr + CSR6), in pnic2_lnk_change()
273 ioread32(ioaddr + CSR12)); in pnic2_lnk_change()
[all …]
Dtimer.c23 u32 csr12 = ioread32(ioaddr + CSR12); in tulip_media_task()
30 ioread32(ioaddr + CSR5), ioread32(ioaddr + CSR6), in tulip_media_task()
31 csr12, ioread32(ioaddr + CSR13), in tulip_media_task()
32 ioread32(ioaddr + CSR14), ioread32(ioaddr + CSR15)); in tulip_media_task()
49 ioread32(ioaddr + CSR6), in tulip_media_task()
149 ioread32(ioaddr + CSR12)); in mxic_timer()
Dmedia.c23 #define mdio_delay() ioread32(mdio_addr)
62 return ioread32(ioaddr + comet_miireg2offset[location]); in tulip_mdio_read()
69 ioread32(ioaddr + 0xA0); in tulip_mdio_read()
70 ioread32(ioaddr + 0xA0); in tulip_mdio_read()
73 if ( ! ((retval = ioread32(ioaddr + 0xA0)) & 0x80000000)) in tulip_mdio_read()
100 retval = (retval << 1) | ((ioread32(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); in tulip_mdio_read()
132 if ( ! (ioread32(ioaddr + 0xA0) & 0x80000000)) in tulip_mdio_write()
263 ioread32(ioaddr + CSR15); in tulip_select_media()
277 ioread32(ioaddr + CSR15); /* flush posted writes */ in tulip_select_media()
290 ioread32(ioaddr + CSR12); in tulip_select_media()
[all …]
/Linux-v6.1/drivers/usb/gadget/udc/
Dfotg210-udc.c30 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int()
41 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int()
52 u32 value = ioread32(fotg210->reg + FOTG210_DCFESR); in fotg210_set_cxdone()
92 val = ioread32(fotg210->reg + FOTG210_EPMAP); in fotg210_fifo_ep_mapping()
98 val = ioread32(fotg210->reg + FOTG210_FIFOMAP); in fotg210_fifo_ep_mapping()
104 val = ioread32(fotg210->reg + FOTG210_FIFOCF); in fotg210_fifo_ep_mapping()
114 val = ioread32(fotg210->reg + FOTG210_FIFOMAP); in fotg210_set_fifo_dir()
124 val = ioread32(fotg210->reg + FOTG210_FIFOCF); in fotg210_set_tfrtype()
137 val = ioread32(fotg210->reg + offset); in fotg210_set_mps()
187 value = ioread32(reg); in fotg210_reset_tseq()
[all …]
Dfusb300_udc.c39 u32 reg = ioread32(fusb300->reg + offset); in fusb300_enable_bit()
48 u32 reg = ioread32(fusb300->reg + offset); in fusb300_disable_bit()
75 u32 val = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(ep)); in fusb300_set_fifo_entry()
85 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(ep)); in fusb300_set_start_entry()
103 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET2(info.epnum)); in fusb300_set_epaddrofs()
122 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); in fusb300_set_eptype()
136 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); in fusb300_set_epdir()
145 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(ep)); in fusb300_set_ep_active()
154 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET2(info.epnum)); in fusb300_set_epmps()
164 u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); in fusb300_set_interval()
[all …]
/Linux-v6.1/drivers/rtc/
Drtc-asm9260.c120 isr = ioread32(priv->iobase + HW_CIIR); in asm9260_rtc_irq()
141 ctime0 = ioread32(priv->iobase + HW_CTIME0); in asm9260_rtc_read_time()
142 ctime1 = ioread32(priv->iobase + HW_CTIME1); in asm9260_rtc_read_time()
143 ctime2 = ioread32(priv->iobase + HW_CTIME2); in asm9260_rtc_read_time()
145 if (ctime1 != ioread32(priv->iobase + HW_CTIME1)) { in asm9260_rtc_read_time()
150 ctime0 = ioread32(priv->iobase + HW_CTIME0); in asm9260_rtc_read_time()
151 ctime1 = ioread32(priv->iobase + HW_CTIME1); in asm9260_rtc_read_time()
152 ctime2 = ioread32(priv->iobase + HW_CTIME2); in asm9260_rtc_read_time()
195 alrm->time.tm_year = ioread32(priv->iobase + HW_ALYEAR); in asm9260_rtc_read_alarm()
196 alrm->time.tm_mon = ioread32(priv->iobase + HW_ALMON); in asm9260_rtc_read_alarm()
[all …]
/Linux-v6.1/drivers/net/wwan/t7xx/
Dt7xx_dpmaif.c32 readx_poll_timeout_atomic(ioread32, addr, val, cond, delay_us, timeout_us)
74 value = ioread32(hw_info->pcie_base + DPMAIF_AO_UL_AP_L1TIMR0); in t7xx_dpmaif_init_intr()
138 value = ioread32(hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMR0); in t7xx_update_dlq_intr()
177 ip_busy_sts = ioread32(hw_info->pcie_base + DPMAIF_AP_IP_BUSY); in t7xx_dpmaif_clr_ip_busy_sts()
350 rx_intr_status = ioread32(hw_info->pcie_base + DPMAIF_AP_APDL_L2TISAR0); in t7xx_dpmaif_hw_get_intr_cnt()
351 rx_intr_qdone = ioread32(hw_info->pcie_base + DPMAIF_AO_UL_APDL_L2TIMR0); in t7xx_dpmaif_hw_get_intr_cnt()
358 tx_intr_status = ioread32(hw_info->pcie_base + DPMAIF_AP_L2TISAR0); in t7xx_dpmaif_hw_get_intr_cnt()
359 tx_intr_qdone = ioread32(hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMR0); in t7xx_dpmaif_hw_get_intr_cnt()
398 value = ioread32(hw_info->pcie_base + DPMAIF_AP_MEM_CLR); in t7xx_dpmaif_sram_init()
430 ap_port_mode = ioread32(hw_info->pcie_base + DPMAIF_AO_DL_RDY_CHK_THRES); in t7xx_dpmaif_hw_config()
[all …]
Dt7xx_cldma.c32 val = ioread32(hw_info->ap_pdn_base + REG_CLDMA_IP_BUSY); in t7xx_cldma_clear_ip_busy()
47 ul_cfg = ioread32(hw_info->ap_pdn_base + REG_CLDMA_UL_CFG); in t7xx_cldma_hw_restore()
89 val = ioread32(ao_base + REG_INFRA_RST2_SET); in t7xx_cldma_hw_reset()
92 val = ioread32(ao_base + REG_INFRA_RST4_SET); in t7xx_cldma_hw_reset()
97 val = ioread32(ao_base + REG_INFRA_RST4_CLR); in t7xx_cldma_hw_reset()
100 val = ioread32(ao_base + REG_INFRA_RST2_CLR); in t7xx_cldma_hw_reset()
143 val = ioread32(reg); in t7xx_cldma_hw_queue_status()
152 ch_id = ioread32(hw_info->ap_pdn_base + REG_CLDMA_L2TISAR0); in t7xx_cldma_hw_tx_done()
156 ioread32(hw_info->ap_pdn_base + REG_CLDMA_L2TISAR0); in t7xx_cldma_hw_tx_done()
163 ch_id = ioread32(hw_info->ap_pdn_base + REG_CLDMA_L2RISAR0); in t7xx_cldma_hw_rx_done()
[all …]
/Linux-v6.1/drivers/uio/
Duio_mf624.c39 iowrite32(ioread32(INTCSR_reg) in mf624_disable_interrupt()
45 iowrite32(ioread32(INTCSR_reg) in mf624_disable_interrupt()
52 iowrite32(ioread32(INTCSR_reg) in mf624_disable_interrupt()
67 iowrite32(ioread32(INTCSR_reg) in mf624_enable_interrupt()
73 iowrite32(ioread32(INTCSR_reg) in mf624_enable_interrupt()
80 iowrite32(ioread32(INTCSR_reg) in mf624_enable_interrupt()
92 if ((ioread32(INTCSR_reg) & INTCSR_ADINT_ENABLE) in mf624_irq_handler()
93 && (ioread32(INTCSR_reg) & INTCSR_ADINT_STATUS)) { in mf624_irq_handler()
98 if ((ioread32(INTCSR_reg) & INTCSR_CTR4INT_ENABLE) in mf624_irq_handler()
99 && (ioread32(INTCSR_reg) & INTCSR_CTR4INT_STATUS)) { in mf624_irq_handler()
/Linux-v6.1/drivers/firmware/arm_scmi/
Dshmem.c55 spin_until_cond((ioread32(&shmem->channel_status) & in shmem_tx_prepare()
58 if (!(ioread32(&shmem->channel_status) & in shmem_tx_prepare()
78 return ioread32(&shmem->msg_header); in shmem_read_header()
84 xfer->hdr.status = ioread32(shmem->msg_payload); in shmem_fetch_response()
87 ioread32(&shmem->length) - 8); in shmem_fetch_response()
97 xfer->rx.len = min_t(size_t, max_len, ioread32(&shmem->length) - 4); in shmem_fetch_notification()
113 xfer_id = MSG_XTRACT_TOKEN(ioread32(&shmem->msg_header)); in shmem_poll_done()
118 return ioread32(&shmem->channel_status) & in shmem_poll_done()
/Linux-v6.1/drivers/char/hw_random/
Diproc-rng200.c53 val = ioread32(rng_base + RNG_CTRL_OFFSET); in iproc_rng200_enable_set()
72 val = ioread32(rng_base + RBG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
76 val = ioread32(rng_base + RNG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
80 val = ioread32(rng_base + RNG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
84 val = ioread32(rng_base + RBG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
107 status = ioread32(priv->base + RNG_INT_STATUS_OFFSET); in iproc_rng200_read()
119 if ((ioread32(priv->base + RNG_FIFO_COUNT_OFFSET) & in iproc_rng200_read()
124 *(uint32_t *)buf = ioread32(priv->base + in iproc_rng200_read()
130 uint32_t rnd_number = ioread32(priv->base + in iproc_rng200_read()
/Linux-v6.1/drivers/net/ethernet/engleder/
Dtsnep_ptp.c13 high = ioread32(adapter->addr + ECM_SYSTEM_TIME_HIGH); in tsnep_get_system_time()
15 low = ioread32(adapter->addr + ECM_SYSTEM_TIME_LOW); in tsnep_get_system_time()
17 high = ioread32(adapter->addr + ECM_SYSTEM_TIME_HIGH); in tsnep_get_system_time()
141 high = ioread32(adapter->addr + ECM_SYSTEM_TIME_HIGH); in tsnep_ptp_gettimex64()
144 low = ioread32(adapter->addr + ECM_SYSTEM_TIME_LOW); in tsnep_ptp_gettimex64()
147 high = ioread32(adapter->addr + ECM_SYSTEM_TIME_HIGH); in tsnep_ptp_gettimex64()
190 high = ioread32(adapter->addr + ECM_COUNTER_HIGH); in tsnep_ptp_getcyclesx64()
193 low = ioread32(adapter->addr + ECM_COUNTER_LOW); in tsnep_ptp_getcyclesx64()
196 high = ioread32(adapter->addr + ECM_COUNTER_HIGH); in tsnep_ptp_getcyclesx64()
/Linux-v6.1/drivers/cpufreq/
Dpcc-cpufreq.c162 ioread32(pcch_virt_addr + pcc_cpu_data->output_offset); in pcc_get_freq()
174 curr_freq = (((ioread32(&pcch_hdr->nominal) * (output_buffer & 0xff)) in pcc_get_freq()
221 / (ioread32(&pcch_hdr->nominal) * 1000)) << 8); in pcc_cpufreq_target()
462 mem_resource->minimum, ioread32(&pcch_hdr->signature), in pcc_cpufreq_probe()
464 ioread8(&pcch_hdr->minor), ioread32(&pcch_hdr->features), in pcc_cpufreq_probe()
466 ioread32(&pcch_hdr->latency)); in pcc_cpufreq_probe()
473 ioread32(&pcch_hdr->minimum_time), in pcc_cpufreq_probe()
474 ioread32(&pcch_hdr->maximum_time), in pcc_cpufreq_probe()
475 ioread32(&pcch_hdr->nominal), in pcc_cpufreq_probe()
476 ioread32(&pcch_hdr->throttled_frequency), in pcc_cpufreq_probe()
[all …]
/Linux-v6.1/drivers/gpio/
Dgpio-pch.c110 reg_val = ioread32(&chip->reg->po); in pch_gpio_set()
124 return !!(ioread32(&chip->reg->pi) & BIT(nr)); in pch_gpio_get()
137 reg_val = ioread32(&chip->reg->po); in pch_gpio_direction_output()
144 pm = ioread32(&chip->reg->pm); in pch_gpio_direction_output()
161 pm = ioread32(&chip->reg->pm); in pch_gpio_direction_input()
175 chip->pch_gpio_reg.ien_reg = ioread32(&chip->reg->ien); in pch_gpio_save_reg_conf()
176 chip->pch_gpio_reg.imask_reg = ioread32(&chip->reg->imask); in pch_gpio_save_reg_conf()
177 chip->pch_gpio_reg.po_reg = ioread32(&chip->reg->po); in pch_gpio_save_reg_conf()
178 chip->pch_gpio_reg.pm_reg = ioread32(&chip->reg->pm); in pch_gpio_save_reg_conf()
179 chip->pch_gpio_reg.im0_reg = ioread32(&chip->reg->im0); in pch_gpio_save_reg_conf()
[all …]
Dgpio-ml-ioh.c99 reg_val = ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_set()
113 return !!(ioread32(&chip->reg->regs[chip->ch].pi) & BIT(nr)); in ioh_gpio_get()
125 pm = ioread32(&chip->reg->regs[chip->ch].pm); in ioh_gpio_direction_output()
130 reg_val = ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_direction_output()
149 pm = ioread32(&chip->reg->regs[chip->ch].pm); in ioh_gpio_direction_input()
167 ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_save_reg_conf()
169 ioread32(&chip->reg->regs[chip->ch].pm); in ioh_gpio_save_reg_conf()
171 ioread32(&chip->reg->regs[chip->ch].ien); in ioh_gpio_save_reg_conf()
173 ioread32(&chip->reg->regs[chip->ch].imask); in ioh_gpio_save_reg_conf()
175 ioread32(&chip->reg->regs[chip->ch].im_0); in ioh_gpio_save_reg_conf()
[all …]
Dgpio-cadence.c46 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) & ~BIT(offset), in cdns_gpio_request()
60 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) | in cdns_gpio_free()
95 int_value = ioread32(cgpio->regs + CDNS_GPIO_IRQ_VALUE) & ~mask; in cdns_gpio_irq_set_type()
96 int_type = ioread32(cgpio->regs + CDNS_GPIO_IRQ_TYPE) & ~mask; in cdns_gpio_irq_set_type()
132 status = ioread32(cgpio->regs + CDNS_GPIO_IRQ_STATUS) & in cdns_gpio_irq_handler()
133 ~ioread32(cgpio->regs + CDNS_GPIO_IRQ_MASK); in cdns_gpio_irq_handler()
177 dir_prev = ioread32(cgpio->regs + CDNS_GPIO_DIRECTION_MODE); in cdns_gpio_probe()
246 cgpio->bypass_orig = ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_probe()
/Linux-v6.1/drivers/pinctrl/intel/
Dpinctrl-lynxpoint.c253 return !(ioread32(acpi_use) & BIT(pin % 32)); in lp_gpio_acpi_use()
261 value = ioread32(ioxapic_use); in lp_gpio_ioxapic_use()
309 value = ioread32(reg); in lp_pin_dbg_show()
317 seq_printf(s, "0x%08x 0x%08x", value, ioread32(conf2)); in lp_pin_dbg_show()
373 value = ioread32(reg); in lp_pinmux_set_mux()
391 iowrite32(ioread32(reg) & ~GPINDIS_BIT, reg); in lp_gpio_enable_input()
396 iowrite32(ioread32(reg) | GPINDIS_BIT, reg); in lp_gpio_disable_input()
417 value = ioread32(reg); in lp_gpio_request_enable()
460 value = ioread32(reg); in lp_gpio_set_direction()
502 value = ioread32(conf2); in lp_pin_config_get()
[all …]
/Linux-v6.1/drivers/rapidio/devices/
Dtsi721.c65 *data = ioread32(priv->regs + offset); in tsi721_lcread()
127 rd_count = ioread32(regs + TSI721_DMAC_DRDCNT); in tsi721_maint_dma()
143 ioread32(regs + TSI721_DMAC_DWRCNT); in tsi721_maint_dma()
147 while ((ch_stat = ioread32(regs + TSI721_DMAC_STS)) in tsi721_maint_dma()
190 swr_ptr = ioread32(regs + TSI721_DMAC_DSWP); in tsi721_maint_dma()
261 pw_stat = ioread32(priv->regs + TSI721_RIO_PW_RX_STAT); in tsi721_pw_handler()
264 pw_buf[0] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(0)); in tsi721_pw_handler()
265 pw_buf[1] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(1)); in tsi721_pw_handler()
266 pw_buf[2] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(2)); in tsi721_pw_handler()
267 pw_buf[3] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(3)); in tsi721_pw_handler()
[all …]

12345678910>>...19