Searched refs:sr1 (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramnv40.c | 75 u8 sr1[2]; in nv40_ram_prog() local 85 sr1[i] = nvkm_rd08(device, 0x0c03c5 + (i * 0x2000)); in nv40_ram_prog() 86 if (!(sr1[i] & 0x20)) in nv40_ram_prog() 112 nvkm_wr08(device, 0x0c03c5 + (i * 0x2000), sr1[i] | 0x20); in nv40_ram_prog() 172 nvkm_wr08(device, 0x0c03c5 + (i * 0x2000), sr1[i]); in nv40_ram_prog()
|
/drivers/gpu/drm/i915/display/ |
D | intel_vga.c | 33 u8 sr1; in intel_vga_disable() local 41 sr1 = inb(VGA_SEQ_D); in intel_vga_disable() 42 outb(sr1 | VGA_SR01_SCREEN_OFF, VGA_SEQ_D); in intel_vga_disable()
|
/drivers/gpu/drm/gma500/ |
D | cdv_device.c | 25 u8 sr1; in cdv_disable_vga() local 31 sr1 = inb(VGA_SR_DATA); in cdv_disable_vga() 32 outb(sr1 | 1<<5, VGA_SR_DATA); in cdv_disable_vga()
|
/drivers/mtd/devices/ |
D | st_spi_fsm.c | 1393 uint8_t sr1, cr1, dyb; in stfsm_s25fl_config() local 1461 stfsm_read_status(fsm, SPINOR_OP_RDSR, &sr1, 1); in stfsm_s25fl_config() 1462 sta_wr = ((uint16_t)cr1 << 8) | sr1; in stfsm_s25fl_config() 1478 uint8_t sr1, sr2; in stfsm_w25q_config() local 1505 stfsm_read_status(fsm, SPINOR_OP_RDSR, &sr1, 1); in stfsm_w25q_config() 1506 sr_wr = ((uint16_t)sr2 << 8) | sr1; in stfsm_w25q_config()
|
/drivers/mtd/spi-nor/ |
D | core.c | 830 static int spi_nor_write_sr1_and_check(struct spi_nor *nor, u8 sr1) in spi_nor_write_sr1_and_check() argument 834 nor->bouncebuf[0] = sr1; in spi_nor_write_sr1_and_check() 844 if (nor->bouncebuf[0] != sr1) { in spi_nor_write_sr1_and_check() 862 static int spi_nor_write_16bit_sr_and_check(struct spi_nor *nor, u8 sr1) in spi_nor_write_16bit_sr_and_check() argument 895 sr_cr[0] = sr1; in spi_nor_write_16bit_sr_and_check() 905 if (sr1 != sr_cr[0]) { in spi_nor_write_16bit_sr_and_check() 989 int spi_nor_write_sr_and_check(struct spi_nor *nor, u8 sr1) in spi_nor_write_sr_and_check() argument 992 return spi_nor_write_16bit_sr_and_check(nor, sr1); in spi_nor_write_sr_and_check() 994 return spi_nor_write_sr1_and_check(nor, sr1); in spi_nor_write_sr_and_check()
|
D | core.h | 676 int spi_nor_write_sr_and_check(struct spi_nor *nor, u8 sr1);
|
/drivers/tty/serial/ |
D | fsl_lpuart.c | 846 unsigned char sr1 = readb(port->membase + UARTSR1); in lpuart_tx_empty() local 852 if (sr1 & UARTSR1_TC && sfifo & UARTSFIFO_TXEMPT) in lpuart_tx_empty()
|