Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 25 of 25) sorted by relevance

/u-boot/include/
A Dlibata.h371 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 Dspi_flash.h171 bool prot) in spi_flash_protect() argument
176 if (prot) in spi_flash_protect()
A Dnet.h615 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 Dflash.h109 extern int flash_real_protect(flash_info_t *info, long sector, int prot);
/u-boot/common/
A Dupdate.c104 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 Dspl.c26 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 Dflash.c183 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 Deflash.c153 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 Dflash.c136 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 Dpic32_flash.c113 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 Dst_smi.c535 int prot = 0; in flash_erase() local
545 prot++; in flash_erase()
547 if (prot) { in flash_erase()
549 prot); in flash_erase()
A Dcfi_flash.c1066 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 Dftpci100.h17 unsigned int prot; /* 0x04 - AHB Protection */ member
/u-boot/tools/
A Dkwboot.c573 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 Dsf.c360 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 Dnet.c1428 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 Dsata_sil.h57 __le16 prot; member
A Dsata_sil.c259 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 DREADME44 e) turn off write protect with "prot off all"
/u-boot/board/freescale/m53017evb/
A DREADME167 prog=prot off 0 3ffff;era 0 3ffff;cp.b ${loadaddr} 0 ${filesize};save
/u-boot/board/freescale/m52277evb/
A DREADME158 prog=prot off 0 3ffff;era 0 3ffff;cp.b ${loadaddr} 0 ${filesize};save
/u-boot/board/freescale/m547xevb/
A DREADME191 prog=prot off bank 1;era ff800000 ff82ffff;cp.b ${loadaddr} ff800000 ${filesize};save
/u-boot/board/sbc8548/
A DREADME179 write prot.
/u-boot/board/freescale/m5373evb/
A DREADME166 prog=prot off 0 2ffff;era 0 2ffff;cp.b ${loadaddr} 0 ${filesize};save
/u-boot/board/freescale/m54455evb/
A DREADME238 prog=prot off 0 2ffff;era 0 2ffff;cp.b ${loadaddr} 0 ${filesize};save

Completed in 55 milliseconds