/u-boot/include/ |
A D | libata.h | 371 static inline unsigned int ata_prot_flags(u8 prot) in ata_prot_flags() argument 373 switch (prot) { in ata_prot_flags() 392 static inline int ata_is_atapi(u8 prot) in ata_is_atapi() argument 397 static inline int ata_is_nodata(u8 prot) in ata_is_nodata() argument 402 static inline int ata_is_pio(u8 prot) in ata_is_pio() argument 404 return ata_prot_flags(prot) & ATA_PROT_FLAG_PIO; in ata_is_pio() 407 static inline int ata_is_dma(u8 prot) in ata_is_dma() argument 409 return ata_prot_flags(prot) & ATA_PROT_FLAG_DMA; in ata_is_dma() 412 static inline int ata_is_ncq(u8 prot) in ata_is_ncq() argument 414 return ata_prot_flags(prot) & ATA_PROT_FLAG_NCQ; in ata_is_ncq() [all …]
|
A D | spi_flash.h | 171 bool prot) in spi_flash_protect() argument 176 if (prot) in spi_flash_protect()
|
A D | net.h | 615 int net_set_ether(uchar *xet, const uchar *dest_ethaddr, uint prot); 616 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot);
|
A D | flash.h | 109 extern int flash_real_protect(flash_info_t *info, long sector, int prot);
|
/u-boot/common/ |
A D | update.c | 104 static int update_flash_protect(int prot, ulong addr_first, ulong addr_last) in update_flash_protect() argument 113 if (prot == 0) { in update_flash_protect() 145 if (prot == 0) { in update_flash_protect() 155 if (flash_real_protect(info, i, prot)) in update_flash_protect() 158 info->protect[i] = prot; in update_flash_protect() 166 prot ? "": "Un-", cnt); in update_flash_protect() 170 if((prot == 1) && saved_prot_info) in update_flash_protect()
|
/u-boot/board/kontron/sl28/ |
A D | spl.c | 26 u32 prot = in_le32(SERDES_LNDGCR0) & LNDGCR0_PROTS_MASK; in fixup_sata_rx_polarity() local 29 if (prot == LNDGCR0_PROTS_SATA) { in fixup_sata_rx_polarity()
|
/u-boot/board/freescale/m5253demo/ |
A D | flash.c | 183 int flag, prot, sect, count; in flash_erase() local 208 prot = 0; in flash_erase() 211 prot++; in flash_erase() 215 if (prot) in flash_erase() 217 prot); in flash_erase() 226 if (prot == 0) { in flash_erase() 261 } else if (prot == CONFIG_SYS_SST_SECT) { in flash_erase()
|
/u-boot/arch/arm/mach-at91/arm926ejs/ |
A D | eflash.c | 153 int flash_real_protect (flash_info_t *info, long sector, int prot) in flash_real_protect() argument 159 debug("protect sector=%ld prot=%d\n", sector, prot); in flash_real_protect() 163 if (!prot) { in flash_real_protect() 170 if (prot) { in flash_real_protect()
|
/u-boot/board/cobra5272/ |
A D | flash.c | 136 int iflag, cflag, prot, sect; in flash_erase() local 155 prot = 0; in flash_erase() 158 prot++; in flash_erase() 161 if (prot) in flash_erase()
|
/u-boot/drivers/mtd/ |
A D | pic32_flash.c | 113 int prot, sect; in flash_erase() local 127 prot = 0; in flash_erase() 130 prot++; in flash_erase() 133 if (prot) in flash_erase() 135 prot); in flash_erase()
|
A D | st_smi.c | 535 int prot = 0; in flash_erase() local 545 prot++; in flash_erase() 547 if (prot) { in flash_erase() 549 prot); in flash_erase()
|
A D | cfi_flash.c | 1066 int prot; in flash_erase() local 1079 prot = 0; in flash_erase() 1082 prot++; in flash_erase() 1083 if (prot) { in flash_erase() 1085 prot); in flash_erase() 1463 prot)) { in cfi_protect_bugfix() 1471 if (prot) in cfi_protect_bugfix() 1500 if (prot) in flash_real_protect() 1512 if (prot) { in flash_real_protect() 1537 if (prot) { in flash_real_protect() [all …]
|
/u-boot/include/faraday/ |
A D | ftpci100.h | 17 unsigned int prot; /* 0x04 - AHB Protection */ member
|
/u-boot/tools/ |
A D | kwboot.c | 573 kwboot_mmap_image(const char *path, size_t *size, int prot) in kwboot_mmap_image() argument 590 flags = (prot & PROT_WRITE) ? MAP_PRIVATE : MAP_SHARED; in kwboot_mmap_image() 592 img = mmap(NULL, st.st_size, prot, flags, fd, 0); in kwboot_mmap_image() 711 int rv, rc, tty, term, prot, patch; in main() local 807 prot = PROT_READ | (patch ? PROT_WRITE : 0); in main() 809 img = kwboot_mmap_image(imgpath, &size, prot); in main()
|
/u-boot/cmd/ |
A D | sf.c | 360 bool prot = false; in do_spi_protect() local 376 prot = true; in do_spi_protect() 378 prot = false; in do_spi_protect() 382 ret = spi_flash_protect(flash, start, len, prot); in do_spi_protect()
|
/u-boot/net/ |
A D | net.c | 1428 int net_set_ether(uchar *xet, const uchar *dest_ethaddr, uint prot) in net_set_ether() argument 1440 et->et_protlen = htons(prot); in net_set_ether() 1448 vet->vet_type = htons(prot); in net_set_ether() 1453 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot) in net_update_ether() argument 1463 vet->vet_type = htons(prot); in net_update_ether() 1466 et->et_protlen = htons(prot); in net_update_ether() 1471 et802->et_prot = htons(prot); in net_update_ether()
|
/u-boot/drivers/ata/ |
A D | sata_sil.h | 57 __le16 prot; member
|
A D | sata_sil.c | 259 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); in sil_cmd_identify_device() 324 pcmd->prb.prot = cpu_to_le16(PRB_PROT_WRITE); in sil_sata_rw_cmd() 327 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); in sil_sata_rw_cmd() 368 pcmd->prb.prot = cpu_to_le16(PRB_PROT_WRITE); in sil_sata_rw_cmd_ext() 371 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); in sil_sata_rw_cmd_ext()
|
/u-boot/board/sbc8641d/ |
A D | README | 44 e) turn off write protect with "prot off all"
|
/u-boot/board/freescale/m53017evb/ |
A D | README | 167 prog=prot off 0 3ffff;era 0 3ffff;cp.b ${loadaddr} 0 ${filesize};save
|
/u-boot/board/freescale/m52277evb/ |
A D | README | 158 prog=prot off 0 3ffff;era 0 3ffff;cp.b ${loadaddr} 0 ${filesize};save
|
/u-boot/board/freescale/m547xevb/ |
A D | README | 191 prog=prot off bank 1;era ff800000 ff82ffff;cp.b ${loadaddr} ff800000 ${filesize};save
|
/u-boot/board/sbc8548/ |
A D | README | 179 write prot.
|
/u-boot/board/freescale/m5373evb/ |
A D | README | 166 prog=prot off 0 2ffff;era 0 2ffff;cp.b ${loadaddr} 0 ${filesize};save
|
/u-boot/board/freescale/m54455evb/ |
A D | README | 238 prog=prot off 0 2ffff;era 0 2ffff;cp.b ${loadaddr} 0 ${filesize};save
|