/linux/drivers/spi/ |
H A D | spi-microchip-core-qspi.c | 93 #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 D | spi-microchip-core.c | 79 #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 D | spi-meson-spifc.c | 26 #define REG_STATUS 0x10 macro
|
/linux/drivers/hwmon/ |
H A D | max31760.c | 23 #define REG_STATUS 0x5A macro 91 ret = regmap_read(state->regmap, REG_STATUS, ®val); in max31760_read() 99 ret = regmap_read(state->regmap, REG_STATUS, ®val); in max31760_read() 110 ret = regmap_read(state->regmap, REG_STATUS, ®val); in max31760_read() 153 ret = regmap_read(state->regmap, REG_STATUS, ®val); in max31760_read()
|
/linux/drivers/net/ethernet/seeq/ |
H A D | ether3.c | 122 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 D | ether3.h | 44 #define REG_STATUS (priv(dev)->seeq + 0x0000) macro
|
/linux/drivers/media/dvb-frontends/ |
H A D | lgs8gl5.c | 38 #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 D | gs1662.c | 26 #define REG_STATUS 0x04 macro 311 gs_read_register(gs->pdev, REG_STATUS, ®_value); in gs_query_dv_timings() 384 ret = gs_read_register(gs->pdev, REG_STATUS, ®_value); in gs_g_input_status()
|
/linux/drivers/media/tuners/ |
H A D | max2165_priv.h | 28 #define REG_STATUS 0x11 macro
|
H A D | max2165.c | 226 max2165_read_reg(priv, REG_STATUS, &status); in max2165_debug_status()
|
/linux/drivers/mmc/host/ |
H A D | moxart-mmc.c | 46 #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 D | net1080.c | 87 #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 D | pwm-vt8500.c | 32 #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 D | st1232.c | 29 #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 D | extcon-lc824206xa.c | 38 #define REG_STATUS 0x01 macro 251 status = lc824206xa_read_reg(data, REG_STATUS); in lc824206xa_work()
|
/linux/drivers/power/supply/ |
H A D | sbs-battery.c | 37 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 D | regs-v5.h | 12 #define REG_STATUS 0x100 macro
|
H A D | common.c | 89 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 D | s5c73m3.h | 72 #define REG_STATUS S5C73M3_REG(0x0009, 0x5080) macro
|
H A D | s5c73m3-core.c | 246 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 D | mca.c | 47 #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 D | spinand.h | 160 #define REG_STATUS 0xc0 macro
|
/linux/drivers/ata/pata_parport/ |
H A D | bpck6.c | 34 #define REG_STATUS 0x00 // status register macro
|
/linux/drivers/usb/storage/ |
H A D | isd200.c | 143 #define REG_STATUS 0x80 macro 501 REG_STATUS | REG_ERROR; in isd200_action()
|
/linux/drivers/mtd/nand/spi/ |
H A D | core.c | 48 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()
|