Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/reset/
Dreset-starfive-jh7100.c71 void __iomem *reg_status = data->base + JH7100_RESET_STATUS0 + offset * sizeof(u64); in jh7100_reset_update() local
90 ret = readq_poll_timeout_atomic(reg_status, value, (value & mask) == done, 0, 1000); in jh7100_reset_update()
126 void __iomem *reg_status = data->base + JH7100_RESET_STATUS0 + offset * sizeof(u64); in jh7100_reset_status() local
127 u64 value = readq(reg_status); in jh7100_reset_status()
/linux-6.1.9/drivers/irqchip/
Dirq-mmp.c42 void __iomem *reg_status; member
171 status = readl_relaxed(data->reg_status) & ~mask; in icu_mux_irq_demux()
285 icu_data[1].reg_status = mmp_icu_base + 0x150; in mmp2_init_icu()
297 icu_data[2].reg_status = mmp_icu_base + 0x154; in mmp2_init_icu()
306 icu_data[3].reg_status = mmp_icu_base + 0x180; in mmp2_init_icu()
315 icu_data[4].reg_status = mmp_icu_base + 0x158; in mmp2_init_icu()
324 icu_data[5].reg_status = mmp_icu_base + 0x15c; in mmp2_init_icu()
333 icu_data[6].reg_status = mmp_icu_base + 0x160; in mmp2_init_icu()
342 icu_data[7].reg_status = mmp_icu_base + 0x188; in mmp2_init_icu()
513 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
136 pending = __raw_readl(cpu->map_base + reg_status(intc, idx)); in bcm6345_l1_irq_handle()
Dirq-bcm7038-l1.c80 static inline unsigned int reg_status(struct bcm7038_l1_chip *intc, in reg_status() function
141 pending = l1_readl(cpu->map_base + reg_status(intc, idx)) & in bcm7038_l1_irq_handle()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dpsp_v13_0.c595 uint32_t reg_status; in psp_v13_0_load_usbc_pd_fw() local
616 reg_status = RREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_35); in psp_v13_0_load_usbc_pd_fw()
618 if (reg_status & 0x80000000) in psp_v13_0_load_usbc_pd_fw()
626 if ((reg_status & 0xFFFF) != 0) { in psp_v13_0_load_usbc_pd_fw()
628 reg_status & 0xFFFF); in psp_v13_0_load_usbc_pd_fw()
652 uint32_t reg_status = 0, reg_val = 0; in psp_v13_0_exec_spi_cmd() local
673 reg_status = RREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_115); in psp_v13_0_exec_spi_cmd()
674 if ((reg_status & 0xFFFF) != 0) { in psp_v13_0_exec_spi_cmd()
676 cmd, reg_status & 0xFFFF); in psp_v13_0_exec_spi_cmd()
Dpsp_v11_0.c721 uint32_t reg_status; in psp_v11_0_load_usbc_pd_fw() local
742 reg_status = RREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_35); in psp_v11_0_load_usbc_pd_fw()
744 if (reg_status & 0x80000000) in psp_v11_0_load_usbc_pd_fw()
752 if ((reg_status & 0xFFFF) != 0) { in psp_v11_0_load_usbc_pd_fw()
754 reg_status & 0xFFFF); in psp_v11_0_load_usbc_pd_fw()
Dvi.c1060 u32 reg_status; in vi_set_vce_clocks() local
1066 reg_status = ixGNB_CLK3_STATUS; in vi_set_vce_clocks()
1071 reg_status = ixCG_ECLK_STATUS; in vi_set_vce_clocks()
1083 if (RREG32_SMC(reg_status) & status_mask) in vi_set_vce_clocks()
1097 if (RREG32_SMC(reg_status) & status_mask) in vi_set_vce_clocks()
/linux-6.1.9/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c82 int reg_status; in rk_ahash_reg_init() local
84 reg_status = CRYPTO_READ(dev, RK_CRYPTO_CTRL) | in rk_ahash_reg_init()
86 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, reg_status); in rk_ahash_reg_init()
88 reg_status = CRYPTO_READ(dev, RK_CRYPTO_CTRL); in rk_ahash_reg_init()
89 reg_status &= (~RK_CRYPTO_HASH_FLUSH); in rk_ahash_reg_init()
90 reg_status |= _SBF(0xffff, 16); in rk_ahash_reg_init()
91 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, reg_status); in rk_ahash_reg_init()
/linux-6.1.9/drivers/usb/typec/tcpm/
Dtcpci_maxim.c298 u8 reg_status; in _max_tcpci_irq() local
325 ret = max_tcpci_read8(chip, TCPC_ALERT_EXTENDED, &reg_status); in _max_tcpci_irq()
329 ret = max_tcpci_write8(chip, TCPC_ALERT_EXTENDED, reg_status); in _max_tcpci_irq()
333 if (reg_status & TCPC_SINK_FAST_ROLE_SWAP) { in _max_tcpci_irq()
340 ret = max_tcpci_read8(chip, TCPC_EXTENDED_STATUS, (u8 *)&reg_status); in _max_tcpci_irq()
341 if (ret >= 0 && (reg_status & TCPC_EXTENDED_STATUS_VSAFE0V)) in _max_tcpci_irq()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/iio/temperature/
Dmlx90632.c232 unsigned int reg_status; in mlx90632_perform_measurement() local
240 ret = regmap_read_poll_timeout(data->regmap, MLX90632_REG_STATUS, reg_status, in mlx90632_perform_measurement()
241 !(reg_status & MLX90632_STAT_DATA_RDY), 10000, in mlx90632_perform_measurement()
249 return (reg_status & MLX90632_STAT_CYCLE_POS) >> 2; in mlx90632_perform_measurement()
/linux-6.1.9/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.1.9/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.1.9/drivers/input/mouse/
Dcyapa.h277 int (*state_parse)(struct cyapa *cyapa, u8 *reg_status, int len);
/linux-6.1.9/drivers/net/dsa/microchip/
Dksz_common.h76 u16 reg_status; member
Dksz_common.c1855 ret = ksz_read8(dev, kirq->reg_status, &data); in ksz_irq_thread_fn()
1904 girq->reg_status = REG_SW_PORT_INT_STATUS__1; in ksz_girq_setup()
1918 pirq->reg_status = dev->dev_ops->get_port_addr(p, REG_PORT_INT_STATUS); in ksz_pirq_setup()