| /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 | 194 bool prot) in spi_flash_protect() argument 199 if (prot) in spi_flash_protect()
|
| A D | net.h | 563 int net_set_ether(uchar *xet, const uchar *dest_ethaddr, uint prot); 564 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot);
|
| A D | flash.h | 107 extern int flash_real_protect(flash_info_t *info, long sector, int prot);
|
| /u-boot/drivers/spi/ |
| A D | spi-sn-f-ospi.c | 267 u32 prot = 0, val; in f_ospi_config_indir_protocol() local 274 prot |= FIELD_PREP(OSPI_PROT_MODE_CODE_MASK, mode); in f_ospi_config_indir_protocol() 277 prot |= FIELD_PREP(OSPI_PROT_MODE_ADDR_MASK, mode); in f_ospi_config_indir_protocol() 280 prot |= FIELD_PREP(OSPI_PROT_MODE_DATA_MASK, mode); in f_ospi_config_indir_protocol() 288 prot |= OSPI_PROT_BIT_POS_DATA | OSPI_PROT_BIT_POS_ALT in f_ospi_config_indir_protocol() 292 prot |= OSPI_PROT_SAMP_EDGE; in f_ospi_config_indir_protocol() 309 prot |= FIELD_PREP(OSPI_PROT_DATA_UNIT_MASK, unit); in f_ospi_config_indir_protocol() 313 prot |= OSPI_PROT_DATA_EN; in f_ospi_config_indir_protocol() 317 prot |= OSPI_PROT_TRANS_DIR_WRITE | OSPI_PROT_DATA_EN; in f_ospi_config_indir_protocol() 321 prot |= OSPI_PROT_TRANS_DIR_WRITE; in f_ospi_config_indir_protocol() [all …]
|
| /u-boot/common/ |
| A D | update.c | 82 static int update_flash_protect(int prot, ulong addr_first, ulong addr_last) in update_flash_protect() argument 91 if (prot == 0) { in update_flash_protect() 123 if (prot == 0) { in update_flash_protect() 133 if (flash_real_protect(info, i, prot)) in update_flash_protect() 136 info->protect[i] = prot; in update_flash_protect() 144 prot ? "": "Un-", cnt); in update_flash_protect() 148 if((prot == 1) && saved_prot_info) in update_flash_protect()
|
| /u-boot/board/freescale/m5253demo/ |
| A D | flash.c | 167 int flag, prot, sect, count; in flash_erase() local 192 prot = 0; in flash_erase() 195 prot++; in flash_erase() 199 if (prot) in flash_erase() 201 prot); in flash_erase() 210 if (prot == 0) { in flash_erase() 246 } else if (prot == CFG_SYS_SST_SECT) { in flash_erase()
|
| /u-boot/lib/efi_selftest/ |
| A D | efi_selftest_fdt.c | 179 struct riscv_efi_boot_protocol *prot; in get_boot_hartid() local 183 (void **)&prot); in get_boot_hartid() 190 ret = prot->get_boot_hartid(prot, efi_hartid); in get_boot_hartid()
|
| /u-boot/board/kontron/sl28/ |
| A D | spl.c | 29 u32 prot = in_le32(SERDES_LNDGCR0) & LNDGCR0_PROTS_MASK; in fixup_sata_rx_polarity() local 32 if (prot == LNDGCR0_PROTS_SATA) { in fixup_sata_rx_polarity()
|
| /u-boot/arch/arm/mach-at91/arm926ejs/ |
| A D | eflash.c | 154 int flash_real_protect (flash_info_t *info, long sector, int prot) in flash_real_protect() argument 160 debug("protect sector=%ld prot=%d\n", sector, prot); in flash_real_protect() 164 if (!prot) { in flash_real_protect() 171 if (prot) { in flash_real_protect()
|
| /u-boot/lib/efi_loader/ |
| A D | boothart.c | 274 struct riscv_efi_boot_protocol *prot; in prot_get_hart() local 278 (void **)&prot); in prot_get_hart() 286 ret = prot->get_boot_hartid(prot, hartid); in prot_get_hart()
|
| /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/include/environment/pg-wcom/ |
| A D | powerpc.env | 13 newenv=prot off CONFIG_ENV_ADDR +0x40000 &&
|
| /u-boot/include/faraday/ |
| A D | ftpci100.h | 17 unsigned int prot; /* 0x04 - AHB Protection */ member
|
| /u-boot/drivers/mtd/ |
| 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() 1456 prot)) { in cfi_protect_bugfix() 1464 if (prot) in cfi_protect_bugfix() 1493 if (prot) in flash_real_protect() 1505 if (prot) { in flash_real_protect() 1530 if (prot) { in flash_real_protect() [all …]
|
| /u-boot/cmd/ |
| A D | sf.c | 383 bool prot = false; in do_spi_protect() local 399 prot = true; in do_spi_protect() 401 prot = false; in do_spi_protect() 405 ret = spi_flash_protect(flash, start, len, prot); in do_spi_protect()
|
| /u-boot/net/ |
| A D | net.c | 1591 int net_set_ether(uchar *xet, const uchar *dest_ethaddr, uint prot) in net_set_ether() argument 1603 et->et_protlen = htons(prot); in net_set_ether() 1611 vet->vet_type = htons(prot); in net_set_ether() 1616 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot) in net_update_ether() argument 1626 vet->vet_type = htons(prot); in net_update_ether() 1629 et->et_protlen = htons(prot); in net_update_ether() 1634 et802->et_prot = htons(prot); in net_update_ether()
|
| /u-boot/drivers/ata/ |
| A D | sata_sil.h | 53 __le16 prot; member
|
| A D | sata_sil.c | 252 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); in sil_cmd_identify_device() 317 pcmd->prb.prot = cpu_to_le16(PRB_PROT_WRITE); in sil_sata_rw_cmd() 320 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); in sil_sata_rw_cmd() 361 pcmd->prb.prot = cpu_to_le16(PRB_PROT_WRITE); in sil_sata_rw_cmd_ext() 364 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); in sil_sata_rw_cmd_ext()
|
| /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/m5373evb/ |
| A D | README | 166 prog=prot off 0 2ffff;era 0 2ffff;cp.b ${loadaddr} 0 ${filesize};save
|