Home
last modified time | relevance | path

Searched refs:status_reg (Results 1 – 25 of 115) sorted by relevance

12345

/Linux-v6.6/drivers/irqchip/
Dspear-shirq.c43 u32 status_reg; member
93 .status_reg = SPEAR300_INT_STS_MASK_REG,
109 .status_reg = SPEAR310_INT_STS_MASK_REG,
117 .status_reg = SPEAR310_INT_STS_MASK_REG,
125 .status_reg = SPEAR310_INT_STS_MASK_REG,
133 .status_reg = SPEAR310_INT_STS_MASK_REG,
153 .status_reg = SPEAR320_INT_STS_MASK_REG,
161 .status_reg = SPEAR320_INT_STS_MASK_REG,
169 .status_reg = SPEAR320_INT_STS_MASK_REG,
177 .status_reg = SPEAR320_INT_STS_MASK_REG,
[all …]
/Linux-v6.6/drivers/usb/host/
Dehci-hub.c539 u32 __iomem *status_reg; in set_owner() local
543 status_reg = &ehci->regs->port_status[portnum]; in set_owner()
552 port_status = ehci_readl(ehci, status_reg); in set_owner()
560 ehci_writel(ehci, port_status, status_reg); in set_owner()
573 u32 __iomem *status_reg, in check_reset_complete() argument
596 ehci_writel(ehci, port_status, status_reg); in check_reset_complete()
742 u32 __iomem *status_reg, *hostpc_reg; in ehci_hub_control() local
756 status_reg = &ehci->regs->port_status[temp]; in ehci_hub_control()
782 temp = ehci_readl(ehci, status_reg); in ehci_hub_control()
794 ehci_writel(ehci, temp & ~PORT_PE, status_reg); in ehci_hub_control()
[all …]
Dxhci-pci-renesas.c60 u32 status_reg; in renesas_fw_download_image() local
63 status_reg = RENESAS_ROM_STATUS_MSB; in renesas_fw_download_image()
65 status_reg = RENESAS_FW_STATUS_MSB; in renesas_fw_download_image()
77 err = pci_read_config_byte(dev, status_reg, &fw_status); in renesas_fw_download_image()
109 err = pci_write_config_byte(dev, status_reg, BIT(data0_or_data1)); in renesas_fw_download_image()
Dehci-brcm.c62 u32 __iomem *status_reg; in ehci_brcm_hub_control() local
70 status_reg = &ehci->regs->port_status[temp]; in ehci_brcm_hub_control()
80 (ehci_readl(ehci, status_reg) & PORT_RESUME)) { in ehci_brcm_hub_control()
/Linux-v6.6/arch/s390/kvm/
Dsigp.c152 u64 *status_reg) in __sigp_set_arch() argument
154 *status_reg &= 0xffffffff00000000UL; in __sigp_set_arch()
157 *status_reg |= SIGP_STATUS_INVALID_PARAMETER; in __sigp_set_arch()
271 u16 cpu_addr, u32 parameter, u64 *status_reg) in handle_sigp_dst() argument
310 rc = __sigp_sense(vcpu, dst_vcpu, status_reg); in handle_sigp_dst()
314 rc = __sigp_external_call(vcpu, dst_vcpu, status_reg); in handle_sigp_dst()
326 rc = __sigp_stop_and_store_status(vcpu, dst_vcpu, status_reg); in handle_sigp_dst()
331 status_reg); in handle_sigp_dst()
335 rc = __sigp_set_prefix(vcpu, dst_vcpu, parameter, status_reg); in handle_sigp_dst()
340 status_reg); in handle_sigp_dst()
[all …]
/Linux-v6.6/arch/mips/generic/
Dboard-sead3.c183 void __iomem *status_reg = (void __iomem *)0xbf000410; in sead3_measure_hpt_freq() local
189 orig = readl(status_reg) & 0x2; /* get original sample */ in sead3_measure_hpt_freq()
191 while ((readl(status_reg) & 0x2) == orig) in sead3_measure_hpt_freq()
200 while ((readl(status_reg) & 0x2) == orig) in sead3_measure_hpt_freq()
/Linux-v6.6/drivers/media/pci/saa7134/
Dsaa7134-go7007.c180 u16 status_reg; in saa7134_go7007_write_interrupt() local
187 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); in saa7134_go7007_write_interrupt()
188 if (!(status_reg & 0x0010)) in saa7134_go7007_write_interrupt()
194 status_reg); in saa7134_go7007_write_interrupt()
334 u16 status_reg; in saa7134_go7007_send_firmware() local
355 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); in saa7134_go7007_send_firmware()
356 if (!(status_reg & 0x0002)) in saa7134_go7007_send_firmware()
361 status_reg); in saa7134_go7007_send_firmware()
/Linux-v6.6/drivers/regulator/
Dhi655x-regulator.c26 unsigned int status_reg; member
77 regmap_read(rdev->regmap, regulator->status_reg, &value); in hi655x_is_enabled()
125 .status_reg = HI655X_BUS_ADDR(sreg), \
147 .status_reg = HI655X_BUS_ADDR(sreg), \
Dmt6358-regulator.c27 u32 status_reg; member
59 .status_reg = MT6358_BUCK_##vreg##_DBG1, \
85 .status_reg = MT6358_LDO_##vreg##_CON1, \
112 .status_reg = MT6358_LDO_##vreg##_DBG1, \
131 .status_reg = MT6358_LDO_##vreg##_CON1, \
155 .status_reg = MT6358_BUCK_##vreg##_DBG1, \
181 .status_reg = MT6358_LDO_##vreg##_CON1, \
208 .status_reg = MT6358_LDO_##vreg##_DBG1, \
227 .status_reg = MT6358_LDO_##vreg##_CON1, \
396 ret = regmap_read(rdev->regmap, info->status_reg, &regval); in mt6358_get_status()
/Linux-v6.6/drivers/gpu/drm/i915/gvt/
Dexeclist.c95 u32 status_reg = in emulate_execlist_status() local
98 status.ldw = vgpu_vreg(vgpu, status_reg); in emulate_execlist_status()
99 status.udw = vgpu_vreg(vgpu, status_reg + 4); in emulate_execlist_status()
117 vgpu_vreg(vgpu, status_reg) = status.ldw; in emulate_execlist_status()
118 vgpu_vreg(vgpu, status_reg + 4) = status.udw; in emulate_execlist_status()
121 vgpu->id, status_reg, status.ldw, status.udw); in emulate_execlist_status()
258 u32 status_reg = in get_next_execlist_slot() local
262 status.ldw = vgpu_vreg(vgpu, status_reg); in get_next_execlist_slot()
263 status.udw = vgpu_vreg(vgpu, status_reg + 4); in get_next_execlist_slot()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_cm.c641 uint32_t status_reg = 0; in dpp1_degamma_ram_inuse() local
645 &status_reg); in dpp1_degamma_ram_inuse()
647 if (status_reg == 9) { in dpp1_degamma_ram_inuse()
650 } else if (status_reg == 10) { in dpp1_degamma_ram_inuse()
733 uint32_t status_reg = 0; in dpp1_ingamma_ram_inuse() local
737 &status_reg); in dpp1_ingamma_ram_inuse()
740 if (status_reg == 1 || status_reg == 3 || status_reg == 4) { in dpp1_ingamma_ram_inuse()
744 } else if (status_reg == 2 || status_reg == 5 || status_reg == 6) { in dpp1_ingamma_ram_inuse()
/Linux-v6.6/drivers/usb/chipidea/
Dhost.c252 u32 __iomem *status_reg; in ci_ehci_hub_control() local
262 status_reg = &ehci->regs->port_status[port_index]; in ci_ehci_hub_control()
279 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control()
287 ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); in ci_ehci_hub_control()
293 if (ehci_handshake(ehci, status_reg, PORT_SUSPEND, in ci_ehci_hub_control()
302 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control()
304 ehci_writel(ehci, temp, status_reg); in ci_ehci_hub_control()
318 if (ehci_handshake(ehci, status_reg, PORT_RESUME, 0, 25000)) in ci_ehci_hub_control()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/irq/dce80/
Dirq_service_dce80.c44 uint32_t addr = info->status_reg; in hpd_ack()
103 .status_reg = mmDC_HPD ## reg_num ## _INT_STATUS,\
117 .status_reg = mmDC_HPD ## reg_num ## _INT_STATUS,\
132 .status_reg = mmDCP ## reg_num ##_GRPH_INTERRUPT_STATUS,\
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/irq/dce120/
Dirq_service_dce120.c44 uint32_t addr = info->status_reg; in hpd_ack()
122 .status_reg = SRI(DC_HPD_INT_STATUS, HPD, reg_num),\
131 .status_reg = SRI(DC_HPD_INT_STATUS, HPD, reg_num),\
139 .status_reg = SRI(GRPH_INTERRUPT_STATUS, DCP, reg_num),\
/Linux-v6.6/drivers/input/keyboard/
Dmcs_touchkey.c37 unsigned int status_reg; member
64 val = i2c_smbus_read_byte_data(client, chip->status_reg); in mcs_touchkey_interrupt()
135 data->chip.status_reg = MCS5000_TOUCHKEY_STATUS; in mcs_touchkey_probe()
140 data->chip.status_reg = MCS5080_TOUCHKEY_STATUS; in mcs_touchkey_probe()
/Linux-v6.6/drivers/clk/microchip/
Dclk-core.h22 const u32 status_reg; member
52 const u32 status_reg; member
Dclk-core.c583 void __iomem *status_reg; member
718 err = readl_poll_timeout_atomic(pll->status_reg, v, in spll_clk_set_rate()
745 spll->status_reg = data->status_reg + core->iobase; in pic32_spll_clk_register()
955 void __iomem *status_reg; member
973 return readl_poll_timeout_atomic(sosc->status_reg, v, in sosc_clk_enable()
992 ready = readl(sosc->status_reg) & sosc->status_mask; in sosc_clk_is_enabled()
1025 sosc->status_reg = data->status_reg + core->iobase; in pic32_sosc_clk_register()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/irq/dce60/
Dirq_service_dce60.c53 uint32_t addr = info->status_reg; in hpd_ack()
112 .status_reg = mmDC_HPD ## reg_num ## _INT_STATUS,\
126 .status_reg = mmDC_HPD ## reg_num ## _INT_STATUS,\
141 .status_reg = mmDCP ## reg_num ##_GRPH_INTERRUPT_STATUS,\
/Linux-v6.6/drivers/clk/qcom/
Dclk-hfpll.c75 if (hd->status_reg) in __clk_hfpll_enable()
80 regmap_read_poll_timeout(regmap, hd->status_reg, val, in __clk_hfpll_enable()
215 if (hd->status_reg) { in clk_hfpll_init()
216 regmap_read(regmap, hd->status_reg, &status); in clk_hfpll_init()
/Linux-v6.6/drivers/media/i2c/
Dml86v7667.c179 int status_reg; in ml86v7667_g_input_status() local
181 status_reg = i2c_smbus_read_byte_data(client, STATUS_REG); in ml86v7667_g_input_status()
182 if (status_reg < 0) in ml86v7667_g_input_status()
183 return status_reg; in ml86v7667_g_input_status()
185 *status = status_reg & STATUS_HLOCK_DETECT ? 0 : V4L2_IN_ST_NO_SIGNAL; in ml86v7667_g_input_status()
/Linux-v6.6/drivers/rtc/
Drtc-rk808.c46 unsigned int status_reg; member
311 ret = regmap_write(rk808_rtc->regmap, rk808_rtc->creg->status_reg, in rk808_alarm_irq()
364 .status_reg = RK808_RTC_STATUS_REG,
372 .status_reg = RK817_RTC_STATUS_REG,
413 ret = regmap_write(rk808_rtc->regmap, rk808_rtc->creg->status_reg, in rk808_rtc_probe()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/irq/dce110/
Dirq_service_dce110.c45 uint32_t addr = info->status_reg; in hpd_ack()
100 .status_reg = mmHPD ## reg_num ## _DC_HPD_INT_STATUS,\
114 .status_reg = mmHPD ## reg_num ## _DC_HPD_INT_STATUS,\
128 .status_reg = mmDCP ## reg_num ##_GRPH_INTERRUPT_STATUS,\
/Linux-v6.6/drivers/mtd/lpddr/
Dlpddr2_nvm.c170 u_long i, status_reg, prg_buff_ofs; in lpddr2_nvm_do_op() local
219 status_reg = sr.x[0]; in lpddr2_nvm_do_op()
223 status_reg += sr.x[0] << 16; in lpddr2_nvm_do_op()
225 } while ((status_reg & sr_ok_datamask) != sr_ok_datamask); in lpddr2_nvm_do_op()
227 return (((status_reg & sr_ok_datamask) == sr_ok_datamask) ? 0 : -EIO); in lpddr2_nvm_do_op()
/Linux-v6.6/drivers/memory/tegra/
Dmc.c592 u32 status_reg, addr_reg; in tegra30_mc_handle_irq() local
605 status_reg = MC_ERR_VPR_STATUS; in tegra30_mc_handle_irq()
610 status_reg = MC_ERR_SEC_STATUS; in tegra30_mc_handle_irq()
615 status_reg = MC_ERR_MTS_STATUS; in tegra30_mc_handle_irq()
620 status_reg = MC_ERR_GENERALIZED_CARVEOUT_STATUS; in tegra30_mc_handle_irq()
625 status_reg = MC_ERR_ROUTE_SANITY_STATUS; in tegra30_mc_handle_irq()
630 status_reg = MC_ERR_STATUS; in tegra30_mc_handle_irq()
641 value = mc_ch_readl(mc, channel, status_reg); in tegra30_mc_handle_irq()
643 value = mc_readl(mc, status_reg); in tegra30_mc_handle_irq()
/Linux-v6.6/drivers/spi/
Dspi-tegra20-sflash.c126 u32 status_reg; member
363 if (tsd->tx_status || tsd->rx_status || (tsd->status_reg & SPI_BSY)) { in handle_cpu_based_xfer()
365 "CpuXfer ERROR bit set 0x%x\n", tsd->status_reg); in handle_cpu_based_xfer()
400 tsd->status_reg = tegra_sflash_readl(tsd, SPI_STATUS); in tegra_sflash_isr()
402 tsd->tx_status = tsd->status_reg & SPI_TX_OVF; in tegra_sflash_isr()
405 tsd->rx_status = tsd->status_reg & SPI_RX_UNF; in tegra_sflash_isr()

12345