Searched refs:sr1 (Results 1 – 8 of 8) 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 | 30 u8 sr1; in intel_vga_disable() local 35 sr1 = inb(VGA_SR_DATA); in intel_vga_disable() 36 outb(sr1 | 1 << 5, VGA_SR_DATA); in intel_vga_disable()
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb_con.c | 595 u8 sr1, cr17, pmreg, cr63; in sisusbcon_blank() local 629 sr1 = 0x00; in sisusbcon_blank() 637 sr1 = 0x20; in sisusbcon_blank() 643 sr1 = 0x20; in sisusbcon_blank() 649 sr1 = 0x20; in sisusbcon_blank() 659 sisusb_setidxregandor(sisusb, SISSR, 0x01, ~0x20, sr1); in sisusbcon_blank()
|
/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 | 760 static int spi_nor_write_sr1_and_check(struct spi_nor *nor, u8 sr1) in spi_nor_write_sr1_and_check() argument 764 nor->bouncebuf[0] = sr1; in spi_nor_write_sr1_and_check() 774 if (nor->bouncebuf[0] != sr1) { in spi_nor_write_sr1_and_check() 792 static int spi_nor_write_16bit_sr_and_check(struct spi_nor *nor, u8 sr1) in spi_nor_write_16bit_sr_and_check() argument 825 sr_cr[0] = sr1; in spi_nor_write_16bit_sr_and_check() 835 if (sr1 != sr_cr[0]) { in spi_nor_write_16bit_sr_and_check() 919 int spi_nor_write_sr_and_check(struct spi_nor *nor, u8 sr1) in spi_nor_write_sr_and_check() argument 922 return spi_nor_write_16bit_sr_and_check(nor, sr1); in spi_nor_write_sr_and_check() 924 return spi_nor_write_sr1_and_check(nor, sr1); in spi_nor_write_sr_and_check()
|
D | core.h | 412 int spi_nor_write_sr_and_check(struct spi_nor *nor, u8 sr1);
|
/drivers/tty/serial/ |
D | fsl_lpuart.c | 794 unsigned char sr1 = readb(port->membase + UARTSR1); in lpuart_tx_empty() local 800 if (sr1 & UARTSR1_TC && sfifo & UARTSFIFO_TXEMPT) in lpuart_tx_empty()
|