| /u-boot/arch/powerpc/include/asm/arch-mpc83xx/ |
| A D | soc.h | 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() 30 return (type == SOC_MPC8308) || in mpc83xx_has_tsec() 31 (type == SOC_MPC8313) || in mpc83xx_has_tsec() 32 (type == SOC_MPC8315) || in mpc83xx_has_tsec() 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() [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/drivers/gpio/ |
| A D | mpc8xx_gpio.c | 44 int type; member 79 if (type == MPC8XX_CPM1_PORTB || type == MPC8XX_CPM1_PORTE) in gpio_mask() 195 int type = data->type; in mpc8xx_gpio_direction_input() local 198 gpio32_set_in(data->base, gpio_mask(gpio, type), type); in mpc8xx_gpio_direction_input() 200 gpio16_set_in(data->base, gpio_mask(gpio, type), type); in mpc8xx_gpio_direction_input() 208 int type = data->type; in mpc8xx_gpio_set_value() local 212 gpio32_set_hi(data->base, gpio_mask(gpio, type), type); in mpc8xx_gpio_set_value() 234 int type = data->type; in mpc8xx_gpio_get_value() local 246 int type = data->type; in mpc8xx_gpio_get_function() local 277 int type; in mpc8xx_gpio_platdata_to_priv() local [all …]
|
| /u-boot/api/ |
| A D | api_storage.c | 104 if (specs[type].name == NULL) in dev_stor_get() 131 if (i == specs[type].max_dev) in dev_stor_get() 137 di->type = specs[type].type; in dev_stor_get() 209 specs[type].enum_started = 1; in dev_enum_stor() 214 if (specs[type].enum_ended) { in dev_enum_stor() 223 if (specs[type].enum_ended) { in dev_enum_stor() 238 specs[type].enum_started = 1; in dev_enum_stor() 308 if (type == ENUM_MAX) in dev_open_stor() 330 int type; in dev_read_stor() local 355 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/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 | 26 extract_parser.add_argument('-F', '--format', type=str, 30 extract_parser.add_argument('-f', '--filename', type=str, 34 extract_parser.add_argument('paths', type=str, nargs='*', 77 pars.add_argument('-O', '--outdir', type=str, 97 parser.add_argument('--tooldir', type=str, 102 parser.add_argument('-T', '--threads', type=int, 117 build_parser.add_argument('-b', '--board', type=str, 119 build_parser.add_argument('-d', '--dt', type=str, 156 list_parser.add_argument('paths', type=str, nargs='*', 167 replace_parser.add_argument('-f', '--filename', type=str, [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/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/cmd/x86/ |
| A D | hob.c | 76 switch (hdr->type) { in show_hob_details() 81 typename = res->type >= RES_SYS_MEM && 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/common/ |
| A D | event.c | 49 static const char *event_type_name(enum event_t type) in event_type_name() argument 52 return type_name[type]; in event_type_name() 66 if (spy->type == ev->type) { in notify_static() 70 event_type_name(ev->type), event_spy_id(spy)); in notify_static() 93 if (spy->type == ev->type) { in notify_dynamic() 97 event_type_name(ev->type), spy->id); in notify_dynamic() 119 event.type = type; in event_notify() 137 int event_notify_null(enum event_t type) in event_notify_null() argument 139 return event_notify(type, NULL, 0); in event_notify_null() 153 spy->type, event_type_name(spy->type), size, spy->func, in event_show_spy_list() [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() 69 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/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 350 if (mpc83xx_has_sdhc(type)) in mpc83xx_clk_probe() [all …]
|
| /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/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/arch/arm/dts/ |
| A D | fsl-ls2080a-qds-sd1-42.dtsi | 12 phy-connection-type = "10gbase-r"; 17 phy-connection-type = "10gbase-r"; 22 phy-connection-type = "10gbase-r"; 27 phy-connection-type = "10gbase-r"; 32 phy-connection-type = "10gbase-r"; 37 phy-connection-type = "10gbase-r"; 42 phy-connection-type = "10gbase-r"; 47 phy-connection-type = "10gbase-r";
|
| /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() 113 switch (type) { in ep_matches() 156 if (USB_ENDPOINT_XFER_BULK == type) { in ep_matches() 219 u8 type; in usb_ep_autoconfig() local 236 if (USB_ENDPOINT_XFER_INT == type) { in usb_ep_autoconfig() 241 } else if (USB_ENDPOINT_XFER_BULK == type in usb_ep_autoconfig() 269 type == USB_ENDPOINT_XFER_BULK) in usb_ep_autoconfig() 272 type == USB_ENDPOINT_XFER_BULK) in usb_ep_autoconfig() [all …]
|
| /u-boot/tools/ |
| A D | mtk_nand_headers.c | 431 .type = NAND_BOOT_AP_HEADER, 435 .type = NAND_BOOT_AP_HEADER, 439 .type = NAND_BOOT_AP_HEADER, 443 .type = NAND_BOOT_AP_HEADER, 447 .type = NAND_BOOT_AP_HEADER, 451 .type = NAND_BOOT_AP_HEADER, 455 .type = NAND_BOOT_AP_HEADER, 459 .type = NAND_BOOT_AP_HEADER, 463 .type = NAND_BOOT_AP_HEADER, 518 switch (hdr_nand->type) { in mtk_nand_header_size() [all …]
|
| /u-boot/drivers/power/regulator/ |
| A D | palmas_regulator.c | 169 if (type == TPS65917) { in palmas_ldo_bypass_enable() 173 } else if (type == TPS659038) { in palmas_ldo_bypass_enable() 300 int type = dev_get_driver_data(parent); in palmas_ldo_probe() local 302 uc_pdata->type = REGULATOR_TYPE_LDO; in palmas_ldo_probe() 306 uc_pdata->ctrl_reg = palmas_ldo_ctrl[type][idx]; in palmas_ldo_probe() 307 uc_pdata->volt_reg = palmas_ldo_volt[type][idx]; in palmas_ldo_probe() 311 uc_pdata->ctrl_reg = palmas_ldo_ctrl[type][9]; in palmas_ldo_probe() 312 uc_pdata->volt_reg = palmas_ldo_volt[type][9]; in palmas_ldo_probe() 365 int type = dev_get_driver_data(parent); in palmas_smps_probe() local 367 uc_pdata->type = REGULATOR_TYPE_BUCK; in palmas_smps_probe() [all …]
|
| /u-boot/drivers/phy/marvell/ |
| A D | comphy_mux.c | 30 if (comphy_map_data->type == COMPHY_TYPE_IGNORE) in comphy_mux_check_config() 36 if (mux_opt->type == comphy_map_data->type) { in comphy_mux_check_config() 43 lane, comphy_map_data->type); in comphy_mux_check_config() 46 comphy_map_data->type = COMPHY_TYPE_UNCONNECTED; in comphy_mux_check_config() 49 lane, comphy_map_data->type); in comphy_mux_check_config() 57 u32 type, int lane) in comphy_mux_get_mux_value() argument 67 if (mux_opt->type == type) { in comphy_mux_get_mux_value() 90 if (comphy_map_data->type == COMPHY_TYPE_IGNORE) in comphy_mux_reg_write() 104 comphy_map_data->type, in comphy_mux_reg_write()
|