| /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/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 | 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()
|
| /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/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 | hi655x-regulator.c | 26 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), \
|
| H A D | mt6359-regulator.c | 33 u32 status_reg; member 64 .status_reg = _status_reg, \ 91 .status_reg = _status_reg, \ 115 .status_reg = _status_reg, \ 135 .status_reg = _status_reg, \ 158 .status_reg = _status_reg, \ 256 ret = regmap_read(rdev->regmap, info->status_reg, ®val); in mt6359_get_status()
|
| /linux/drivers/media/i2c/ |
| H A D | ml86v7667.c | 179 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/drivers/clk/microchip/ |
| H A D | clk-core.h | 22 const u32 status_reg; member 52 const u32 status_reg; member
|
| /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/acpi/acpica/ |
| H A D | evgpe.c | 631 u64 status_reg; in acpi_ev_detect_gpe() local 666 status = acpi_hw_gpe_read(&status_reg, &gpe_register_info->status_address); in acpi_ev_detect_gpe() 677 (u32)(status_reg & register_bit), in acpi_ev_detect_gpe() 682 enabled_status_byte = (u8)(status_reg & enable_reg); in acpi_ev_detect_gpe()
|
| /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/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/hwmon/ |
| H A D | coretemp.c | 81 u32 status_reg; member 364 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_crit_alarm() 410 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_temp() 518 tdata->status_reg = pkg_flag ? MSR_IA32_PACKAGE_THERM_STATUS : in init_temp_data() 574 err = rdmsr_safe_on_cpu(cpu, tdata->status_reg, &eax, &edx); in create_core_data()
|
| /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() 4914 u32 abs_state, status_reg, reset_adapter, fpio_count = 0; in megasas_reset_fusion() local 4935 status_reg = instance->instancet->read_fw_status_reg(instance); in megasas_reset_fusion() 4936 abs_state = status_reg & MFI_STATE_MASK; in megasas_reset_fusion() [all …]
|
| /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/include/linux/ |
| H A D | sh_clk.h | 56 void __iomem *status_reg; member 122 .status_reg = _status_reg, \
|