/u-boot/arch/powerpc/include/asm/arch-mpc83xx/ |
A D | soc.h | 21 bool mpc83xx_has_sdhc(int type) in mpc83xx_has_sdhc() argument 23 return (type == SOC_MPC8308) || in mpc83xx_has_sdhc() 24 (type == SOC_MPC8309) || in mpc83xx_has_sdhc() 25 (type == SOC_MPC8379); in mpc83xx_has_sdhc() 28 bool mpc83xx_has_tsec(int type) in mpc83xx_has_tsec() argument 34 (type == SOC_MPC8379); in mpc83xx_has_tsec() 41 (type == SOC_MPC8379); in mpc83xx_has_pcie1() 47 (type == SOC_MPC8379); in mpc83xx_has_pcie2() 53 (type == SOC_MPC8379); in mpc83xx_has_sata() 56 bool mpc83xx_has_pci(int type) in mpc83xx_has_pci() argument [all …]
|
/u-boot/arch/x86/cpu/apollolake/ |
A D | fsp_bindings.c | 258 .type = FSP_UINT8, 262 .type = FSP_UINT8, 266 .type = FSP_UINT8, 270 .type = FSP_UINT8, 274 .type = FSP_UINT8, 278 .type = FSP_UINT8, 282 .type = FSP_UINT8, 286 .type = FSP_UINT8, 290 .type = FSP_UINT8, 294 .type = FSP_UINT8, [all …]
|
/u-boot/include/fsl-mc/ |
A D | fsl_dprc.h | 214 #define DPRC_CMD_GET_RES_COUNT(cmd, type) \ argument 216 MC_CMD_OP(cmd, 1, 0, 8, char, type[0]);\ 217 MC_CMD_OP(cmd, 1, 8, 8, char, type[1]);\ 218 MC_CMD_OP(cmd, 1, 16, 8, char, type[2]);\ 219 MC_CMD_OP(cmd, 1, 24, 8, char, type[3]);\ 220 MC_CMD_OP(cmd, 1, 32, 8, char, type[4]);\ 717 char type[16]; member 765 char *type, 808 char *type, 839 enum dprc_region_type type; member [all …]
|
/u-boot/api/ |
A D | api_storage.c | 107 if (specs[type].name == NULL) in dev_stor_get() 134 if (i == specs[type].max_dev) in dev_stor_get() 140 di->type = specs[type].type; in dev_stor_get() 212 specs[type].enum_started = 1; in dev_enum_stor() 217 if (specs[type].enum_ended) { in dev_enum_stor() 226 if (specs[type].enum_ended) { in dev_enum_stor() 241 specs[type].enum_started = 1; in dev_enum_stor() 311 if (type == ENUM_MAX) in dev_open_stor() 333 int type; in dev_read_stor() local 358 int type = dev_stor_type(dd); in dev_write_stor() local [all …]
|
/u-boot/include/ |
A D | memalign.h | 75 type *name = (type *)ALIGN((uintptr_t)__##name, align) 76 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument 77 ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, 1) 78 #define ALLOC_CACHE_ALIGN_BUFFER_PAD(type, name, size, pad) \ argument 80 #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \ argument 81 ALLOC_ALIGN_BUFFER(type, name, size, ARCH_DMA_MINALIGN) 88 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument 89 static char __##name[ALIGN(size * sizeof(type), align)] \ 92 static type *name = (type *)__##name 93 #define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \ argument [all …]
|
/u-boot/scripts/kconfig/ |
A D | expr.c | 28 e->type = type; in expr_alloc_one() 36 e->type = type; in expr_alloc_two() 45 e->type = type; in expr_alloc_comp() 153 if (e1->type == type) { in __expr_eliminate_eq() 158 if (e2->type == type) { in __expr_eliminate_eq() 231 if (e1->type != e2->type) switch (e2->type) { in expr_eliminate_eq() 255 if (e1->type != e2->type) in expr_eq() 430 if (e1->type != E_EQUAL && e1->type != E_UNEQUAL && e1->type != E_SYMBOL && e1->type != E_NOT) in expr_join_or() 432 if (e2->type != E_EQUAL && e2->type != E_UNEQUAL && e2->type != E_SYMBOL && e2->type != E_NOT) in expr_join_or() 596 if (e1->type == type) { in expr_eliminate_dups1() [all …]
|
A D | menu.c | 86 switch (e->type) { in rewrite_m() 115 if (sym->type == type) in menu_set_type() 118 sym->type = type; in menu_set_type() 124 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type() 225 return sym2->type == S_INT || sym2->type == S_HEX || in menu_validate_number() 238 if ((sym->type == S_STRING || sym->type == S_INT || sym->type == S_HEX) && in sym_check_prop() 246 if (sym->type == S_HEX || sym->type == S_INT) { in sym_check_prop() 267 if (sym->type != S_BOOLEAN && sym->type != S_TRISTATE) in sym_check_prop() 280 if (sym->type != S_INT && sym->type != S_HEX) in sym_check_prop() 684 type = menu->prompt ? menu->prompt->type : 0; in menu_get_parent_menu() [all …]
|
/u-boot/arch/x86/lib/ |
A D | e820.c | 26 entries[0].type = E820_RAM; in install_e820_map() 29 entries[1].type = E820_RESERVED; in install_e820_map() 32 entries[2].type = E820_RAM; in install_e820_map() 35 entries[3].type = E820_RESERVED; in install_e820_map() 46 int type; in efi_add_known_memory() local 57 switch (e820[i].type) { in efi_add_known_memory() 59 type = EFI_CONVENTIONAL_MEMORY; in efi_add_known_memory() 62 type = EFI_RESERVED_MEMORY_TYPE; in efi_add_known_memory() 65 type = EFI_ACPI_RECLAIM_MEMORY; in efi_add_known_memory() 68 type = EFI_ACPI_MEMORY_NVS; in efi_add_known_memory() [all …]
|
/u-boot/include/asm-generic/ |
A D | ioctl.h | 65 #define _IOC(dir,type,nr,size) \ argument 67 ((type) << _IOC_TYPESHIFT) | \ 83 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 84 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 85 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 86 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 87 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 88 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 89 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/u-boot/arch/mips/include/asm/ |
A D | io.h | 238 volatile type *__mem; \ 239 type __val; \ 250 type __tmp; \ 268 volatile type *__mem; \ 269 type __val; \ 296 volatile type *__addr; \ 297 type __val; \ 314 type __val; \ 532 type clr, type set) \ 551 #define out_arch(type, endian, a, v) __raw_write##type(cpu_to_##endian(v),a) argument [all …]
|
/u-boot/tools/binman/ |
A D | cmdline.py | 27 parser.add_argument('-B', '--build-dir', type=str, default='b', 33 parser.add_argument('--toolpath', type=str, action='append', 45 build_parser.add_argument('-b', '--board', type=str, 47 build_parser.add_argument('-d', '--dt', type=str, 59 build_parser.add_argument('-O', '--outdir', type=str, 74 list_parser.add_argument('paths', type=str, nargs='*', 81 extract_parser.add_argument('-f', '--filename', type=str, 85 extract_parser.add_argument('paths', type=str, nargs='*', 96 replace_parser.add_argument('-f', '--filename', type=str, 104 replace_parser.add_argument('paths', type=str, nargs='*', [all …]
|
/u-boot/cmd/x86/ |
A D | hob.c | 76 switch (hdr->type) { in show_hob_details() 81 typename = res->type > 0 && res->type <= RES_MAX_MEM_TYPE ? in show_hob_details() 82 res_type[res->type] : "unknown"; in show_hob_details() 86 res->type, typename); in show_hob_details() 95 uint type; in do_hob() local 126 type = hdr->type; in do_hob() 127 if (type == HOB_TYPE_UNUSED) in do_hob() 129 else if (type == HOB_TYPE_EOH) in do_hob() 131 else if (type >= 0 && type <= ARRAY_SIZE(hob_type)) in do_hob() 132 desc = hob_type[type]; in do_hob() [all …]
|
/u-boot/board/gateworks/gw_ventana/ |
A D | eeprom.c | 27 int type; in read_eeprom() local 80 type = GW51xx; in read_eeprom() 83 type = GW52xx; in read_eeprom() 86 type = GW53xx; in read_eeprom() 89 type = GW54xx; in read_eeprom() 93 type = GW551x; in read_eeprom() 96 type = GW552x; in read_eeprom() 99 type = GW553x; in read_eeprom() 105 type = GW560x; in read_eeprom() 109 type = GW5901; in read_eeprom() [all …]
|
/u-boot/drivers/sysreset/ |
A D | sysreset_sandbox.c | 15 enum sysreset_t type) in sandbox_warm_sysreset_request() argument 19 switch (type) { in sandbox_warm_sysreset_request() 21 state->last_sysreset = type; in sandbox_warm_sysreset_request() 26 if (!state->sysreset_allowed[type]) in sandbox_warm_sysreset_request() 56 switch (type) { in sandbox_sysreset_request() 58 state->last_sysreset = type; in sandbox_sysreset_request() 59 if (!state->sysreset_allowed[type]) in sandbox_sysreset_request() 64 state->last_sysreset = type; in sandbox_sysreset_request() 65 if (!state->sysreset_allowed[type]) in sandbox_sysreset_request() 70 if (!state->sysreset_allowed[type]) in sandbox_sysreset_request() [all …]
|
/u-boot/fs/btrfs/ |
A D | btrfs.c | 33 u8 type = btrfs_dir_type(eb, di); in show_dir() local 41 if (type == BTRFS_FT_XATTR) in show_dir() 93 if (type < ARRAY_SIZE(dir_item_str) && dir_item_str[type]) in show_dir() 96 printf("?%3u? ", type); in show_dir() 97 if (type == BTRFS_FT_CHRDEV || type == BTRFS_FT_BLKDEV) { in show_dir() 111 if (type == BTRFS_FT_SYMLINK) in show_dir() 139 u8 type; in btrfs_ls() local 150 if (type != BTRFS_FT_DIR) { in btrfs_ls() 167 u8 type; in btrfs_exists() local 190 u8 type; in btrfs_size() local [all …]
|
/u-boot/scripts/dtc/ |
A D | dtc-parser.y | 76 %type <data> propdata 78 %type <flags> header 79 %type <flags> headers 80 %type <re> memreserve 81 %type <re> memreserves 82 %type <array> arrayprefix 83 %type <data> bytestring 84 %type <prop> propdef 87 %type <node> devicetree 88 %type <node> nodedef [all …]
|
/u-boot/arch/arm/dts/ |
A D | fsl-ls2080a-qds-sd1-42.dtsi | 12 phy-connection-type = "xfi"; 17 phy-connection-type = "xfi"; 22 phy-connection-type = "xfi"; 27 phy-connection-type = "xfi"; 32 phy-connection-type = "xfi"; 37 phy-connection-type = "xfi"; 42 phy-connection-type = "xfi"; 47 phy-connection-type = "xfi";
|
/u-boot/drivers/cpu/ |
A D | mpc83xx_cpu.c | 110 priv->type = TYPE_8308; in determine_type() 113 priv->type = TYPE_8309; in determine_type() 116 priv->type = TYPE_8311; in determine_type() 119 priv->type = TYPE_8313; in determine_type() 122 priv->type = TYPE_8314; in determine_type() 125 priv->type = TYPE_8315; in determine_type() 128 priv->type = TYPE_8321; in determine_type() 131 priv->type = TYPE_8323; in determine_type() 134 priv->type = TYPE_8343; in determine_type() 143 priv->type = TYPE_8349; in determine_type() [all …]
|
/u-boot/drivers/clk/ |
A D | mpc83xx_clk.c | 49 return type == SOC_MPC8360; in is_clk_valid() 51 return (type == SOC_MPC8308) || (type == SOC_MPC8309); in is_clk_valid() 55 return type == SOC_MPC8315; in is_clk_valid() 57 return mpc83xx_has_sdhc(type); in is_clk_valid() 62 return type == SOC_MPC8360; in is_clk_valid() 64 return type == SOC_MPC8349; in is_clk_valid() 72 return (type == SOC_MPC8308) || (type == SOC_MPC8309); in is_clk_valid() 84 return mpc83xx_has_quicc_engine(type) && (type != SOC_MPC8309); in is_clk_valid() 337 ulong type; in mpc83xx_clk_probe() local 349 if (mpc83xx_has_sdhc(type)) in mpc83xx_clk_probe() [all …]
|
/u-boot/arch/sandbox/include/asm/ |
A D | io.h | 73 #define in_arch(type,endian,a) endian##_to_cpu(read##type(a)) argument 93 out_##type((addr), in_##type(addr) & ~(clear)) 96 out_##type((addr), in_##type(addr) | (set)) 99 out_##type((addr), (in_##type(addr) & ~(clear)) | (set)) 139 #define in_arch(type,endian,a) endian##_to_cpu(read##type(a)) argument 157 out_##type((addr), in_##type(addr) & ~(clear)) 160 out_##type((addr), in_##type(addr) | (set)) 163 out_##type((addr), (in_##type(addr) & ~(clear)) | (set)) 210 out##type(in##type(addr) & ~(clear), (addr)) 213 out##type(in##type(addr) | (set), (addr)) [all …]
|
/u-boot/drivers/usb/gadget/ |
A D | epautoconf.c | 52 u8 type; in ep_matches() local 62 if (USB_ENDPOINT_XFER_CONTROL == type) in ep_matches() 75 switch (type) { in ep_matches() 119 switch (type) { in ep_matches() 162 if (USB_ENDPOINT_XFER_BULK == type) { in ep_matches() 225 u8 type; in usb_ep_autoconfig() local 242 if (USB_ENDPOINT_XFER_INT == type) { in usb_ep_autoconfig() 247 } else if (USB_ENDPOINT_XFER_BULK == type in usb_ep_autoconfig() 275 type == USB_ENDPOINT_XFER_BULK) in usb_ep_autoconfig() 278 type == USB_ENDPOINT_XFER_BULK) in usb_ep_autoconfig() [all …]
|
/u-boot/cmd/ |
A D | efi.c | 55 static inline bool is_boot_services(int type) in is_boot_services() argument 57 return type == EFI_LOADER_CODE || type == EFI_LOADER_DATA || in is_boot_services() 58 type == EFI_BOOT_SERVICES_CODE || in is_boot_services() 59 type == EFI_BOOT_SERVICES_DATA; in is_boot_services() 108 u32 type = desc->type; in efi_build_mem_table() local 110 if (type >= EFI_MAX_MEMORY_TYPE) { in efi_build_mem_table() 112 type); in efi_build_mem_table() 117 type = EFI_CONVENTIONAL_MEMORY; in efi_build_mem_table() 120 dest->type = type; in efi_build_mem_table() 141 dest->type = EFI_MAX_MEMORY_TYPE; in efi_build_mem_table() [all …]
|
/u-boot/drivers/phy/marvell/ |
A D | comphy_mux.c | 31 if (comphy_map_data->type == PHY_TYPE_IGNORE) in comphy_mux_check_config() 37 if (mux_opt->type == comphy_map_data->type) { in comphy_mux_check_config() 44 lane, comphy_map_data->type); in comphy_mux_check_config() 47 comphy_map_data->type = PHY_TYPE_UNCONNECTED; in comphy_mux_check_config() 50 lane, comphy_map_data->type); in comphy_mux_check_config() 58 u32 type, int lane) in comphy_mux_get_mux_value() argument 68 if (mux_opt->type == type) { in comphy_mux_get_mux_value() 91 if (comphy_map_data->type == PHY_TYPE_IGNORE) in comphy_mux_reg_write() 105 comphy_map_data->type, in comphy_mux_reg_write()
|
/u-boot/drivers/power/regulator/ |
A D | palmas_regulator.c | 170 if (type == TPS65917) { in palmas_ldo_bypass_enable() 174 } else if (type == TPS659038) { in palmas_ldo_bypass_enable() 301 int type = dev_get_driver_data(parent); in palmas_ldo_probe() local 303 uc_pdata->type = REGULATOR_TYPE_LDO; in palmas_ldo_probe() 307 uc_pdata->ctrl_reg = palmas_ldo_ctrl[type][idx]; in palmas_ldo_probe() 308 uc_pdata->volt_reg = palmas_ldo_volt[type][idx]; in palmas_ldo_probe() 312 uc_pdata->ctrl_reg = palmas_ldo_ctrl[type][9]; in palmas_ldo_probe() 313 uc_pdata->volt_reg = palmas_ldo_volt[type][9]; in palmas_ldo_probe() 366 int type = dev_get_driver_data(parent); in palmas_smps_probe() local 368 uc_pdata->type = REGULATOR_TYPE_BUCK; in palmas_smps_probe() [all …]
|
/u-boot/arch/arm/mach-rmobile/include/mach/ |
A D | rcar-mstp.h | 12 #define mstp_setbits(type, addr, saddr, set) \ argument 13 out_##type((saddr), in_##type(addr) | (set)) 14 #define mstp_clrbits(type, addr, saddr, clear) \ argument 15 out_##type((saddr), in_##type(addr) & ~(clear)) 16 #define mstp_setclrbits(type, addr, set, clear) \ argument 17 out_##type((addr), (in_##type(addr) | (set)) & ~(clear))
|