Home
last modified time | relevance | path

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

12

/linux/drivers/crypto/intel/keembay/
H A 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 ECC HW acceleration"
50 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
[all …]
H A 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_ECC) += keembay-ocs-ecc.o
9 obj-$(CONFIG_CRYPTO_DEV_KEEMBAY_OCS_HCU) += keembay-ocs-hcu.o
10 keembay-ocs-hcu-objs := keembay-ocs-hcu-core.o ocs-hcu.o
H A 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 …]
H A 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.
H A 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/drivers/pci/
H A Dof_property.c95 struct of_changeset *ocs, in of_pci_prop_bus_range() argument
101 return of_changeset_add_prop_u32_array(ocs, np, "bus-range", bus_range, in of_pci_prop_bus_range()
105 static int of_pci_prop_ranges(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_ranges() argument
154 ret = of_changeset_add_prop_u32_array(ocs, np, "ranges", (u32 *)rp, in of_pci_prop_ranges()
161 static int of_pci_prop_reg(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_reg() argument
169 return of_changeset_add_prop_u32_array(ocs, np, "reg", (u32 *)&reg, in of_pci_prop_reg()
174 struct of_changeset *ocs, in of_pci_prop_interrupts() argument
187 return of_changeset_add_prop_u32(ocs, np, "interrupts", (u32)pin); in of_pci_prop_interrupts()
190 static int of_pci_prop_intr_ctrl(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_intr_ctrl() argument
203 ret = of_changeset_add_prop_u32(ocs, np, "#interrupt-cells", 1); in of_pci_prop_intr_ctrl()
[all …]
/linux/drivers/of/
H A Ddynamic.c494 * @ocs: Pointer to changeset
500 struct device_node *of_changeset_create_node(struct of_changeset *ocs, in of_changeset_create_node() argument
512 ret = of_changeset_attach_node(ocs, np); in of_changeset_create_node()
650 * @ocs: changeset pointer
654 void of_changeset_init(struct of_changeset *ocs) in of_changeset_init() argument
656 memset(ocs, 0, sizeof(*ocs)); in of_changeset_init()
657 INIT_LIST_HEAD(&ocs->entries); in of_changeset_init()
664 * @ocs: changeset pointer
669 void of_changeset_destroy(struct of_changeset *ocs) in of_changeset_destroy() argument
684 list_for_each_entry_safe_reverse(ce, cen, &ocs->entries, node) in of_changeset_destroy()
[all …]
H A Dof_private.h53 extern int __of_changeset_apply_entries(struct of_changeset *ocs,
55 extern int __of_changeset_apply_notify(struct of_changeset *ocs);
56 extern int __of_changeset_revert_entries(struct of_changeset *ocs,
58 extern int __of_changeset_revert_notify(struct of_changeset *ocs);
/linux/Documentation/devicetree/bindings/crypto/
H A Dintel,keembay-ocs-aes.yaml4 $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-aes.yaml#
7 title: Intel Keem Bay OCS AES
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";
H A Dintel,keembay-ocs-ecc.yaml4 $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-ecc.yaml#
7 title: Intel Keem Bay OCS ECC
14 The Intel Keem Bay Offload and Crypto Subsystem (OCS) Elliptic Curve
20 const: intel,keembay-ocs-ecc
43 compatible = "intel,keembay-ocs-ecc";
H A Dintel,keembay-ocs-hcu.yaml4 $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-hcu.yaml#
7 title: Intel Keem Bay OCS HCU
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/arch/powerpc/platforms/pseries/
H A Ddlpar.c265 static int dlpar_changeset_attach_cc_nodes(struct of_changeset *ocs, in dlpar_changeset_attach_cc_nodes() argument
270 rc = of_changeset_attach_node(ocs, dn); in dlpar_changeset_attach_cc_nodes()
273 rc = dlpar_changeset_attach_cc_nodes(ocs, dn->child); in dlpar_changeset_attach_cc_nodes()
275 rc = dlpar_changeset_attach_cc_nodes(ocs, dn->sibling); in dlpar_changeset_attach_cc_nodes()
449 struct of_changeset ocs; in dlpar_hp_dt_add() local
490 of_changeset_init(&ocs); in dlpar_hp_dt_add()
491 rc = dlpar_changeset_attach_cc_nodes(&ocs, nodes); in dlpar_hp_dt_add()
494 rc = of_changeset_apply(&ocs); in dlpar_hp_dt_add()
498 of_changeset_destroy(&ocs); in dlpar_hp_dt_add()
505 static int changeset_detach_node_recursive(struct of_changeset *ocs, in changeset_detach_node_recursive() argument
[all …]
/linux/drivers/i2c/
H A Di2c-core-of-prober.c66 struct of_changeset *ocs __free(kfree) = kzalloc(sizeof(*ocs), GFP_KERNEL); in i2c_of_probe_enable_node()
67 if (!ocs) in i2c_of_probe_enable_node()
70 of_changeset_init(ocs); in i2c_of_probe_enable_node()
71 ret = of_changeset_update_prop_string(ocs, node, "status", "okay"); in i2c_of_probe_enable_node()
75 ret = of_changeset_apply(ocs); in i2c_of_probe_enable_node()
77 /* ocs needs to be explicitly cleaned up before being freed. */ in i2c_of_probe_enable_node()
78 of_changeset_destroy(ocs); in i2c_of_probe_enable_node()
81 * ocs is intentionally kept around as it needs to in i2c_of_probe_enable_node()
84 void *ptr __always_unused = no_free_ptr(ocs); in i2c_of_probe_enable_node()
/linux/include/linux/
H A Dof.h1612 extern void of_changeset_init(struct of_changeset *ocs);
1613 extern void of_changeset_destroy(struct of_changeset *ocs);
1614 extern int of_changeset_apply(struct of_changeset *ocs);
1615 extern int of_changeset_revert(struct of_changeset *ocs);
1616 extern int of_changeset_action(struct of_changeset *ocs,
1620 static inline int of_changeset_attach_node(struct of_changeset *ocs, in of_changeset_attach_node() argument
1623 return of_changeset_action(ocs, OF_RECONFIG_ATTACH_NODE, np, NULL); in of_changeset_attach_node()
1626 static inline int of_changeset_detach_node(struct of_changeset *ocs, in of_changeset_detach_node() argument
1629 return of_changeset_action(ocs, OF_RECONFIG_DETACH_NODE, np, NULL); in of_changeset_detach_node()
1632 static inline int of_changeset_add_property(struct of_changeset *ocs, in of_changeset_add_property() argument
[all …]
/linux/arch/m68k/amiga/
H A Damisound.c32 * device since it depends on htotal (for OCS/ECS/AGA)
35 volatile unsigned short amiga_audio_min_period = 124; /* Default for pre-OCS */
/linux/drivers/net/slip/
H A 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/drivers/pci/hotplug/
H A Dpnv_php.c178 of_changeset_destroy(&php_slot->ocs); in pnv_php_rmv_devtree()
215 static int pnv_php_populate_changeset(struct of_changeset *ocs, in pnv_php_populate_changeset() argument
222 ret = of_changeset_attach_node(ocs, child); in pnv_php_populate_changeset()
228 ret = pnv_php_populate_changeset(ocs, child); in pnv_php_populate_changeset()
293 of_changeset_init(&php_slot->ocs); in pnv_php_add_devtree()
295 ret = pnv_php_populate_changeset(&php_slot->ocs, php_slot->dn); in pnv_php_add_devtree()
304 ret = of_changeset_apply(&php_slot->ocs); in pnv_php_add_devtree()
318 of_changeset_destroy(&php_slot->ocs); in pnv_php_add_devtree()
/linux/scripts/ksymoops/
H A DREADME7 Keith Owens <kaos@ocs.com.au> Sat Jun 19 10:30:34 EST 1999
/linux/drivers/media/pci/saa7134/
H A 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/Documentation/devicetree/bindings/leds/
H A Dleds-sgm3140.yaml22 - ocs,ocp8110
/linux/drivers/ufs/core/
H A Dufshcd.c851 * This function is used to get the OCS field from UTRD
853 * Return: the OCS field in the UTRD.
861 return lrbp->utr_descriptor_ptr->header.ocs & MASK_OCS; in ufshcd_get_tr_ocs()
2771 * updates OCS on command completion, with the command in ufshcd_prepare_req_desc_hdr()
2774 h->ocs = OCS_INVALID_COMMAND_STATUS; in ufshcd_prepare_req_desc_hdr()
3211 * Return: 0 upon success; > 0 in case the UFS device reported an OCS error;
3306 * Return: 0 upon success; > 0 in case the UFS device reported an OCS error;
3330 * Return: 0 upon success; > 0 in case the UFS device reported an OCS error;
3378 * Return: 0 upon success; > 0 in case the UFS device reported an OCS error;
3412 * Return: 0 upon success; > 0 in case the UFS device reported an OCS error;
[all …]
/linux/include/uapi/linux/
H A Dhdlcdrv.h57 struct hdlcdrv_old_channel_state ocs; member
/linux/drivers/video/fbdev/
H A 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()
3562 strcat(info->fix.id, "OCS"); in amifb_probe()
3565 maxdepth[TAG_SHRES] = 0; /* OCS means no SHRES */ in amifb_probe()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-wingtech-wt88047.dts53 compatible = "ocs,ocp8110";
H A Dmsm8916-longcheer-l8910.dts39 compatible = "ocs,ocp8110";

12