| /linux/drivers/irqchip/ |
| H A D | spear-shirq.c | 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, 177 .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 | 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 | 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 | 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/input/misc/ |
| H A D | twl4030-pwrbutton.c | 37 u8 status_reg; member 42 .status_reg = 0xf, 47 .status_reg = 0x2, 58 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &value, pdata->status_reg); in powerbutton_irq()
|
| /linux/drivers/clk/qcom/ |
| 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
|
| H A D | clk-pll.h | 45 u32 status_reg; member
|
| /linux/drivers/iio/adc/ |
| H A D | sophgo-cv1800b-adc.c | 125 u32 status_reg = readl(saradc->regs + CV1800B_ADC_CYC_SET_REG); in cv1800b_adc_read_raw() local 126 unsigned int clk_div = (1 + FIELD_GET(CV1800B_MASK_CLKDIV, status_reg)); in cv1800b_adc_read_raw() 128 unsigned int nb_startup_cycle = 1 + FIELD_GET(CV1800B_MASK_STARTUP_CYCLE, status_reg); in cv1800b_adc_read_raw() 129 unsigned int nb_sample_cycle = 1 + FIELD_GET(CV1800B_MASK_SAMPLE_WINDOW, status_reg); in cv1800b_adc_read_raw() 130 unsigned int nb_compare_cycle = 1 + FIELD_GET(CV1800B_MASK_COMPARE_CYCLE, status_reg); in cv1800b_adc_read_raw()
|
| /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/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/drivers/regulator/ |
| H A D | mt6358-regulator.c | 26 u32 status_reg; member 57 .status_reg = MT6358_BUCK_##vreg##_DBG1, \ 86 .status_reg = MT6358_LDO_##vreg##_CON1, \ 111 .status_reg = MT6358_LDO_##vreg##_DBG1, \ 133 .status_reg = MT6358_LDO_##vreg##_CON1, \ 158 .status_reg = MT6358_BUCK_##vreg##_DBG1, \ 187 .status_reg = MT6358_LDO_##vreg##_CON1, \ 212 .status_reg = MT6358_LDO_##vreg##_DBG1, \ 234 .status_reg = MT6358_LDO_##vreg##_CON1, \ 395 ret = regmap_read(rdev->regmap, info->status_reg, ®val); in mt6358_get_status()
|
| /linux/drivers/clk/microchip/ |
| H A D | clk-pic32.h | 22 const u32 status_reg; member 52 const u32 status_reg; member
|
| H A D | clk-pic32.c | 578 void __iomem *status_reg; member 716 err = readl_poll_timeout_atomic(pll->status_reg, v, in spll_clk_set_rate() 743 spll->status_reg = data->status_reg + core->iobase; in pic32_spll_clk_register() 946 void __iomem *status_reg; member 964 return readl_poll_timeout_atomic(sosc->status_reg, v, in sosc_clk_enable() 983 ready = readl(sosc->status_reg) & sosc->status_mask; in sosc_clk_is_enabled() 1016 sosc->status_reg = data->status_reg + core->iobase; in pic32_sosc_clk_register()
|
| H A D | clk-pic32mzda.c | 98 .status_reg = 0x1d0, 111 .status_reg = 0x1d0,
|
| /linux/drivers/rtc/ |
| 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/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/drivers/power/supply/ |
| H A D | chagall-battery.c | 104 static int chagall_battery_get_status(u32 status_reg) in chagall_battery_get_status() argument 106 if (status_reg & BATTERY_FULL_CHARGED) in chagall_battery_get_status() 108 else if (status_reg & BATTERY_DISCHARGING) in chagall_battery_get_status()
|
| /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/include/linux/ |
| H A D | sh_clk.h | 56 void __iomem *status_reg; member 122 .status_reg = _status_reg, \
|
| /linux/drivers/usb/fotg210/ |
| H A D | fotg210-hcd.c | 1365 u32 __iomem *status_reg, int port_status) in check_reset_complete() argument 1457 u32 __iomem *status_reg = &fotg210->regs->port_status; in fotg210_hub_control() local 1486 temp = fotg210_readl(fotg210, status_reg); in fotg210_hub_control() 1498 fotg210_writel(fotg210, temp & ~PORT_PE, status_reg); in fotg210_hub_control() 1501 fotg210_writel(fotg210, temp | PORT_PEC, status_reg); in fotg210_hub_control() 1512 fotg210_writel(fotg210, temp | PORT_RESUME, status_reg); in fotg210_hub_control() 1520 fotg210_writel(fotg210, temp | PORT_CSC, status_reg); in fotg210_hub_control() 1548 temp = fotg210_readl(fotg210, status_reg); in fotg210_hub_control() 1581 temp = fotg210_readl(fotg210, status_reg); in fotg210_hub_control() 1584 status_reg); in fotg210_hub_control() [all …]
|
| /linux/drivers/hsi/controllers/ |
| H A D | omap_ssi_port.c | 948 u32 status_reg; in ssi_pio_thread() local 953 status_reg = readl(sys + SSI_MPU_STATUS_REG(port->num, 0)); in ssi_pio_thread() 954 status_reg &= readl(sys + SSI_MPU_ENABLE_REG(port->num, 0)); in ssi_pio_thread() 957 if (status_reg & SSI_DATAACCEPT(ch)) in ssi_pio_thread() 959 if (status_reg & SSI_DATAAVAILABLE(ch)) in ssi_pio_thread() 962 if (status_reg & SSI_BREAKDETECTED) in ssi_pio_thread() 964 if (status_reg & SSI_ERROROCCURED) in ssi_pio_thread() 967 status_reg = readl(sys + SSI_MPU_STATUS_REG(port->num, 0)); in ssi_pio_thread() 968 status_reg &= readl(sys + SSI_MPU_ENABLE_REG(port->num, 0)); in ssi_pio_thread() 971 } while (status_reg); in ssi_pio_thread()
|