Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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,
159 .status_reg = SPEAR320_INT_STS_MASK_REG,
167 .status_reg = SPEAR320_INT_STS_MASK_REG,
175 .status_reg = SPEAR320_INT_STS_MASK_REG,
190 pend = readl(shirq->base + shirq->status_reg) & shirq->mask; in shirq_handler()
/kernel/linux/linux-5.10/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()
880 u32 __iomem *status_reg, *hostpc_reg; in ehci_hub_control() local
893 status_reg = &ehci->regs->port_status[temp]; in ehci_hub_control()
919 temp = ehci_readl(ehci, status_reg); in ehci_hub_control()
931 ehci_writel(ehci, temp & ~PORT_PE, status_reg); in ehci_hub_control()
[all …]
Dehci-tegra.c179 u32 __iomem *status_reg; in tegra_ehci_hub_control() local
184 status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1]; in tegra_ehci_hub_control()
189 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
198 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
206 ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); in tegra_ehci_hub_control()
212 if (ehci_handshake(ehci, status_reg, PORT_SUSPEND, in tegra_ehci_hub_control()
224 return tegra_ehci_internal_port_reset(ehci, status_reg); in tegra_ehci_hub_control()
236 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
252 ehci_writel(ehci, temp | PORT_RESUME, status_reg); in tegra_ehci_hub_control()
260 if (ehci_handshake(ehci, status_reg, PORT_RESUME, 0, 2000)) in tegra_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
66 status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1]; in ehci_brcm_hub_control()
76 (ehci_readl(ehci, status_reg) & PORT_RESUME)) { in ehci_brcm_hub_control()
/kernel/linux/linux-5.10/arch/s390/kvm/
Dsigp.c152 u64 *status_reg) in __sigp_set_arch() argument
165 *status_reg &= 0xffffffff00000000UL; in __sigp_set_arch()
168 *status_reg |= (all_stopped ? SIGP_STATUS_INVALID_PARAMETER : in __sigp_set_arch()
283 u16 cpu_addr, u32 parameter, u64 *status_reg) in handle_sigp_dst() argument
322 rc = __sigp_sense(vcpu, dst_vcpu, status_reg); in handle_sigp_dst()
326 rc = __sigp_external_call(vcpu, dst_vcpu, status_reg); in handle_sigp_dst()
338 rc = __sigp_stop_and_store_status(vcpu, dst_vcpu, status_reg); in handle_sigp_dst()
343 status_reg); in handle_sigp_dst()
347 rc = __sigp_set_prefix(vcpu, dst_vcpu, parameter, status_reg); in handle_sigp_dst()
352 status_reg); in handle_sigp_dst()
[all …]
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dhost.c237 u32 __iomem *status_reg; in ci_ehci_hub_control() local
246 status_reg = &ehci->regs->port_status[port_index]; in ci_ehci_hub_control()
256 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control()
264 ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); in ci_ehci_hub_control()
270 if (ehci_handshake(ehci, status_reg, PORT_SUSPEND, in ci_ehci_hub_control()
279 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control()
281 ehci_writel(ehci, temp, status_reg); in ci_ehci_hub_control()
295 if (ehci_handshake(ehci, status_reg, PORT_RESUME, 0, 25000)) in ci_ehci_hub_control()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-go7007.c185 u16 status_reg; in saa7134_go7007_write_interrupt() local
192 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); in saa7134_go7007_write_interrupt()
193 if (!(status_reg & 0x0010)) in saa7134_go7007_write_interrupt()
199 status_reg); in saa7134_go7007_write_interrupt()
339 u16 status_reg; in saa7134_go7007_send_firmware() local
360 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); in saa7134_go7007_send_firmware()
361 if (!(status_reg & 0x0002)) in saa7134_go7007_send_firmware()
366 status_reg); in saa7134_go7007_send_firmware()
/kernel/linux/linux-5.10/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
60 .status_reg = MT6358_BUCK_##vreg##_DBG1, \
88 .status_reg = MT6358_LDO_##vreg##_CON1, \
117 .status_reg = MT6358_LDO_##vreg##_DBG1, \
136 .status_reg = MT6358_LDO_##vreg##_CON1, \
319 ret = regmap_read(rdev->regmap, info->status_reg, &regval); in mt6358_get_status()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c888 u32 status_reg; in ixgb_check_for_link() local
894 status_reg = IXGB_READ_REG(hw, STATUS); in ixgb_check_for_link()
897 (status_reg & IXGB_STATUS_LU)) { in ixgb_check_for_link()
900 (status_reg & IXGB_STATUS_LU)) { in ixgb_check_for_link()
1058 u32 status_reg; in ixgb_get_bus_info() local
1060 status_reg = IXGB_READ_REG(hw, STATUS); in ixgb_get_bus_info()
1062 hw->bus.type = (status_reg & IXGB_STATUS_PCIX_MODE) ? in ixgb_get_bus_info()
1066 hw->bus.speed = (status_reg & IXGB_STATUS_PCI_SPD) ? in ixgb_get_bus_info()
1069 switch (status_reg & IXGB_STATUS_PCIX_SPD_MASK) { in ixgb_get_bus_info()
1085 hw->bus.width = (status_reg & IXGB_STATUS_BUS64) ? in ixgb_get_bus_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dce80/
Dirq_service_dce80.c46 uint32_t addr = info->status_reg; in hpd_ack()
105 .status_reg = mmDC_HPD ## reg_num ## _INT_STATUS,\
119 .status_reg = mmDC_HPD ## reg_num ## _INT_STATUS,\
134 .status_reg = mmDCP ## reg_num ##_GRPH_INTERRUPT_STATUS,\
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dce120/
Dirq_service_dce120.c46 uint32_t addr = info->status_reg; in hpd_ack()
124 .status_reg = SRI(DC_HPD_INT_STATUS, HPD, reg_num),\
133 .status_reg = SRI(DC_HPD_INT_STATUS, HPD, reg_num),\
141 .status_reg = SRI(GRPH_INTERRUPT_STATUS, DCP, reg_num),\
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dclk-hfpll.c75 if (hd->status_reg) { in __clk_hfpll_enable()
77 regmap_read(regmap, hd->status_reg, &val); in __clk_hfpll_enable()
212 if (hd->status_reg) { in clk_hfpll_init()
213 regmap_read(regmap, hd->status_reg, &status); in clk_hfpll_init()
/kernel/linux/linux-5.10/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()
125 data->chip.status_reg = MCS5000_TOUCHKEY_STATUS; in mcs_touchkey_probe()
130 data->chip.status_reg = MCS5080_TOUCHKEY_STATUS; in mcs_touchkey_probe()
/kernel/linux/linux-5.10/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,\
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dce110/
Dirq_service_dce110.c47 uint32_t addr = info->status_reg; in hpd_ack()
102 .status_reg = mmHPD ## reg_num ## _DC_HPD_INT_STATUS,\
116 .status_reg = mmHPD ## reg_num ## _DC_HPD_INT_STATUS,\
130 .status_reg = mmDCP ## reg_num ##_GRPH_INTERRUPT_STATUS,\
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-rk808.c47 unsigned int status_reg; member
320 ret = regmap_write(rk808->regmap, rk808_rtc->creg->status_reg, in rk808_alarm_irq()
373 .status_reg = RK808_RTC_STATUS_REG,
381 .status_reg = RK817_RTC_STATUS_REG,
420 ret = regmap_write(rk808->regmap, rk808_rtc->creg->status_reg, in rk808_rtc_probe()
/kernel/linux/linux-5.10/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()

12345