Home
last modified time | relevance | path

Searched full:pdb (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.12.1/drivers/crypto/caam/
Dpkc_desc.c14 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb) in init_rsa_pub_desc() argument
17 append_cmd(desc, pdb->sgf); in init_rsa_pub_desc()
18 append_ptr(desc, pdb->f_dma); in init_rsa_pub_desc()
19 append_ptr(desc, pdb->g_dma); in init_rsa_pub_desc()
20 append_ptr(desc, pdb->n_dma); in init_rsa_pub_desc()
21 append_ptr(desc, pdb->e_dma); in init_rsa_pub_desc()
22 append_cmd(desc, pdb->f_len); in init_rsa_pub_desc()
27 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb) in init_rsa_priv_f1_desc() argument
30 append_cmd(desc, pdb->sgf); in init_rsa_priv_f1_desc()
31 append_ptr(desc, pdb->g_dma); in init_rsa_priv_f1_desc()
[all …]
Dcaampkc.c68 struct rsa_pub_pdb *pdb = &edesc->pdb.pub; in rsa_pub_unmap() local
70 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
71 dma_unmap_single(dev, pdb->e_dma, key->e_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
80 struct rsa_priv_f1_pdb *pdb = &edesc->pdb.priv_f1; in rsa_priv_f1_unmap() local
82 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
83 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
92 struct rsa_priv_f2_pdb *pdb = &edesc->pdb.priv_f2; in rsa_priv_f2_unmap() local
96 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
97 dma_unmap_single(dev, pdb->p_dma, p_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
98 dma_unmap_single(dev, pdb->q_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
[all …]
Dpdb.h3 * CAAM Protocol Data Block (PDB) definition header file
14 * PDB- IPSec ESP Header Modification Options
33 * the PDB, copy the DF bit from the inner IP header to the outer IP header.
47 * PDB - IPSec ESP Encap/Decap Options
57 #define PDBOPTS_ESP_IPHDRSRC 0x08 /* IP header comes from PDB (encap) */
68 * General IPSec encap/decap PDB definitions
72 * ipsec_encap_cbc - PDB part for IPsec CBC encapsulation
80 * ipsec_encap_ctr - PDB part for IPsec CTR encapsulation
92 * ipsec_encap_ccm - PDB part for IPsec CCM encapsulation
108 * ipsec_encap_gcm - PDB part for IPsec GCM encapsulation
[all …]
Dcaampkc.h14 #include "pdb.h"
128 * @pdb : specific RSA Protocol Data Block (PDB)
145 } pdb; member
150 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb);
151 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb);
152 void init_rsa_priv_f2_desc(u32 *desc, struct rsa_priv_f2_pdb *pdb);
153 void init_rsa_priv_f3_desc(u32 *desc, struct rsa_priv_f3_pdb *pdb);
Derror.c103 { 0x82, "invalid setting in PDB" },
110 …l has seen an error in size. When running RSA, pdb size N < (size of F) when no formatting is used…
/linux-6.12.1/security/apparmor/include/
Dpolicy.h78 * count: refcount for the pdb
101 * aa_get_pdb - increment refcount on @pdb
102 * @pdb: policydb (MAYBE NULL)
104 * Returns: pointer to @pdb if @pdb is NULL will return NULL
105 * Requires: @pdb must be held with valid refcount when called
107 static inline struct aa_policydb *aa_get_pdb(struct aa_policydb *pdb) in aa_get_pdb() argument
109 if (pdb) in aa_get_pdb()
110 kref_get(&(pdb->count)); in aa_get_pdb()
112 return pdb; in aa_get_pdb()
116 * aa_put_pdb - put a pdb refcount
[all …]
/linux-6.12.1/security/apparmor/
Dpolicy_unpack.c712 struct aa_policydb *pdb; in unpack_pdb() local
717 pdb = aa_alloc_pdb(GFP_KERNEL); in unpack_pdb()
718 if (!pdb) in unpack_pdb()
721 size = unpack_perms_table(e, &pdb->perms); in unpack_pdb()
724 pdb->perms = NULL; in unpack_pdb()
728 pdb->size = size; in unpack_pdb()
730 if (pdb->perms) { in unpack_pdb()
739 pdb->dfa = unpack_dfa(e, flags); in unpack_pdb()
740 if (IS_ERR(pdb->dfa)) { in unpack_pdb()
741 error = PTR_ERR(pdb->dfa); in unpack_pdb()
[all …]
Dpolicy.c102 static void aa_free_pdb(struct aa_policydb *pdb) in aa_free_pdb() argument
104 if (pdb) { in aa_free_pdb()
105 aa_put_dfa(pdb->dfa); in aa_free_pdb()
106 if (pdb->perms) in aa_free_pdb()
107 kvfree(pdb->perms); in aa_free_pdb()
108 aa_free_str_table(&pdb->trans); in aa_free_pdb()
109 kfree(pdb); in aa_free_pdb()
119 struct aa_policydb *pdb = container_of(kref, struct aa_policydb, count); in aa_pdb_free_kref() local
121 aa_free_pdb(pdb); in aa_pdb_free_kref()
127 struct aa_policydb *pdb = kzalloc(sizeof(struct aa_policydb), gfp); in aa_alloc_pdb() local
[all …]
/linux-6.12.1/drivers/net/ethernet/amd/
Dau1000_eth.c565 struct db_dest *pDB; in au1000_GetFreeDB() local
566 pDB = aup->pDBfree; in au1000_GetFreeDB()
568 if (pDB) in au1000_GetFreeDB()
569 aup->pDBfree = pDB->pnext; in au1000_GetFreeDB()
571 return pDB; in au1000_GetFreeDB()
574 void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) in au1000_ReleaseDB() argument
578 pDBfree->pnext = pDB; in au1000_ReleaseDB()
579 aup->pDBfree = pDB; in au1000_ReleaseDB()
772 struct db_dest *pDB; in au1000_rx() local
781 pDB = aup->rx_db_inuse[aup->rx_head]; in au1000_rx()
[all …]
/linux-6.12.1/arch/arm/boot/dts/aspeed/
Daspeed-bmc-facebook-catalina.dts528 // PDB FRU EEPROM
534 // PDB TEMP SENSOR
545 // PDB IOEXP
766 // PDB CPLD IOEXP 0x10
776 // PDB CPLD IOEXP 0x11
786 // PDB CPLD IOEXP 0x12
796 // PDB CPLD IOEXP 0x13
806 // PDB CPLD IOEXP 0x14
816 // PDB CPLD IOEXP 0x15
Daspeed-bmc-facebook-minipack.dts76 * connecting to left PDB (Power Distribution Board).
89 * connecting to right PDB (Power Distribution Board).
436 * I2C Switch 8-0070 channel #0: connecting to left PDB
502 * I2C Switch 8-0070 channel #1: connecting to right PDB
Daspeed-bmc-facebook-harma.dts316 // PDB FRU
624 "","power-config-pdb-power-good",
Daspeed-bmc-quanta-q71l.dts379 /* PDB FRU */
Daspeed-bmc-facebook-fuji.dts55 * PDB-Left.
68 * PDB-Right.
/linux-6.12.1/arch/mips/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/linux-6.12.1/arch/sparc/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/linux-6.12.1/arch/microblaze/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_sdma.c177 * @pe: byte offset of the PDE/PTE, relative to start of PDB/PTB
209 * @pe: byte offset of the PDE/PTE, relative to start of PDB/PTB
Damdgpu_vm_cpu.c61 * @pe: byte offset of the PDE/PTE, relative to start of PDB/PTB
/linux-6.12.1/arch/x86/include/asm/
Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/linux-6.12.1/arch/powerpc/include/asm/
Dhighmem.h11 * Gerhard.Wichert@pdb.siemens.de
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dvmmtu102.c34 type |= 0x00000006; /* HUB_ONLY | ALL PDB (hack) */ in tu102_vmm_flush()
/linux-6.12.1/Documentation/devicetree/bindings/media/i2c/
Dti,ds90ub960.yaml40 Specifier for the GPIO connected to the PDB pin.
/linux-6.12.1/drivers/staging/sm750fb/
Dsm750.c726 const struct fb_videomode *pdb[] = { in lynxfb_set_fbinfo() local
795 pdb[i], cdb[i], NULL, 8); in lynxfb_set_fbinfo()
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_os.c6018 struct port_database_24xx *pdb; in qla25xx_rdp_rsp_reduce_size() local
6027 pdb = kzalloc(sizeof(*pdb), GFP_KERNEL); in qla25xx_rdp_rsp_reduce_size()
6028 if (!pdb) { in qla25xx_rdp_rsp_reduce_size()
6030 "%s: Failed allocate pdb\n", __func__); in qla25xx_rdp_rsp_reduce_size()
6032 le16_to_cpu(purex->nport_handle), pdb)) { in qla25xx_rdp_rsp_reduce_size()
6034 "%s: Failed get pdb sid=%x\n", __func__, sid); in qla25xx_rdp_rsp_reduce_size()
6035 } else if (pdb->current_login_state != PDS_PLOGI_COMPLETE && in qla25xx_rdp_rsp_reduce_size()
6036 pdb->current_login_state != PDS_PRLI_COMPLETE) { in qla25xx_rdp_rsp_reduce_size()
6041 kfree(pdb); in qla25xx_rdp_rsp_reduce_size()
6044 kfree(pdb); in qla25xx_rdp_rsp_reduce_size()

12