/openbmc/qemu/hw/misc/ |
H A D | exynos4210_rng.c | 81 uint32_t reg_status; member 105 s->reg_status |= EXYNOS4210_RNG_STATUS_SEED_SETTING_DONE; in exynos4210_rng_set_seed() 107 s->reg_status &= ~EXYNOS4210_RNG_STATUS_SEED_SETTING_DONE; in exynos4210_rng_set_seed() 116 if ((s->reg_status & EXYNOS4210_RNG_STATUS_SEED_SETTING_DONE) == 0) { in exynos4210_rng_run_engine() 135 s->reg_status |= EXYNOS4210_RNG_STATUS_PRNG_DONE; in exynos4210_rng_run_engine() 157 val = s->reg_status; in exynos4210_rng_read() 195 s->reg_status &= ~EXYNOS4210_RNG_STATUS_WRITE_MASK; in exynos4210_rng_write() 196 s->reg_status |= val & EXYNOS4210_RNG_STATUS_WRITE_MASK; in exynos4210_rng_write() 229 s->reg_status = EXYNOS4210_RNG_STATUS_BUFFER_READY; in exynos4210_rng_reset() 252 VMSTATE_UINT32(reg_status, Exynos4210RngState),
|
/openbmc/qemu/tests/qtest/ |
H A D | ide-test.c | 61 reg_status = 0x7, enumerator 292 assert_bit_set(qpci_io_readb(dev, ide_bar, reg_status), DRDY); in send_dma_request() 356 assert_bit_clear(qpci_io_readb(dev, ide_bar, reg_status), DF | ERR); in test_bmdma_simple_rw() 442 assert_bit_set(qpci_io_readb(dev, ide_bar, reg_status), ERR); in test_bmdma_trim() 632 data = qpci_io_readb(dev, ide_bar, reg_status); in test_identify() 639 data = qpci_io_readb(dev, ide_bar, reg_status); in test_identify() 754 data = qpci_io_readb(dev, ide_bar, reg_status); in test_flush() 766 data = qpci_io_readb(dev, ide_bar, reg_status); in test_flush() 802 data = qpci_io_readb(dev, ide_bar, reg_status); in test_pci_retry_flush() 816 data = qpci_io_readb(dev, ide_bar, reg_status); in test_pci_retry_flush() [all …]
|
/openbmc/linux/drivers/reset/starfive/ |
H A D | reset-starfive-jh71x0.c | 39 void __iomem *reg_status = data->status + offset * sizeof(u32); in jh71x0_reset_update() local 58 ret = readl_poll_timeout_atomic(reg_status, value, (value & mask) == done, 0, 1000); in jh71x0_reset_update() 94 void __iomem *reg_status = data->status + offset * sizeof(u32); in jh71x0_reset_status() local 95 u32 value = readl(reg_status); in jh71x0_reset_status()
|
/openbmc/linux/drivers/input/misc/ |
H A D | tps65218-pwrbutton.c | 23 unsigned int reg_status; member 29 .reg_status = TPS65217_REG_STATUS, 35 .reg_status = TPS65218_REG_STATUS, 62 error = regmap_read(pwr->regmap, tps_data->reg_status, ®); in tps6521x_pb_irq()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | psp_v13_0.c | 603 uint32_t reg_status; in psp_v13_0_load_usbc_pd_fw() local 624 reg_status = RREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_35); in psp_v13_0_load_usbc_pd_fw() 626 if (reg_status & 0x80000000) in psp_v13_0_load_usbc_pd_fw() 634 if ((reg_status & 0xFFFF) != 0) { in psp_v13_0_load_usbc_pd_fw() 636 reg_status & 0xFFFF); in psp_v13_0_load_usbc_pd_fw() 660 uint32_t reg_status = 0, reg_val = 0; in psp_v13_0_exec_spi_cmd() local 682 reg_status = RREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_115); in psp_v13_0_exec_spi_cmd() 683 if ((reg_status & 0xFFFF) != 0) { in psp_v13_0_exec_spi_cmd() 685 cmd, reg_status & 0xFFFF); in psp_v13_0_exec_spi_cmd()
|
H A D | psp_v11_0.c | 592 uint32_t reg_status; in psp_v11_0_load_usbc_pd_fw() local 613 reg_status = RREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_35); in psp_v11_0_load_usbc_pd_fw() 615 if (reg_status & 0x80000000) in psp_v11_0_load_usbc_pd_fw() 623 if ((reg_status & 0xFFFF) != 0) { in psp_v11_0_load_usbc_pd_fw() 625 reg_status & 0xFFFF); in psp_v11_0_load_usbc_pd_fw()
|
H A D | vi.c | 1058 u32 reg_status; in vi_set_vce_clocks() local 1064 reg_status = ixGNB_CLK3_STATUS; in vi_set_vce_clocks() 1069 reg_status = ixCG_ECLK_STATUS; in vi_set_vce_clocks() 1081 if (RREG32_SMC(reg_status) & status_mask) in vi_set_vce_clocks() 1095 if (RREG32_SMC(reg_status) & status_mask) in vi_set_vce_clocks()
|
/openbmc/linux/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_ahash.c | 91 int reg_status; in rk_ahash_reg_init() local 93 reg_status = CRYPTO_READ(dev, RK_CRYPTO_CTRL) | in rk_ahash_reg_init() 95 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, reg_status); in rk_ahash_reg_init() 97 reg_status = CRYPTO_READ(dev, RK_CRYPTO_CTRL); in rk_ahash_reg_init() 98 reg_status &= (~RK_CRYPTO_HASH_FLUSH); in rk_ahash_reg_init() 99 reg_status |= _SBF(0xffff, 16); in rk_ahash_reg_init() 100 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, reg_status); in rk_ahash_reg_init()
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | tcpci_maxim_core.c | 272 u8 reg_status; in _max_tcpci_irq() local 299 ret = max_tcpci_read8(chip, TCPC_ALERT_EXTENDED, ®_status); in _max_tcpci_irq() 303 ret = max_tcpci_write8(chip, TCPC_ALERT_EXTENDED, reg_status); in _max_tcpci_irq() 307 if (reg_status & TCPC_SINK_FAST_ROLE_SWAP) { in _max_tcpci_irq() 314 ret = max_tcpci_read8(chip, TCPC_EXTENDED_STATUS, (u8 *)®_status); in _max_tcpci_irq() 315 if (ret >= 0 && (reg_status & TCPC_EXTENDED_STATUS_VSAFE0V)) in _max_tcpci_irq()
|
/openbmc/linux/drivers/hwmon/ |
H A D | max6642.c | 116 u8 reg_config, reg_status, man_id; in max6642_detect() local 147 reg_status = i2c_smbus_read_byte_data(client, MAX6642_REG_R_STATUS); in max6642_detect() 148 if ((reg_status & 0x2b) != 0x00) in max6642_detect()
|
H A D | max1619.c | 218 u8 reg_config, reg_convrate, reg_status, man_id, chip_id; in max1619_detect() local 226 reg_status = i2c_smbus_read_byte_data(client, MAX1619_REG_R_STATUS); in max1619_detect() 228 || reg_convrate > 0x07 || (reg_status & 0x61) != 0x00) { in max1619_detect()
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-dev-v3.c | 71 return CMD_Q_DEPTH(ioread32(cmd_q->reg_status)); in ccp_get_free_slots() 339 cmd_q->q_status = ioread32(cmd_q->reg_status); in ccp_irq_bh() 412 cmd_q->reg_status = ccp->io_regs + CMD_Q_STATUS_BASE + in ccp_init() 447 ioread32(cmd_q->reg_status); in ccp_init() 538 ioread32(cmd_q->reg_status); in ccp_destroy()
|
H A D | ccp-dev-v5.c | 749 cmd_q->q_status = ioread32(cmd_q->reg_status); in ccp5_irq_bh() 852 cmd_q->reg_status = cmd_q->reg_control + CMD5_Q_STATUS_BASE; in ccp5_init() 882 ioread32(cmd_q->reg_status); in ccp5_init() 1040 ioread32(cmd_q->reg_status); in ccp5_destroy()
|
H A D | ccp-dev.h | 311 void __iomem *reg_status; member
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-mmp.c | 42 void __iomem *reg_status; member 171 status = readl_relaxed(data->reg_status) & ~mask; in icu_mux_irq_demux() 387 icu_data[i].reg_status = mmp_icu_base + reg[0]; in mmp2_mux_of_init()
|
H A D | irq-bcm6345-l1.c | 100 static inline unsigned int reg_status(struct bcm6345_l1_chip *intc, in reg_status() function 130 pending = __raw_readl(cpu->map_base + reg_status(intc, idx)); in bcm6345_l1_irq_handle()
|
H A D | irq-bcm7038-l1.c | 79 static inline unsigned int reg_status(struct bcm7038_l1_chip *intc, in reg_status() function 140 pending = l1_readl(cpu->map_base + reg_status(intc, idx)) & in bcm7038_l1_irq_handle()
|
/openbmc/linux/drivers/iio/magnetometer/ |
H A D | mmc35240.c | 264 unsigned int reg_status; in mmc35240_take_measurement() local 273 ®_status); in mmc35240_take_measurement() 276 if (reg_status & MMC35240_STATUS_MEAS_DONE_BIT) in mmc35240_take_measurement()
|
/openbmc/linux/drivers/iio/temperature/ |
H A D | mlx90632.c | 334 unsigned int reg_status; in mlx90632_perform_measurement() local 342 ret = regmap_read_poll_timeout(data->regmap, MLX90632_REG_STATUS, reg_status, in mlx90632_perform_measurement() 343 !(reg_status & MLX90632_STAT_DATA_RDY), 10000, in mlx90632_perform_measurement() 351 return (reg_status & MLX90632_STAT_CYCLE_POS) >> 2; in mlx90632_perform_measurement() 365 unsigned int reg_status; in mlx90632_perform_measurement_burst() local 380 reg_status, in mlx90632_perform_measurement_burst() 381 (reg_status & MLX90632_STAT_BUSY) == 0, in mlx90632_perform_measurement_burst()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | low_i2c.c | 127 reg_status, enumerator 261 ack = kw_read_reg(reg_status); in kw_i2c_handle_interrupt() 263 kw_write_reg(reg_status, 0); in kw_i2c_handle_interrupt() 272 ack = kw_read_reg(reg_status); in kw_i2c_handle_interrupt() 308 ack = kw_read_reg(reg_status); in kw_i2c_handle_interrupt() 427 kw_write_reg(reg_status, 0); in kw_i2c_xfer()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | goku_udc.h | 219 u32 __iomem *reg_status; member
|
/openbmc/linux/drivers/soc/ti/ |
H A D | knav_qmss.h | 144 void __iomem *reg_status; member
|
H A D | knav_qmss_queue.c | 1425 qmgr->reg_status = in knav_queue_init_qmgrs() 1455 (IS_ERR(qmgr->reg_status) || IS_ERR(qmgr->reg_pop))) || in knav_queue_init_qmgrs() 1460 if (!IS_ERR(qmgr->reg_status)) in knav_queue_init_qmgrs() 1461 devm_iounmap(dev, qmgr->reg_status); in knav_queue_init_qmgrs() 1484 qmgr->reg_peek, qmgr->reg_status, in knav_queue_init_qmgrs()
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz_ptp.c | 1007 ret = ksz_read16(dev, ptpirq->reg_status, &data); in ksz_ptp_irq_thread_fn() 1012 ret = ksz_write16(dev, ptpirq->reg_status, data); in ksz_ptp_irq_thread_fn() 1133 ptpirq->reg_status = ops->get_port_addr(p, in ksz_ptp_irq_setup()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | cyapa.h | 277 int (*state_parse)(struct cyapa *cyapa, u8 *reg_status, int len);
|