| /linux/drivers/irqchip/ |
| H A D | spear-shirq.c | 32 * status_reg: Status register offset for chained interrupt handler 43 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, [all …]
|
| /linux/drivers/usb/host/ |
| H A D | ehci-hub.c | 539 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 …]
|
| H A D | ehci-brcm.c | 62 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()
|
| H A D | xhci-pci-renesas.c | 63 u32 status_reg; in renesas_fw_download_image() local 66 status_reg = RENESAS_ROM_STATUS_MSB; in renesas_fw_download_image() 68 status_reg = RENESAS_FW_STATUS_MSB; in renesas_fw_download_image() 80 err = pci_read_config_byte(dev, status_reg, &fw_status); in renesas_fw_download_image() 112 err = pci_write_config_byte(dev, status_reg, BIT(data0_or_data1)); in renesas_fw_download_image()
|
| H A D | oxu210hp-hcd.c | 824 u32 __iomem *status_reg, int port_status) in check_reset_complete() argument 3545 u32 __iomem *status_reg = &oxu->regs->port_status[wIndex - 1]; in oxu_hub_control() local 3574 temp = readl(status_reg); in oxu_hub_control() 3585 writel(temp & ~PORT_PE, status_reg); in oxu_hub_control() 3588 writel((temp & ~PORT_RWC_BITS) | PORT_PEC, status_reg); in oxu_hub_control() 3598 writel(temp | PORT_RESUME, status_reg); in oxu_hub_control() 3609 status_reg); in oxu_hub_control() 3612 writel((temp & ~PORT_RWC_BITS) | PORT_CSC, status_reg); in oxu_hub_control() 3615 writel((temp & ~PORT_RWC_BITS) | PORT_OCC, status_reg); in oxu_hub_control() 3638 temp = readl(status_reg); in oxu_hub_control() [all …]
|
| /linux/drivers/char/hw_random/ |
| H A D | xiphera-trng.c | 14 #define STATUS_REG 0x00000004 macro 42 if (readl(trng->mem + STATUS_REG) == TRNG_NEW_RAND_AVAILABLE) { in xiphera_trng_read() 81 if (readl(trng->mem + STATUS_REG) != TRNG_ACK_RESET) { in xiphera_trng_probe() 87 if (readl(trng->mem + STATUS_REG) != TRNG_ACK_RESET) { in xiphera_trng_probe() 102 if (readl(trng->mem + STATUS_REG) != TRNG_SUCCESSFUL_STARTUP) { in xiphera_trng_probe() 104 if (readl(trng->mem + STATUS_REG) == TRNG_FAILED_STARTUP) { in xiphera_trng_probe()
|
| /linux/arch/s390/kvm/ |
| H A D | sigp.c | 152 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/drivers/clk/qcom/ |
| H A D | clk-pll.h | 34 * @status_reg: status register 35 * @status_bit: ANDed with @status_reg to determine if PLL is enabled 45 u32 status_reg; member
|
| H A D | hfpll.c | 25 .status_reg = 0x1c, 43 .status_reg = 0x1c, 60 .status_reg = 0x1c, 77 .status_reg = 0x1c,
|
| H A D | clk-hfpll.c | 79 if (hd->status_reg) in __clk_hfpll_enable() 84 regmap_read_poll_timeout(regmap, hd->status_reg, val, in __clk_hfpll_enable() 219 if (hd->status_reg) { in clk_hfpll_init() 220 regmap_read(regmap, hd->status_reg, &status); in clk_hfpll_init()
|
| H A D | clk-hfpll.h | 18 u32 status_reg; member
|
| /linux/drivers/iio/adc/ |
| H A D | sophgo-cv1800b-adc.c | 126 u32 status_reg = readl(saradc->regs + CV1800B_ADC_CYC_SET_REG); in cv1800b_adc_read_raw() local 127 unsigned int clk_div = (1 + FIELD_GET(CV1800B_MASK_CLKDIV, status_reg)); in cv1800b_adc_read_raw() 129 unsigned int nb_startup_cycle = 1 + FIELD_GET(CV1800B_MASK_STARTUP_CYCLE, status_reg); in cv1800b_adc_read_raw() 130 unsigned int nb_sample_cycle = 1 + FIELD_GET(CV1800B_MASK_SAMPLE_WINDOW, status_reg); in cv1800b_adc_read_raw() 131 unsigned int nb_compare_cycle = 1 + FIELD_GET(CV1800B_MASK_COMPARE_CYCLE, status_reg); in cv1800b_adc_read_raw()
|
| /linux/drivers/media/pci/saa7134/ |
| H A D | saa7134-go7007.c | 180 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/arch/mips/generic/ |
| H A D | board-sead3.c | 183 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/drivers/rtc/ |
| H A D | rtc-spear.c | 28 #define STATUS_REG 0x14 macro 67 /* STATUS_REG */ 91 val = readl(config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt() 93 writel(val, config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt() 126 if ((readl(config->ioaddr + STATUS_REG)) & STATUS_FAIL) in is_write_complete() 141 status = readl(config->ioaddr + STATUS_REG); in rtc_wait_not_busy() 157 irq_data = readl(config->ioaddr + STATUS_REG); in spear_rtc_irq()
|
| H A D | rtc-rk808.c | 46 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/drivers/power/supply/ |
| H A D | chagall-battery.c | 105 static int chagall_battery_get_status(u32 status_reg) in chagall_battery_get_status() argument 107 if (status_reg & BATTERY_FULL_CHARGED) in chagall_battery_get_status() 109 else if (status_reg & BATTERY_DISCHARGING) in chagall_battery_get_status()
|
| /linux/drivers/hsi/controllers/ |
| H A D | omap_ssi_core.c | 217 u32 status_reg; in ssi_gdd_tasklet() local 227 status_reg = readl(sys + SSI_GDD_MPU_IRQ_STATUS_REG); in ssi_gdd_tasklet() 229 if (status_reg & SSI_GDD_LCH(lch)) in ssi_gdd_tasklet() 232 writel_relaxed(status_reg, sys + SSI_GDD_MPU_IRQ_STATUS_REG); in ssi_gdd_tasklet() 233 status_reg = readl(sys + SSI_GDD_MPU_IRQ_STATUS_REG); in ssi_gdd_tasklet() 237 if (status_reg) in ssi_gdd_tasklet()
|
| /linux/drivers/mtd/lpddr/ |
| H A D | lpddr2_nvm.c | 170 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/drivers/gpu/drm/amd/display/dc/irq/dce60/ |
| H A D | irq_service_dce60.c | 85 .status_reg = mmDC_HPD ## reg_num ## _INT_STATUS,\ 99 .status_reg = mmDC_HPD ## reg_num ## _INT_STATUS,\ 114 .status_reg = mmDCP ## reg_num ##_GRPH_INTERRUPT_STATUS,\
|
| /linux/include/linux/ |
| H A D | sh_clk.h | 56 void __iomem *status_reg; member 122 .status_reg = _status_reg, \
|
| /linux/drivers/ipack/carriers/ |
| H A D | tpci200.c | 133 u16 status_reg; in tpci200_interrupt() local 137 status_reg = ioread16(&tpci200->info->interface_regs->status); in tpci200_interrupt() 140 if (!(status_reg & TPCI200_SLOT_INT_MASK)) in tpci200_interrupt() 146 if (!(status_reg & ((TPCI200_A_INT0 | TPCI200_A_INT1) << (2 * i)))) in tpci200_interrupt()
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_sas_fusion.c | 1046 u32 status_reg; in wait_and_poll() local 1057 status_reg = instance->instancet->read_fw_status_reg(instance) in wait_and_poll() 1059 if (status_reg == MFI_STATE_FAULT) in wait_and_poll() 1799 u32 status_reg; in megasas_init_adapter_fusion() local 1888 status_reg = instance->instancet->read_fw_status_reg(instance); in megasas_init_adapter_fusion() 1889 if (((status_reg & MFI_STATE_MASK) == MFI_STATE_FAULT) && in megasas_init_adapter_fusion() 1890 (status_reg & MFI_RESET_ADAPTER)) { in megasas_init_adapter_fusion() 4923 u32 abs_state, status_reg, reset_adapter, fpio_count = 0; in megasas_reset_fusion() local 4944 status_reg = instance->instancet->read_fw_status_reg(instance); in megasas_reset_fusion() 4945 abs_state = status_reg & MFI_STATE_MASK; in megasas_reset_fusion() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/irq/dcn201/ |
| H A D | irq_service_dcn201.c | 144 .status_reg = SRI(DC_HPD_INT_STATUS, HPD, reg_num),\ 153 .status_reg = SRI(DC_HPD_INT_STATUS, HPD, reg_num),\
|
| /linux/drivers/comedi/drivers/ |
| H A D | ni_at_a2150.c | 71 #define STATUS_REG 0x12 /* read only */ macro 148 status = inw(dev->iobase + STATUS_REG); in a2150_interrupt() 570 status = inw(dev->iobase + STATUS_REG); in a2150_ai_eoc() 676 int id = ID_BITS(inw(dev->iobase + STATUS_REG)); in a2150_probe() 748 if ((DCAL_BIT & inw(dev->iobase + STATUS_REG)) == 0) in a2150_attach()
|