Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 63) sorted by relevance

123

/u-boot/lib/acpi/
A Dacpigen.c23 u8 *acpigen_get_current(struct acpi_ctx *ctx) in acpigen_get_current()
28 void acpigen_emit_byte(struct acpi_ctx *ctx, uint data) in acpigen_emit_byte()
33 void acpigen_emit_word(struct acpi_ctx *ctx, uint data) in acpigen_emit_word()
56 void acpigen_write_len_f(struct acpi_ctx *ctx) in acpigen_write_len_f()
65 void acpigen_pop_len(struct acpi_ctx *ctx) in acpigen_pop_len()
123 void acpigen_write_zero(struct acpi_ctx *ctx) in acpigen_write_zero()
128 void acpigen_write_one(struct acpi_ctx *ctx) in acpigen_write_one()
502 void acpigen_write_ppc_nvs(struct acpi_ctx *ctx) in acpigen_write_ppc_nvs()
727 void acpigen_write_store(struct acpi_ctx *ctx) in acpigen_write_store()
766 void acpigen_write_if(struct acpi_ctx *ctx) in acpigen_write_if()
[all …]
A Dacpi_device.c102 static void *largeres_write_len_f(struct acpi_ctx *ctx) in largeres_write_len_f()
120 static void largeres_fill_from_len(struct acpi_ctx *ctx, char *ptr, u8 *start) in largeres_fill_from_len()
139 static void largeres_fill_len(struct acpi_ctx *ctx, void *ptr) in largeres_fill_len()
145 static int acpi_device_write_interrupt(struct acpi_ctx *ctx, in acpi_device_write_interrupt()
196 int acpi_device_write_interrupt_irq(struct acpi_ctx *ctx, in acpi_device_write_interrupt_irq()
213 int acpi_device_write_gpio(struct acpi_ctx *ctx, const struct acpi_gpio *gpio) in acpi_device_write_gpio()
346 int acpi_device_write_gpio_desc(struct acpi_ctx *ctx, in acpi_device_write_gpio_desc()
362 int acpi_device_write_interrupt_or_gpio(struct acpi_ctx *ctx, in acpi_device_write_interrupt_or_gpio()
392 int acpi_device_add_power_res(struct acpi_ctx *ctx, u32 tx_state_val, in acpi_device_add_power_res()
490 int acpi_device_write_dsm_i2c_hid(struct acpi_ctx *ctx, in acpi_device_write_dsm_i2c_hid()
[all …]
A Dacpi_table.c107 void acpi_align(struct acpi_ctx *ctx) in acpi_align()
112 void acpi_align64(struct acpi_ctx *ctx) in acpi_align64()
117 void acpi_inc(struct acpi_ctx *ctx, uint amount) in acpi_inc()
122 void acpi_inc_align(struct acpi_ctx *ctx, uint amount) in acpi_inc_align()
132 int acpi_add_table(struct acpi_ctx *ctx, void *table) in acpi_add_table()
239 void acpi_setup_base_tables(struct acpi_ctx *ctx, void *start) in acpi_setup_base_tables()
A Dacpi_dp.c21 static void acpi_dp_write_value(struct acpi_ctx *ctx, in acpi_dp_write_value()
44 static void acpi_dp_write_property(struct acpi_ctx *ctx, in acpi_dp_write_property()
54 static void acpi_dp_write_array(struct acpi_ctx *ctx, in acpi_dp_write_array()
98 static int acpi_dp_write_internal(struct acpi_ctx *ctx, struct acpi_dp *table) in acpi_dp_write_internal()
184 int acpi_dp_write(struct acpi_ctx *ctx, struct acpi_dp *table) in acpi_dp_write()
/u-boot/test/dm/
A Dacpigen.c39 struct acpi_ctx *ctx; in acpi_test_alloc_context_size() local
80 struct acpi_ctx *ctx; in dm_test_acpi_emit_simple() local
107 struct acpi_ctx *ctx; in dm_test_acpi_emit_stream() local
127 struct acpi_ctx *ctx; in dm_test_acpi_emit_string() local
146 struct acpi_ctx *ctx; in dm_test_acpi_interrupt() local
177 struct acpi_ctx *ctx; in dm_test_acpi_gpio() local
222 struct acpi_ctx *ctx; in dm_test_acpi_gpio_irq() local
266 struct acpi_ctx *ctx; in dm_test_acpi_interrupt_or_gpio() local
306 struct acpi_ctx *ctx; in dm_test_acpi_i2c() local
338 struct acpi_ctx *ctx; in dm_test_acpi_spi() local
[all …]
A Dacpi_dp.c47 struct acpi_ctx *ctx; in dm_test_acpi_dp_new_table() local
74 struct acpi_ctx *ctx; in dm_test_acpi_dp_int() local
126 struct acpi_ctx *ctx; in dm_test_acpi_dp_int64() local
152 struct acpi_ctx *ctx; in dm_test_acpi_dp_int16() local
178 struct acpi_ctx *ctx; in dm_test_acpi_dp_int8() local
204 struct acpi_ctx *ctx; in dm_test_acpi_dp_multiple() local
238 struct acpi_ctx *ctx; in dm_test_acpi_dp_array() local
279 struct acpi_ctx *ctx; in dm_test_acpi_dp_child() local
390 struct acpi_ctx *ctx; in dm_test_acpi_dp_gpio() local
430 struct acpi_ctx *ctx; in dm_test_acpi_dp_copy() local
A Dacpi.c40 struct acpi_ctx *ctx) in testacpi_write_tables()
71 static int testacpi_fill_ssdt(const struct udevice *dev, struct acpi_ctx *ctx) in testacpi_fill_ssdt()
84 static int testacpi_inject_dsdt(const struct udevice *dev, struct acpi_ctx *ctx) in testacpi_inject_dsdt()
233 struct acpi_ctx ctx; in dm_test_acpi_write_tables() local
273 struct acpi_ctx ctx; in dm_test_acpi_basic() local
304 struct acpi_ctx ctx; in dm_test_acpi_setup_base_tables() local
349 struct acpi_ctx ctx; in dm_test_acpi_cmd_list() local
391 struct acpi_ctx ctx; in dm_test_acpi_cmd_dump() local
471 struct acpi_ctx ctx; in dm_test_acpi_fill_ssdt() local
502 struct acpi_ctx ctx; in dm_test_acpi_inject_dsdt() local
[all …]
/u-boot/lib/
A Dsmbios.c153 static void smbios_set_eos(struct smbios_ctx *ctx, char *eos) in smbios_set_eos()
196 static int smbios_string_table_len(const struct smbios_ctx *ctx) in smbios_string_table_len()
203 struct smbios_ctx *ctx) in smbios_write_type0()
254 struct smbios_ctx *ctx) in smbios_write_type1()
285 struct smbios_ctx *ctx) in smbios_write_type2()
310 struct smbios_ctx *ctx) in smbios_write_type3()
334 struct smbios_ctx *ctx) in smbios_write_type4_dm()
367 struct smbios_ctx *ctx) in smbios_write_type4()
393 struct smbios_ctx *ctx) in smbios_write_type32()
410 struct smbios_ctx *ctx) in smbios_write_type127()
[all …]
A Dsha1.c56 void sha1_starts (sha1_context * ctx) in sha1_starts()
68 static void sha1_process(sha1_context *ctx, const unsigned char data[64]) in sha1_process()
225 void sha1_update(sha1_context *ctx, const unsigned char *input, in sha1_update()
272 void sha1_finish (sha1_context * ctx, unsigned char output[20]) in sha1_finish()
304 sha1_context ctx; in sha1_csum() local
318 sha1_context ctx; in sha1_csum_wd() local
352 sha1_context ctx; in sha1_hmac() local
411 sha1_context ctx; in sha1_self_test() local
A Dsha512.c260 void sha384_starts(sha512_context * ctx) in sha384_starts()
273 void sha384_update(sha512_context *ctx, const uint8_t *input, uint32_t length) in sha384_update()
278 void sha384_finish(sha512_context * ctx, uint8_t digest[SHA384_SUM_LEN]) in sha384_finish()
294 sha512_context ctx; in sha384_csum_wd() local
324 void sha512_starts(sha512_context * ctx) in sha512_starts()
337 void sha512_update(sha512_context *ctx, const uint8_t *input, uint32_t length) in sha512_update()
342 void sha512_finish(sha512_context * ctx, uint8_t digest[SHA512_SUM_LEN]) in sha512_finish()
358 sha512_context ctx; in sha512_csum_wd() local
A Dsha256.c43 void sha256_starts(sha256_context * ctx) in sha256_starts()
58 static void sha256_process(sha256_context *ctx, const uint8_t data[64]) in sha256_process()
189 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length) in sha256_update()
230 void sha256_finish(sha256_context * ctx, uint8_t digest[32]) in sha256_finish()
266 sha256_context ctx; in sha256_csum_wd() local
/u-boot/common/
A Dhash.c47 sha1_context *ctx = malloc(sizeof(sha1_context)); in hash_init_sha1() local
75 sha256_context *ctx = malloc(sizeof(sha256_context)); in hash_init_sha256() local
81 static int hash_update_sha256(struct hash_algo *algo, void *ctx, in hash_update_sha256()
88 static int hash_finish_sha256(struct hash_algo *algo, void *ctx, void in hash_finish_sha256()
103 sha512_context *ctx = malloc(sizeof(sha512_context)); in hash_init_sha384() local
109 static int hash_update_sha384(struct hash_algo *algo, void *ctx, in hash_update_sha384()
131 sha512_context *ctx = malloc(sizeof(sha512_context)); in hash_init_sha512() local
137 static int hash_update_sha512(struct hash_algo *algo, void *ctx, in hash_update_sha512()
159 uint16_t *ctx = malloc(sizeof(uint16_t)); in hash_init_crc16_ccitt() local
186 uint32_t *ctx = malloc(sizeof(uint32_t)); in hash_init_crc32() local
[all …]
/u-boot/lib/crypto/
A Dpkcs7_parser.c129 struct pkcs7_parse_context *ctx; in pkcs7_parse_message() local
220 struct pkcs7_parse_context *ctx = context; in pkcs7_note_OID() local
239 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_digest_algo() local
277 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_pkey_algo() local
298 struct pkcs7_parse_context *ctx = context; in pkcs7_check_content_type() local
315 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signeddata_version() local
349 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signerinfo_version() local
392 struct pkcs7_parse_context *ctx = context; in pkcs7_extract_cert() local
432 struct pkcs7_parse_context *ctx = context; in pkcs7_note_certificate_list() local
450 struct pkcs7_parse_context *ctx = context; in pkcs7_note_content() local
[all …]
A Dx509_cert_parser.c77 struct x509_parse_context *ctx; in x509_cert_parse() local
170 struct x509_parse_context *ctx = context; in x509_note_OID() local
190 struct x509_parse_context *ctx = context; in x509_note_tbs_certificate() local
207 struct x509_parse_context *ctx = context; in x509_note_pkey_algo() local
269 struct x509_parse_context *ctx = context; in x509_note_signature() local
301 struct x509_parse_context *ctx = context; in x509_note_serial() local
314 struct x509_parse_context *ctx = context; in x509_extract_name_segment() local
418 struct x509_parse_context *ctx = context; in x509_note_issuer() local
428 struct x509_parse_context *ctx = context; in x509_note_subject() local
441 struct x509_parse_context *ctx = context; in x509_note_params() local
[all …]
/u-boot/arch/x86/lib/
A Dacpigen.c11 void acpigen_write_empty_pct(struct acpi_ctx *ctx) in acpigen_write_empty_pct()
53 void acpigen_write_empty_ptc(struct acpi_ctx *ctx) in acpigen_write_empty_ptc()
A Dacpi_table.c474 static int acpi_create_ssdt(struct acpi_ctx *ctx, in acpi_create_ssdt()
510 struct acpi_ctx *ctx; in write_acpi_tables() local
734 int acpi_write_hpet(struct acpi_ctx *ctx) in acpi_write_hpet()
751 int acpi_write_dbg2_pci_uart(struct acpi_ctx *ctx, struct udevice *dev, in acpi_write_dbg2_pci_uart()
820 void acpi_create_dmar_drhd(struct acpi_ctx *ctx, uint flags, uint segment, in acpi_create_dmar_drhd()
834 void acpi_create_dmar_rmrr(struct acpi_ctx *ctx, uint segment, u64 bar, in acpi_create_dmar_rmrr()
848 void acpi_dmar_drhd_fixup(struct acpi_ctx *ctx, void *base) in acpi_dmar_drhd_fixup()
855 void acpi_dmar_rmrr_fixup(struct acpi_ctx *ctx, void *base) in acpi_dmar_rmrr_fixup()
880 int acpi_create_dmar_ds_pci_br(struct acpi_ctx *ctx, pci_dev_t bdf) in acpi_create_dmar_ds_pci_br()
885 int acpi_create_dmar_ds_pci(struct acpi_ctx *ctx, pci_dev_t bdf) in acpi_create_dmar_ds_pci()
[all …]
/u-boot/arch/x86/cpu/intel_common/
A Dacpi.c170 struct acpi_ctx *ctx) in intel_southbridge_write_acpi_tables()
197 int southbridge_inject_dsdt(const struct udevice *dev, struct acpi_ctx *ctx) in southbridge_inject_dsdt()
245 void generate_p_state_entries(struct acpi_ctx *ctx, int core, in generate_p_state_entries()
329 void generate_t_state_entries(struct acpi_ctx *ctx, int core, in generate_t_state_entries()
349 int acpi_generate_cpu_header(struct acpi_ctx *ctx, int core_id, in acpi_generate_cpu_header()
365 int acpi_generate_cpu_package_final(struct acpi_ctx *ctx, int cores_per_package) in acpi_generate_cpu_package_final()
/u-boot/drivers/core/
A Dacpi.c114 static int acpi_add_item(struct acpi_ctx *ctx, struct udevice *dev, in acpi_add_item()
184 static int sort_acpi_item_type(struct acpi_ctx *ctx, void *start, in sort_acpi_item_type()
260 int acpi_recurse_method(struct acpi_ctx *ctx, struct udevice *parent, in acpi_recurse_method()
295 int acpi_fill_ssdt(struct acpi_ctx *ctx) in acpi_fill_ssdt()
310 int acpi_inject_dsdt(struct acpi_ctx *ctx) in acpi_inject_dsdt()
331 int acpi_write_dev_tables(struct acpi_ctx *ctx) in acpi_write_dev_tables()
343 int acpi_setup_nhlt(struct acpi_ctx *ctx, struct nhlt *nhlt) in acpi_setup_nhlt()
/u-boot/drivers/usb/host/
A Dxhci-omap.c54 struct omap_xhci *ctx = &omap; in xhci_hcd_init() local
87 struct omap_xhci *ctx = &omap; in xhci_hcd_stop() local
A Dxhci-fsl.c30 struct fsl_xhci ctx; member
179 struct fsl_xhci *ctx = &fsl_xhci; in xhci_hcd_init() local
212 struct fsl_xhci *ctx = &fsl_xhci; in xhci_hcd_stop() local
/u-boot/common/spl/
A Dspl_fit.c81 static int spl_fit_get_image_name(const struct spl_fit_info *ctx, in spl_fit_get_image_name()
156 static int spl_fit_get_image_node(const struct spl_fit_info *ctx, in spl_fit_get_image_node()
231 const struct spl_fit_info *ctx, int node, in spl_load_fit_image()
353 const struct spl_fit_info *ctx) in spl_fit_append_fdt()
451 static int spl_fit_record_loadable(const struct spl_fit_info *ctx, int index, in spl_fit_record_loadable()
523 static int spl_simple_fit_read(struct spl_fit_info *ctx, in spl_simple_fit_read()
558 static int spl_simple_fit_parse(struct spl_fit_info *ctx) in spl_simple_fit_parse()
588 struct spl_fit_info ctx; in spl_load_simple_fit() local
/u-boot/drivers/sound/
A Dda7219.c27 struct acpi_ctx *ctx) in da7219_acpi_fill_ssdt()
155 struct acpi_ctx *ctx) in da7219_acpi_setup_nhlt()
A Dmax98357a.c42 struct acpi_ctx *ctx) in max98357a_acpi_fill_ssdt()
121 struct acpi_ctx *ctx) in max98357a_acpi_setup_nhlt()
/u-boot/drivers/crypto/fsl/
A Dfsl_hash.c91 struct sha_ctx *ctx = hash_ctx; in caam_hash_update() local
135 struct sha_ctx *ctx = hash_ctx; in caam_hash_finish() local
223 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update()
229 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf, in hw_sha_finish()
/u-boot/lib/libavb/
A Davb_sha256.c88 void avb_sha256_init(AvbSHA256Ctx* ctx) { in avb_sha256_init()
109 static void SHA256_transform(AvbSHA256Ctx* ctx, in SHA256_transform()
308 void avb_sha256_update(AvbSHA256Ctx* ctx, const uint8_t* data, size_t len) { in avb_sha256_update()
339 uint8_t* avb_sha256_final(AvbSHA256Ctx* ctx) { in avb_sha256_final()

Completed in 45 milliseconds

123