Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 961) sorted by relevance

12345678910>>...39

/rk3399_rockchip-uboot/include/fsl-mc/
H A Dfsl_dprc.h114 MC_RSP_OP(cmd, 3, 0, 8, char, obj_desc->type[0]);\
115 MC_RSP_OP(cmd, 3, 8, 8, char, obj_desc->type[1]);\
116 MC_RSP_OP(cmd, 3, 16, 8, char, obj_desc->type[2]);\
117 MC_RSP_OP(cmd, 3, 24, 8, char, obj_desc->type[3]);\
118 MC_RSP_OP(cmd, 3, 32, 8, char, obj_desc->type[4]);\
119 MC_RSP_OP(cmd, 3, 40, 8, char, obj_desc->type[5]);\
120 MC_RSP_OP(cmd, 3, 48, 8, char, obj_desc->type[6]);\
121 MC_RSP_OP(cmd, 3, 56, 8, char, obj_desc->type[7]);\
122 MC_RSP_OP(cmd, 4, 0, 8, char, obj_desc->type[8]);\
123 MC_RSP_OP(cmd, 4, 8, 8, char, obj_desc->type[9]);\
[all …]
/rk3399_rockchip-uboot/api/
H A Dapi_storage.c40 int type; /* "external" type: DT_STOR_{IDE,USB,etc} */ member
56 specs[ENUM_IDE].type = DEV_TYP_STOR | DT_STOR_IDE; in dev_stor_init()
63 specs[ENUM_MMC].type = DEV_TYP_STOR | DT_STOR_MMC; in dev_stor_init()
70 specs[ENUM_SATA].type = DEV_TYP_STOR | DT_STOR_SATA; in dev_stor_init()
77 specs[ENUM_SCSI].type = DEV_TYP_STOR | DT_STOR_SCSI; in dev_stor_init()
84 specs[ENUM_USB].type = DEV_TYP_STOR | DT_STOR_USB; in dev_stor_init()
99 static int dev_stor_get(int type, int *more, struct device_info *di) in dev_stor_get() argument
106 if (specs[type].name == NULL) in dev_stor_get()
111 for (i = 0; i < specs[type].max_dev; i++) { in dev_stor_get()
113 (void *)blk_get_dev(specs[type].name, i)) { in dev_stor_get()
[all …]
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dexpr.c20 e->type = E_SYMBOL; in expr_alloc_symbol()
25 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() argument
28 e->type = type; in expr_alloc_one()
33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument
36 e->type = type; in expr_alloc_two()
42 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() argument
45 e->type = type; in expr_alloc_comp()
74 switch (org->type) { in expr_copy()
97 printf("can't copy type %d\n", e->type); in expr_copy()
111 switch (e->type) { in expr_free()
[all …]
H A Dmenu.c87 switch (e->type) { in menu_check_dep()
112 void menu_set_type(int type) in menu_set_type() argument
116 if (sym->type == type) in menu_set_type()
118 if (sym->type == S_UNKNOWN) { in menu_set_type()
119 sym->type = type; in menu_set_type()
125 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type()
128 static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct … in menu_add_prop() argument
130 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop()
146 if(type == P_PROMPT) { in menu_add_prop()
178 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument
[all …]
/rk3399_rockchip-uboot/include/
H A Dmemalign.h72 #define ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, pad) \ argument
73 char __##name[ROUND(PAD_SIZE((size) * sizeof(type), pad), align) \
76 type *name = (type *)ALIGN((uintptr_t)__##name, align)
77 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument
78 ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, 1)
79 #define ALLOC_CACHE_ALIGN_BUFFER_PAD(type, name, size, pad) \ argument
80 ALLOC_ALIGN_BUFFER_PAD(type, name, size, ARCH_DMA_MINALIGN, pad)
81 #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \ argument
82 ALLOC_ALIGN_BUFFER(type, name, size, ARCH_DMA_MINALIGN)
89 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument
[all …]
/rk3399_rockchip-uboot/arch/mips/include/asm/
H A Dio.h231 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) \ argument
233 static inline void pfx##write##bwlq(type val, \
236 volatile type *__mem; \
237 type __val; \
245 if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) \
248 type __tmp; \
264 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
266 volatile type *__mem; \
267 type __val; \
271 if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) \
[all …]
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dgcc.c17 #define WRAP_LIBGCC_CALL(type, name) \ argument
18 type __normal_##name(type a, type b) __attribute__((regparm(0))); \
19 type __wrap_##name(type a, type b); \
20 type __attribute__((no_instrument_function)) \
21 __wrap_##name(type a, type b) \
/rk3399_rockchip-uboot/include/asm-generic/
H A Dioctl.h65 #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
/rk3399_rockchip-uboot/drivers/sysreset/
H A Dsysreset_sandbox.c18 enum sysreset_t type) in sandbox_warm_sysreset_request() argument
22 switch (type) { in sandbox_warm_sysreset_request()
24 state->last_sysreset = type; in sandbox_warm_sysreset_request()
29 if (!state->sysreset_allowed[type]) in sandbox_warm_sysreset_request()
35 static int sandbox_sysreset_request(struct udevice *dev, enum sysreset_t type) in sandbox_sysreset_request() argument
47 switch (type) { in sandbox_sysreset_request()
49 state->last_sysreset = type; in sandbox_sysreset_request()
52 state->last_sysreset = type; in sandbox_sysreset_request()
53 if (!state->sysreset_allowed[type]) in sandbox_sysreset_request()
60 if (!state->sysreset_allowed[type]) in sandbox_sysreset_request()
H A Dsysreset-uclass.c24 int sysreset_request(struct udevice *dev, enum sysreset_t type) in sysreset_request() argument
31 return ops->request(dev, type); in sysreset_request()
34 int sysreset_walk(enum sysreset_t type) in sysreset_walk() argument
39 while (ret != -EINPROGRESS && type < SYSRESET_COUNT) { in sysreset_walk()
43 ret = sysreset_request(dev, type); in sysreset_walk()
47 type++; in sysreset_walk()
72 void sysreset_walk_halt(enum sysreset_t type) in sysreset_walk_halt() argument
76 ret = sysreset_walk(type); in sysreset_walk_halt()
/rk3399_rockchip-uboot/scripts/dtc/
H A Ddtc-parser.y75 %type <data> propdata
76 %type <data> propdataprefix
77 %type <flags> header
78 %type <flags> headers
79 %type <re> memreserve
80 %type <re> memreserves
81 %type <array> arrayprefix
82 %type <data> bytestring
83 %type <prop> propdef
84 %type <proplist> proplist
[all …]
/rk3399_rockchip-uboot/drivers/phy/marvell/
H A Dcomphy_mux.c31 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()
90 if (comphy_map_data->type == PHY_TYPE_IGNORE) in comphy_mux_reg_write()
96 comphy_map_data->type, in comphy_mux_reg_write()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Depautoconf.c55 u8 type; in ep_matches() local
64 type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in ep_matches()
65 if (USB_ENDPOINT_XFER_CONTROL == type) in ep_matches()
78 switch (type) { in ep_matches()
122 switch (type) { in ep_matches()
165 if (USB_ENDPOINT_XFER_BULK == type) { in ep_matches()
224 u8 type; in usb_ep_autoconfig() local
226 type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_ep_autoconfig()
231 if (gadget_is_net2280(gadget) && type == USB_ENDPOINT_XFER_INT) { in usb_ep_autoconfig()
241 if (USB_ENDPOINT_XFER_INT == type) { in usb_ep_autoconfig()
[all …]
/rk3399_rockchip-uboot/drivers/power/regulator/
H A Dpalmas_regulator.c168 int type = dev_get_driver_data(dev_get_parent(dev)); in palmas_ldo_bypass_enable() local
173 if (type == TPS65917) { in palmas_ldo_bypass_enable()
177 } else if (type == TPS659038) { in palmas_ldo_bypass_enable()
304 int type = dev_get_driver_data(parent); in palmas_ldo_probe() local
306 uc_pdata->type = REGULATOR_TYPE_LDO; in palmas_ldo_probe()
310 uc_pdata->ctrl_reg = palmas_ldo_ctrl[type][idx]; in palmas_ldo_probe()
311 uc_pdata->volt_reg = palmas_ldo_volt[type][idx]; in palmas_ldo_probe()
315 uc_pdata->ctrl_reg = palmas_ldo_ctrl[type][9]; in palmas_ldo_probe()
316 uc_pdata->volt_reg = palmas_ldo_volt[type][9]; in palmas_ldo_probe()
318 uc_pdata->ctrl_reg = palmas_ldo_ctrl[type][10]; in palmas_ldo_probe()
[all …]
/rk3399_rockchip-uboot/cmd/
H A Defi.c49 static inline bool is_boot_services(int type) in is_boot_services() argument
51 return type == EFI_LOADER_CODE || type == EFI_LOADER_DATA || in is_boot_services()
52 type == EFI_BOOT_SERVICES_CODE || in is_boot_services()
53 type == EFI_BOOT_SERVICES_DATA; in is_boot_services()
90 int type = desc->type; in efi_build_mem_table() local
92 if (skip_bs && is_boot_services(desc->type)) in efi_build_mem_table()
93 type = EFI_CONVENTIONAL_MEMORY; in efi_build_mem_table()
96 dest->type = type; in efi_build_mem_table()
101 else if (type != EFI_CONVENTIONAL_MEMORY) in efi_build_mem_table()
103 else if (prev->type != EFI_CONVENTIONAL_MEMORY) in efi_build_mem_table()
[all …]
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/
H A Deeprom.c24 int type; in read_eeprom() local
67 type = GW_UNKNOWN; in read_eeprom()
70 type = GW54proto; in read_eeprom()
73 type = GW51xx; in read_eeprom()
76 type = GW52xx; in read_eeprom()
79 type = GW53xx; in read_eeprom()
82 type = GW54xx; in read_eeprom()
86 type = GW551x; in read_eeprom()
89 type = GW552x; in read_eeprom()
92 type = GW553x; in read_eeprom()
[all …]
/rk3399_rockchip-uboot/arch/x86/lib/fsp/
H A Dfsp_dram.c23 if (hdr->type == HOB_TYPE_RES_DESC) { in dram_init()
25 if (res_desc->type == RES_SYS_MEM || in dram_init()
26 res_desc->type == RES_MEM_RESERVED) { in dram_init()
74 if (hdr->type == HOB_TYPE_RES_DESC) { in install_e820_map()
79 if (res_desc->type == RES_SYS_MEM) in install_e820_map()
80 entries[num_entries].type = E820_RAM; in install_e820_map()
81 else if (res_desc->type == RES_MEM_RESERVED) in install_e820_map()
82 entries[num_entries].type = E820_RESERVED; in install_e820_map()
92 entries[num_entries].type = E820_RESERVED; in install_e820_map()
103 entries[num_entries].type = E820_RESERVED; in install_e820_map()
H A Dcmd_fsp.c59 uint type; in do_hob() local
73 type = hdr->type; in do_hob()
74 if (type == HOB_TYPE_UNUSED) in do_hob()
76 else if (type == HOB_TYPE_EOH) in do_hob()
78 else if (type >= 0 && type <= ARRAY_SIZE(hob_type)) in do_hob()
79 desc = hob_type[type]; in do_hob()
84 if (type == HOB_TYPE_MEM_ALLOC || type == HOB_TYPE_RES_DESC || in do_hob()
85 type == HOB_TYPE_GUID_EXT) { in do_hob()
/rk3399_rockchip-uboot/arch/arm/mach-rmobile/include/mach/
H A Drcar-mstp.h13 #define mstp_setbits(type, addr, saddr, set) \ argument
14 out_##type((saddr), in_##type(addr) | (set))
15 #define mstp_clrbits(type, addr, saddr, clear) \ argument
16 out_##type((saddr), in_##type(addr) & ~(clear))
17 #define mstp_setclrbits(type, addr, set, clear) \ argument
18 out_##type((addr), (in_##type(addr) | (set)) & ~(clear))
/rk3399_rockchip-uboot/drivers/pci/
H A Dpci_indirect.c17 #define cfg_read(val, addr, type, op) *val = op((type)(addr)) argument
18 #define cfg_write(val, addr, type, op) op((type *)(addr), (val)) argument
21 #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ argument
24 pci_dev_t dev, int offset, type val) \
32 cfg_##rw(val, hose->cfg_data + (offset & mask), type, op); \
36 #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ argument
39 pci_dev_t dev, int offset, type val) \
46 cfg_##rw(val, hose->cfg_data + (offset & mask), type, op); \
/rk3399_rockchip-uboot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip.h210 int type; member
314 { .type = iom0, .offset = -1 }, \
315 { .type = iom1, .offset = -1 }, \
316 { .type = iom2, .offset = -1 }, \
317 { .type = iom3, .offset = -1 }, \
329 { .type = iom0, .offset = offset0 }, \
330 { .type = iom1, .offset = offset1 }, \
331 { .type = iom2, .offset = offset2 }, \
332 { .type = iom3, .offset = offset3 }, \
346 { .type = iom0, .offset = offset0 }, \
[all …]
/rk3399_rockchip-uboot/tools/binman/
H A Dfdt_test.py47 self.assertEquals(str, type(val))
51 self.assertEquals(fdt.TYPE_INT, prop.type)
55 self.assertEquals(fdt.TYPE_INT, prop.type)
56 self.assertEquals(list, type(prop.value))
62 self.assertEquals(fdt.TYPE_BYTE, prop.type)
66 self.assertEquals(fdt.TYPE_BYTE, prop.type)
67 self.assertEquals(list, type(prop.value))
68 self.assertEquals(str, type(prop.value[0]))
73 self.assertEquals(fdt.TYPE_INT, prop.type)
77 self.assertEquals(fdt.TYPE_STRING, prop.type)
[all …]
/rk3399_rockchip-uboot/arch/x86/cpu/qemu/
H A De820.c16 entries[0].type = E820_RAM; in install_e820_map()
20 entries[1].type = E820_RESERVED; in install_e820_map()
29 entries[2].type = E820_RAM; in install_e820_map()
34 entries[3].type = E820_RESERVED; in install_e820_map()
38 entries[4].type = E820_RESERVED; in install_e820_map()
42 entries[5].type = E820_RESERVED; in install_e820_map()
/rk3399_rockchip-uboot/scripts/
H A Dkernel-doc267 my ($type, $declaration_name, $return_type);
587 $type = $args{'parametertypes'}{$parameter};
588 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) {
591 } elsif ($type =~ m/^(.*?)\s*(:.*)/) {
595 print "&nbsp; &nbsp; <i>$type</i> <b>$parameter</b>;<br>\n";
630 $type = $args{'parametertypes'}{$parameter};
631 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) {
635 print "<i>" . $type . "</i> <b>" . $parameter . "</b>";
785 $type = $args{'parametertypes'}{$parameter};
786 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) {
[all …]
/rk3399_rockchip-uboot/drivers/video/drm/
H A Ddrm_mipi_dsi.c65 bool mipi_dsi_packet_format_is_short(u8 type) in mipi_dsi_packet_format_is_short() argument
67 switch (type) { in mipi_dsi_packet_format_is_short()
101 bool mipi_dsi_packet_format_is_long(u8 type) in mipi_dsi_packet_format_is_long() argument
103 switch (type) { in mipi_dsi_packet_format_is_long()
141 if (!mipi_dsi_packet_format_is_short(msg->type) && in mipi_dsi_create_packet()
142 !mipi_dsi_packet_format_is_long(msg->type)) in mipi_dsi_create_packet()
149 packet->header[0] = ((msg->channel & 0x3) << 6) | (msg->type & 0x3f); in mipi_dsi_create_packet()
150 if (mipi_dsi_packet_format_is_long(msg->type)) { in mipi_dsi_create_packet()
178 .type = MIPI_DSI_SHUTDOWN_PERIPHERAL, in mipi_dsi_shutdown_peripheral()
197 .type = MIPI_DSI_TURN_ON_PERIPHERAL, in mipi_dsi_turn_on_peripheral()
[all …]

12345678910>>...39