Home
last modified time | relevance | path

Searched full:ocs (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.15/drivers/crypto/keembay/
DKconfig2 tristate "Support for Intel Keem Bay OCS AES/SM4 HW acceleration"
9 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) AES and
20 bool "Support for Intel Keem Bay OCS AES/SM4 ECB HW acceleration"
23 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
26 Provides OCS version of ecb(aes) and ecb(sm4)
31 bool "Support for Intel Keem Bay OCS AES/SM4 CTS HW acceleration"
34 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
38 Provides OCS version of cts(cbc(aes)) and cts(cbc(sm4)).
43 tristate "Support for Intel Keem Bay OCS HCU HW acceleration"
50 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash
[all …]
DMakefile2 # Makefile for Intel Keem Bay OCS Crypto API Linux drivers
4 obj-$(CONFIG_CRYPTO_DEV_KEEMBAY_OCS_AES_SM4) += keembay-ocs-aes.o
5 keembay-ocs-aes-objs := keembay-ocs-aes-core.o ocs-aes.o
7 obj-$(CONFIG_CRYPTO_DEV_KEEMBAY_OCS_HCU) += keembay-ocs-hcu.o
8 keembay-ocs-hcu-objs := keembay-ocs-hcu-core.o ocs-hcu.o
Docs-aes.h3 * Intel Keem Bay OCS AES Crypto Driver.
38 * @dev: OCS AES device.
40 * @base_reg: IO base address of OCS AES.
42 * @dma_err_mask: Error reported by OCS DMA interrupts.
56 * struct ocs_dll_desc - Descriptor of an OCS DMA Linked List.
81 * ocs_aes_bypass_op() - Use OCS DMA to copy data.
82 * @aes_dev: The OCS AES device to use.
83 * @dst_dma_list: The OCS DMA list mapping the memory where input data
85 * @src_dma_list: The OCS DMA list mapping input data.
Docs-hcu.c3 * Intel Keem Bay OCS HCU Crypto Driver.
16 #include "ocs-hcu.h"
96 * struct ocs_hcu_dma_entry - An entry in an OCS DMA linked list.
110 * struct ocs_hcu_dma_list - OCS-specific DMA linked list.
118 * The OCS DMA list is an array-backed list of OCS DMA descriptors. The array
163 * ocs_hcu_wait_busy() - Wait for HCU OCS hardware to became usable.
164 * @hcu_dev: OCS HCU device to wait for.
258 /* Ensure that the OCS is no longer busy before reading the chains. */ in ocs_hcu_get_intermediate_data()
321 /* Ensure that the OCS is no longer busy before reading the chains. */ in ocs_hcu_get_digest()
371 * ocs_hcu_clear_key() - Clear key stored in OCS HMAC KEY registers.
[all …]
Dkeembay-ocs-aes-core.c3 * Intel Keem Bay OCS AES Crypto Driver.
27 #include "ocs-aes.h"
30 #define DRV_NAME "keembay-ocs-aes"
40 * struct ocs_aes_tctx - OCS AES Transform context
42 * @aes_dev: The OCS AES device.
45 * @cipher: OCS cipher to use (either AES or SM4).
63 * struct ocs_aes_rctx - OCS AES Request context.
72 * @src_dll: OCS DMA linked list for input data.
73 * @dst_dll: OCS DMA linked list for output data.
77 * @aad_src_dll: OCS DMA linked list for input AAD data.
[all …]
Dkeembay-ocs-hcu-core.c3 * Intel Keem Bay OCS HCU Crypto Driver.
22 #include "ocs-hcu.h"
24 #define DRV_NAME "keembay-ocs-hcu"
36 * struct ocs_hcu_ctx: OCS HCU Transform context.
38 * @hcu_dev: The OCS HCU device used by the transformation.
55 * @hcu_dev: OCS HCU device to be used to service the request.
60 * @dma_list: OCS DMA linked list.
61 * @hash_ctx: OCS HCU hashing context.
186 /* Free OCS DMA linked list and DMA-able context buffer. */
217 * - Allocate OCS HCU DMA linked list (number of elements = SG entries to
[all …]
Docs-aes.c3 * Intel Keem Bay OCS AES Crypto Driver.
20 #include "ocs-aes.h"
136 * During CCM decrypt, the OCS block needs to finish processing the ciphertext
137 * before the tag is written. For 128-bit mode this required delay is 28 OCS
138 * clock cycles. For 256-bit mode it is 36 OCS clock cycles.
143 * During CCM decrypt there must be a delay of at least 42 OCS clock cycles
145 * bit in the same register (as stated in the OCS databook)
175 * struct ocs_dma_linked_list - OCS DMA linked list entry.
407 /* Enable and wait for IRQ (either from OCS AES engine or DMA) */
421 /* Configure DMA to OCS, linked list mode */
[all …]
Docs-hcu.h3 * Intel Keem Bay OCS HCU Crypto Driver.
28 * struct ocs_hcu_dev - OCS HCU device context.
30 * @dev: OCS HCU device.
31 * @io_base: Base address of OCS HCU registers.
62 * struct ocs_hcu_hash_ctx - Context for OCS HCU hashing operation.
/Linux-v5.15/drivers/of/
Ddynamic.c673 * @ocs: changeset pointer
677 void of_changeset_init(struct of_changeset *ocs) in of_changeset_init() argument
679 memset(ocs, 0, sizeof(*ocs)); in of_changeset_init()
680 INIT_LIST_HEAD(&ocs->entries); in of_changeset_init()
687 * @ocs: changeset pointer
692 void of_changeset_destroy(struct of_changeset *ocs) in of_changeset_destroy() argument
696 list_for_each_entry_safe_reverse(ce, cen, &ocs->entries, node) in of_changeset_destroy()
702 * Apply the changeset entries in @ocs.
711 int __of_changeset_apply_entries(struct of_changeset *ocs, int *ret_revert) in __of_changeset_apply_entries() argument
717 list_for_each_entry(ce, &ocs->entries, node) { in __of_changeset_apply_entries()
[all …]
Dof_private.h48 extern int __of_changeset_apply_entries(struct of_changeset *ocs,
50 extern int __of_changeset_apply_notify(struct of_changeset *ocs);
51 extern int __of_changeset_revert_entries(struct of_changeset *ocs,
53 extern int __of_changeset_revert_notify(struct of_changeset *ocs);
/Linux-v5.15/Documentation/devicetree/bindings/crypto/
Dintel,keembay-ocs-aes.yaml4 $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-aes.yaml#
7 title: Intel Keem Bay OCS AES Device Tree Bindings
13 The Intel Keem Bay Offload and Crypto Subsystem (OCS) AES engine provides
18 const: intel,keembay-ocs-aes
41 compatible = "intel,keembay-ocs-aes";
Dintel,keembay-ocs-hcu.yaml4 $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-hcu.yaml#
7 title: Intel Keem Bay OCS HCU Device Tree Bindings
14 The Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash Control Unit (HCU)
19 const: intel,keembay-ocs-hcu
42 compatible = "intel,keembay-ocs-hcu";
/Linux-v5.15/include/linux/
Dof.h1415 extern void of_changeset_init(struct of_changeset *ocs);
1416 extern void of_changeset_destroy(struct of_changeset *ocs);
1417 extern int of_changeset_apply(struct of_changeset *ocs);
1418 extern int of_changeset_revert(struct of_changeset *ocs);
1419 extern int of_changeset_action(struct of_changeset *ocs,
1423 static inline int of_changeset_attach_node(struct of_changeset *ocs, in of_changeset_attach_node() argument
1426 return of_changeset_action(ocs, OF_RECONFIG_ATTACH_NODE, np, NULL); in of_changeset_attach_node()
1429 static inline int of_changeset_detach_node(struct of_changeset *ocs, in of_changeset_detach_node() argument
1432 return of_changeset_action(ocs, OF_RECONFIG_DETACH_NODE, np, NULL); in of_changeset_detach_node()
1435 static inline int of_changeset_add_property(struct of_changeset *ocs, in of_changeset_add_property() argument
[all …]
/Linux-v5.15/arch/m68k/amiga/
Damisound.c30 * device since it depends on htotal (for OCS/ECS/AGA)
33 volatile unsigned short amiga_audio_min_period = 124; /* Default for pre-OCS */
/Linux-v5.15/drivers/pci/hotplug/
Dpnv_php.c175 of_changeset_destroy(&php_slot->ocs); in pnv_php_rmv_devtree()
212 static int pnv_php_populate_changeset(struct of_changeset *ocs, in pnv_php_populate_changeset() argument
219 ret = of_changeset_attach_node(ocs, child); in pnv_php_populate_changeset()
225 ret = pnv_php_populate_changeset(ocs, child); in pnv_php_populate_changeset()
290 of_changeset_init(&php_slot->ocs); in pnv_php_add_devtree()
292 ret = pnv_php_populate_changeset(&php_slot->ocs, php_slot->dn); in pnv_php_add_devtree()
301 ret = of_changeset_apply(&php_slot->ocs); in pnv_php_add_devtree()
315 of_changeset_destroy(&php_slot->ocs); in pnv_php_add_devtree()
/Linux-v5.15/drivers/net/slip/
Dslhc.c230 struct cstate *ocs = &(comp->tstate[comp->xmit_oldest]); in slhc_compress() local
231 struct cstate *lcs = ocs; in slhc_compress()
304 if ( cs == ocs ) in slhc_compress()
327 if(lcs == ocs) { in slhc_compress()
329 } else if (cs == ocs) { in slhc_compress()
335 cs->next = ocs->next; in slhc_compress()
336 ocs->next = cs; in slhc_compress()
/Linux-v5.15/scripts/ksymoops/
DREADME7 Keith Owens <kaos@ocs.com.au> Sat Jun 19 10:30:34 EST 1999
/Linux-v5.15/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c175 int ausel=0, ics=0, ocs=0; in mute_input_7134() local
215 case TV: ausel=0xc0; ics=0x00; ocs=0x02; break; in mute_input_7134()
216 case LINE1: ausel=0x80; ics=0x00; ocs=0x00; break; in mute_input_7134()
217 case LINE2: ausel=0x80; ics=0x08; ocs=0x01; break; in mute_input_7134()
218 case LINE2_LEFT: ausel=0x80; ics=0x08; ocs=0x05; break; in mute_input_7134()
222 saa_andorb(SAA7134_ANALOG_IO_SELECT, 0x07, ocs); in mute_input_7134()
/Linux-v5.15/arch/powerpc/include/asm/
Dpnv-pci.h68 struct of_changeset ocs; member
/Linux-v5.15/drivers/gpu/drm/rcar-du/
Drcar_du_of.c66 static int __init rcar_du_of_add_property(struct of_changeset *ocs, in rcar_du_of_add_property() argument
90 ret = of_changeset_add_property(ocs, np, prop); in rcar_du_of_add_property()
/Linux-v5.15/include/uapi/linux/
Dhdlcdrv.h57 struct hdlcdrv_old_channel_state ocs; member
/Linux-v5.15/drivers/video/fbdev/
Damifb.c34 * - 18 Feb 96: OCS and ECS support by Roman Zippel
251 moved to optimize use of dma (useful for OCS/ECS overscan displays)
614 #define VIDEOMEMSIZE_OCS (262144) /* OCS : max ca. 800*600*16 */
751 /* OCS Hardware Registers */
950 #define DEFMODE_PAL 2 /* "pal" for PAL OCS/ECS */
951 #define DEFMODE_NTSC 0 /* "ntsc" for NTSC OCS/ECS */
1326 DPRINTK("invalid position for display on ocs\n"); in ami_decode_var()
1372 DPRINTK("only broadcast modes possible for ocs\n"); in ami_decode_var()
3571 strcat(info->fix.id, "OCS"); in amifb_probe()
3574 maxdepth[TAG_SHRES] = 0; /* OCS means no SHRES */ in amifb_probe()
[all …]
/Linux-v5.15/drivers/net/hamradio/
Dhdlcdrv.c559 bi.data.ocs.ptt = hdlcdrv_ptt(s); in hdlcdrv_siocdevprivate()
560 bi.data.ocs.dcd = s->hdlcrx.dcd; in hdlcdrv_siocdevprivate()
561 bi.data.ocs.ptt_keyed = s->ptt_keyed; in hdlcdrv_siocdevprivate()
Dbaycom_epp.c1071 hi.data.ocs.ptt = !!(bc->stat & EPP_PTTBIT); in baycom_siocdevprivate()
1072 hi.data.ocs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_siocdevprivate()
1073 hi.data.ocs.ptt_keyed = bc->ptt_keyed; in baycom_siocdevprivate()
/Linux-v5.15/drivers/scsi/ufs/
Dufshcd.c710 * This function is used to get the OCS field from UTRD
711 * Returns the OCS field in the UTRD
2471 * updates OCS on command completion, with the command in ufshcd_prepare_req_desc_hdr()
5075 int ocs; in ufshcd_transfer_rsp_status() local
5078 ocs = ufshcd_get_tr_ocs(lrbp); in ufshcd_transfer_rsp_status()
5083 ocs = OCS_SUCCESS; in ufshcd_transfer_rsp_status()
5086 switch (ocs) { in ufshcd_transfer_rsp_status()
5158 "OCS error from controller = %x for tag %d\n", in ufshcd_transfer_rsp_status()
5159 ocs, lrbp->task_tag); in ufshcd_transfer_rsp_status()
6616 dev_err(hba->dev, "%s: failed, ocs = 0x%x\n", in ufshcd_issue_tm_cmd()
[all …]

12