/u-boot/fs/yaffs2/ |
A D | yaffs_attribs.c | 103 unsigned int valid = attr->ia_valid; in yaffs_set_attribs() 106 obj->yst_mode = attr->ia_mode; in yaffs_set_attribs() 108 obj->yst_uid = attr->ia_uid; in yaffs_set_attribs() 110 obj->yst_gid = attr->ia_gid; in yaffs_set_attribs() 120 yaffs_resize_file(obj, attr->ia_size); in yaffs_set_attribs() 132 attr->ia_mode = obj->yst_mode; in yaffs_get_attribs() 134 attr->ia_uid = obj->yst_uid; in yaffs_get_attribs() 136 attr->ia_gid = obj->yst_gid; in yaffs_get_attribs() 139 Y_TIME_CONVERT(attr->ia_atime) = obj->yst_atime; in yaffs_get_attribs() 146 attr->ia_size = yaffs_get_file_size(obj); in yaffs_get_attribs() [all …]
|
A D | yaffs_attribs.h | 25 int yaffs_set_attribs(struct yaffs_obj *obj, struct iattr *attr); 26 int yaffs_get_attribs(struct yaffs_obj *obj, struct iattr *attr);
|
/u-boot/arch/arm/include/asm/ |
A D | armv7_mpu.h | 102 u32 attr; in get_attr_encoding() local 106 attr = SHAREABLE; in get_attr_encoding() 109 attr = BUFFERABLE; in get_attr_encoding() 112 attr = CACHEABLE; in get_attr_encoding() 115 attr = CACHEABLE | BUFFERABLE; in get_attr_encoding() 118 attr = 1 << TEX_SHIFT; in get_attr_encoding() 121 attr = (1 << TEX_SHIFT) | CACHEABLE | BUFFERABLE; in get_attr_encoding() 124 attr = (2 << TEX_SHIFT) | BUFFERABLE; in get_attr_encoding() 127 attr = 0; /* strongly ordered */ in get_attr_encoding() 131 return attr; in get_attr_encoding()
|
/u-boot/drivers/tee/optee/ |
A D | i2c.c | 35 const u8 attr[] = { in optee_suppl_cmd_i2c_transfer() local 46 if (arg->num_params != ARRAY_SIZE(attr) || in optee_suppl_cmd_i2c_transfer() 47 arg->params[0].attr != attr[0] || in optee_suppl_cmd_i2c_transfer() 48 arg->params[1].attr != attr[1] || in optee_suppl_cmd_i2c_transfer() 49 arg->params[2].attr != attr[2] || in optee_suppl_cmd_i2c_transfer() 50 arg->params[3].attr != attr[3]) { in optee_suppl_cmd_i2c_transfer()
|
A D | core.c | 172 switch (p->attr) { in to_msg_param() 174 mp->attr = OPTEE_MSG_ATTR_TYPE_NONE; in to_msg_param() 180 mp->attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT + p->attr - in to_msg_param() 189 mp->attr = OPTEE_MSG_ATTR_TYPE_RMEM_INPUT + p->attr - in to_msg_param() 211 u32 attr = mp->attr & OPTEE_MSG_ATTR_TYPE_MASK; in from_msg_param() local 213 switch (attr) { in from_msg_param() 215 p->attr = TEE_PARAM_ATTR_TYPE_NONE; in from_msg_param() 221 p->attr = TEE_PARAM_ATTR_TYPE_VALUE_INPUT + attr - in from_msg_param() 230 p->attr = TEE_PARAM_ATTR_TYPE_MEMREF_INPUT + attr - in from_msg_param() 460 msg_arg->params->attr = OPTEE_MSG_ATTR_TYPE_TMEM_OUTPUT | in optee_shm_register() [all …]
|
A D | supplicant.c | 28 arg->params[0].attr != OPTEE_MSG_ATTR_TYPE_VALUE_INPUT) { in cmd_shm_alloc() 51 arg->params[0].attr = OPTEE_MSG_ATTR_TYPE_TMEM_OUTPUT | in cmd_shm_alloc() 64 arg->params[0].attr != OPTEE_MSG_ATTR_TYPE_VALUE_INPUT) { in cmd_shm_free()
|
/u-boot/include/fsl-mc/ |
A D | fsl_dpio.h | 39 #define DPIO_RSP_GET_ATTR(cmd, attr) \ argument 41 MC_RSP_OP(cmd, 0, 0, 32, int, attr->id);\ 42 MC_RSP_OP(cmd, 0, 32, 16, uint16_t, attr->qbman_portal_id);\ 43 MC_RSP_OP(cmd, 0, 48, 8, uint8_t, attr->num_priorities);\ 44 MC_RSP_OP(cmd, 0, 56, 4, enum dpio_channel_mode, attr->channel_mode);\ 45 MC_RSP_OP(cmd, 1, 0, 64, uint64_t, attr->qbman_portal_ce_offset);\ 46 MC_RSP_OP(cmd, 2, 0, 64, uint64_t, attr->qbman_portal_ci_offset);\ 47 MC_RSP_OP(cmd, 3, 32, 32, uint32_t, attr->qbman_version);\ 226 struct dpio_attr *attr);
|
A D | fsl_dpbp.h | 37 #define DPBP_RSP_GET_ATTRIBUTES(cmd, attr) \ argument 39 MC_RSP_OP(cmd, 0, 16, 16, uint16_t, attr->bpid); \ 40 MC_RSP_OP(cmd, 0, 32, 32, int, attr->id);\ 210 struct dpbp_attr *attr);
|
A D | fsl_dpmac.h | 42 #define DPMAC_RSP_GET_ATTRIBUTES(cmd, attr) \ argument 44 MC_RSP_OP(cmd, 0, 0, 32, int, attr->phy_id);\ 45 MC_RSP_OP(cmd, 0, 32, 32, int, attr->id);\ 46 MC_RSP_OP(cmd, 1, 32, 8, enum dpmac_link_type, attr->link_type);\ 47 MC_RSP_OP(cmd, 1, 40, 8, enum dpmac_eth_if, attr->eth_if);\ 48 MC_RSP_OP(cmd, 2, 0, 32, uint32_t, attr->max_rate);\ 267 struct dpmac_attr *attr);
|
/u-boot/drivers/mmc/ |
A D | sdhci-adma.c | 15 u8 attr; in sdhci_adma_desc() local 17 attr = ADMA_DESC_ATTR_VALID | ADMA_DESC_TRANSFER_DATA; in sdhci_adma_desc() 19 attr |= ADMA_DESC_ATTR_END; in sdhci_adma_desc() 21 desc->attr = attr; in sdhci_adma_desc()
|
/u-boot/arch/arm/mach-mvebu/ |
A D | mbus.c | 111 u32 *size, u8 *target, u8 *attr, in mvebu_mbus_read_window() argument 132 if (attr) in mvebu_mbus_read_window() 177 u8 target, u8 attr) in mvebu_mbus_window_conflicts() argument 241 u8 attr) in mvebu_mbus_setup_window() argument 248 (attr << WIN_CTRL_ATTR_SHIFT) | in mvebu_mbus_setup_window() 269 u8 attr) in mvebu_mbus_alloc_window() argument 279 target, attr); in mvebu_mbus_alloc_window() 286 remap, target, attr); in mvebu_mbus_alloc_window() 469 target, attr); in mbus_dt_setup_win() 519 u8 target, attr; in mvebu_mbus_probe() local [all …]
|
/u-boot/arch/arm/cpu/armv7m/ |
A D | mpu.c | 34 uint32_t attr; in mpu_config() local 36 attr = get_attr_encoding(reg_config->mr_attr); in mpu_config() 41 writel(reg_config->xn << XN_SHIFT | reg_config->ap << AP_SHIFT | attr in mpu_config()
|
/u-boot/arch/arm/include/asm/armv8/ |
A D | mmu.h | 107 static inline void set_ttbr_tcr_mair(int el, u64 table, u64 tcr, u64 attr) in set_ttbr_tcr_mair() argument 113 asm volatile("msr mair_el1, %0" : : "r" (attr) : "memory"); in set_ttbr_tcr_mair() 117 asm volatile("msr mair_el2, %0" : : "r" (attr) : "memory"); in set_ttbr_tcr_mair() 121 asm volatile("msr mair_el3, %0" : : "r" (attr) : "memory"); in set_ttbr_tcr_mair()
|
/u-boot/tools/ |
A D | zynqmpimage.c | 140 uint32_t attr = le32_to_cpu(ph->attributes); in print_partition() local 148 switch (attr & PART_ATTR_PART_OWNER_MASK) { in print_partition() 161 dest_cpus[(attr & PART_ATTR_DEST_CPU_MASK) >> 8], in print_partition() 175 if (attr & PART_ATTR_VEC_LOCATION) in print_partition() 178 if (attr & PART_ATTR_ENCRYPTED) in print_partition() 181 switch (attr & PART_ATTR_CHECKSUM_MASK) { in print_partition() 193 if (attr & PART_ATTR_BIG_ENDIAN) in print_partition() 196 if (attr & PART_ATTR_RSA_SIG) in print_partition() 199 if (attr & PART_ATTR_A53_EXEC_AARCH32) in print_partition() 202 if (attr & PART_ATTR_TARGET_EL_MASK) in print_partition() [all …]
|
/u-boot/lib/efi_selftest/ |
A D | efi_selftest_variables.c | 47 u32 attr; in execute() local 76 &attr, &len, data); in execute() 99 &attr, &len, data); in execute() 124 &attr, &len, data); in execute() 184 &attr, &len, data); in execute() 198 &attr, &len, data); in execute()
|
A D | efi_selftest_variables_runtime.c | 45 u32 attr; in execute() local 71 &attr, &len, data); in execute()
|
/u-boot/arch/arm/cpu/armv7/ |
A D | mpu_v7r.c | 64 u32 attr, val; in mpu_config() local 66 attr = get_attr_encoding(rgn->mr_attr); in mpu_config() 82 val = rgn->xn << XN_SHIFT | rgn->ap << AP_SHIFT | attr; in mpu_config()
|
/u-boot/drivers/mtd/ubi/ |
A D | build.c | 423 &dev_eraseblock_size.attr, 424 &dev_avail_eraseblocks.attr, 425 &dev_total_eraseblocks.attr, 426 &dev_volumes_count.attr, 427 &dev_max_ec.attr, 428 &dev_reserved_for_bad.attr, 429 &dev_bad_peb_count.attr, 430 &dev_max_vol_count.attr, 431 &dev_min_io_size.attr, 432 &dev_bgt_enabled.attr, [all …]
|
A D | vmt.c | 84 if (attr == &attr_vol_reserved_ebs) in vol_attribute_show() 86 else if (attr == &attr_vol_type) { in vol_attribute_show() 94 } else if (attr == &attr_vol_name) in vol_attribute_show() 120 &attr_vol_reserved_ebs.attr, 121 &attr_vol_type.attr, 122 &attr_vol_name.attr, 123 &attr_vol_corrupted.attr, 124 &attr_vol_alignment.attr, 125 &attr_vol_usable_eb_size.attr, 126 &attr_vol_data_bytes.attr, [all …]
|
/u-boot/arch/arm/mach-kirkwood/include/mach/ |
A D | cpu.h | 15 #define KWCPU_WIN_CTRL_DATA(size, target, attr, en) (en | (target << 4) \ argument 16 | (attr << 8) | (kw_winctrl_calcsize(size) << 16)) 75 u8 attr; member
|
/u-boot/arch/x86/include/asm/fsp1/ |
A D | fsp_ffs.h | 54 u8 attr; member 77 u8 attr; member
|
/u-boot/arch/arm/include/asm/arch-sunxi/ |
A D | display2.h | 40 } attr[4]; member 61 u32 attr; member 78 u32 attr; member
|
/u-boot/drivers/mtd/ |
A D | mtdcore.c | 377 &dev_attr_type.attr, 378 &dev_attr_flags.attr, 379 &dev_attr_size.attr, 380 &dev_attr_erasesize.attr, 381 &dev_attr_writesize.attr, 382 &dev_attr_subpagesize.attr, 383 &dev_attr_oobsize.attr, 384 &dev_attr_numeraseregions.attr, 385 &dev_attr_name.attr, 386 &dev_attr_ecc_strength.attr, [all …]
|
/u-boot/include/ |
A D | mm_communication.h | 152 u32 attr; member 205 u32 attr; member
|
/u-boot/scripts/kconfig/tests/ |
A D | conftest.py | 230 def _contains(self, attr, expected): argument 232 lambda s, e: getattr(s, attr).find(e) >= 0, 235 def _matches(self, attr, expected): argument 236 return self._read_and_compare(lambda s, e: getattr(s, attr) == e,
|