Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 258) sorted by relevance

1234567891011

/u-boot/drivers/fpga/
A Dxilinx.c149 if (!desc->operations || !desc->operations->load) { in xilinx_load()
154 return desc->operations->load(desc, buf, bsize, bstype); in xilinx_load()
166 if (!desc->operations || !desc->operations->loadfs) { in xilinx_loadfs()
171 return desc->operations->loadfs(desc, buf, bsize, fpga_fsinfo); in xilinx_loadfs()
184 if (!desc->operations || !desc->operations->loads) { in xilinx_loads()
200 if (!desc->operations || !desc->operations->dump) { in xilinx_dump()
205 return desc->operations->dump(desc, buf, bsize); in xilinx_dump()
274 desc->size, desc->cookie, desc->cookie); in xilinx_info()
283 if (desc->operations && desc->operations->info) in xilinx_info()
284 desc->operations->info(desc); in xilinx_info()
[all …]
A Dfpga.c48 desc = &desc_table[devnum]; in fpga_get_desc()
53 return desc; in fpga_get_desc()
65 if (!desc) in fpga_validate()
72 return desc; in fpga_validate()
84 if (desc) { in fpga_dev_info()
88 switch (desc->devtype) { in fpga_dev_info()
153 if (!desc) { in fpga_add()
203 if (desc) { in fpga_fsload()
232 if (desc) { in fpga_loads()
261 if (desc) { in fpga_load()
[all …]
A Daltera.c54 if (!desc) { in altera_validate()
59 if ((desc->family < min_altera_type) || in altera_validate()
71 if (!desc->size) { in altera_validate()
84 if (altera_validate(desc, fn)) { in altera_desc_to_fpga()
112 return fpga->load(desc, buf, bsize); in altera_load()
126 return fpga->dump(desc, buf, bsize); in altera_dump()
130 int altera_info(Altera_desc *desc) in altera_info() argument
140 switch (desc->iface) { in altera_info()
172 desc->size, desc->cookie, desc->cookie); in altera_info()
174 if (desc->iface_fns) { in altera_info()
[all …]
A Dlattice.c264 if (desc) { in lattice_validate()
269 if (desc->size) { in lattice_validate()
276 fn, desc->iface); in lattice_validate()
280 fn, desc->family); in lattice_validate()
296 pfns = desc->iface_fns; in lattice_load()
346 switch (desc->iface) { in lattice_info()
356 desc->size); in lattice_info()
358 if (desc->iface_fns) { in lattice_info()
360 desc->iface_fns); in lattice_info()
372 if (desc->desc) in lattice_info()
[all …]
A DstratixII.c21 switch (desc->iface) { in StratixII_load()
23 ret_val = StratixII_ps_fpp_load (desc, buf, bsize, 1, 0); in StratixII_load()
26 ret_val = StratixII_ps_fpp_load (desc, buf, bsize, 0, 0); in StratixII_load()
35 desc->iface); in StratixII_load()
44 switch (desc->iface) { in StratixII_dump()
48 ret_val = StratixII_ps_fpp_dump (desc, buf, bsize); in StratixII_dump()
53 desc->iface); in StratixII_dump()
58 int StratixII_info (Altera_desc * desc) in StratixII_info() argument
79 if (!desc) { in StratixII_ps_fpp_load()
91 if (!desc->iface_fns) { in StratixII_ps_fpp_load()
[all …]
A Dcyclon2.c39 int CYC2_load(Altera_desc *desc, const void *buf, size_t bsize) in CYC2_load() argument
43 switch (desc->iface) { in CYC2_load()
46 ret_val = CYC2_ps_load(desc, buf, bsize); in CYC2_load()
56 ret_val = CYC2_ps_load(desc, buf, bsize); in CYC2_load()
63 __func__, desc->iface); in CYC2_load()
73 switch (desc->iface) { in CYC2_dump()
76 ret_val = CYC2_ps_dump(desc, buf, bsize); in CYC2_dump()
83 __func__, desc->iface); in CYC2_dump()
89 int CYC2_info(Altera_desc *desc) in CYC2_info() argument
99 Altera_CYC2_Passive_Serial_fns *fn = desc->iface_fns; in CYC2_ps_load()
[all …]
/u-boot/drivers/crypto/fsl/
A Ddesc_constr.h78 return desc + desc_len(desc); in desc_end()
83 return desc + 1; in desc_pdb()
100 init_job_desc(desc, in init_job_desc_pdb()
139 (*desc)++; in append_cmd()
151 (*desc) += 2; in append_u64()
157 *desc = command; in write_cmd()
159 return desc + 1; in write_cmd()
166 append_ptr(desc, ptr); in append_cmd_ptr()
175 append_ptr(desc, ptr); in append_cmd_ptr_extlen()
176 append_cmd(desc, len); in append_cmd_ptr_extlen()
[all …]
A Djobdesc.c157 init_job_desc(desc, 0); in inline_cnstr_jobdesc_blob_dek()
162 append_u32(desc, aad_w1); in inline_cnstr_jobdesc_blob_dek()
164 append_u32(desc, aad_w2); in inline_cnstr_jobdesc_blob_dek()
189 init_job_desc(desc, 0); in inline_cnstr_jobdesc_hash()
200 append_cmd(desc, msgsz); in inline_cnstr_jobdesc_hash()
223 init_job_desc(desc, 0); in inline_cnstr_jobdesc_blob_encap()
246 init_job_desc(desc, 0); in inline_cnstr_jobdesc_blob_decap()
265 init_job_desc(desc, 0); in inline_cnstr_jobdesc_rng_instantiation()
293 init_job_desc(desc, 0); in inline_cnstr_jobdesc_rng_deinstantiation()
303 init_job_desc(desc, 0); in inline_cnstr_jobdesc_rng()
[all …]
A Dfsl_blob.c34 u32 *desc; in blob_decap() local
45 if (!desc) { in blob_decap()
68 ret = run_descriptor_jr(desc); in blob_decap()
80 free(desc); in blob_decap()
99 u32 *desc; in blob_encap() local
110 if (!desc) { in blob_encap()
133 ret = run_descriptor_jr(desc); in blob_encap()
145 free(desc); in blob_encap()
153 u32 *desc; in blob_dek() local
160 if (!desc) { in blob_dek()
[all …]
A Djobdesc.h26 int inline_cnstr_jobdesc_blob_dek(uint32_t *desc, const uint8_t *plain_txt,
30 void inline_cnstr_jobdesc_hash(uint32_t *desc,
34 void inline_cnstr_jobdesc_blob_encap(uint32_t *desc, uint8_t *key_idnfr,
38 void inline_cnstr_jobdesc_blob_decap(uint32_t *desc, uint8_t *key_idnfr,
42 void inline_cnstr_jobdesc_rng_instantiation(u32 *desc, int handle, int do_sk);
44 void inline_cnstr_jobdesc_rng_deinstantiation(u32 *desc, int handle);
46 void inline_cnstr_jobdesc_rng(u32 *desc, void *data_out, u32 size);
48 void inline_cnstr_jobdesc_pkha_rsaexp(uint32_t *desc,
/u-boot/arch/x86/cpu/efi/
A Dpayload.c52 desc = map->desc; in board_get_usable_ram_top()
53 for (; desc < end; desc = efi_get_next_mem_desc(map, desc)) { in board_get_usable_ram_top()
58 largest = desc; in board_get_usable_ram_top()
90 desc = map->desc; in dram_init()
91 for (; desc < end; desc = efi_get_next_mem_desc(map, desc)) { in dram_init()
113 desc = map->desc; in dram_init_banksize()
116 desc = efi_get_next_mem_desc(map, desc)) { in dram_init_banksize()
198 for (desc = map->desc; desc < end; in install_e820_map()
199 desc = efi_get_next_mem_desc(map, desc)) { in install_e820_map()
203 switch (desc->type) { in install_e820_map()
[all …]
/u-boot/drivers/gpio/
A Dgpio-uclass.c38 desc->dev = dev; in gpio_desc_init()
40 desc->flags = 0; in gpio_desc_init()
226 return ops->xlate(desc->dev, desc, args); in gpio_find_and_xlate()
228 return gpio_xlate_offs_flags(desc->dev, desc, args); in gpio_find_and_xlate()
327 *desc = NULL; in gpio_hog_lookup_name()
480 return _dm_gpio_free(desc.dev, desc.offset); in gpio_free()
522 return gpio_get_ops(desc.dev)->direction_input(desc.dev, desc.offset); in gpio_direction_input()
554 value = gpio_get_ops(desc->dev)->get_value(desc->dev, desc->offset); in _gpio_get_value()
595 gpio_get_ops(desc->dev)->set_value(desc->dev, desc->offset, value); in dm_gpio_set_value()
683 return _dm_gpio_set_dir_flags(desc, desc->flags); in dm_gpio_set_dir()
[all …]
/u-boot/drivers/block/
A Dblk_legacy.c61 if (drv->desc) { in get_desc()
77 struct blk_desc *desc; in blk_list_part() local
91 part_print(desc); in blk_list_part()
114 part_print(desc); in blk_print_part_devnum()
133 dev_print(desc); in blk_list_devices()
149 dev_print(desc); in blk_print_device_num()
170 dev_print(desc); in blk_show_device()
190 return desc; in blk_get_devnum_by_type()
216 return desc; in blk_get_devnum_by_typename()
232 n = desc->block_read(desc, start, blkcnt, buffer); in blk_read_devnum()
[all …]
A Dblk-uclass.c84 return desc; in blk_get_devnum_by_type()
120 if_type, devnum, dev->name, desc->if_type, desc->devnum); in blk_get_devnum_by_typename()
135 return desc; in blk_get_devnum_by_typename()
190 if_type, devnum, dev->name, desc->if_type, desc->devnum); in get_desc()
197 *descp = desc; in get_desc()
288 dev_print(desc); in blk_print_device_num()
306 dev_print(desc); in blk_show_device()
415 if (desc->if_type == if_type && desc->devnum == devnum) { in blk_find_device()
521 if (desc->if_type == if_type && desc->devnum > max_devnum) in blk_find_max_devnum()
553 if (desc->if_type == if_type && desc->devnum == devnum) { in blk_claim_devnum()
[all …]
/u-boot/cmd/
A Defi.c93 base = malloc(size + sizeof(*desc)); in efi_build_mem_table()
100 memcpy(base, map->desc, (ulong)end - (ulong)map->desc); in efi_build_mem_table()
106 for (desc = base; desc < end; desc = efi_get_next_mem_desc(map, desc)) { in efi_build_mem_table()
108 u32 type = desc->type; in efi_build_mem_table()
136 addr = desc->physical_start + (desc->num_pages << in efi_build_mem_table()
161 upto++, desc = efi_get_next_mem_desc(map, desc)) { in efi_print_mem_table()
176 desc->type, name, desc->physical_start, in efi_print_mem_table()
177 desc->virtual_start, size); in efi_print_mem_table()
218 struct efi_mem_desc *desc; in do_efi_mem() local
242 if (!desc) { in do_efi_mem()
[all …]
/u-boot/include/linux/soc/ti/
A Dcppi5.h322 WARN_ON(!desc); in cppi5_hdesc_init()
345 WARN_ON(!desc); in cppi5_hdesc_update_flags()
362 WARN_ON(!desc); in cppi5_hdesc_update_psdata_size()
379 WARN_ON(!desc); in cppi5_hdesc_get_psdata_size()
397 WARN_ON(!desc); in cppi5_hdesc_get_pktlen()
409 WARN_ON(!desc); in cppi5_hdesc_set_pktlen()
422 WARN_ON(!desc); in cppi5_hdesc_get_psflags()
435 WARN_ON(!desc); in cppi5_hdesc_set_psflags()
448 WARN_ON(!desc); in cppi5_hdesc_get_pkttype()
506 desc->buf_ptr = desc->org_buf_ptr; in cppi5_hdesc_reset_to_original()
[all …]
/u-boot/board/xilinx/common/
A Dboard.c208 sizeof(desc->name)); in xilinx_read_eeprom_fru()
212 sizeof(desc->serial)); in xilinx_read_eeprom_fru()
299 if (!desc) { in xilinx_read_eeprom()
300 desc = calloc(1, sizeof(*desc)); in xilinx_read_eeprom()
301 if (!desc) in xilinx_read_eeprom()
310 free(desc); in xilinx_read_eeprom()
401 if (desc && desc->header == EEPROM_HEADER_MAGIC) { in board_late_init_xilinx()
405 if (desc->name[0]) in board_late_init_xilinx()
407 desc->name); in board_late_init_xilinx()
410 desc->revision); in board_late_init_xilinx()
[all …]
/u-boot/drivers/usb/gadget/
A Depautoconf.c49 struct usb_endpoint_descriptor *desc in ep_matches() argument
148 desc->bEndpointAddress |= num; in ep_matches()
158 desc->bEndpointAddress |= epnum; in ep_matches()
221 struct usb_endpoint_descriptor *desc in usb_ep_autoconfig() argument
235 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
238 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
245 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
258 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
263 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
286 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
[all …]
/u-boot/board/intel/minnowmax/
A Dminnowmax.c19 struct gpio_desc desc; in misc_init_r() local
41 desc.dev = dev; in misc_init_r()
42 desc.flags = GPIOD_IS_OUT; in misc_init_r()
45 desc.offset = 8; in misc_init_r()
47 ret = dm_gpio_request(&desc, "usb_host_en0"); in misc_init_r()
50 dm_gpio_set_value(&desc, 1); in misc_init_r()
53 desc.offset = 9; in misc_init_r()
55 ret = dm_gpio_request(&desc, "usb_host_en1"); in misc_init_r()
59 dm_gpio_set_value(&desc, 1); in misc_init_r()
/u-boot/drivers/mmc/
A Dsdhci-adma.c12 static void sdhci_adma_desc(struct sdhci_adma_desc *desc, in sdhci_adma_desc() argument
21 desc->attr = attr; in sdhci_adma_desc()
22 desc->len = len; in sdhci_adma_desc()
23 desc->reserved = 0; in sdhci_adma_desc()
24 desc->addr_lo = lower_32_bits(addr); in sdhci_adma_desc()
26 desc->addr_hi = upper_32_bits(addr); in sdhci_adma_desc()
47 struct sdhci_adma_desc *desc = table; in sdhci_prepare_adma_table() local
51 sdhci_adma_desc(desc, addr, ADMA_MAX_LEN, false); in sdhci_prepare_adma_table()
54 desc++; in sdhci_prepare_adma_table()
57 sdhci_adma_desc(desc, addr, trans_bytes, true); in sdhci_prepare_adma_table()
/u-boot/include/asm-generic/
A Dgpio.h151 static inline bool dm_gpio_is_valid(const struct gpio_desc *desc) in dm_gpio_is_valid() argument
153 return desc->dev != NULL; in dm_gpio_is_valid()
300 int (*xlate)(struct udevice *dev, struct gpio_desc *desc,
506 int index, struct gpio_desc *desc, int flags);
565 struct gpio_desc *desc, int flags);
592 int dtflags, struct gpio_desc *desc);
603 int dm_gpio_free(struct udevice *dev, struct gpio_desc *desc);
624 int gpio_free_list_nodev(struct gpio_desc *desc, int count);
639 int dm_gpio_get_value(const struct gpio_desc *desc);
652 int dm_gpio_set_dir(struct gpio_desc *desc);
[all …]
/u-boot/include/linux/mtd/
A Dubi.h231 void ubi_get_volume_info(struct ubi_volume_desc *desc,
254 void ubi_close_volume(struct ubi_volume_desc *desc);
259 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
261 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
263 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum);
264 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum);
265 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum);
266 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum);
277 return ubi_leb_read(desc, lnum, buf, offset, len, 0); in ubi_read()
284 static inline int ubi_read_sg(struct ubi_volume_desc *desc, int lnum, in ubi_read_sg() argument
[all …]
/u-boot/lib/efi_loader/
A Defi_disk.c48 struct blk_desc *desc; member
83 struct blk_desc *desc; in efi_disk_rw_blocks() local
89 desc = (struct blk_desc *) diskobj->desc; in efi_disk_rw_blocks()
90 blksz = desc->blksz; in efi_disk_rw_blocks()
358 struct blk_desc *desc, in efi_disk_add_dev() argument
370 if (!desc->lba) in efi_disk_add_dev()
446 diskobj->desc = desc; in efi_disk_add_dev()
481 desc->devnum, part); in efi_disk_add_dev()
569 desc, desc->devnum, NULL, 0, &disk); in efi_disk_register()
601 struct blk_desc *desc; in efi_disk_register() local
[all …]
/u-boot/drivers/power/regulator/
A Dpfuze100.c254 return desc; in se_desc()
287 if (!desc) { in pfuze100_regulator_probe()
292 plat->desc = desc; in pfuze100_regulator_probe()
319 struct pfuze100_regulator_desc *desc = plat->desc; in pfuze100_regulator_mode() local
325 desc->vsel_reg); in pfuze100_regulator_mode()
336 desc->vsel_reg + in pfuze100_regulator_mode()
453 struct pfuze100_regulator_desc *desc = plat->desc; in pfuze100_regulator_val() local
460 *uV = desc->voltage; in pfuze100_regulator_val()
465 val &= desc->vsel_mask; in pfuze100_regulator_val()
475 val &= desc->vsel_mask; in pfuze100_regulator_val()
[all …]
/u-boot/board/dfi/dfi-bt700/
A Ddfi-bt700.c36 struct gpio_desc desc; in board_late_init() local
39 ret = dm_gpio_lookup_name("F10", &desc); in board_late_init()
42 ret = dm_gpio_request(&desc, "xhci_hub_reset"); in board_late_init()
45 ret = dm_gpio_set_dir_flags(&desc, GPIOD_IS_OUT); in board_late_init()
50 dm_gpio_set_value(&desc, 0); in board_late_init()
56 dm_gpio_set_value(&desc, 1); in board_late_init()

Completed in 70 milliseconds

1234567891011