| /linux/net/bluetooth/ |
| H A D | smp.c | 36 #include "smp.h" 53 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument 101 u8 preq[7]; /* SMP Pairing Request */ 102 u8 prsp[7]; /* SMP Pairing Response */ 103 u8 prnd[16]; /* SMP Pairing Random (local) */ 104 u8 rrnd[16]; /* SMP Pairing Random (remote) */ 105 u8 pcnf[16]; /* SMP Pairing Confirm */ 106 u8 tk[16]; /* SMP Temporary Key */ 134 /* These debug key values are defined in the SMP section of the core 165 /* The following functions map to the LE SC SMP crypto functions [all …]
|
| /linux/drivers/infiniband/core/ |
| H A D | smi.c | 126 * Fixup a directed route SMP for sending 127 * Return IB_SMI_DISCARD if the SMP should be discarded 129 enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp, in smi_handle_dr_smp_send() argument 133 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send() 134 smp->initial_path, in smi_handle_dr_smp_send() 135 smp->return_path, in smi_handle_dr_smp_send() 136 ib_get_smp_direction(smp), in smi_handle_dr_smp_send() 137 smp->dr_dlid == IB_LID_PERMISSIVE, in smi_handle_dr_smp_send() 138 smp->dr_slid == IB_LID_PERMISSIVE); in smi_handle_dr_smp_send() 141 enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp, in opa_smi_handle_dr_smp_send() argument [all …]
|
| H A D | smi.h | 49 IB_SMI_LOCAL, /* SMP should be completed up the stack */ 50 IB_SMI_SEND, /* received DR SMP should be forwarded to the send queue */ 51 IB_SMI_FORWARD /* SMP should be forwarded (for switches only) */ 54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, 56 int smi_get_fwd_port(struct ib_smp *smp); 57 extern enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp); 58 extern enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp, 62 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM 65 static inline enum smi_action smi_check_local_smp(struct ib_smp *smp, in smi_check_local_smp() argument 71 !ib_get_smp_direction(smp) && in smi_check_local_smp() [all …]
|
| H A D | opa_smi.h | 42 enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch, 44 int opa_smi_get_fwd_port(struct opa_smp *smp); 45 extern enum smi_forward_action opa_smi_check_forward_dr_smp(struct opa_smp *smp); 46 extern enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp, 50 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM 53 static inline enum smi_action opa_smi_check_local_smp(struct opa_smp *smp, in opa_smi_check_local_smp() argument 59 !opa_get_smp_direction(smp) && in opa_smi_check_local_smp() 60 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp() 65 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM 68 static inline enum smi_action opa_smi_check_local_returning_smp(struct opa_smp *smp, in opa_smi_check_local_returning_smp() argument [all …]
|
| /linux/include/rdma/ |
| H A D | opa_smi.h | 95 opa_get_smp_direction(struct opa_smp *smp) in opa_get_smp_direction() argument 97 return ib_get_smp_direction((struct ib_smp *)smp); in opa_get_smp_direction() 100 static inline u8 *opa_get_smp_data(struct opa_smp *smp) in opa_get_smp_data() argument 102 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data() 103 return smp->route.dr.data; in opa_get_smp_data() 105 return smp->route.lid.data; in opa_get_smp_data() 108 static inline size_t opa_get_smp_data_size(struct opa_smp *smp) in opa_get_smp_data_size() argument 110 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data_size() 111 return sizeof(smp->route.dr.data); in opa_get_smp_data_size() 113 return sizeof(smp->route.lid.data); in opa_get_smp_data_size() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_smp.h | 16 * SMP - Shared Memory Pool: 18 * SMP blocks are shared between all the clients, where each plane in 19 * a scanout buffer is a SMP client. Ie. scanout of 3 plane I420 on 29 * Atomic SMP State: 31 * On atomic updates that modify SMP configuration, the state is cloned 36 * Because the SMP registers are not double buffered, updates are a 64 * SMP module prototypes: 65 * mdp5_smp_init() returns a SMP @handler, 73 void mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p, 76 uint32_t mdp5_smp_calculate(struct mdp5_smp *smp, [all …]
|
| H A D | mdp5_pipe.c | 36 * (1) mdp5 can have SMP (non-double-buffered) in mdp5_pipe_assign() 94 if (mdp5_kms->smp) { in mdp5_pipe_assign() 97 /* We don't support SMP and 2 hwpipes/plane together */ in mdp5_pipe_assign() 100 DBG("%s: alloc SMP blocks", (*hwpipe)->name); in mdp5_pipe_assign() 101 ret = mdp5_smp_assign(mdp5_kms->smp, &new_global_state->smp, in mdp5_pipe_assign() 144 if (mdp5_kms->smp) { in mdp5_pipe_release() 145 DBG("%s: free SMP blocks", hwpipe->name); in mdp5_pipe_release() 146 mdp5_smp_release(mdp5_kms->smp, &state->smp, hwpipe->pipe); in mdp5_pipe_release()
|
| /linux/arch/arm/mach-hisi/ |
| H A D | Kconfig | 20 select HAVE_ARM_SCU if SMP 21 select HAVE_ARM_TWD if SMP 30 select HAVE_ARM_SCU if SMP 31 select HAVE_ARM_TWD if SMP 39 select ARM_ERRATA_798181 if SMP 41 select MCPM if SMP 42 select MCPM_QUAD_CLUSTER if SMP 43 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 51 select HAVE_ARM_SCU if SMP 52 select HAVE_ARM_TWD if SMP
|
| H A D | platsmp.c | 7 #include <linux/smp.h> 74 if (of_property_read_u32(np, "smp-offset", &offset) < 0) { in hi3xxx_smp_prepare_cpus() 76 pr_err("failed to find smp-offset property\n"); in hi3xxx_smp_prepare_cpus() 185 CPU_METHOD_OF_DECLARE(hi3xxx_smp, "hisilicon,hi3620-smp", &hi3xxx_smp_ops); 186 CPU_METHOD_OF_DECLARE(hix5hd2_smp, "hisilicon,hix5hd2-smp", &hix5hd2_smp_ops); 187 CPU_METHOD_OF_DECLARE(hip01_smp, "hisilicon,hip01-smp", &hip01_smp_ops);
|
| /linux/include/trace/events/ |
| H A D | ib_mad.h | 295 TP_PROTO(struct opa_smp *smp), 296 TP_ARGS(smp), 309 __entry->hop_ptr = smp->hop_ptr; 310 __entry->hop_cnt = smp->hop_cnt; 311 __entry->mkey = smp->mkey; 312 __entry->dr_slid = smp->route.dr.dr_slid; 313 __entry->dr_dlid = smp->route.dr.dr_dlid; 314 memcpy(__entry->initial_path, smp->route.dr.initial_path, 316 memcpy(__entry->return_path, smp->route.dr.return_path, 320 TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \ [all …]
|
| /linux/arch/arm/mach-shmobile/ |
| H A D | Makefile | 29 # SMP objects 30 smp-y := $(cpu-y) 31 smp-$(CONFIG_ARCH_RCAR_GEN2) += headsmp-apmu.o 32 smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o 33 smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o 34 smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o 41 obj-$(CONFIG_SMP) += $(smp-y)
|
| /linux/arch/arm/mach-bcm/ |
| H A D | Kconfig | 16 select HAVE_ARM_SCU if SMP 17 select HAVE_ARM_TWD if SMP 55 select ARM_ERRATA_764369 if SMP 72 select ARM_ERRATA_764369 if SMP 98 select ARCH_BCM_MOBILE_SMP if SMP 144 SMP support for the BCM281XX, BCM21664 and BCM23550 SoC families. 145 Provided as an option so SMP support for SoCs of this type 146 can be disabled for an SMP-enabled kernel. 189 select ARM_ERRATA_798181 if SMP 231 select ARM_ERRATA_764369 if SMP [all …]
|
| H A D | bcm63xx_smp.c | 3 * Broadcom BCM63138 DSL SoCs SMP support code 10 #include <linux/smp.h> 65 pr_warn("SMP: %u cores greater than maximum (%u), clipping\n", in scu_a9_enable() 81 pr_warn("SMP: secondary CPUs lack VFP unit, disabling VFP\n"); in scu_a9_enable() 85 WARN(1, "SMP: kernel-mode NEON enabled, restricting to UP\n"); in scu_a9_enable() 116 pr_err("SMP: unable to find bcm63138 boot LUT node\n"); in bcm63138_smp_boot_secondary() 124 pr_err("SMP: unable to remap boot LUT base register\n"); in bcm63138_smp_boot_secondary() 131 pr_err("SMP: failed to locate secondary CPU%d node\n", cpu); in bcm63138_smp_boot_secondary() 158 pr_warn("SMP: Cortex-A9 SCU setup failed\n"); in bcm63138_smp_prepare_cpus()
|
| /linux/drivers/scsi/csiostor/ |
| H A D | csio_defs.h | 98 csio_set_state(void *smp, void *state) in csio_set_state() argument 100 ((struct csio_sm *)smp)->sm_state = state; in csio_set_state() 104 csio_init_state(struct csio_sm *smp, void *state) in csio_init_state() argument 106 csio_set_state(smp, state); in csio_init_state() 110 csio_post_event(void *smp, uint32_t evt) in csio_post_event() argument 112 ((struct csio_sm *)smp)->sm_state(smp, evt); in csio_post_event() 116 csio_get_state(void *smp) in csio_get_state() argument 118 return ((struct csio_sm *)smp)->sm_state; in csio_get_state() 122 csio_match_state(void *smp, void *state) in csio_match_state() argument 124 return (csio_get_state(smp) == (csio_sm_state_t)state); in csio_match_state()
|
| /linux/arch/arc/include/asm/ |
| H A D | smp.h | 21 * APIs provided by arch SMP code to generic code 27 * APIs provided by arch SMP code to rest of arch code 36 * API expected BY platform smp code (FROM arch smp code) 44 * struct plat_smp_ops - SMP callbacks provided by platform to ARC SMP 46 * @info: SoC SMP specific info for /proc/cpuinfo etc 47 * @init_early_smp: A SMP specific h/w block can init itself 50 * @init_per_cpu: Called for each core so SMP h/w block driver can do 88 * (2) In a SMP setup, the LLOCK/SCOND atomicity across CPUs needs to be 90 * Assuming a platform won't, SMP Linux needs to use spinlocks + local IRQ
|
| /linux/arch/hexagon/ |
| H A D | Kconfig | 103 config SMP config 106 Enables SMP support in the kernel. If unsure, say "Y" 109 int "Maximum number of CPUs" if SMP 110 range 2 6 if SMP 111 default "1" if !SMP 112 default "6" if SMP
|
| /linux/arch/arm/mach-omap2/ |
| H A D | omap-smp.c | 3 * OMAP4 SMP source file. It contains platform specific functions 4 * needed for the linux smp kernel. 11 * Platform file needed for the OMAP4 SMP. This file is based on arm 12 * realview smp platform. 17 #include <linux/smp.h> 149 * Configure ACTRL and enable NS SMP bit access on CPU1 on HS device. in omap4_secondary_init() 150 * OMAP44XX EMU/HS devices - CPU0 SMP bit access is enabled in PPA in omap4_secondary_init() 153 * OMAP443X GP devices- SMP bit isn't accessible. in omap4_secondary_init() 154 * OMAP446X GP devices - SMP bit access is enabled on both CPUs. in omap4_secondary_init() 279 pr_warn("SMP: %u cores greater than maximum (%u), clipping\n", in omap4_smp_init_cpus() [all …]
|
| /linux/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
| H A D | marvell,berlin-smp | 2 Secondary CPU enable-method "marvell,berlin-smp" binding 5 This document describes the "marvell,berlin-smp" method for enabling secondary 6 CPUs. To apply to all CPUs, a single "marvell,berlin-smp" enable method should 9 Enable method name: "marvell,berlin-smp" 23 enable-method = "marvell,berlin-smp";
|
| H A D | al,alpine-smp | 2 Secondary CPU enable-method "al,alpine-smp" binding 5 This document describes the "al,alpine-smp" method for 7 "al,alpine-smp" enable method should be defined in the 10 Enable method name: "al,alpine-smp" 35 enable-method = "al,alpine-smp";
|
| /linux/arch/sh/kernel/cpu/sh2/ |
| H A D | Makefile | 10 # SMP setup 11 smp-$(CONFIG_CPU_J2) := smp-j2.o 12 obj-$(CONFIG_SMP) += $(smp-y)
|
| /linux/arch/arm/mach-berlin/ |
| H A D | Kconfig | 20 select HAVE_ARM_SCU if SMP 21 select HAVE_ARM_TWD if SMP 37 select HAVE_ARM_SCU if SMP 38 select HAVE_ARM_TWD if SMP
|
| /linux/drivers/sh/intc/ |
| H A D | core.c | 167 unsigned int smp) in save_reg() argument 174 d->smp[cnt] = smp; in save_reg() 199 unsigned int i, k, smp; in register_intc_controller() local 251 d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); in register_intc_controller() 252 if (!d->smp) in register_intc_controller() 259 smp = IS_SMP(hw->mask_regs[i]); in register_intc_controller() 260 k += save_reg(d, k, hw->mask_regs[i].set_reg, smp); in register_intc_controller() 261 k += save_reg(d, k, hw->mask_regs[i].clr_reg, smp); in register_intc_controller() 274 smp = IS_SMP(hw->prio_regs[i]); in register_intc_controller() 275 k += save_reg(d, k, hw->prio_regs[i].set_reg, smp); in register_intc_controller() [all …]
|
| /linux/kernel/ |
| H A D | Kconfig.locks | 229 depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW 233 depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW 244 depends on SMP 254 depends on SMP && !PREEMPT_RT 261 depends on SMP
|
| /linux/arch/arm/mach-mvebu/ |
| H A D | platsmp-a9.c | 3 * Symmetric Multi Processing (SMP) support for Marvell EBU Cortex-A9 15 #include <linux/smp.h> 106 CPU_METHOD_OF_DECLARE(mvebu_armada_375_smp, "marvell,armada-375-smp", 108 CPU_METHOD_OF_DECLARE(mvebu_armada_380_smp, "marvell,armada-380-smp", 110 CPU_METHOD_OF_DECLARE(mvebu_armada_390_smp, "marvell,armada-390-smp",
|
| /linux/arch/arm/include/asm/ |
| H A D | smp.h | 3 * arch/arm/include/asm/smp.h 15 # error "<asm/smp.h> included in non-SMP build" 38 * Register IPI interrupts with the arch SMP code 114 * set platform specific SMP operations
|