Searched refs:WP (Results 1 - 78 of 78) sorted by relevance

/linux-4.4.14/arch/avr32/include/asm/
H A Docd.h21 * WP Watchpoint
35 #define OCD_BWC0A 0x0058 /* PC BP/WP Control 0A */
36 #define OCD_BWC0B 0x005c /* PC BP/WP Control 0B */
37 #define OCD_BWC1A 0x0060 /* PC BP/WP Control 1A */
38 #define OCD_BWC1B 0x0064 /* PC BP/WP Control 1B */
39 #define OCD_BWC2A 0x0068 /* PC BP/WP Control 2A */
40 #define OCD_BWC2B 0x006c /* PC BP/WP Control 2B */
41 #define OCD_BWC3A 0x0070 /* Data BP/WP Control 3A */
42 #define OCD_BWC3B 0x0074 /* Data BP/WP Control 3B */
43 #define OCD_BWA0A 0x0078 /* PC BP/WP Address 0A */
44 #define OCD_BWA0B 0x007c /* PC BP/WP Address 0B */
45 #define OCD_BWA1A 0x0080 /* PC BP/WP Address 1A */
46 #define OCD_BWA1B 0x0084 /* PC BP/WP Address 1B */
47 #define OCD_BWA2A 0x0088 /* PC BP/WP Address 2A */
48 #define OCD_BWA2B 0x008c /* PC BP/WP Address 2B */
49 #define OCD_BWA3A 0x0090 /* Data BP/WP Address 3A */
50 #define OCD_BWA3B 0x0094 /* Data BP/WP Address 3B */
/linux-4.4.14/include/linux/platform_data/
H A Dmmc-esdhc-imx.h16 ESDHC_WP_NONE, /* no WP, neither controller nor gpio */
17 ESDHC_WP_CONTROLLER, /* mmc controller internal WP */
18 ESDHC_WP_GPIO, /* external gpio pin for WP */
/linux-4.4.14/arch/arm/mach-s3c24xx/
H A Danubis.h18 /* CTRL2 - NAND WP control, IDE Reset assert/check */
H A Dosiris.h17 /* CTRL0 - NAND WP control */
H A Dbast.h25 /* CTRL2 - NAND WP control, IDE Reset assert/check */
/linux-4.4.14/lib/mpi/
H A Dgeneric_mpih-lshift.c32 * and store the USIZE least significant digits of the result at WP.
37 * 2. If the result is to be written over the input, WP must be >= UP.
H A Dgeneric_mpih-rshift.c33 * and store the USIZE least significant limbs of the result at WP.
38 * 2. If the result is to be written over the input, WP must be <= UP.
/linux-4.4.14/drivers/mmc/host/
H A Dsdhci-pci-o2micro.c234 /* Lock WP */ sdhci_pci_o2_probe()
245 /* UnLock WP */ sdhci_pci_o2_probe()
328 /* Lock WP */ sdhci_pci_o2_probe()
338 /* UnLock WP */ sdhci_pci_o2_probe()
374 /* Lock WP */ sdhci_pci_o2_probe()
H A Datmel-mci-regs.h126 # define ATMCI_WP_EN ( 1 << 0) /* WP Enable */
127 # define ATMCI_WP_KEY (0x4d4349 << 8) /* WP Key */
H A Dvia-sdmmc.c115 * WP : SD card Write Protect status
H A Dmmc_spi.c1458 has_ro ? "" : ", no WP", mmc_spi_probe()
H A Dusdhi6rol0.c1124 * level status.WP RO_ACTIVE_HIGH card read-only usdhi6_get_ro()
H A Datmel-mci.c2226 dev_dbg(&mmc->class_dev, "no WP pin available\n"); atmci_init_slot()
/linux-4.4.14/arch/arm/mach-omap1/
H A Dboard-palmz71.c246 /* Set MMC/SD host WP pin as input */ palmz71_gpio_setup()
247 if (gpio_request(PALMZ71_MMC_WP_GPIO, "MMC WP") < 0) { palmz71_gpio_setup()
248 printk(KERN_ERR "Could not reserve WP GPIO!\n"); palmz71_gpio_setup()
H A Dboard-h2.c388 /* MMC: card detect and WP */ h2_init()
390 omap_cfg_reg(BALLOUT_V8_ARMIO3); /* WP */ h2_init()
/linux-4.4.14/arch/arm/mach-imx/devices/
H A Dplatform-sdhci-esdhc-imx.c69 * which means no WP/CD support imx_add_sdhci_esdhc_imx()
/linux-4.4.14/arch/x86/include/asm/uv/
H A Duv_mmrs.h664 unsigned long mmr_write:1; /* WP */
665 unsigned long mmr_read:1; /* WP */
678 unsigned long mmr_write:1; /* WP */
679 unsigned long mmr_read:1; /* WP */
700 unsigned long mmr_write:1; /* WP */
701 unsigned long mmr_read:1; /* WP */
717 unsigned long mmr_write:1; /* WP */
718 unsigned long mmr_read:1; /* WP */
735 unsigned long mmr_write:1; /* WP */
736 unsigned long mmr_read:1; /* WP */
1106 unsigned long mmr_write:1; /* WP */
1107 unsigned long mmr_read:1; /* WP */
1120 unsigned long mmr_write:1; /* WP */
1121 unsigned long mmr_read:1; /* WP */
1142 unsigned long mmr_write:1; /* WP */
1143 unsigned long mmr_read:1; /* WP */
1159 unsigned long mmr_write:1; /* WP */
1160 unsigned long mmr_read:1; /* WP */
1177 unsigned long mmr_write:1; /* WP */
1178 unsigned long mmr_read:1; /* WP */
1444 unsigned long send:1; /* WP */
1941 unsigned long push:1; /* WP */
1942 unsigned long init:1; /* WP */
/linux-4.4.14/arch/sparc/include/asm/
H A Dsfafsr.h71 #define ESTATE_ERR_NCE 0x2 /* TO, BERR, LDP, ETP, EDP, WP, UE, IVUE */
/linux-4.4.14/drivers/mmc/core/
H A Dhost.c196 * Configure CD and WP pins. They are both by default active low to mmc_of_parse()
197 * match the SDHCI spec. If GPIOs are provided for CD and / or WP, the mmc_of_parse()
243 dev_info(host->parent, "Got WP GPIO\n"); mmc_of_parse()
/linux-4.4.14/drivers/bus/
H A Domap_l3_noc.h472 { 0x21, "OCP WP Traffic Probe"},
473 { 0x22, "OCP WP DMA Profiling"},
474 { 0x23, "OCP WP Event Trace"},
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
H A Dhdmi_wp.c265 DSSERR("can't get WP mem resource\n"); hdmi_wp_init()
272 DSSERR("can't ioremap HDMI WP\n"); hdmi_wp_init()
H A Dhdmi.h51 /* HDMI WP IRQ flags */
/linux-4.4.14/drivers/mtd/nand/
H A Dnuc900_nand.c41 #define WP (0x01 << 24) macro
233 val |= WP; nuc900_nand_enable()
H A Dr852.h36 #define R852_CTL_WRITE 0x80 /* set when performing writes (#WP) */
H A Dlpc32xx_mlc.c676 gpio_request(host->ncfg->wp_gpio, "NAND WP")) { lpc32xx_nand_probe()
H A Dlpc32xx_slc.c795 host->ncfg->wp_gpio, "NAND WP")) { lpc32xx_nand_probe()
H A Dnand_base.c476 /* Broken xD cards report WP despite being writable */ nand_check_wp()
480 /* Check the WP bit */ nand_check_wp()
1011 * If we want to check the WP through READ STATUS and check the bit 7 nand_unlock()
1070 * If we want to check the WP through READ STATUS and check the bit 7 nand_lock()
/linux-4.4.14/arch/arm/mach-pxa/
H A Dcsb726.c86 GPIO101_GPIO, /* SD WP */
H A Dcm-x300.c163 GPIO85_GPIO, /* MMC WP */
H A Dem-x270.c575 err = gpio_request(GPIO95_MMC_WP, "MMC WP"); em_x270_mci_init()
/linux-4.4.14/drivers/mfd/
H A Ddm355evm_msp.c119 MSP_GPIO(2, SDMMC), MSP_GPIO(1, SDMMC), /* mmc0 WP, nCD */
120 MSP_GPIO(4, SDMMC), MSP_GPIO(3, SDMMC), /* mmc1 WP, nCD */
/linux-4.4.14/arch/x86/mm/
H A Dpat.c165 case PAT_WP: cache = CM(WP); cache_mode = "WP "; break; pat_get_cache_mode()
263 * NOTE: When WC or WP is used, it is redirected to UC- per pat_init()
289 * NOTE: When WT or WP is used, it is redirected to UC- per pat_init()
410 * WP request fails with -EINVAL, and UC gets redirected to UC-. Setting
H A Dinit_32.c716 * Test if the WP bit works in supervisor mode. It isn't supported on 386's
724 "Checking if this processor honours the WP bit even in supervisor mode..."); test_wp_bit()
733 panic("Linux doesn't support CPUs with broken WP."); test_wp_bit()
/linux-4.4.14/drivers/usb/storage/
H A Ddatafab.c47 * the WP enable bits in datafab_handle_mode_sense(). See the comments
494 ptr[2] = 0x00; // WP enable: 0x80 datafab_handle_mode_sense()
497 ptr[3] = 0x00; // WP enable: 0x80 datafab_handle_mode_sense()
H A Djumpshot.c44 * the WP enable bits in jumpshot_handle_mode_sense. See the comments
418 ptr[2] = 0x00; // WP enable: 0x80 jumpshot_handle_mode_sense()
421 ptr[3] = 0x00; // WP enable: 0x80 jumpshot_handle_mode_sense()
H A Dsddr09.c1114 US_DEBUGPX(" WP"); sddr09_get_wp()
1195 ", WP"); sddr09_get_cardinfo()
1590 sddr09_get_wp(us, info); /* read WP bit */ sddr09_transport()
H A Drealtek_cr.c737 /* SD Exist and SD WP */ fw5895_set_mmc_wp()
/linux-4.4.14/drivers/pinctrl/berlin/
H A Dberlin-bg4ct.c70 BERLIN_PINCTRL_FUNCTION(0x2, "sd1"), /* WP */
143 BERLIN_PINCTRL_FUNCTION(0x1, "sd0"), /* WP */
339 BERLIN_PINCTRL_FUNCTION(0x6, "sd1b")), /* WP */
/linux-4.4.14/drivers/spi/
H A Dspi-falcon.c340 * set some bits of unused_wd, to not trigger HOLD/WP falcon_sflash_setup()
/linux-4.4.14/arch/frv/mm/
H A Dfault.c141 printk("WP fault at %08lx\n", __frame->pc); do_page_fault()
H A Dtlb-miss.S175 # - IAMPR1 has no WP bit, and we mustn't lose WP information
/linux-4.4.14/arch/arm/mach-davinci/
H A Dboard-omapl138-hawk.c162 GPIOF_DIR_IN, "MMC WP"); omapl138_hawk_mmc_init()
H A Dboard-da830-evm.c256 ret = gpio_request(DA830_MMCSD_WP_PIN, "MMC WP"); da830_evm_init_mmc()
H A Dboard-da850-evm.c1388 ret = gpio_request(DA850_MMCSD_WP_PIN, "MMC WP\n"); da850_evm_init()
/linux-4.4.14/drivers/block/
H A Dataflop.c218 unsigned int wpstat; /* current state of WP signal (for
328 /* This flag is set when a dummy seek is necessary to make the WP
1261 /* The (noop) seek operation here is needed to make the WP bit in the
1297 * last seek command, the WP bit still reads wrong :-(( finish_fdc_done()
1338 /* surely changed (the WP signal changed at least once) */ floppy_check_events()
1342 /* WP is on -> could be changed: to be sure, buffers should be floppy_check_events()
1781 /* dummy seek command to make WP bit accessible */ fd_test_drive_present()
/linux-4.4.14/sound/pci/
H A Des1968.c81 * just how to coerce the WP into doing what we want.
1081 /* clear WP interrupts */ snd_es1968_playback_setup()
1083 /* enable WP ints */ snd_es1968_playback_setup()
1209 /* clear WP interrupts */ snd_es1968_capture_setup()
1211 /* enable WP ints */ snd_es1968_capture_setup()
1753 outw(1, chip->io_port + 0x04); /* clear WP interrupts */ es1968_measure_clock()
1754 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); /* enable WP ints */ es1968_measure_clock()
2626 outw(1, chip->io_port + 0x04); /* clear WP interrupts */ snd_es1968_free()
/linux-4.4.14/arch/mn10300/mm/
H A Dfault.c232 printk(KERN_DEBUG "WP fault at %08lx\n", regs->pc); do_page_fault()
/linux-4.4.14/arch/arm/mach-integrator/
H A Dimpd1.c401 * 3 = MMC WP (write protect) impd1_probe()
/linux-4.4.14/drivers/input/mouse/
H A Dsynaptics_usb.c535 { USB_DEVICE_SYNAPTICS(WP, SYNUSB_TOUCHPAD) },
/linux-4.4.14/drivers/firmware/efi/
H A Defi.c624 attr & EFI_MEMORY_WP ? "WP" : "", efi_md_typeattr_format()
/linux-4.4.14/drivers/mtd/nand/brcmnand/
H A Dbrcmnand.c43 * This flag controls if WP stays on between erase/write commands to mitigate
917 dev_dbg(ctrl->dev, "WP %s\n", wp ? "on" : "off"); brcmnand_wp()
1272 if (wp_on) /* hide WP status */ brcmnand_read_byte()
/linux-4.4.14/drivers/rtc/
H A Drtc-ds1305.c646 dev_dbg(&spi->dev, "clear WP --> %d\n", status); ds1305_probe()
/linux-4.4.14/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c111 "No WP", "8x8KiB sectors at top & bottom, no WP", cfi_tell_features()
113 "Uniform, Bottom WP", "Uniform, Top WP" cfi_tell_features()
/linux-4.4.14/drivers/pinctrl/sh-pfc/
H A Dpfc-r8a7740.c2636 /* WP */
2672 /* WP */
2708 /* WP */
2722 /* WP */
H A Dpfc-r8a7779.c2323 /* WP */
2360 /* WP */
2397 /* WP */
2434 /* WP */
H A Dpfc-r8a7790.c3269 /* WP */
3305 /* WP */
3341 /* WP */
3377 /* WP */
H A Dpfc-r8a7791.c3636 /* WP */
3673 /* WP */
3710 /* WP */
H A Dpfc-r8a7794.c2678 /* WP */
2715 /* WP */
2752 /* WP */
H A Dpfc-r8a73a4.c1750 /* WP */
H A Dpfc-sh7757.c1435 GPIO_FN(WP),
H A Dpfc-sh73a0.c2478 /* WP */
/linux-4.4.14/arch/x86/kernel/cpu/mtrr/
H A Dcleanup.c551 ((type == MTRR_TYPE_WRPROT) ? "WP" : print_out_mtrr_range_state()
/linux-4.4.14/arch/x86/kernel/
H A Dhead_32.S447 movl $0x50022,%ecx # set AM, WP, NE and MP
/linux-4.4.14/drivers/target/
H A Dtarget_core_spc.c926 * I believe that the WP bit (bit 7) in the mode header is the same for spc_modesense_write_protect()
933 buf[0] |= 0x80; /* WP bit */ spc_modesense_write_protect()
/linux-4.4.14/drivers/memory/
H A Domap-gpmc.c1048 regval &= ~GPMC_CONFIG_WRITEPROTECT; /* WP is ON */ gpmc_configure()
1050 regval |= GPMC_CONFIG_WRITEPROTECT; /* WP is OFF */ gpmc_configure()
/linux-4.4.14/drivers/media/pci/saa7164/
H A Dsaa7164-core.c603 /* Lookup the WP in the buffer list */ saa7164_irq_ts()
/linux-4.4.14/drivers/pinctrl/
H A Dpinctrl-zynq.c906 * SD WP & CD are special. They have dedicated registers zynq_pinmux_set_mux()
/linux-4.4.14/arch/tile/mm/
H A Dfault.c423 pr_err("WP fault at " REGFMT "\n", regs->eip); handle_page_fault()
/linux-4.4.14/drivers/block/paride/
H A Dpf.c234 int media_status; /* media present ? WP ? */
/linux-4.4.14/include/xen/interface/
H A Dxen.h238 * | rsv | rsv | WP | WC | UC | UC- | WT | WB | <= Xen
/linux-4.4.14/drivers/usb/gadget/function/
H A Df_mass_storage.c1267 buf[2] = (curlun->ro ? 0x80 : 0x00); /* WP, DPOFUA */ do_mode_sense()
1271 buf[3] = (curlun->ro ? 0x80 : 0x00); /* WP, DPOFUA */ do_mode_sense()
/linux-4.4.14/drivers/staging/rts5208/
H A Drtsx_scsi.c700 /* WP */ ms_mode_sense()
708 buf[i++] = 0x00; /* WP */ ms_mode_sense()
H A Dsd.c528 dev_dbg(rtsx_dev(chip), "CSD WP Status: 0x%x\n", rsp[15]); sd_check_csd()
/linux-4.4.14/arch/mips/kernel/
H A Dtraps.c1513 * Clear WP (bit 22) bit of cause register so we don't loop do_watch()
/linux-4.4.14/drivers/scsi/
H A Dsd.c2404 "Test WP failed, assume Write Enabled\n"); sd_read_write_protect_flag()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
H A Dcommands.h3289 * WP - Win Medium Priority: priority assigned when the contention has been won
/linux-4.4.14/arch/x86/kvm/
H A Dsvm.c1081 * svm_set_cr0() sets PG and WP and clears NW and CD on save->cr0. init_vmcb()
H A Dvmx.c1800 * NX is needed to handle CR0.WP=1, CR4.SMEP=1. Testing update_transition_efer()

Completed in 3162 milliseconds