/linux-6.12.1/drivers/ata/ |
D | sata_fsl.c | 319 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 …]
|
D | sata_rcar.c | 185 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 …]
|
D | pata_pdc2027x.c | 206 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 …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-pnx.c | 100 (ioread32(I2C_REG_STS(data)) & mstatus_active)) { in wait_timeout() 111 (ioread32(I2C_REG_CTL(data)) & mcntrl_reset)) { in wait_reset() 145 ioread32(I2C_REG_CTL(alg_data)), in i2c_pnx_start() 146 ioread32(I2C_REG_STS(alg_data))); in i2c_pnx_start() 148 } else if (ioread32(I2C_REG_STS(alg_data)) & mstatus_afi) { in i2c_pnx_start() 160 iowrite32(ioread32(I2C_REG_STS(alg_data)) | mstatus_tdi | mstatus_afi, in i2c_pnx_start() 187 __func__, ioread32(I2C_REG_STS(alg_data))); in i2c_pnx_stop() 194 (ioread32(I2C_REG_STS(alg_data)) & mstatus_active)) { in i2c_pnx_stop() 201 __func__, ioread32(I2C_REG_STS(alg_data))); in i2c_pnx_stop() 215 __func__, ioread32(I2C_REG_STS(alg_data))); in i2c_pnx_master_xmit() [all …]
|
D | i2c-eg20t.c | 190 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-6.12.1/drivers/net/ethernet/dec/tulip/ |
D | pnic.c | 23 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 …]
|
D | pnic2.c | 88 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 …]
|
D | timer.c | 23 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()
|
D | media.c | 23 #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-6.12.1/drivers/rtc/ |
D | rtc-asm9260.c | 120 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-6.12.1/drivers/net/wwan/t7xx/ |
D | t7xx_dpmaif.c | 32 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 …]
|
D | t7xx_cldma.c | 32 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-6.12.1/drivers/usb/fotg210/ |
D | fotg210-udc.c | 34 u32 value = ioread32(fotg210->reg + offset); in fotg210_ack_int() 42 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int() 53 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int() 64 u32 value = ioread32(fotg210->reg + FOTG210_DCFESR); in fotg210_set_cxdone() 104 val = ioread32(fotg210->reg + FOTG210_EPMAP); in fotg210_fifo_ep_mapping() 110 val = ioread32(fotg210->reg + FOTG210_FIFOMAP); in fotg210_fifo_ep_mapping() 116 val = ioread32(fotg210->reg + FOTG210_FIFOCF); in fotg210_fifo_ep_mapping() 126 val = ioread32(fotg210->reg + FOTG210_FIFOMAP); in fotg210_set_fifo_dir() 136 val = ioread32(fotg210->reg + FOTG210_FIFOCF); in fotg210_set_tfrtype() 149 val = ioread32(fotg210->reg + offset); in fotg210_set_mps() [all …]
|
/linux-6.12.1/drivers/firmware/arm_scmi/ |
D | shmem.c | 58 spin_until_cond((ioread32(&shmem->channel_status) & in shmem_tx_prepare() 61 if (!(ioread32(&shmem->channel_status) & in shmem_tx_prepare() 81 return ioread32(&shmem->msg_header); in shmem_read_header() 87 size_t len = ioread32(&shmem->length); in shmem_fetch_response() 89 xfer->hdr.status = ioread32(shmem->msg_payload); in shmem_fetch_response() 100 size_t len = ioread32(&shmem->length); in shmem_fetch_notification() 119 xfer_id = MSG_XTRACT_TOKEN(ioread32(&shmem->msg_header)); in shmem_poll_done() 124 return ioread32(&shmem->channel_status) & in shmem_poll_done() 131 return (ioread32(&shmem->channel_status) & in shmem_channel_free() 137 return ioread32(&shmem->flags) & SCMI_SHMEM_FLAG_INTR_ENABLED; in shmem_channel_intr_enabled()
|
/linux-6.12.1/drivers/uio/ |
D | uio_mf624.c | 39 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-6.12.1/drivers/w1/masters/ |
D | amd_axi_w1.c | 114 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_READY) == 0) { in amd_axi_w1_touch_bit() 133 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_DONE) != 1) { in amd_axi_w1_touch_bit() 141 val = (u8)(ioread32(amd_axi_w1_local->base_addr + AXIW1_DATA_REG) & AXIW1_READDATA); in amd_axi_w1_touch_bit() 162 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_READY) == 0) { in amd_axi_w1_read_byte() 176 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_DONE) != 1) { in amd_axi_w1_read_byte() 183 val = (u8)(ioread32(amd_axi_w1_local->base_addr + AXIW1_DATA_REG) & 0x000000FF); in amd_axi_w1_read_byte() 203 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_READY) == 0) { in amd_axi_w1_write_byte() 217 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_DONE) != 1) { in amd_axi_w1_write_byte() 244 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_READY) == 0) { in amd_axi_w1_reset_bus() 257 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_DONE) != 1) { in amd_axi_w1_reset_bus() [all …]
|
/linux-6.12.1/drivers/char/hw_random/ |
D | iproc-rng200.c | 52 val = ioread32(rng_base + RNG_CTRL_OFFSET); in iproc_rng200_enable_set() 71 val = ioread32(rng_base + RBG_SOFT_RESET_OFFSET); in iproc_rng200_restart() 75 val = ioread32(rng_base + RNG_SOFT_RESET_OFFSET); in iproc_rng200_restart() 79 val = ioread32(rng_base + RNG_SOFT_RESET_OFFSET); in iproc_rng200_restart() 83 val = ioread32(rng_base + RBG_SOFT_RESET_OFFSET); in iproc_rng200_restart() 106 status = ioread32(priv->base + RNG_INT_STATUS_OFFSET); in iproc_rng200_read() 118 if ((ioread32(priv->base + RNG_FIFO_COUNT_OFFSET) & in iproc_rng200_read() 123 *(uint32_t *)buf = ioread32(priv->base + in iproc_rng200_read() 129 uint32_t rnd_number = ioread32(priv->base + in iproc_rng200_read()
|
/linux-6.12.1/drivers/net/ethernet/engleder/ |
D | tsnep_ptp.c | 13 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-6.12.1/drivers/usb/gadget/udc/ |
D | fusb300_udc.c | 39 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-6.12.1/drivers/staging/media/starfive/camss/ |
D | stf-camss.h | 73 return ioread32(stfcamss->isp_base + reg); in stf_isp_reg_read() 94 value = ioread32(stfcamss->isp_base + reg) & ~mask; in stf_isp_reg_set_bit() 102 iowrite32(ioread32(stfcamss->isp_base + reg) | mask, in stf_isp_reg_set() 108 return ioread32(stfcamss->syscon_base + reg); in stf_syscon_reg_read() 122 value = ioread32(stfcamss->syscon_base + reg); in stf_syscon_reg_set_bit() 131 value = ioread32(stfcamss->syscon_base + reg); in stf_syscon_reg_clear_bit()
|
/linux-6.12.1/drivers/cpufreq/ |
D | pcc-cpufreq.c | 163 ioread32(pcch_virt_addr + pcc_cpu_data->output_offset); in pcc_get_freq() 175 curr_freq = (((ioread32(&pcch_hdr->nominal) * (output_buffer & 0xff)) in pcc_get_freq() 222 / (ioread32(&pcch_hdr->nominal) * 1000)) << 8); in pcc_cpufreq_target() 463 mem_resource->minimum, ioread32(&pcch_hdr->signature), in pcc_cpufreq_evaluate() 465 ioread8(&pcch_hdr->minor), ioread32(&pcch_hdr->features), in pcc_cpufreq_evaluate() 467 ioread32(&pcch_hdr->latency)); in pcc_cpufreq_evaluate() 474 ioread32(&pcch_hdr->minimum_time), in pcc_cpufreq_evaluate() 475 ioread32(&pcch_hdr->maximum_time), in pcc_cpufreq_evaluate() 476 ioread32(&pcch_hdr->nominal), in pcc_cpufreq_evaluate() 477 ioread32(&pcch_hdr->throttled_frequency), in pcc_cpufreq_evaluate() [all …]
|
/linux-6.12.1/drivers/gpio/ |
D | gpio-pch.c | 109 reg_val = ioread32(&chip->reg->po); in pch_gpio_set() 123 return !!(ioread32(&chip->reg->pi) & BIT(nr)); in pch_gpio_get() 136 reg_val = ioread32(&chip->reg->po); in pch_gpio_direction_output() 143 pm = ioread32(&chip->reg->pm); in pch_gpio_direction_output() 160 pm = ioread32(&chip->reg->pm); in pch_gpio_direction_input() 174 chip->pch_gpio_reg.ien_reg = ioread32(&chip->reg->ien); in pch_gpio_save_reg_conf() 175 chip->pch_gpio_reg.imask_reg = ioread32(&chip->reg->imask); in pch_gpio_save_reg_conf() 176 chip->pch_gpio_reg.po_reg = ioread32(&chip->reg->po); in pch_gpio_save_reg_conf() 177 chip->pch_gpio_reg.pm_reg = ioread32(&chip->reg->pm); in pch_gpio_save_reg_conf() 178 chip->pch_gpio_reg.im0_reg = ioread32(&chip->reg->im0); in pch_gpio_save_reg_conf() [all …]
|
D | gpio-ml-ioh.c | 99 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 …]
|
/linux-6.12.1/drivers/pinctrl/intel/ |
D | pinctrl-lynxpoint.c | 241 return !(ioread32(acpi_use) & BIT(pin % 32)); in lp_gpio_acpi_use() 249 value = ioread32(ioxapic_use); in lp_gpio_ioxapic_use() 269 value = ioread32(reg); in lp_pin_dbg_show() 277 seq_printf(s, "0x%08x 0x%08x", value, ioread32(conf2)); in lp_pin_dbg_show() 304 value = ioread32(reg); in lp_pinmux_set_mux() 320 iowrite32(ioread32(reg) & ~GPINDIS_BIT, reg); in lp_gpio_enable_input() 325 iowrite32(ioread32(reg) | GPINDIS_BIT, reg); in lp_gpio_disable_input() 343 value = ioread32(reg); in lp_gpio_request_enable() 378 value = ioread32(reg); in lp_gpio_set_direction() 417 value = ioread32(conf2); in lp_pin_config_get() [all …]
|
/linux-6.12.1/drivers/rapidio/devices/ |
D | tsi721.c | 66 *data = ioread32(priv->regs + offset); in tsi721_lcread() 129 rd_count = ioread32(regs + TSI721_DMAC_DRDCNT); in tsi721_maint_dma() 145 ioread32(regs + TSI721_DMAC_DWRCNT); in tsi721_maint_dma() 149 while ((ch_stat = ioread32(regs + TSI721_DMAC_STS)) in tsi721_maint_dma() 192 swr_ptr = ioread32(regs + TSI721_DMAC_DSWP); in tsi721_maint_dma() 265 pw_stat = ioread32(priv->regs + TSI721_RIO_PW_RX_STAT); in tsi721_pw_handler() 268 pw_buf[0] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(0)); in tsi721_pw_handler() 269 pw_buf[1] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(1)); in tsi721_pw_handler() 270 pw_buf[2] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(2)); in tsi721_pw_handler() 271 pw_buf[3] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(3)); in tsi721_pw_handler() [all …]
|