Home
last modified time | relevance | path

Searched refs:desc (Results 101 – 125 of 3694) sorted by relevance

12345678910>>...148

/openbmc/linux/fs/ext2/
H A Dialloc.c53 if (!desc) in read_inode_bitmap()
72 if (!desc) { in ext2_release_inode()
208 if (!desc || !desc->bg_free_inodes_count) in find_group_dir()
283 if (!desc || !desc->bg_free_inodes_count) in find_group_orlov()
321 if (!desc || !desc->bg_free_inodes_count) in find_group_orlov()
338 if (!desc || !desc->bg_free_inodes_count) in find_group_orlov()
371 if (desc && le16_to_cpu(desc->bg_free_inodes_count) && in find_group_other()
395 if (desc && le16_to_cpu(desc->bg_free_inodes_count) && in find_group_other()
409 if (desc && le16_to_cpu(desc->bg_free_inodes_count)) in find_group_other()
628 if (!desc) in ext2_count_free_inodes()
[all …]
/openbmc/linux/include/crypto/
H A Dpoly1305.h61 void poly1305_init_arch(struct poly1305_desc_ctx *desc,
63 void poly1305_init_generic(struct poly1305_desc_ctx *desc,
69 poly1305_init_arch(desc, key); in poly1305_init()
71 poly1305_init_generic(desc, key); in poly1305_init()
74 void poly1305_update_arch(struct poly1305_desc_ctx *desc, const u8 *src,
79 static inline void poly1305_update(struct poly1305_desc_ctx *desc, in poly1305_update() argument
83 poly1305_update_arch(desc, src, nbytes); in poly1305_update()
85 poly1305_update_generic(desc, src, nbytes); in poly1305_update()
88 void poly1305_final_arch(struct poly1305_desc_ctx *desc, u8 *digest);
94 poly1305_final_arch(desc, digest); in poly1305_final()
[all …]
/openbmc/linux/kernel/irq/
H A Dmsi.c61 struct msi_desc *desc = kzalloc(sizeof(*desc), GFP_KERNEL); in msi_alloc_desc() local
63 if (!desc) in msi_alloc_desc()
66 desc->dev = dev; in msi_alloc_desc()
71 kfree(desc); in msi_alloc_desc()
75 return desc; in msi_alloc_desc()
81 kfree(desc); in msi_free_desc()
140 if (!desc) in msi_domain_insert_msi_desc()
241 if (!desc) in msi_domain_add_simple_msi_descs()
451 if (desc && desc->irq) { in msi_domain_get_virq()
752 arg->desc = desc; in msi_domain_ops_set_desc()
[all …]
/openbmc/linux/net/mac80211/
H A Daes_cmac.c28 SHASH_DESC_ON_STACK(desc, tfm); in ieee80211_aes_cmac()
32 desc->tfm = tfm; in ieee80211_aes_cmac()
34 crypto_shash_init(desc); in ieee80211_aes_cmac()
35 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac()
39 crypto_shash_update(desc, zero, 8); in ieee80211_aes_cmac()
52 SHASH_DESC_ON_STACK(desc, tfm); in ieee80211_aes_cmac_256()
55 desc->tfm = tfm; in ieee80211_aes_cmac_256()
57 crypto_shash_init(desc); in ieee80211_aes_cmac_256()
58 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac_256()
62 crypto_shash_update(desc, zero, 8); in ieee80211_aes_cmac_256()
[all …]
/openbmc/linux/arch/arm64/crypto/
H A Dsha1-ce-glue.c56 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_update()
59 return crypto_sha1_update(desc, data, len); in sha1_ce_update()
70 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_finup()
74 return crypto_sha1_finup(desc, data, len, out); in sha1_ce_finup()
84 sha1_base_do_finalize(desc, __sha1_ce_transform); in sha1_ce_finup()
85 return sha1_base_finish(desc, out); in sha1_ce_finup()
90 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_final()
93 return crypto_sha1_finup(desc, NULL, 0, out); in sha1_ce_final()
96 sha1_base_do_finalize(desc, __sha1_ce_transform); in sha1_ce_final()
97 return sha1_base_finish(desc, out); in sha1_ce_final()
[all …]
H A Dsha2-ce-glue.c67 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_update()
70 return sha256_base_do_update(desc, data, len, in sha256_ce_update()
82 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_finup()
87 sha256_base_do_update(desc, data, len, in sha256_ce_finup()
90 return sha256_base_finish(desc, out); in sha256_ce_finup()
101 sha256_base_do_finalize(desc, __sha2_ce_transform); in sha256_ce_finup()
102 return sha256_base_finish(desc, out); in sha256_ce_finup()
107 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_final()
111 return sha256_base_finish(desc, out); in sha256_ce_final()
115 sha256_base_do_finalize(desc, __sha2_ce_transform); in sha256_ce_final()
[all …]
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-moore.c62 const struct mtk_pin_desc *desc; in mtk_pinmux_set_mux() local
67 if (!desc->name) in mtk_pinmux_set_mux()
82 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_request_enable() local
85 if (!desc->name) in mtk_pinmux_gpio_request_enable()
97 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_set_direction() local
100 if (!desc->name) in mtk_pinmux_gpio_set_direction()
116 if (!desc->name) in mtk_pinconf_get()
255 if (!desc->name) in mtk_pinconf_set()
486 if (!desc->name) in mtk_gpio_get()
502 if (!desc->name) { in mtk_gpio_set()
[all …]
/openbmc/linux/drivers/dma/
H A Didma64.c91 struct idma64_desc *desc = idma64c->desc; in idma64_chan_start() local
146 desc = idma64c->desc; in idma64_chan_irq()
147 if (desc) { in idma64_chan_irq()
160 if (idma64c->desc == NULL || desc->status == DMA_ERROR) in idma64_chan_irq()
199 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in idma64_alloc_desc()
200 if (!desc) in idma64_alloc_desc()
203 desc->hw = kcalloc(ndesc, sizeof(*desc->hw), GFP_NOWAIT); in idma64_alloc_desc()
209 return desc; in idma64_alloc_desc()
227 kfree(desc); in idma64_desc_free()
311 if (!desc) in idma64_prep_slave_sg()
[all …]
H A Dimx-dma.c427 desc->sg = sg_next(desc->sg); in dma_irq_handle_channel()
756 desc->desc.flags = DMA_CTRL_ACK; in imxdma_alloc_chan_resources()
841 desc->desc.callback = NULL; in imxdma_prep_slave_sg()
844 return &desc->desc; in imxdma_prep_slave_sg()
897 desc->desc.callback = NULL; in imxdma_prep_dma_cyclic()
902 return &desc->desc; in imxdma_prep_dma_cyclic()
930 desc->desc.callback = NULL; in imxdma_prep_dma_memcpy()
933 return &desc->desc; in imxdma_prep_dma_memcpy()
966 desc->len = desc->x * desc->y; in imxdma_prep_dma_interleaved()
974 desc->desc.callback = NULL; in imxdma_prep_dma_interleaved()
[all …]
/openbmc/linux/tools/perf/util/
H A Dbpf-utils.c133 struct bpil_array_desc *desc; in get_bpf_prog_info_linear() local
136 desc = bpil_array_desc + i; in get_bpf_prog_info_linear()
141 (desc->size_offset > 0 && info_len < (__u32)desc->size_offset)) in get_bpf_prog_info_linear()
166 struct bpil_array_desc *desc; in get_bpf_prog_info_linear() local
172 desc = bpil_array_desc + i; in get_bpf_prog_info_linear()
180 desc->array_offset, in get_bpf_prog_info_linear()
201 desc = bpil_array_desc + i; in get_bpf_prog_info_linear()
204 desc->count_offset); in get_bpf_prog_info_linear()
210 desc->size_offset); in get_bpf_prog_info_linear()
233 desc = bpil_array_desc + i; in bpil_addr_to_offs()
[all …]
/openbmc/linux/drivers/leds/blink/
H A Dleds-lgm-sso.c242 desc = &led->desc; in sso_led_brightness_set()
253 if (desc->hw_blink && !val && desc->blinking) { in sso_led_brightness_set()
256 } else if (desc->hw_blink && val && !desc->blinking) { in sso_led_brightness_set()
327 struct sso_led_desc *desc = &led->desc; in sso_led_hw_cfg() local
331 sso_led_freq_set(priv, desc->pin, desc->freq_idx); in sso_led_hw_cfg()
341 regmap_write(priv->mmap, DUTY_CYCLE(desc->pin), desc->brightness); in sso_led_hw_cfg()
344 if (!desc->hw_trig && desc->brightness) in sso_led_hw_cfg()
351 struct sso_led_desc *desc = &led->desc; in sso_create_led() local
636 desc = &led->desc; in __sso_led_dt_parse()
687 desc->blink_rate = priv->freq[desc->freq_idx]; in __sso_led_dt_parse()
[all …]
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Dcq_enet_desc.h23 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
104 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_rq_desc_dec()
109 le16_to_cpu(desc->q_number_rss_type_flags); in cq_enet_rq_desc_dec()
126 *rss_hash = le32_to_cpu(desc->rss_hash); in cq_enet_rq_desc_dec()
138 *vlan_tci = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec()
141 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) & in cq_enet_rq_desc_dec()
143 *fcoe_fc_crc_ok = (desc->flags & in cq_enet_rq_desc_dec()
145 *fcoe_enc_error = (desc->flags & in cq_enet_rq_desc_dec()
147 *fcoe_eof = (u8)((le16_to_cpu(desc->checksum_fcoe) >> in cq_enet_rq_desc_dec()
156 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
[all …]
H A Dwq_enet_desc.h45 desc->address = cpu_to_le64(address); in wq_enet_desc_enc()
46 desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK); in wq_enet_desc_enc()
47 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
49 desc->header_length_flags = cpu_to_le16( in wq_enet_desc_enc()
56 desc->vlan_tag = cpu_to_le16(vlan_tag); in wq_enet_desc_enc()
64 *address = le64_to_cpu(desc->address); in wq_enet_desc_dec()
65 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec()
68 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec()
70 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
74 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
[all …]
/openbmc/linux/drivers/regulator/
H A Dqcom_rpm-regulator.c449 .desc.ops = &uV_ops,
459 .desc.ops = &uV_ops,
469 .desc.ops = &uV_ops,
487 .desc.ops = &mV_ops,
497 .desc.ops = &mV_ops,
507 .desc.ops = &mV_ops,
517 .desc.ops = &mV_ops,
533 .desc.ops = &mV_ops,
543 .desc.ops = &mV_ops,
553 .desc.ops = &mV_ops,
[all …]
H A Dpalmas-regulator.c914 desc = &pmic->desc[id]; in palmas_ldo_registration()
916 desc->id = id; in palmas_ldo_registration()
952 desc->bypass_reg = desc->enable_reg; in palmas_ldo_registration()
967 desc->enable_reg = in palmas_ldo_registration()
1032 desc = &pmic->desc[id]; in tps65917_ldo_registration()
1034 desc->id = id; in tps65917_ldo_registration()
1062 desc->bypass_reg = desc->enable_reg; in tps65917_ldo_registration()
1166 desc = &pmic->desc[id]; in palmas_smps_registration()
1195 desc->id = id; in palmas_smps_registration()
1303 desc = &pmic->desc[id]; in tps65917_smps_registration()
[all …]
/openbmc/linux/drivers/devfreq/
H A Ddevfreq-event.c41 if (!edev || !edev->desc) in devfreq_event_enable_edev()
45 if (edev->desc->ops && edev->desc->ops->enable in devfreq_event_enable_edev()
73 if (!edev || !edev->desc) in devfreq_event_disable_edev()
83 if (edev->desc->ops && edev->desc->ops->disable in devfreq_event_disable_edev()
138 if (!edev->desc->ops || !edev->desc->ops->set_event) in devfreq_event_set_event()
168 if (!edev->desc->ops || !edev->desc->ops->get_event) in devfreq_event_get_event()
204 if (edev->desc->ops && edev->desc->ops->reset) in devfreq_event_reset_event()
311 if (!dev || !desc) in devfreq_event_add_edev()
314 if (!desc->name || !desc->ops) in devfreq_event_add_edev()
317 if (!desc->ops->set_event || !desc->ops->get_event) in devfreq_event_add_edev()
[all …]
/openbmc/linux/drivers/scsi/fnic/
H A Dwq_enet_desc.h44 desc->address = cpu_to_le64(address); in wq_enet_desc_enc()
45 desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK); in wq_enet_desc_enc()
46 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
48 desc->header_length_flags = cpu_to_le16( in wq_enet_desc_enc()
55 desc->vlan_tag = cpu_to_le16(vlan_tag); in wq_enet_desc_enc()
63 *address = le64_to_cpu(desc->address); in wq_enet_desc_dec()
64 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec()
67 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec()
69 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
73 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
[all …]
/openbmc/linux/drivers/scsi/snic/
H A Dwq_enet_desc.h42 desc->address = cpu_to_le64(address); in wq_enet_desc_enc()
43 desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK); in wq_enet_desc_enc()
44 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
46 desc->header_length_flags = cpu_to_le16( in wq_enet_desc_enc()
53 desc->vlan_tag = cpu_to_le16(vlan_tag); in wq_enet_desc_enc()
61 *address = le64_to_cpu(desc->address); in wq_enet_desc_dec()
62 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec()
65 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec()
67 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
71 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Dcaamprng.c56 16, 4, desc, desc_bytes(desc), 1); in caam_init_reseed_desc()
58 return desc; in caam_init_reseed_desc()
67 append_fifo_store(desc, dst_dma, in caam_init_prng_desc()
71 16, 4, desc, desc_bytes(desc), 1); in caam_init_prng_desc()
73 return desc; in caam_init_prng_desc()
84 u32 *desc; in caam_prng_generate() local
104 if (!desc) { in caam_prng_generate()
131 kfree(desc); in caam_prng_generate()
150 u32 *desc; in caam_prng_seed() local
166 if (!desc) { in caam_prng_seed()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dsha256_ssse3_glue.c58 struct sha256_state *sctx = shash_desc_ctx(desc); in _sha256_update()
62 return crypto_sha256_update(desc, data, len); in _sha256_update()
71 sha256_base_do_update(desc, data, len, sha256_xform); in _sha256_update()
81 return crypto_sha256_finup(desc, data, len, out); in sha256_finup()
85 sha256_base_do_update(desc, data, len, sha256_xform); in sha256_finup()
86 sha256_base_do_finalize(desc, sha256_xform); in sha256_finup()
89 return sha256_base_finish(desc, out); in sha256_finup()
107 return sha256_ssse3_finup(desc, NULL, 0, out); in sha256_ssse3_final()
172 return sha256_avx_finup(desc, NULL, 0, out); in sha256_avx_final()
248 return sha256_avx2_finup(desc, NULL, 0, out); in sha256_avx2_final()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c1775 &desc.params.raw; in i40e_aq_add_vsi()
1817 &desc.params.raw; in i40e_aq_set_default_vsi()
1845 &desc.params.raw; in i40e_aq_clear_default_vsi()
2127 &desc.params.raw; in i40e_aq_get_vsi_params()
2169 &desc.params.raw; in i40e_aq_update_vsi_params()
2488 &desc.params.raw; in i40e_aq_get_veb_parameters()
4306 &desc.params.raw; in i40e_aq_add_rem_control_packet_filter()
4309 &desc.params.raw; in i40e_aq_add_rem_control_packet_filter()
5450 &desc.params.raw; in i40e_aq_write_ddp()
5601 memcpy(desc.params.raw, aq->param, sizeof(desc.params.raw)); in i40e_ddp_exec_aq_section()
[all …]
/openbmc/linux/include/linux/
H A Dhte.h137 int (*request)(struct hte_chip *chip, struct hte_ts_desc *desc,
170 struct hte_ts_desc *desc, u32 *xlated_id);
188 int hte_init_line_attr(struct hte_ts_desc *desc, u32 line_id,
192 int hte_ts_put(struct hte_ts_desc *desc);
198 int hte_enable_ts(struct hte_ts_desc *desc);
199 int hte_disable_ts(struct hte_ts_desc *desc);
200 int hte_get_clk_src_info(const struct hte_ts_desc *desc,
229 static inline int hte_ts_put(struct hte_ts_desc *desc) in hte_ts_put() argument
241 struct hte_ts_desc *desc, in devm_hte_request_ts_ns() argument
254 static inline int hte_enable_ts(struct hte_ts_desc *desc) in hte_enable_ts() argument
[all …]
/openbmc/qemu/util/
H A Dqemu-option.c186 desc = list->desc; in qemu_opts_print_help()
187 while (desc && desc->name) { in qemu_opts_print_help()
505 opt->desc = desc; in opt_validate()
541 opt->desc = desc; in qemu_opt_set_bool()
564 opt->desc = desc; in qemu_opt_set_number()
722 for (; desc && desc->name; desc++) { in qemu_opts_print()
1069 for (desc = list->desc; desc->name; desc++) { in qemu_opts_to_qdict_filtered()
1154 desc = list->desc; in count_opts_list()
1155 while (desc && desc->name) { in count_opts_list()
1215 desc = list->desc; in qemu_opts_append()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-ismt.c403 struct ismt_desc *desc; in ismt_access() local
449 desc->rd_len = 1; in ismt_access()
460 desc->wr_len_cmd = 2; in ismt_access()
470 desc->rd_len = 1; in ismt_access()
480 desc->wr_len_cmd = 3; in ismt_access()
491 desc->rd_len = 2; in ismt_access()
499 desc->wr_len_cmd = 3; in ismt_access()
500 desc->rd_len = 2; in ismt_access()
526 desc->rd_len = dma_size; in ismt_access()
540 desc->rd_len = dma_size; in ismt_access()
[all …]
/openbmc/linux/drivers/sh/intc/
H A Dhandle.c21 struct intc_group *g = desc->hw.groups; in intc_grp_id()
25 g = desc->hw.groups + i; in intc_grp_id()
44 struct intc_mask_reg *mr = desc->hw.mask_regs; in _intc_mask_data()
49 mr = desc->hw.mask_regs + *reg_idx; in _intc_mask_data()
101 return intc_get_mask_handle(desc, d, intc_grp_id(desc, enum_id), 0); in intc_get_mask_handle()
112 struct intc_prio_reg *pr = desc->hw.prio_regs; in _intc_prio_data()
117 pr = desc->hw.prio_regs + *reg_idx; in _intc_prio_data()
170 return intc_get_prio_handle(desc, d, intc_grp_id(desc, enum_id), 0); in intc_get_prio_handle()
183 mr = desc->hw.ack_regs + i; in intc_ack_data()
265 sr = desc->hw.sense_regs + i; in intc_get_sense_handle()
[all …]

12345678910>>...148