Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-microchip-core-qspi.c93 #define REG_STATUS (0x10) macro
178 while (readl_relaxed(qspi->regs + REG_STATUS) & STATUS_RXFIFOEMPTY) in mchp_coreqspi_read_op()
190 while (readl_relaxed(qspi->regs + REG_STATUS) & STATUS_RXFIFOEMPTY) in mchp_coreqspi_read_op()
206 while (readl_relaxed(qspi->regs + REG_STATUS) & STATUS_TXFIFOFULL) in mchp_coreqspi_write_op()
218 while (readl_relaxed(qspi->regs + REG_STATUS) & STATUS_TXFIFOFULL) in mchp_coreqspi_write_op()
243 int intfield = readl_relaxed(qspi->regs + REG_STATUS) & STATUS_MASK; in mchp_coreqspi_isr()
249 writel_relaxed(IEN_TXDONE, qspi->regs + REG_STATUS); in mchp_coreqspi_isr()
254 writel_relaxed(IEN_RXAVAILABLE, qspi->regs + REG_STATUS); in mchp_coreqspi_isr()
260 writel_relaxed(IEN_RXDONE, qspi->regs + REG_STATUS); in mchp_coreqspi_isr()
376 ret = readl_poll_timeout(qspi->regs + REG_STATUS, status, in mchp_qspi_wait_for_ready()
H A Dspi-microchip-core.c79 #define REG_STATUS (0x08) macro
138 …while (spi->rx_len >= spi->n_bytes && !(mchp_corespi_read(spi, REG_STATUS) & STATUS_RXFIFO_EMPTY))… in mchp_corespi_read_fifo()
221 while ((i < fifo_max) && !(mchp_corespi_read(spi, REG_STATUS) & STATUS_TXFIFO_FULL)) { in mchp_corespi_write_fifo()
H A Dspi-meson-spifc.c26 #define REG_STATUS 0x10 macro
/linux/drivers/hwmon/
H A Dmax31760.c23 #define REG_STATUS 0x5A macro
91 ret = regmap_read(state->regmap, REG_STATUS, &regval); in max31760_read()
99 ret = regmap_read(state->regmap, REG_STATUS, &regval); in max31760_read()
110 ret = regmap_read(state->regmap, REG_STATUS, &regval); in max31760_read()
153 ret = regmap_read(state->regmap, REG_STATUS, &regval); in max31760_read()
/linux/drivers/net/ethernet/seeq/
H A Dether3.c122 while ((ether3_inw(REG_STATUS) & STAT_FIFOEMPTY) == 0) { in ether3_setbuffer()
328 while (ether3_inw(REG_STATUS) & (STAT_RXON|STAT_TXON)) in ether3_init_for_open()
422 while (ether3_inw(REG_STATUS) & (STAT_RXON|STAT_TXON)) in ether3_close()
462 ether3_inw(REG_STATUS), ether3_inw(REG_CONFIG1), ether3_inw(REG_CONFIG2)); in ether3_timeout()
529 if (!(ether3_inw(REG_STATUS) & STAT_TXON)) { in ether3_sendpacket()
557 status = ether3_inw(REG_STATUS); in ether3_interrupt()
673 if (!(ether3_inw(REG_STATUS) & STAT_RXON)) { in ether3_rx()
H A Dether3.h44 #define REG_STATUS (priv(dev)->seeq + 0x0000) macro
/linux/drivers/media/dvb-frontends/
H A Dlgs8gl5.c38 #define REG_STATUS 0xa4 macro
205 val = lgs8gl5_read_reg(state, REG_STATUS); in lgs8gl5_start_demod()
244 u8 flags = lgs8gl5_read_reg(state, REG_STATUS); in lgs8gl5_read_status()
/linux/drivers/media/spi/
H A Dgs1662.c26 #define REG_STATUS 0x04 macro
311 gs_read_register(gs->pdev, REG_STATUS, &reg_value); in gs_query_dv_timings()
384 ret = gs_read_register(gs->pdev, REG_STATUS, &reg_value); in gs_g_input_status()
/linux/drivers/media/tuners/
H A Dmax2165_priv.h28 #define REG_STATUS 0x11 macro
H A Dmax2165.c226 max2165_read_reg(priv, REG_STATUS, &status); in max2165_debug_status()
/linux/drivers/mmc/host/
H A Dmoxart-mmc.c46 #define REG_STATUS 40 macro
187 *status = readl(host->base + REG_STATUS); in moxart_wait_for_status()
406 if (readl(host->base + REG_STATUS) & CARD_DETECT) { in moxart_request()
468 status = readl(host->base + REG_STATUS); in moxart_irq()
539 return !!(readl(host->base + REG_STATUS) & WRITE_PROT); in moxart_get_ro()
/linux/drivers/net/usb/
H A Dnet1080.c87 #define REG_STATUS ((u8)0x11) macro
267 if ((retval = nc_register_read(dev, REG_STATUS, &vp)) < 0) { in net1080_reset()
310 retval = nc_register_read(dev, REG_STATUS, &vp); in net1080_check_connect()
/linux/drivers/pwm/
H A Dpwm-vt8500.c32 #define REG_STATUS 0x40 macro
64 while ((readl(vt8500->base + REG_STATUS) & mask) && --loops) in vt8500_pwm_busy_wait()
/linux/drivers/input/touchscreen/
H A Dst1232.c29 #define REG_STATUS 0x01 /* Device Status | Error Code */ macro
96 error = st1232_ts_read_data(ts, REG_STATUS, 1); in st1232_ts_wait_ready()
/linux/drivers/extcon/
H A Dextcon-lc824206xa.c38 #define REG_STATUS 0x01 macro
251 status = lc824206xa_read_reg(data, REG_STATUS); in lc824206xa_work()
/linux/drivers/power/supply/
H A Dsbs-battery.c37 REG_STATUS, enumerator
133 [REG_STATUS] =
586 ret = sbs_read_word_data(client, sbs_data[REG_STATUS].addr); in sbs_get_battery_presence_and_health()
1079 ret = sbs_read_word_data(chip->client, sbs_data[REG_STATUS].addr); in sbs_delayed_work()
/linux/drivers/crypto/qce/
H A Dregs-v5.h12 #define REG_STATUS 0x100 macro
H A Dcommon.c89 qce_write(qce, REG_STATUS, 0); in qce_setup_config()
571 *status = qce_read(qce, REG_STATUS); in qce_check_status()
/linux/drivers/media/i2c/s5c73m3/
H A Ds5c73m3.h72 #define REG_STATUS S5C73M3_REG(0x0009, 0x5080) macro
H A Ds5c73m3-core.c246 ret = s5c73m3_read(state, REG_STATUS, &status); in s5c73m3_check_status()
291 return s5c73m3_write(state, REG_STATUS, 0x0001); in s5c73m3_isp_command()
/linux/sound/soc/apple/
H A Dmca.c47 #define REG_STATUS 0x0 macro
290 mca_modify(cl, REG_STATUS, STATUS_MCLK_EN, STATUS_MCLK_EN); in mca_fe_enable_clocks()
298 mca_modify(cl, REG_STATUS, STATUS_MCLK_EN, 0); in mca_fe_disable_clocks()
/linux/include/linux/mtd/
H A Dspinand.h160 #define REG_STATUS 0xc0 macro
/linux/drivers/ata/pata_parport/
H A Dbpck6.c34 #define REG_STATUS 0x00 // status register macro
/linux/drivers/usb/storage/
H A Disd200.c143 #define REG_STATUS 0x80 macro
501 REG_STATUS | REG_ERROR; in isd200_action()
/linux/drivers/mtd/nand/spi/
H A Dcore.c48 return spinand_read_reg_op(spinand, REG_STATUS, status); in spinand_read_status()
539 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(REG_STATUS, in spinand_wait()