Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/input/misc/
A 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.3-rc2/drivers/reset/
A 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.3-rc2/drivers/irqchip/
A 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()
A 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()
A 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.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Dpsp_v13_0.c556 uint32_t reg_status; in psp_v13_0_load_usbc_pd_fw() local
577 reg_status = RREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_35); in psp_v13_0_load_usbc_pd_fw()
579 if (reg_status & 0x80000000) in psp_v13_0_load_usbc_pd_fw()
587 if ((reg_status & 0xFFFF) != 0) { in psp_v13_0_load_usbc_pd_fw()
589 reg_status & 0xFFFF); in psp_v13_0_load_usbc_pd_fw()
613 uint32_t reg_status = 0, reg_val = 0; in psp_v13_0_exec_spi_cmd() local
634 reg_status = RREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_115); in psp_v13_0_exec_spi_cmd()
635 if ((reg_status & 0xFFFF) != 0) { in psp_v13_0_exec_spi_cmd()
637 cmd, reg_status & 0xFFFF); in psp_v13_0_exec_spi_cmd()
A 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()
A 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.3-rc2/drivers/crypto/rockchip/
A Drk3288_crypto_ahash.c85 int reg_status; in rk_ahash_reg_init() local
87 reg_status = CRYPTO_READ(dev, RK_CRYPTO_CTRL) | in rk_ahash_reg_init()
89 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, reg_status); in rk_ahash_reg_init()
91 reg_status = CRYPTO_READ(dev, RK_CRYPTO_CTRL); in rk_ahash_reg_init()
92 reg_status &= (~RK_CRYPTO_HASH_FLUSH); in rk_ahash_reg_init()
93 reg_status |= _SBF(0xffff, 16); in rk_ahash_reg_init()
94 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, reg_status); in rk_ahash_reg_init()
/linux-6.3-rc2/drivers/usb/typec/tcpm/
A 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.3-rc2/drivers/hwmon/
A 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()
A 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.3-rc2/drivers/crypto/ccp/
A 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()
A 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()
A Dccp-dev.h311 void __iomem *reg_status; member
/linux-6.3-rc2/drivers/iio/magnetometer/
A 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.3-rc2/drivers/iio/temperature/
A 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.3-rc2/arch/powerpc/platforms/powermac/
A 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.3-rc2/drivers/usb/gadget/udc/
A Dgoku_udc.h219 u32 __iomem *reg_status; member
A 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.3-rc2/drivers/soc/ti/
A 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()
A Dknav_qmss.h144 void __iomem *reg_status; member
/linux-6.3-rc2/drivers/net/dsa/microchip/
A 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()
A Dksz_common.h81 u16 reg_status; member
/linux-6.3-rc2/drivers/input/mouse/
A Dcyapa.h277 int (*state_parse)(struct cyapa *cyapa, u8 *reg_status, int len);

Completed in 78 milliseconds

12