/drivers/irqchip/ |
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 …]
|
/drivers/usb/host/ |
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 …]
|
D | xhci-pci-renesas.c | 60 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()
|
/drivers/media/pci/saa7134/ |
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()
|
/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_cm.c | 641 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()
|
/drivers/gpu/drm/i915/gvt/ |
D | execlist.c | 95 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()
|
/drivers/usb/chipidea/ |
D | host.c | 250 u32 __iomem *status_reg; in ci_ehci_hub_control() local 260 status_reg = &ehci->regs->port_status[port_index]; in ci_ehci_hub_control() 277 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control() 285 ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); in ci_ehci_hub_control() 291 if (ehci_handshake(ehci, status_reg, PORT_SUSPEND, in ci_ehci_hub_control() 300 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control() 302 ehci_writel(ehci, temp, status_reg); in ci_ehci_hub_control() 316 if (ehci_handshake(ehci, status_reg, PORT_RESUME, 0, 25000)) in ci_ehci_hub_control()
|
/drivers/regulator/ |
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), \
|
D | mt6358-regulator.c | 27 u32 status_reg; member 57 .status_reg = MT6358_BUCK_##vreg##_DBG1, \ 83 .status_reg = MT6358_LDO_##vreg##_CON1, \ 110 .status_reg = MT6358_LDO_##vreg##_DBG1, \ 129 .status_reg = MT6358_LDO_##vreg##_CON1, \ 153 .status_reg = MT6358_BUCK_##vreg##_DBG1, \ 179 .status_reg = MT6358_LDO_##vreg##_CON1, \ 206 .status_reg = MT6358_LDO_##vreg##_DBG1, \ 225 .status_reg = MT6358_LDO_##vreg##_CON1, \ 394 ret = regmap_read(rdev->regmap, info->status_reg, ®val); in mt6358_get_status()
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 888 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()
|
/drivers/gpu/drm/amd/display/dc/irq/dce80/ |
D | irq_service_dce80.c | 44 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,\
|
/drivers/gpu/drm/amd/display/dc/irq/dce120/ |
D | irq_service_dce120.c | 44 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),\
|
/drivers/clk/qcom/ |
D | clk-hfpll.c | 75 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()
|
/drivers/gpu/drm/amd/display/dc/irq/dce60/ |
D | irq_service_dce60.c | 53 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,\
|
/drivers/input/keyboard/ |
D | mcs_touchkey.c | 37 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()
|
/drivers/media/i2c/ |
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()
|
/drivers/memory/tegra/ |
D | mc.c | 566 u32 status_reg, addr_reg; in tegra30_mc_handle_irq() local 579 status_reg = MC_ERR_VPR_STATUS; in tegra30_mc_handle_irq() 584 status_reg = MC_ERR_SEC_STATUS; in tegra30_mc_handle_irq() 589 status_reg = MC_ERR_MTS_STATUS; in tegra30_mc_handle_irq() 594 status_reg = MC_ERR_GENERALIZED_CARVEOUT_STATUS; in tegra30_mc_handle_irq() 599 status_reg = MC_ERR_ROUTE_SANITY_STATUS; in tegra30_mc_handle_irq() 604 status_reg = MC_ERR_STATUS; in tegra30_mc_handle_irq() 615 value = mc_ch_readl(mc, channel, status_reg); in tegra30_mc_handle_irq() 617 value = mc_readl(mc, status_reg); in tegra30_mc_handle_irq()
|
/drivers/clk/microchip/ |
D | clk-core.h | 22 const u32 status_reg; member 52 const u32 status_reg; member
|
D | clk-core.c | 583 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()
|
/drivers/gpu/drm/amd/display/dc/irq/dce110/ |
D | irq_service_dce110.c | 45 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,\
|
/drivers/mtd/lpddr/ |
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()
|
/drivers/rtc/ |
D | rtc-rk808.c | 47 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()
|
/drivers/spi/ |
D | spi-tegra20-sflash.c | 126 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()
|
/drivers/hwmon/ |
D | emc2305.c | 235 int status_reg; in emc2305_show_fault() local 237 status_reg = i2c_smbus_read_byte_data(client, EMC2305_REG_DRIVE_FAIL_STATUS); in emc2305_show_fault() 238 if (status_reg < 0) in emc2305_show_fault() 239 return status_reg; in emc2305_show_fault() 241 return status_reg & (1 << channel) ? 1 : 0; in emc2305_show_fault()
|
/drivers/hsi/controllers/ |
D | omap_ssi_core.c | 224 u32 status_reg; in ssi_gdd_tasklet() local 234 status_reg = readl(sys + SSI_GDD_MPU_IRQ_STATUS_REG); in ssi_gdd_tasklet() 236 if (status_reg & SSI_GDD_LCH(lch)) in ssi_gdd_tasklet() 239 writel_relaxed(status_reg, sys + SSI_GDD_MPU_IRQ_STATUS_REG); in ssi_gdd_tasklet() 240 status_reg = readl(sys + SSI_GDD_MPU_IRQ_STATUS_REG); in ssi_gdd_tasklet() 244 if (status_reg) in ssi_gdd_tasklet()
|