Home
last modified time | relevance | path

Searched refs:reg_status (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/drivers/reset/starfive/
Dreset-starfive-jh71x0.c39 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()
/linux-6.6.21/drivers/input/misc/
Dtps65218-pwrbutton.c23 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, &reg); in tps6521x_pb_irq()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dpsp_v13_0.c603 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()
Dpsp_v11_0.c592 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()
Dvi.c1058 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()
/linux-6.6.21/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c91 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()
/linux-6.6.21/drivers/usb/typec/tcpm/
Dtcpci_maxim_core.c272 u8 reg_status; in _max_tcpci_irq() local
299 ret = max_tcpci_read8(chip, TCPC_ALERT_EXTENDED, &reg_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 *)&reg_status); in _max_tcpci_irq()
315 if (ret >= 0 && (reg_status & TCPC_EXTENDED_STATUS_VSAFE0V)) in _max_tcpci_irq()
/linux-6.6.21/drivers/hwmon/
Dmax6642.c116 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()
Dmax1619.c218 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()
/linux-6.6.21/drivers/crypto/ccp/
Dccp-dev-v3.c71 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()
Dccp-dev-v5.c749 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()
Dccp-dev.h311 void __iomem *reg_status; member
/linux-6.6.21/drivers/irqchip/
Dirq-mmp.c42 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()
Dirq-bcm6345-l1.c100 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()
Dirq-bcm7038-l1.c79 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()
/linux-6.6.21/drivers/iio/magnetometer/
Dmmc35240.c264 unsigned int reg_status; in mmc35240_take_measurement() local
273 &reg_status); in mmc35240_take_measurement()
276 if (reg_status & MMC35240_STATUS_MEAS_DONE_BIT) in mmc35240_take_measurement()
/linux-6.6.21/drivers/iio/temperature/
Dmlx90632.c334 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()
/linux-6.6.21/arch/powerpc/platforms/powermac/
Dlow_i2c.c127 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()
/linux-6.6.21/drivers/usb/gadget/udc/
Dgoku_udc.h219 u32 __iomem *reg_status; member
Dgoku_udc.c119 if ((readl(ep->reg_status) & EPxSTATUS_EP_MASK) in goku_ep_enable()
920 readl(ep->reg_status); in goku_set_halt()
1205 tmp = readl(ep->reg_status); in udc_proc_read()
1271 ep->reg_status = &dev->regs->ep_status [i]; in udc_reinit()
/linux-6.6.21/drivers/soc/ti/
Dknav_qmss_queue.c1425 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()
Dknav_qmss.h144 void __iomem *reg_status; member
/linux-6.6.21/drivers/net/dsa/microchip/
Dksz_ptp.c1010 ret = ksz_read16(dev, ptpirq->reg_status, &data); in ksz_ptp_irq_thread_fn()
1015 ret = ksz_write16(dev, ptpirq->reg_status, data); in ksz_ptp_irq_thread_fn()
1136 ptpirq->reg_status = ops->get_port_addr(p, in ksz_ptp_irq_setup()
Dksz_common.h88 u16 reg_status; member
/linux-6.6.21/drivers/input/mouse/
Dcyapa.h277 int (*state_parse)(struct cyapa *cyapa, u8 *reg_status, int len);

12