Home
last modified time | relevance | path

Searched refs:desc (Results 251 – 275 of 4086) sorted by relevance

1...<<11121314151617181920>>...164

/openbmc/linux/drivers/greybus/
H A Dmanifest.c62 struct manifest_desc *desc, *tmp; in release_cport_descriptors() local
65 list_for_each_entry_safe(desc, tmp, head, links) { in release_cport_descriptors()
66 desc_cport = desc->data; in release_cport_descriptors()
68 if (desc->type != GREYBUS_TYPE_CPORT) in release_cport_descriptors()
72 release_manifest_descriptor(desc); in release_cport_descriptors()
99 struct greybus_descriptor *desc, size_t size) in identify_descriptor() argument
101 struct greybus_descriptor_header *desc_header = &desc->header; in identify_descriptor()
125 expected_size += desc->string.length; in identify_descriptor()
165 descriptor->data = (char *)desc + sizeof(*desc_header); in identify_descriptor()
232 struct manifest_desc *desc, *next, *tmp; in gb_manifest_parse_cports() local
[all …]
/openbmc/linux/drivers/pci/msi/
H A Dirqdomain.c42 struct msi_desc *desc = irq_data_get_msi_desc(irq_data); in pci_msi_domain_write_msg() local
48 if (desc->irq == irq_data->irq) in pci_msi_domain_write_msg()
49 __pci_write_msi_msg(desc, msg); in pci_msi_domain_write_msg()
58 static irq_hw_number_t pci_msi_domain_calc_hwirq(struct msi_desc *desc) in pci_msi_domain_calc_hwirq() argument
60 struct pci_dev *dev = msi_desc_to_pci_dev(desc); in pci_msi_domain_calc_hwirq()
62 return (irq_hw_number_t)desc->msi_index | in pci_msi_domain_calc_hwirq()
68 struct msi_desc *desc) in pci_msi_domain_set_desc() argument
70 arg->desc = desc; in pci_msi_domain_set_desc()
71 arg->hwirq = pci_msi_domain_calc_hwirq(desc); in pci_msi_domain_set_desc()
145 static void pci_device_domain_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc) in pci_device_domain_set_desc() argument
[all …]
/openbmc/qemu/scripts/
H A Dvmstate-static-checker.py143 def check_fields(src_fields, dest_fields, desc, sec): argument
185 print("Description " + "\"" + desc + "\":", end=' ')
206 print("Description \"" + desc + "\":", end=' ')
220 print("Description \"" + desc + "\":", end=' ')
227 if not check_fields_match(desc, s_item["field"], d_item["field"]):
273 print("Description \"" + desc + "\":", end=' ')
279 check_version(s_item, d_item, sec, desc)
283 check_size(s_item, d_item, sec, desc, s_item["field"])
285 check_description_in_list(s_item, d_item, sec, desc)
288 def check_subsections(src_sub, dest_sub, desc, sec): argument
[all …]
/openbmc/linux/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg-hw.c21 void print_descriptor_info(struct device *dev, struct mxc_jpeg_desc *desc) in print_descriptor_info() argument
24 desc->next_descpt_ptr); in print_descriptor_info()
25 dev_dbg(dev, " MXC JPEG BUF_BASE0 0x%x\n", desc->buf_base0); in print_descriptor_info()
26 dev_dbg(dev, " MXC JPEG BUF_BASE1 0x%x\n", desc->buf_base1); in print_descriptor_info()
27 dev_dbg(dev, " MXC JPEG LINE_PITCH %d\n", desc->line_pitch); in print_descriptor_info()
28 dev_dbg(dev, " MXC JPEG STM_BUFBASE 0x%x\n", desc->stm_bufbase); in print_descriptor_info()
29 dev_dbg(dev, " MXC JPEG STM_BUFSIZE %d\n", desc->stm_bufsize); in print_descriptor_info()
30 dev_dbg(dev, " MXC JPEG IMGSIZE %x (%d x %d)\n", desc->imgsize, in print_descriptor_info()
31 desc->imgsize >> 16, desc->imgsize & 0xFFFF); in print_descriptor_info()
32 dev_dbg(dev, " MXC JPEG STM_CTRL 0x%x\n", desc->stm_ctrl); in print_descriptor_info()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dcrc32c-intel_glue.c94 static int crc32c_intel_init(struct shash_desc *desc) in crc32c_intel_init() argument
96 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_intel_init()
97 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_init()
104 static int crc32c_intel_update(struct shash_desc *desc, const u8 *data, in crc32c_intel_update() argument
107 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_update()
120 static int crc32c_intel_finup(struct shash_desc *desc, const u8 *data, in crc32c_intel_finup() argument
123 return __crc32c_intel_finup(shash_desc_ctx(desc), data, len, out); in crc32c_intel_finup()
126 static int crc32c_intel_final(struct shash_desc *desc, u8 *out) in crc32c_intel_final() argument
128 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_final()
134 static int crc32c_intel_digest(struct shash_desc *desc, const u8 *data, in crc32c_intel_digest() argument
[all …]
/openbmc/linux/drivers/regulator/
H A Dhi6421v600-regulator.c25 struct regulator_desc desc; member
77 .desc = { \
107 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in hi6421_spmi_regulator_enable()
108 rdev->desc->enable_mask, in hi6421_spmi_regulator_enable()
109 rdev->desc->enable_mask); in hi6421_spmi_regulator_enable()
112 usleep_range(rdev->desc->off_on_delay, rdev->desc->off_on_delay + 60); in hi6421_spmi_regulator_enable()
124 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_get_mode()
125 regmap_read(rdev->regmap, rdev->desc->enable_reg, &reg_val); in hi6421_spmi_regulator_get_mode()
139 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_set_mode()
154 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in hi6421_spmi_regulator_set_mode()
[all …]
H A Drt5120-regulator.c216 static void rt5120_fillin_regulator_desc(struct regulator_desc *desc, int rid) in rt5120_fillin_regulator_desc() argument
224 desc->name = name[rid]; in rt5120_fillin_regulator_desc()
225 desc->supply_name = sname[rid]; in rt5120_fillin_regulator_desc()
226 desc->owner = THIS_MODULE; in rt5120_fillin_regulator_desc()
227 desc->type = REGULATOR_VOLTAGE; in rt5120_fillin_regulator_desc()
228 desc->id = rid; in rt5120_fillin_regulator_desc()
229 desc->enable_reg = RT5120_REG_ENABLE; in rt5120_fillin_regulator_desc()
230 desc->enable_mask = RT5120_RIDEN_MASK(rid); in rt5120_fillin_regulator_desc()
231 desc->active_discharge_reg = RT5120_REG_DISCHG; in rt5120_fillin_regulator_desc()
232 desc->active_discharge_mask = RT5120_RADEN_MASK(rid); in rt5120_fillin_regulator_desc()
[all …]
H A Dfixed.c34 struct regulator_desc desc; member
120 const struct regulator_desc *desc) in of_get_fixed_voltage_config() argument
131 config->init_data = of_get_regulator_init_data(dev, dev->of_node, desc); in of_get_fixed_voltage_config()
191 &drvdata->desc); in reg_fixed_voltage_probe()
201 drvdata->desc.name = devm_kstrdup(&pdev->dev, in reg_fixed_voltage_probe()
204 if (drvdata->desc.name == NULL) { in reg_fixed_voltage_probe()
208 drvdata->desc.type = REGULATOR_VOLTAGE; in reg_fixed_voltage_probe()
209 drvdata->desc.owner = THIS_MODULE; in reg_fixed_voltage_probe()
212 drvdata->desc.ops = &fixed_voltage_clkenabled_ops; in reg_fixed_voltage_probe()
220 drvdata->desc.ops = &fixed_voltage_domain_ops; in reg_fixed_voltage_probe()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpiolib-acpi.c71 struct gpio_desc *desc; member
77 struct gpio_desc *desc; member
290 value = gpiod_get_raw_value_cansleep(event->desc); in acpi_gpiochip_request_irq()
353 struct gpio_desc *desc; in acpi_request_own_gpiod() local
356 desc = gpiochip_request_own_desc(chip, pin, label, polarity, flags); in acpi_request_own_gpiod()
357 if (IS_ERR(desc)) in acpi_request_own_gpiod()
358 return desc; in acpi_request_own_gpiod()
361 ret = gpio_set_debounce_timeout(desc, agpio->debounce_timeout * 10); in acpi_request_own_gpiod()
367 return desc; in acpi_request_own_gpiod()
432 struct gpio_desc *desc; in acpi_gpiochip_alloc_event() local
[all …]
H A Dgpiolib-cdev.c207 struct gpio_desc *desc; in linehandle_set_config() local
224 desc = lh->descs[i]; in linehandle_set_config()
225 linehandle_flags_to_desc_flags(lflags, &desc->flags); in linehandle_set_config()
230 ret = gpiod_direction_output(desc, val); in linehandle_set_config()
234 ret = gpiod_direction_input(desc); in linehandle_set_config()
239 gpiod_line_state_notify(desc, GPIO_V2_LINE_CHANGED_CONFIG); in linehandle_set_config()
388 struct gpio_desc *desc = gpiochip_get_desc(gdev->chip, offset); in linehandle_create() local
390 if (IS_ERR(desc)) { in linehandle_create()
391 ret = PTR_ERR(desc); in linehandle_create()
395 ret = gpiod_request_user(desc, lh->label); in linehandle_create()
[all …]
H A Dgpiolib-of.c385 struct gpio_desc *desc; in of_get_named_gpiod_flags() local
398 desc = ERR_PTR(-EPROBE_DEFER); in of_get_named_gpiod_flags()
402 desc = of_xlate_and_get_gpiod_flags(chip, &gpiospec, flags); in of_get_named_gpiod_flags()
403 if (IS_ERR(desc)) in of_get_named_gpiod_flags()
411 PTR_ERR_OR_ZERO(desc)); in of_get_named_gpiod_flags()
416 return desc; in of_get_named_gpiod_flags()
431 struct gpio_desc *desc; in of_get_named_gpio() local
433 desc = of_get_named_gpiod_flags(np, propname, index, NULL); in of_get_named_gpio()
435 if (IS_ERR(desc)) in of_get_named_gpio()
436 return PTR_ERR(desc); in of_get_named_gpio()
[all …]
/openbmc/u-boot/drivers/fpga/
H A DACEX1K.c34 static int ACEX1K_ps_load(Altera_desc *desc, const void *buf, size_t bsize);
35 static int ACEX1K_ps_dump(Altera_desc *desc, const void *buf, size_t bsize);
40 int ACEX1K_load(Altera_desc *desc, const void *buf, size_t bsize) in ACEX1K_load() argument
44 switch (desc->iface) { in ACEX1K_load()
47 ret_val = ACEX1K_ps_load (desc, buf, bsize); in ACEX1K_load()
54 __FUNCTION__, desc->iface); in ACEX1K_load()
60 int ACEX1K_dump(Altera_desc *desc, const void *buf, size_t bsize) in ACEX1K_dump() argument
64 switch (desc->iface) { in ACEX1K_dump()
67 ret_val = ACEX1K_ps_dump (desc, buf, bsize); in ACEX1K_dump()
74 __FUNCTION__, desc->iface); in ACEX1K_dump()
[all …]
/openbmc/linux/drivers/dma/ioat/
H A Ddma.c209 struct ioat_ring_ent *desc; in __ioat_start_null_desc() local
221 desc = ioat_get_ring_ent(ioat_chan, ioat_chan->head); in __ioat_start_null_desc()
223 hw = desc->hw; in __ioat_start_null_desc()
232 async_tx_ack(&desc->txd); in __ioat_start_null_desc()
233 ioat_set_chainaddr(ioat_chan, desc->txd.phys); in __ioat_start_null_desc()
234 dump_desc_dbg(ioat_chan, desc); in __ioat_start_null_desc()
262 struct ioat_ring_ent *desc; in __ioat_restart_chan() local
264 desc = ioat_get_ring_ent(ioat_chan, ioat_chan->tail); in __ioat_restart_chan()
265 ioat_set_chainaddr(ioat_chan, desc->txd.phys); in __ioat_restart_chan()
340 struct ioat_ring_ent *desc; in ioat_alloc_ring_ent() local
[all …]
/openbmc/linux/drivers/pmdomain/amlogic/
H A Dmeson-ee-pwrc.c319 struct meson_ee_pwrc_domain_desc desc; member
338 pwrc_domain->desc.top_pd->sleep_reg, &reg); in pwrc_ee_is_powered_off()
340 return (reg & pwrc_domain->desc.top_pd->sleep_mask); in pwrc_ee_is_powered_off()
349 if (pwrc_domain->desc.top_pd) in meson_ee_pwrc_off()
351 pwrc_domain->desc.top_pd->sleep_reg, in meson_ee_pwrc_off()
352 pwrc_domain->desc.top_pd->sleep_mask, in meson_ee_pwrc_off()
353 pwrc_domain->desc.top_pd->sleep_mask); in meson_ee_pwrc_off()
356 for (i = 0 ; i < pwrc_domain->desc.mem_pd_count ; ++i) in meson_ee_pwrc_off()
358 pwrc_domain->desc.mem_pd[i].reg, in meson_ee_pwrc_off()
359 pwrc_domain->desc.mem_pd[i].mask, in meson_ee_pwrc_off()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qemu-opts.c23 .desc = {
50 .desc = {
81 .desc = {
91 .desc = {
753 static void append_verify_list_01(QemuOptDesc *desc, bool with_overlapping) in append_verify_list_01() argument
758 g_assert_cmpstr(desc[i].name, ==, "str1"); in append_verify_list_01()
759 g_assert_cmpint(desc[i].type, ==, QEMU_OPT_STRING); in append_verify_list_01()
760 g_assert_cmpstr(desc[i].help, ==, in append_verify_list_01()
762 g_assert_cmpstr(desc[i].def_value_str, ==, "default"); in append_verify_list_01()
765 g_assert_cmpstr(desc[i].name, ==, "str2"); in append_verify_list_01()
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-innolux-p079zca.c50 const struct panel_desc *desc; member
94 if (innolux->desc->sleep_mode_delay) in innolux_panel_unprepare()
95 msleep(innolux->desc->sleep_mode_delay); in innolux_panel_unprepare()
99 if (innolux->desc->power_down_delay) in innolux_panel_unprepare()
100 msleep(innolux->desc->power_down_delay); in innolux_panel_unprepare()
102 err = regulator_bulk_disable(innolux->desc->num_supplies, in innolux_panel_unprepare()
122 err = regulator_bulk_enable(innolux->desc->num_supplies, in innolux_panel_prepare()
135 if (innolux->desc->init_cmds) { in innolux_panel_prepare()
137 innolux->desc->init_cmds; in innolux_panel_prepare()
187 regulator_bulk_disable(innolux->desc->num_supplies, innolux->supplies); in innolux_panel_prepare()
[all …]
H A Dpanel-seiko-43wvf1g.c49 const struct seiko_panel_desc *desc; member
66 if (!panel->desc) in seiko_panel_get_fixed_modes()
69 for (i = 0; i < panel->desc->num_timings; i++) { in seiko_panel_get_fixed_modes()
70 const struct display_timing *dt = &panel->desc->timings[i]; in seiko_panel_get_fixed_modes()
85 if (panel->desc->num_timings == 1) in seiko_panel_get_fixed_modes()
92 for (i = 0; i < panel->desc->num_modes; i++) { in seiko_panel_get_fixed_modes()
93 const struct drm_display_mode *m = &panel->desc->modes[i]; in seiko_panel_get_fixed_modes()
105 if (panel->desc->num_modes == 1) in seiko_panel_get_fixed_modes()
114 connector->display_info.bpc = panel->desc->bpc; in seiko_panel_get_fixed_modes()
115 connector->display_info.width_mm = panel->desc->size.width; in seiko_panel_get_fixed_modes()
[all …]
/openbmc/linux/drivers/platform/olpc/
H A Dolpc-ec.c80 struct ec_cmd_desc *desc = NULL; in olpc_ec_worker() local
86 desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node); in olpc_ec_worker()
87 list_del(&desc->node); in olpc_ec_worker()
92 if (!desc) in olpc_ec_worker()
97 desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen, in olpc_ec_worker()
98 desc->outbuf, desc->outlen, ec_cb_arg); in olpc_ec_worker()
102 complete(&desc->finished); in olpc_ec_worker()
112 static void queue_ec_descriptor(struct ec_cmd_desc *desc, in queue_ec_descriptor() argument
117 INIT_LIST_HEAD(&desc->node); in queue_ec_descriptor()
120 list_add_tail(&desc->node, &ec->cmd_q); in queue_ec_descriptor()
[all …]
/openbmc/linux/kernel/irq/
H A Dmigration.c18 bool irq_fixup_move_pending(struct irq_desc *desc, bool force_clear) in irq_fixup_move_pending() argument
20 struct irq_data *data = irq_desc_get_irq_data(desc); in irq_fixup_move_pending()
29 if (cpumask_any_and(desc->pending_mask, cpu_online_mask) >= nr_cpu_ids) { in irq_fixup_move_pending()
40 struct irq_desc *desc = irq_data_to_desc(idata); in irq_move_masked_irq() local
41 struct irq_data *data = &desc->irq_data; in irq_move_masked_irq()
57 if (unlikely(cpumask_empty(desc->pending_mask))) in irq_move_masked_irq()
63 assert_raw_spin_locked(&desc->lock); in irq_move_masked_irq()
77 if (cpumask_any_and(desc->pending_mask, cpu_online_mask) < nr_cpu_ids) { in irq_move_masked_irq()
80 ret = irq_do_set_affinity(data, desc->pending_mask, false); in irq_move_masked_irq()
91 cpumask_clear(desc->pending_mask); in irq_move_masked_irq()
/openbmc/linux/drivers/clk/
H A Dclk-en7523.c160 const struct en_clk_desc *desc = &en7523_base_clks[i]; in en7523_get_base_rate() local
163 if (!desc->base_bits) in en7523_get_base_rate()
164 return desc->base_value; in en7523_get_base_rate()
166 val = readl(base + desc->base_reg); in en7523_get_base_rate()
167 val >>= desc->base_shift; in en7523_get_base_rate()
168 val &= (1 << desc->base_bits) - 1; in en7523_get_base_rate()
170 if (val >= desc->n_base_values) in en7523_get_base_rate()
173 return desc->base_values[val]; in en7523_get_base_rate()
178 const struct en_clk_desc *desc = &en7523_base_clks[i]; in en7523_get_div() local
181 if (!desc->div_bits) in en7523_get_div()
[all …]
/openbmc/linux/drivers/clk/mvebu/
H A Dclk-corediv.c57 const struct clk_corediv_desc *desc; member
83 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_is_enabled() local
84 u32 enable_mask = BIT(desc->fieldbit) << soc_desc->enable_bit_offset; in clk_corediv_is_enabled()
93 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_enable() local
100 reg |= (BIT(desc->fieldbit) << soc_desc->enable_bit_offset); in clk_corediv_enable()
112 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_disable() local
119 reg &= ~(BIT(desc->fieldbit) << soc_desc->enable_bit_offset); in clk_corediv_disable()
130 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_recalc_rate() local
134 div = (reg >> desc->offset) & desc->mask; in clk_corediv_recalc_rate()
158 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_set_rate() local
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.c42 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read) in hclge_comm_cmd_reuse_desc() argument
44 desc->flag = cpu_to_le16(HCLGE_COMM_CMD_FLAG_NO_INTR | in hclge_comm_cmd_reuse_desc()
47 desc->flag |= cpu_to_le16(HCLGE_COMM_CMD_FLAG_WR); in hclge_comm_cmd_reuse_desc()
49 desc->flag &= cpu_to_le16(~HCLGE_COMM_CMD_FLAG_WR); in hclge_comm_cmd_reuse_desc()
63 void hclge_comm_cmd_setup_basic_desc(struct hclge_desc *desc, in hclge_comm_cmd_setup_basic_desc() argument
67 memset((void *)desc, 0, sizeof(struct hclge_desc)); in hclge_comm_cmd_setup_basic_desc()
68 desc->opcode = cpu_to_le16(opcode); in hclge_comm_cmd_setup_basic_desc()
69 desc->flag = cpu_to_le16(HCLGE_COMM_CMD_FLAG_NO_INTR | in hclge_comm_cmd_setup_basic_desc()
73 desc->flag |= cpu_to_le16(HCLGE_COMM_CMD_FLAG_WR); in hclge_comm_cmd_setup_basic_desc()
80 struct hclge_desc desc; in hclge_comm_firmware_compat_config() local
[all …]
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c288 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_setup_scaler() local
291 if (!desc->layout.scaler_config) in atmel_hlcdc_plane_setup_scaler()
296 desc->layout.scaler_config, 0); in atmel_hlcdc_plane_setup_scaler()
300 if (desc->layout.phicoeffs.x) { in atmel_hlcdc_plane_setup_scaler()
314 desc->layout.phicoeffs.x); in atmel_hlcdc_plane_setup_scaler()
321 desc->layout.phicoeffs.y); in atmel_hlcdc_plane_setup_scaler()
327 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config, in atmel_hlcdc_plane_setup_scaler()
337 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_update_pos_and_size() local
339 if (desc->layout.size) in atmel_hlcdc_plane_update_pos_and_size()
340 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.size, in atmel_hlcdc_plane_update_pos_and_size()
[all …]
/openbmc/linux/security/apparmor/
H A Dcrypto.c30 SHASH_DESC_ON_STACK(desc, apparmor_tfm); in aa_calc_hash()
41 desc->tfm = apparmor_tfm; in aa_calc_hash()
43 error = crypto_shash_init(desc); in aa_calc_hash()
46 error = crypto_shash_update(desc, (u8 *) data, len); in aa_calc_hash()
49 error = crypto_shash_final(desc, hash); in aa_calc_hash()
64 SHASH_DESC_ON_STACK(desc, apparmor_tfm); in aa_calc_profile_hash()
78 desc->tfm = apparmor_tfm; in aa_calc_profile_hash()
80 error = crypto_shash_init(desc); in aa_calc_profile_hash()
83 error = crypto_shash_update(desc, (u8 *) &le32_version, 4); in aa_calc_profile_hash()
86 error = crypto_shash_update(desc, (u8 *) start, len); in aa_calc_profile_hash()
[all …]
/openbmc/linux/arch/arm/crypto/
H A Dsha2-ce-glue.c30 static int sha2_ce_update(struct shash_desc *desc, const u8 *data, in sha2_ce_update() argument
33 struct sha256_state *sctx = shash_desc_ctx(desc); in sha2_ce_update()
37 return crypto_sha256_arm_update(desc, data, len); in sha2_ce_update()
40 sha256_base_do_update(desc, data, len, in sha2_ce_update()
47 static int sha2_ce_finup(struct shash_desc *desc, const u8 *data, in sha2_ce_finup() argument
51 return crypto_sha256_arm_finup(desc, data, len, out); in sha2_ce_finup()
55 sha256_base_do_update(desc, data, len, in sha2_ce_finup()
57 sha256_base_do_finalize(desc, (sha256_block_fn *)sha2_ce_transform); in sha2_ce_finup()
60 return sha256_base_finish(desc, out); in sha2_ce_finup()
63 static int sha2_ce_final(struct shash_desc *desc, u8 *out) in sha2_ce_final() argument
[all …]

1...<<11121314151617181920>>...164