Home
last modified time | relevance | path

Searched refs:rd_reg (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-twl.c435 u8 rd_reg; in twl_rtc_interrupt() local
437 res = twl_rtc_read_u8(twl_rtc, &rd_reg, REG_RTC_STATUS_REG); in twl_rtc_interrupt()
446 if (rd_reg & BIT_RTC_STATUS_REG_ALARM_M) in twl_rtc_interrupt()
469 &rd_reg, TWL4030_INT_PWR_ISR1); in twl_rtc_interrupt()
511 u8 rd_reg; in twl_rtc_probe() local
536 ret = twl_rtc_read_u8(twl_rtc, &rd_reg, REG_RTC_STATUS_REG); in twl_rtc_probe()
540 if (rd_reg & BIT_RTC_STATUS_REG_POWER_UP_M) in twl_rtc_probe()
543 if (rd_reg & BIT_RTC_STATUS_REG_ALARM_M) in twl_rtc_probe()
547 ret = twl_rtc_write_u8(twl_rtc, rd_reg, REG_RTC_STATUS_REG); in twl_rtc_probe()
/openbmc/u-boot/drivers/spi/
H A Dcadence_qspi_apb.c535 unsigned int rd_reg; in cadence_qspi_apb_indirect_read_setup() local
560 rd_reg = cmdbuf[0] << CQSPI_REG_RD_INSTR_OPCODE_LSB; in cadence_qspi_apb_indirect_read_setup()
564 rd_reg |= CQSPI_INST_TYPE_QUAD << CQSPI_REG_RD_INSTR_TYPE_DATA_LSB; in cadence_qspi_apb_indirect_read_setup()
576 rd_reg |= (1 << CQSPI_REG_RD_INSTR_MODE_EN_LSB); in cadence_qspi_apb_indirect_read_setup()
589 rd_reg |= (dummy_clk & CQSPI_REG_RD_INSTR_DUMMY_MASK) in cadence_qspi_apb_indirect_read_setup()
593 writel(rd_reg, plat->regbase + CQSPI_REG_RD_INSTR); in cadence_qspi_apb_indirect_read_setup()
/openbmc/linux/drivers/edac/
H A Dpnd2_edac.c89 int (*rd_reg)(int port, int off, int op, void *data, size_t sz, char *name); member
291 ops->rd_reg(port, \
298 ops->rd_reg(regname ## _port, \
1493 .rd_reg = apl_rd_reg,
1508 .rd_reg = dnv_rd_reg,
/openbmc/linux/drivers/tty/serial/
H A Dsamsung_tty.c170 static u32 rd_reg(const struct uart_port *port, u32 reg) in rd_reg() function
781 ch = rd_reg(port, S3C2410_URXH); in s3c24xx_serial_rx_drain_fifo()
1002 unsigned int umstat = rd_reg(port, S3C2410_UMSTAT); in s3c24xx_serial_get_mctrl()
2333 return rd_reg(port, S3C2410_URXH); in s3c24xx_serial_get_poll_char()
2815 ch = rd_reg(&dev->port, S3C2410_URXH); in samsung_early_read()
/openbmc/linux/samples/vfio-mdev/
H A Dmtty.c97 static const char *rd_reg[] = { variable
726 __func__, index, offset, rd_reg[offset], in mdev_access()