/u-boot/board/kontron/sl28/ |
H A D | spl.c | 29 u32 prot = in_le32(SERDES_LNDGCR0) & LNDGCR0_PROTS_MASK; local 32 if (prot == LNDGCR0_PROTS_SATA) {
|
/u-boot/include/ |
H A D | libata.h | 370 static inline unsigned int ata_prot_flags(u8 prot) argument 372 switch (prot) { 391 static inline int ata_is_atapi(u8 prot) argument 393 return ata_prot_flags(prot) & ATA_PROT_FLAG_ATAPI; 396 static inline int ata_is_nodata(u8 prot) argument 398 return !(ata_prot_flags(prot) & ATA_PROT_FLAG_DATA); 401 static inline int ata_is_pio(u8 prot) argument 403 return ata_prot_flags(prot) & ATA_PROT_FLAG_PIO; 406 static inline int ata_is_dma(u8 prot) argument 408 return ata_prot_flags(prot) 411 ata_is_ncq(u8 prot) argument 416 ata_is_data(u8 prot) argument [all...] |
H A D | spi_flash.h | 194 bool prot) 199 if (prot) 193 spi_flash_protect(struct spi_flash *flash, u32 ofs, u32 len, bool prot) argument
|
H A D | net.h | 571 int net_set_ether(uchar *xet, const uchar *dest_ethaddr, uint prot); 572 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot);
|
H A D | flash.h | 107 extern int flash_real_protect(flash_info_t *info, long sector, int prot);
|
/u-boot/common/ |
H A D | update.c | 83 static int update_flash_protect(int prot, ulong addr_first, ulong addr_last) argument 92 if (prot == 0) { 124 if (prot == 0) { 134 if (flash_real_protect(info, i, prot)) 137 info->protect[i] = prot; 145 prot ? "": "Un-", cnt); 149 if((prot == 1) && saved_prot_info)
|
/u-boot/drivers/spi/ |
H A D | spi-sn-f-ospi.c | 267 u32 prot = 0, val; local 274 prot |= FIELD_PREP(OSPI_PROT_MODE_CODE_MASK, mode); 277 prot |= FIELD_PREP(OSPI_PROT_MODE_ADDR_MASK, mode); 280 prot |= FIELD_PREP(OSPI_PROT_MODE_DATA_MASK, mode); 282 prot |= FIELD_PREP(OSPI_PROT_DATA_RATE_DATA, OSPI_PROT_SDR); 283 prot |= FIELD_PREP(OSPI_PROT_DATA_RATE_ALT, OSPI_PROT_SDR); 284 prot |= FIELD_PREP(OSPI_PROT_DATA_RATE_ADDR, OSPI_PROT_SDR); 285 prot |= FIELD_PREP(OSPI_PROT_DATA_RATE_CODE, OSPI_PROT_SDR); 288 prot |= OSPI_PROT_BIT_POS_DATA | OSPI_PROT_BIT_POS_ALT 292 prot | [all...] |
/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_fdt.c | 179 struct riscv_efi_boot_protocol *prot; local 183 (void **)&prot); 190 ret = prot->get_boot_hartid(prot, efi_hartid); 256 efi_st_error("boot-hartid differs: prot 0x%p, DT 0x%.8x\n",
|
/u-boot/board/freescale/m5253demo/ |
H A D | flash.c | 167 int flag, prot, sect, count; local 192 prot = 0; 195 prot++; 199 if (prot) 201 prot); 210 if (prot == 0) { 246 } else if (prot == CFG_SYS_SST_SECT) {
|
/u-boot/arch/arm/mach-at91/arm926ejs/ |
H A D | eflash.c | 154 int flash_real_protect (flash_info_t *info, long sector, int prot) argument 160 debug("protect sector=%ld prot=%d\n", sector, prot); 164 if (!prot) { 171 if (prot) {
|
/u-boot/lib/efi_loader/ |
H A D | boothart.c | 274 struct riscv_efi_boot_protocol *prot; local 278 (void **)&prot); 286 ret = prot->get_boot_hartid(prot, hartid);
|
/u-boot/board/cobra5272/ |
H A D | flash.c | 136 int iflag, cflag, prot, sect; local 155 prot = 0; 158 prot++; 161 if (prot)
|
/u-boot/drivers/pci/ |
H A D | pci_ftpci100.c | 15 u32 prot; /* 0x04 - AHB Protection */ member in struct:ftpci100_ahbc
|
/u-boot/drivers/mtd/ |
H A D | cfi_flash.c | 1059 int prot; local 1072 prot = 0; 1075 prot++; 1076 if (prot) { 1078 prot); 1446 static int cfi_protect_bugfix(flash_info_t *info, long sector, int prot) argument 1456 prot)) { 1464 if (prot) 1480 int flash_real_protect(flash_info_t *info, long sector, int prot) argument 1488 if (!cfi_protect_bugfix(info, sector, prot)) { [all...] |
/u-boot/drivers/ata/ |
H A D | sata_sil.h | 53 __le16 prot; member in struct:sil_prb
|
H A D | sata_sil.c | 252 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); 317 pcmd->prb.prot = cpu_to_le16(PRB_PROT_WRITE); 320 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ); 361 pcmd->prb.prot = cpu_to_le16(PRB_PROT_WRITE); 364 pcmd->prb.prot = cpu_to_le16(PRB_PROT_READ);
|
/u-boot/cmd/ |
H A D | sf.c | 389 bool prot = false; local 405 prot = true; 407 prot = false; 411 ret = spi_flash_protect(flash, start, len, prot);
|
/u-boot/net/ |
H A D | net.c | 1594 int net_set_ether(uchar *xet, const uchar *dest_ethaddr, uint prot) argument 1606 et->et_protlen = htons(prot); 1614 vet->vet_type = htons(prot); 1619 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot) argument 1629 vet->vet_type = htons(prot); 1632 et->et_protlen = htons(prot); 1637 et802->et_prot = htons(prot);
|