| /rk3399_rockchip-uboot/include/ |
| H A D | libata.h | 372 static inline unsigned int ata_prot_flags(u8 prot) in ata_prot_flags() argument 374 switch (prot) { in ata_prot_flags() 393 static inline int ata_is_atapi(u8 prot) in ata_is_atapi() argument 395 return ata_prot_flags(prot) & ATA_PROT_FLAG_ATAPI; in ata_is_atapi() 398 static inline int ata_is_nodata(u8 prot) in ata_is_nodata() argument 400 return !(ata_prot_flags(prot) & ATA_PROT_FLAG_DATA); in ata_is_nodata() 403 static inline int ata_is_pio(u8 prot) in ata_is_pio() argument 405 return ata_prot_flags(prot) & ATA_PROT_FLAG_PIO; in ata_is_pio() 408 static inline int ata_is_dma(u8 prot) in ata_is_dma() argument 410 return ata_prot_flags(prot) & ATA_PROT_FLAG_DMA; in ata_is_dma() [all …]
|
| H A D | spi_flash.h | 185 bool prot) in spi_flash_protect() argument 190 if (prot) in spi_flash_protect()
|
| H A D | net.h | 599 int net_set_ether(uchar *xet, const uchar *dest_ethaddr, uint prot); 600 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot);
|
| H A D | flash.h | 110 extern int flash_real_protect(flash_info_t *info, long sector, int prot);
|
| /rk3399_rockchip-uboot/common/ |
| H A D | update.c | 100 static int update_flash_protect(int prot, ulong addr_first, ulong addr_last) in update_flash_protect() argument 109 if (prot == 0) { in update_flash_protect() 141 if (prot == 0) { in update_flash_protect() 151 if (flash_real_protect(info, i, prot)) in update_flash_protect() 154 info->protect[i] = prot; in update_flash_protect() 162 prot ? "": "Un-", cnt); in update_flash_protect() 166 if((prot == 1) && saved_prot_info) in update_flash_protect()
|
| /rk3399_rockchip-uboot/board/freescale/m5253demo/ |
| H A D | flash.c | 181 int flag, prot, sect, count; in flash_erase() local 206 prot = 0; in flash_erase() 209 prot++; in flash_erase() 213 if (prot) in flash_erase() 215 prot); in flash_erase() 224 if (prot == 0) { in flash_erase() 259 } else if (prot == CONFIG_SYS_SST_SECT) { in flash_erase()
|
| /rk3399_rockchip-uboot/arch/arm/mach-at91/arm926ejs/ |
| H A D | eflash.c | 152 int flash_real_protect (flash_info_t *info, long sector, int prot) in flash_real_protect() argument 158 debug("protect sector=%ld prot=%d\n", sector, prot); in flash_real_protect() 162 if (!prot) { in flash_real_protect() 169 if (prot) { in flash_real_protect()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | mingw_support.c | 25 void *mmap(void *addr, size_t len, int prot, int flags, int fd, int offset) in mmap() argument 31 switch (prot) { in mmap()
|
| H A D | kwboot.c | 567 kwboot_mmap_image(const char *path, size_t *size, int prot) in kwboot_mmap_image() argument 584 flags = (prot & PROT_WRITE) ? MAP_PRIVATE : MAP_SHARED; in kwboot_mmap_image() 586 img = mmap(NULL, st.st_size, prot, flags, fd, 0); in kwboot_mmap_image() 705 int rv, rc, tty, term, prot, patch; in main() local 801 prot = PROT_READ | (patch ? PROT_WRITE : 0); in main() 803 img = kwboot_mmap_image(imgpath, &size, prot); in main()
|
| /rk3399_rockchip-uboot/board/cobra5272/ |
| H A D | flash.c | 132 int iflag, cflag, prot, sect; in flash_erase() local 151 prot = 0; in flash_erase() 154 prot++; in flash_erase() 157 if (prot) in flash_erase()
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | pic32_flash.c | 109 int prot, sect; in flash_erase() local 123 prot = 0; in flash_erase() 126 prot++; in flash_erase() 129 if (prot) in flash_erase() 131 prot); in flash_erase()
|
| H 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()
|
| H A D | cfi_flash.c | 1059 int prot; in flash_erase() local 1072 prot = 0; in flash_erase() 1075 prot++; in flash_erase() 1076 if (prot) { in flash_erase() 1078 prot); in flash_erase() 1446 static int cfi_protect_bugfix(flash_info_t *info, long sector, int prot) in cfi_protect_bugfix() argument 1456 prot)) { in cfi_protect_bugfix() 1464 if (prot) in cfi_protect_bugfix() 1480 int flash_real_protect(flash_info_t *info, long sector, int prot) in flash_real_protect() argument 1488 if (!cfi_protect_bugfix(info, sector, prot)) { in flash_real_protect() [all …]
|
| /rk3399_rockchip-uboot/include/faraday/ |
| H A D | ftpci100.h | 17 unsigned int prot; /* 0x04 - AHB Protection */ member
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | sf.c | 355 bool prot = false; in do_spi_protect() local 371 prot = true; in do_spi_protect() 373 prot = false; in do_spi_protect() 377 ret = spi_flash_protect(flash, start, len, prot); in do_spi_protect()
|
| /rk3399_rockchip-uboot/net/ |
| H A D | net.c | 1390 int net_set_ether(uchar *xet, const uchar *dest_ethaddr, uint prot) in net_set_ether() argument 1402 et->et_protlen = htons(prot); in net_set_ether() 1410 vet->vet_type = htons(prot); in net_set_ether() 1415 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot) in net_update_ether() argument 1425 vet->vet_type = htons(prot); in net_update_ether() 1428 et->et_protlen = htons(prot); in net_update_ether() 1433 et802->et_prot = htons(prot); in net_update_ether()
|
| /rk3399_rockchip-uboot/drivers/ata/ |
| H A D | sata_sil.h | 52 __le16 prot; member
|
| H A D | sata_sil.c | 216 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); in sil_cmd_identify_device() 283 pcmd->prb.prot = cpu_to_le16(PRB_PROT_WRITE); in sil_sata_rw_cmd() 286 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); in sil_sata_rw_cmd() 328 pcmd->prb.prot = cpu_to_le16(PRB_PROT_WRITE); in sil_sata_rw_cmd_ext() 331 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); in sil_sata_rw_cmd_ext()
|
| H A D | sata_dwc.c | 1107 u8 prot = qc->tf.protocol; in ata_qc_issue() local 1109 if (ata_is_ncq(prot)) { in ata_qc_issue()
|
| /rk3399_rockchip-uboot/board/sbc8641d/ |
| H A D | README | 44 e) turn off write protect with "prot off all"
|
| /rk3399_rockchip-uboot/board/freescale/m53017evb/ |
| H A D | README | 168 prog=prot off 0 3ffff;era 0 3ffff;cp.b ${loadaddr} 0 ${filesize};save
|
| /rk3399_rockchip-uboot/board/freescale/m52277evb/ |
| H A D | README | 160 prog=prot off 0 3ffff;era 0 3ffff;cp.b ${loadaddr} 0 ${filesize};save
|
| /rk3399_rockchip-uboot/board/freescale/m547xevb/ |
| H A D | README | 191 prog=prot off bank 1;era ff800000 ff82ffff;cp.b ${loadaddr} ff800000 ${filesize};save
|
| /rk3399_rockchip-uboot/board/sbc8548/ |
| H A D | README | 179 write prot.
|
| /rk3399_rockchip-uboot/board/freescale/m5373evb/ |
| H A D | README | 167 prog=prot off 0 2ffff;era 0 2ffff;cp.b ${loadaddr} 0 ${filesize};save
|