Home
last modified time | relevance | path

Searched refs:desc (Results 201 – 225 of 4086) sorted by relevance

12345678910>>...164

/openbmc/linux/include/linux/mtd/
H A Dubi.h226 void ubi_get_volume_info(struct ubi_volume_desc *desc,
237 void ubi_close_volume(struct ubi_volume_desc *desc);
238 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
240 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
242 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
244 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
246 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum);
247 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum);
248 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum);
249 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum);
[all …]
/openbmc/u-boot/include/linux/mtd/
H A Dubi.h231 void ubi_get_volume_info(struct ubi_volume_desc *desc,
254 void ubi_close_volume(struct ubi_volume_desc *desc);
255 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
257 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
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);
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_trace.h112 struct i40e_tx_desc *desc,
115 TP_ARGS(ring, desc, buf),
126 __field(void*, desc)
133 __entry->desc = desc;
141 __entry->desc, __entry->buf)
147 struct i40e_tx_desc *desc,
150 TP_ARGS(ring, desc, buf));
155 struct i40e_tx_desc *desc,
158 TP_ARGS(ring, desc, buf));
164 union i40e_16byte_rx_desc *desc,
[all …]
/openbmc/linux/tools/virtio/ringtest/
H A Dvirtio_ring_0_9.c86 ring.desc[i].next = i + 1; in alloc_ring()
105 struct vring_desc *desc; in add_inbuf() local
117 desc = ring.desc; in add_inbuf()
118 desc[head].flags = VRING_DESC_F_NEXT; in add_inbuf()
119 desc[head].addr = (unsigned long)(void *)buf; in add_inbuf()
120 desc[head].len = len; in add_inbuf()
125 desc[head].flags &= ~VRING_DESC_F_NEXT; in add_inbuf()
127 guest.free_head = desc[head].next; in add_inbuf()
181 *lenp = ring.desc[index].len; in get_buf()
186 *bufp = (void*)(unsigned long)ring.desc[index].addr; in get_buf()
[all …]
/openbmc/linux/drivers/crypto/ccree/
H A Dcc_cipher.c512 unsigned int ivsize, struct cc_hw_desc desc[], in cc_setup_readiv_desc() argument
533 hw_desc_init(&desc[*seq_size]); in cc_setup_readiv_desc()
534 set_dout_dlli(&desc[*seq_size], iv_dma_addr, ivsize, NS_BIT, 1); in cc_setup_readiv_desc()
535 set_cipher_config0(&desc[*seq_size], direction); in cc_setup_readiv_desc()
536 set_flow_mode(&desc[*seq_size], flow_mode); in cc_setup_readiv_desc()
537 set_cipher_mode(&desc[*seq_size], cipher_mode); in cc_setup_readiv_desc()
540 set_setup_mode(&desc[*seq_size], SETUP_WRITE_STATE1); in cc_setup_readiv_desc()
542 set_setup_mode(&desc[*seq_size], SETUP_WRITE_STATE0); in cc_setup_readiv_desc()
544 set_queue_last_ind(ctx_p->drvdata, &desc[*seq_size]); in cc_setup_readiv_desc()
550 hw_desc_init(&desc[*seq_size]); in cc_setup_readiv_desc()
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg_desc.h51 void cnstr_shdsc_aead_null_encap(u32 * const desc, struct alginfo *adata,
54 void cnstr_shdsc_aead_null_decap(u32 * const desc, struct alginfo *adata,
57 void cnstr_shdsc_aead_encap(u32 * const desc, struct alginfo *cdata,
63 void cnstr_shdsc_aead_decap(u32 * const desc, struct alginfo *cdata,
69 void cnstr_shdsc_aead_givencap(u32 * const desc, struct alginfo *cdata,
75 void cnstr_shdsc_gcm_encap(u32 * const desc, struct alginfo *cdata,
79 void cnstr_shdsc_gcm_decap(u32 * const desc, struct alginfo *cdata,
83 void cnstr_shdsc_rfc4106_encap(u32 * const desc, struct alginfo *cdata,
87 void cnstr_shdsc_rfc4106_decap(u32 * const desc, struct alginfo *cdata,
91 void cnstr_shdsc_rfc4543_encap(u32 * const desc, struct alginfo *cdata,
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dvirtex2.c87 static int virtex2_ssm_load(xilinx_desc *desc, const void *buf, size_t bsize);
88 static int virtex2_ssm_dump(xilinx_desc *desc, const void *buf, size_t bsize);
90 static int virtex2_ss_load(xilinx_desc *desc, const void *buf, size_t bsize);
91 static int virtex2_ss_dump(xilinx_desc *desc, const void *buf, size_t bsize);
93 static int virtex2_load(xilinx_desc *desc, const void *buf, size_t bsize, in virtex2_load() argument
98 switch (desc->iface) { in virtex2_load()
101 ret_val = virtex2_ss_load(desc, buf, bsize); in virtex2_load()
106 ret_val = virtex2_ssm_load(desc, buf, bsize); in virtex2_load()
111 __FUNCTION__, desc->iface); in virtex2_load()
116 static int virtex2_dump(xilinx_desc *desc, const void *buf, size_t bsize) in virtex2_dump() argument
[all …]
H A Dspartan2.c33 static int spartan2_sp_load(xilinx_desc *desc, const void *buf, size_t bsize);
34 static int spartan2_sp_dump(xilinx_desc *desc, const void *buf, size_t bsize);
37 static int spartan2_ss_load(xilinx_desc *desc, const void *buf, size_t bsize);
38 static int spartan2_ss_dump(xilinx_desc *desc, const void *buf, size_t bsize);
43 static int spartan2_load(xilinx_desc *desc, const void *buf, size_t bsize, in spartan2_load() argument
48 switch (desc->iface) { in spartan2_load()
51 ret_val = spartan2_ss_load(desc, buf, bsize); in spartan2_load()
56 ret_val = spartan2_sp_load(desc, buf, bsize); in spartan2_load()
61 __FUNCTION__, desc->iface); in spartan2_load()
67 static int spartan2_dump(xilinx_desc *desc, const void *buf, size_t bsize) in spartan2_dump() argument
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-mem.c481 static ssize_t spi_mem_no_dirmap_read(struct spi_mem_dirmap_desc *desc, in spi_mem_no_dirmap_read() argument
484 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_read()
487 op.addr.val = desc->info.offset + offs; in spi_mem_no_dirmap_read()
490 ret = spi_mem_adjust_op_size(desc->mem, &op); in spi_mem_no_dirmap_read()
494 ret = spi_mem_exec_op(desc->mem, &op); in spi_mem_no_dirmap_read()
501 static ssize_t spi_mem_no_dirmap_write(struct spi_mem_dirmap_desc *desc, in spi_mem_no_dirmap_write() argument
504 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_write()
507 op.addr.val = desc->info.offset + offs; in spi_mem_no_dirmap_write()
510 ret = spi_mem_adjust_op_size(desc->mem, &op); in spi_mem_no_dirmap_write()
514 ret = spi_mem_exec_op(desc->mem, &op); in spi_mem_no_dirmap_write()
[all …]
/openbmc/linux/drivers/regulator/
H A Dbcm590xx-regulator.c195 struct regulator_desc *desc; member
292 pmu->desc = devm_kcalloc(&pdev->dev, in bcm590xx_probe()
296 if (!pmu->desc) in bcm590xx_probe()
303 pmu->desc[i].name = info->name; in bcm590xx_probe()
304 pmu->desc[i].of_match = of_match_ptr(info->name); in bcm590xx_probe()
305 pmu->desc[i].regulators_node = of_match_ptr("regulators"); in bcm590xx_probe()
306 pmu->desc[i].supply_name = info->vin_name; in bcm590xx_probe()
307 pmu->desc[i].id = i; in bcm590xx_probe()
308 pmu->desc[i].volt_table = info->volt_table; in bcm590xx_probe()
309 pmu->desc[i].n_voltages = info->n_voltages; in bcm590xx_probe()
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dkapi.c90 void ubi_get_volume_info(struct ubi_volume_desc *desc, in ubi_get_volume_info() argument
93 ubi_do_get_volume_info(desc->vol->ubi, desc->vol, vi); in ubi_get_volume_info()
118 struct ubi_volume_desc *desc; in ubi_open_volume() local
143 desc = kmalloc(sizeof(struct ubi_volume_desc), GFP_KERNEL); in ubi_open_volume()
144 if (!desc) { in ubi_open_volume()
189 desc->vol = vol; in ubi_open_volume()
190 desc->mode = mode; in ubi_open_volume()
198 ubi_close_volume(desc); in ubi_open_volume()
210 return desc; in ubi_open_volume()
216 kfree(desc); in ubi_open_volume()
[all …]
/openbmc/u-boot/drivers/mtd/ubi/
H A Dkapi.c96 void ubi_get_volume_info(struct ubi_volume_desc *desc, in ubi_get_volume_info() argument
99 ubi_do_get_volume_info(desc->vol->ubi, desc->vol, vi); in ubi_get_volume_info()
124 struct ubi_volume_desc *desc; in ubi_open_volume() local
149 desc = kmalloc(sizeof(struct ubi_volume_desc), GFP_KERNEL); in ubi_open_volume()
150 if (!desc) { in ubi_open_volume()
195 desc->vol = vol; in ubi_open_volume()
196 desc->mode = mode; in ubi_open_volume()
204 ubi_close_volume(desc); in ubi_open_volume()
216 return desc; in ubi_open_volume()
222 kfree(desc); in ubi_open_volume()
[all …]
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_fip.c43 vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW); in qedf_fcoe_send_vlan_req()
45 vlan->desc.mac.fd_desc.fip_dtype = FIP_DT_MAC; in qedf_fcoe_send_vlan_req()
46 vlan->desc.mac.fd_desc.fip_dlen = sizeof(vlan->desc.mac) / FIP_BPW; in qedf_fcoe_send_vlan_req()
47 ether_addr_copy(vlan->desc.mac.fd_mac, qedf->mac); in qedf_fcoe_send_vlan_req()
49 vlan->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME; in qedf_fcoe_send_vlan_req()
50 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW; in qedf_fcoe_send_vlan_req()
51 put_unaligned_be64(qedf->lport->wwnn, &vlan->desc.wwnn.fd_wwn); in qedf_fcoe_send_vlan_req()
83 struct fip_desc *desc; in qedf_fcoe_process_vlan_resp() local
91 desc = (struct fip_desc *)(fiph + 1); in qedf_fcoe_process_vlan_resp()
93 dlen = desc->fip_dlen * FIP_BPW; in qedf_fcoe_process_vlan_resp()
[all …]
/openbmc/linux/security/integrity/evm/
H A Devm_crypto.c79 struct shash_desc *desc; in init_desc() local
121 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
123 if (!desc) in init_desc()
126 desc->tfm = *tfm; in init_desc()
128 rc = crypto_shash_init(desc); in init_desc()
130 kfree(desc); in init_desc()
133 return desc; in init_desc()
142 static void hmac_add_misc(struct shash_desc *desc, struct inode *inode, in hmac_add_misc() argument
172 crypto_shash_update(desc, (const u8 *)&hmac_misc, sizeof(hmac_misc)); in hmac_add_misc()
175 crypto_shash_update(desc, (u8 *)&inode->i_sb->s_uuid, UUID_SIZE); in hmac_add_misc()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhw.h239 bool (*rx_desc_get_first_msdu)(struct hal_rx_desc *desc);
240 bool (*rx_desc_get_last_msdu)(struct hal_rx_desc *desc);
241 u8 (*rx_desc_get_l3_pad_bytes)(struct hal_rx_desc *desc);
242 u8 *(*rx_desc_get_hdr_status)(struct hal_rx_desc *desc);
243 bool (*rx_desc_encrypt_valid)(struct hal_rx_desc *desc);
244 u32 (*rx_desc_get_encrypt_type)(struct hal_rx_desc *desc);
245 u8 (*rx_desc_get_decap_type)(struct hal_rx_desc *desc);
246 u8 (*rx_desc_get_mesh_ctl)(struct hal_rx_desc *desc);
247 bool (*rx_desc_get_ldpc_support)(struct hal_rx_desc *desc);
248 bool (*rx_desc_get_mpdu_seq_ctl_vld)(struct hal_rx_desc *desc);
[all …]
/openbmc/linux/arch/arm64/crypto/
H A Dsm3-neon-glue.c23 static int sm3_neon_update(struct shash_desc *desc, const u8 *data, in sm3_neon_update() argument
27 sm3_update(shash_desc_ctx(desc), data, len); in sm3_neon_update()
32 sm3_base_do_update(desc, data, len, sm3_neon_transform); in sm3_neon_update()
38 static int sm3_neon_final(struct shash_desc *desc, u8 *out) in sm3_neon_final() argument
41 sm3_final(shash_desc_ctx(desc), out); in sm3_neon_final()
46 sm3_base_do_finalize(desc, sm3_neon_transform); in sm3_neon_final()
49 return sm3_base_finish(desc, out); in sm3_neon_final()
52 static int sm3_neon_finup(struct shash_desc *desc, const u8 *data, in sm3_neon_finup() argument
56 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_neon_finup()
66 sm3_base_do_update(desc, data, len, sm3_neon_transform); in sm3_neon_finup()
[all …]
H A Dsm3-ce-glue.c26 static int sm3_ce_update(struct shash_desc *desc, const u8 *data, in sm3_ce_update() argument
30 sm3_update(shash_desc_ctx(desc), data, len); in sm3_ce_update()
35 sm3_base_do_update(desc, data, len, sm3_ce_transform); in sm3_ce_update()
41 static int sm3_ce_final(struct shash_desc *desc, u8 *out) in sm3_ce_final() argument
44 sm3_final(shash_desc_ctx(desc), out); in sm3_ce_final()
49 sm3_base_do_finalize(desc, sm3_ce_transform); in sm3_ce_final()
52 return sm3_base_finish(desc, out); in sm3_ce_final()
55 static int sm3_ce_finup(struct shash_desc *desc, const u8 *data, in sm3_ce_finup() argument
59 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_ce_finup()
69 sm3_base_do_update(desc, data, len, sm3_ce_transform); in sm3_ce_finup()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dtvaudio.c123 struct CHIPDESC *desc; member
328 struct CHIPDESC *desc = chip->desc; in chip_thread() local
349 mode = desc->getrxsubchans(chip); in chip_thread()
383 desc->setaudmode(chip, selected); in chip_thread()
1747 struct CHIPDESC *desc = chip->desc; in tvaudio_s_ctrl() local
1753 chip_write_masked(chip,desc->inputreg,desc->inputmute,desc->inputmask); in tvaudio_s_ctrl()
1755 chip_write_masked(chip,desc->inputreg, in tvaudio_s_ctrl()
1756 desc->inputmap[chip->input],desc->inputmask); in tvaudio_s_ctrl()
1767 chip_write(chip, desc->leftreg, desc->volfunc(left)); in tvaudio_s_ctrl()
1768 chip_write(chip, desc->rightreg, desc->volfunc(right)); in tvaudio_s_ctrl()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_memory.c22 struct efi_mem_desc desc; member
61 if (mema->desc.physical_start == memb->desc.physical_start) in efi_mem_cmp()
63 else if (mema->desc.physical_start < memb->desc.physical_start) in efi_mem_cmp()
69 static uint64_t desc_get_end(struct efi_mem_desc *desc) in desc_get_end() argument
71 return desc->physical_start + (desc->num_pages << EFI_PAGE_SHIFT); in desc_get_end()
87 struct efi_mem_desc *prev = &prevmem->desc; in efi_mem_sort()
97 cur = &lmem->desc; in efi_mem_sort()
144 struct efi_mem_desc *map_desc = &map->desc; in efi_mem_carve_out()
170 map->desc.physical_start = carve_end; in efi_mem_carve_out()
171 map->desc.num_pages = (map_end - carve_end) in efi_mem_carve_out()
[all …]
H A Defi_device_path.c42 static bool is_sd(struct blk_desc *desc) in is_sd() argument
44 struct mmc *mmc = find_mmc_device(desc->devnum); in is_sd()
510 struct blk_desc *desc = dev_get_uclass_platdata(dev); in dp_fill() local
515 dp->logical_unit_number = desc->devnum; in dp_fill()
516 dp->primary_secondary = IDE_BUS(desc->devnum); in dp_fill()
517 dp->slave_master = desc->devnum % in dp_fill()
527 struct blk_desc *desc = dev_get_uclass_platdata(dev); in dp_fill() local
532 dp->logical_unit_number = desc->lun; in dp_fill()
533 dp->target_id = desc->target; in dp_fill()
541 struct blk_desc *desc = dev_get_uclass_platdata(dev); in dp_fill() local
[all …]
/openbmc/linux/arch/sh/boards/mach-x3proto/
H A Dsetup.c128 .desc = "key44",
133 .desc = "key43",
138 .desc = "key42",
142 .desc = "key41",
146 .desc = "key34",
150 .desc = "key33",
154 .desc = "key32",
158 .desc = "key31",
162 .desc = "key24",
166 .desc = "key23",
[all …]
/openbmc/qemu/target/arm/tcg/
H A Dcrypto_helper.c39 static void clear_tail_16(void *vd, uint32_t desc) in clear_tail_16() argument
41 int opr_sz = simd_oprsz(desc); in clear_tail_16()
42 int max_sz = simd_maxsz(desc); in clear_tail_16()
50 void HELPER(crypto_aese)(void *vd, void *vn, void *vm, uint32_t desc) in HELPER()
52 intptr_t i, opr_sz = simd_oprsz(desc); in HELPER()
76 clear_tail(vd, opr_sz, simd_maxsz(desc)); in HELPER()
79 void HELPER(crypto_aesd)(void *vd, void *vn, void *vm, uint32_t desc) in HELPER()
81 intptr_t i, opr_sz = simd_oprsz(desc); in HELPER()
101 clear_tail(vd, opr_sz, simd_maxsz(desc)); in HELPER()
104 void HELPER(crypto_aesmc)(void *vd, void *vm, uint32_t desc) in HELPER()
[all …]
/openbmc/linux/drivers/net/ethernet/
H A Dlantiq_xrx200.c135 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_flush_dma() local
137 if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) != LTQ_DMA_C) in xrx200_flush_dma()
140 desc->ctl = LTQ_DMA_OWN | LTQ_DMA_RX_OFFSET(NET_IP_ALIGN) | in xrx200_flush_dma()
142 ch->dma.desc++; in xrx200_flush_dma()
143 ch->dma.desc %= LTQ_DESC_NUM; in xrx200_flush_dma()
189 void *buf = ch->rx_buff[ch->dma.desc]; in xrx200_alloc_buf()
194 ch->rx_buff[ch->dma.desc] = alloc(priv->rx_skb_size); in xrx200_alloc_buf()
195 if (!ch->rx_buff[ch->dma.desc]) { in xrx200_alloc_buf()
196 ch->rx_buff[ch->dma.desc] = buf; in xrx200_alloc_buf()
201 mapping = dma_map_single(priv->dev, ch->rx_buff[ch->dma.desc], in xrx200_alloc_buf()
[all …]
/openbmc/linux/drivers/scsi/
H A Dses.c155 unsigned char *desc) in ses_set_page2_descriptor() argument
172 memcpy(desc_ptr, desc, 4); in ses_set_page2_descriptor()
216 unsigned char *desc; in ses_get_fault() local
222 desc = ses_get_page2_descriptor(edev, ecomp); in ses_get_fault()
223 if (desc) in ses_get_fault()
224 ecomp->fault = (desc[3] & 0x60) >> 4; in ses_get_fault()
231 unsigned char desc[4]; in ses_set_fault() local
242 init_device_slot_control(desc, ecomp, desc_ptr); in ses_set_fault()
246 desc[3] &= 0xdf; in ses_set_fault()
249 desc[3] |= 0x20; in ses_set_fault()
[all …]
/openbmc/linux/fs/nfs_common/
H A Dnfsacl.c35 struct xdr_array2_desc desc; member
49 xdr_nfsace_encode(struct xdr_array2_desc *desc, void *elem) in xdr_nfsace_encode() argument
52 (struct nfsacl_encode_desc *) desc; in xdr_nfsace_encode()
97 .desc = { in nfsacl_encode()
131 err = xdr_encode_array2(buf, base + 4, &nfsacl_desc.desc); in nfsacl_encode()
133 err = 8 + nfsacl_desc.desc.elem_size * in nfsacl_encode()
134 nfsacl_desc.desc.array_len; in nfsacl_encode()
159 .desc = { in nfs_stream_encode_acl()
199 elem_size * nfsacl_desc.desc.array_len)) in nfs_stream_encode_acl()
201 err = xdr_encode_array2(xdr->buf, base, &nfsacl_desc.desc); in nfs_stream_encode_acl()
[all …]

12345678910>>...164