/Linux-v6.1/net/bluetooth/ |
D | smp.c | 37 #include "smp.h" 54 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument 100 u8 preq[7]; /* SMP Pairing Request */ 101 u8 prsp[7]; /* SMP Pairing Response */ 102 u8 prnd[16]; /* SMP Pairing Random (local) */ 103 u8 rrnd[16]; /* SMP Pairing Random (remote) */ 104 u8 pcnf[16]; /* SMP Pairing Confirm */ 105 u8 tk[16]; /* SMP Temporary Key */ 133 /* These debug key values are defined in the SMP section of the core 164 /* The following functions map to the LE SC SMP crypto functions [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_smp.c | 32 struct mdp5_kms *get_kms(struct mdp5_smp *smp) in get_kms() argument 34 struct msm_drm_private *priv = smp->dev->dev_private; in get_kms() 47 * Note on SMP clients: in pipe2client() 52 * if mdp5_cfg->smp.clients[SSPP_VIG0] = N, in pipe2client() 58 return mdp5_cfg->smp.clients[pipe] + plane; in pipe2client() 62 static int smp_request_block(struct mdp5_smp *smp, in smp_request_block() argument 67 int i, avail, cnt = smp->blk_cnt; in smp_request_block() 73 reserved = smp->reserved[cid]; in smp_request_block() 82 DRM_DEV_ERROR(smp->dev->dev, "out of blks (req=%d > avail=%d)\n", in smp_request_block() 96 static void set_fifo_thresholds(struct mdp5_smp *smp, in set_fifo_thresholds() argument [all …]
|
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, 71 void mdp5_smp_destroy(struct mdp5_smp *smp); 73 void mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p); [all …]
|
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-v6.1/drivers/infiniband/core/ |
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 …]
|
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 …]
|
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-v6.1/include/rdma/ |
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-v6.1/drivers/regulator/ |
D | qcom-rpmh-regulator.c | 770 RPMH_VREG("smps1", "smp%s1", &pmic4_ftsmps426, "vdd-s1"), 771 RPMH_VREG("smps2", "smp%s2", &pmic4_ftsmps426, "vdd-s2"), 772 RPMH_VREG("smps3", "smp%s3", &pmic4_hfsmps3, "vdd-s3"), 773 RPMH_VREG("smps4", "smp%s4", &pmic4_hfsmps3, "vdd-s4"), 774 RPMH_VREG("smps5", "smp%s5", &pmic4_hfsmps3, "vdd-s5"), 775 RPMH_VREG("smps6", "smp%s6", &pmic4_ftsmps426, "vdd-s6"), 776 RPMH_VREG("smps7", "smp%s7", &pmic4_ftsmps426, "vdd-s7"), 777 RPMH_VREG("smps8", "smp%s8", &pmic4_ftsmps426, "vdd-s8"), 778 RPMH_VREG("smps9", "smp%s9", &pmic4_ftsmps426, "vdd-s9"), 779 RPMH_VREG("smps10", "smp%s10", &pmic4_ftsmps426, "vdd-s10"), [all …]
|
/Linux-v6.1/drivers/infiniband/hw/hfi1/ |
D | mad.c | 39 static int reply(struct ib_mad_hdr *smp) in reply() argument 45 smp->method = IB_MGMT_METHOD_GET_RESP; in reply() 46 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply() 47 smp->status |= IB_SMP_DIRECTION; in reply() 51 static inline void clear_opa_smp_data(struct opa_smp *smp) in clear_opa_smp_data() argument 53 void *data = opa_get_smp_data(smp); in clear_opa_smp_data() 54 size_t size = opa_get_smp_data_size(smp); in clear_opa_smp_data() 187 struct opa_smp *smp) in subn_handle_opa_trap_repress() argument 194 if (smp->attr_id != IB_SMP_ATTR_NOTICE) in subn_handle_opa_trap_repress() 202 if (trap && trap->tid == smp->tid) { in subn_handle_opa_trap_repress() [all …]
|
/Linux-v6.1/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 40 static int reply(struct ib_smp *smp) in reply() argument 46 smp->method = IB_MGMT_METHOD_GET_RESP; in reply() 47 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply() 48 smp->status |= IB_SMP_DIRECTION; in reply() 52 static int reply_failure(struct ib_smp *smp) in reply_failure() argument 58 smp->method = IB_MGMT_METHOD_GET_RESP; in reply_failure() 59 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply_failure() 60 smp->status |= IB_SMP_DIRECTION; in reply_failure() 68 struct ib_smp *smp; in qib_send_trap() local 92 smp = send_buf->mad; in qib_send_trap() [all …]
|
/Linux-v6.1/arch/arm/mach-hisi/ |
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
|
/Linux-v6.1/Documentation/devicetree/bindings/sram/ |
D | sram.yaml | 81 - allwinner,sun9i-a80-smp-sram 85 - amlogic,meson8-smp-sram 86 - amlogic,meson8b-smp-sram 92 - renesas,smp-sram 93 - rockchip,rk3066-smp-sram 96 - socionext,milbeaut-smp-sram 164 smp-sram@100 { 180 // Samsung SMP-capable Exynos SoCs use part of the SYSRAM for the bringup 194 smp-sram@0 { 199 smp-sram@53000 { [all …]
|
/Linux-v6.1/arch/arm/mach-shmobile/ |
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-v6.1/include/trace/events/ |
D | ib_mad.h | 300 TP_PROTO(struct opa_smp *smp), 301 TP_ARGS(smp), 314 __entry->hop_ptr = smp->hop_ptr; 315 __entry->hop_cnt = smp->hop_cnt; 316 __entry->mkey = smp->mkey; 317 __entry->dr_slid = smp->route.dr.dr_slid; 318 __entry->dr_dlid = smp->route.dr.dr_dlid; 319 memcpy(__entry->initial_path, smp->route.dr.initial_path, 321 memcpy(__entry->return_path, smp->route.dr.return_path, 325 TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/arm/ |
D | cpus.yaml | 199 - actions,s500-smp 202 - allwinner,sun9i-a80-smp 203 - allwinner,sun8i-a83t-smp 204 - amlogic,meson8-smp 205 - amlogic,meson8b-smp 206 - arm,realview-smp 207 - aspeed,ast2600-smp 210 - brcm,bcm2836-smp 212 - brcm,bcm-nsp-smp 214 - marvell,armada-375-smp [all …]
|
/Linux-v6.1/arch/arm/mach-bcm/ |
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 99 select ARCH_BCM_MOBILE_SMP if SMP 145 SMP support for the BCM281XX, BCM21664 and BCM23550 SoC families. 146 Provided as an option so SMP support for SoCs of this type 147 can be disabled for an SMP-enabled kernel. 189 select ARM_ERRATA_798181 if SMP 231 select ARM_ERRATA_764369 if SMP [all …]
|
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() 159 pr_warn("SMP: Cortex-A9 SCU setup failed\n"); in bcm63138_smp_prepare_cpus()
|
/Linux-v6.1/drivers/scsi/csiostor/ |
D | csio_defs.h | 84 csio_set_state(void *smp, void *state) in csio_set_state() argument 86 ((struct csio_sm *)smp)->sm_state = (csio_sm_state_t)state; in csio_set_state() 90 csio_init_state(struct csio_sm *smp, void *state) in csio_init_state() argument 92 csio_set_state(smp, state); in csio_init_state() 96 csio_post_event(void *smp, uint32_t evt) in csio_post_event() argument 98 ((struct csio_sm *)smp)->sm_state(smp, evt); in csio_post_event() 102 csio_get_state(void *smp) in csio_get_state() argument 104 return ((struct csio_sm *)smp)->sm_state; in csio_get_state() 108 csio_match_state(void *smp, void *state) in csio_match_state() argument 110 return (csio_get_state(smp) == (csio_sm_state_t)state); in csio_match_state()
|
/Linux-v6.1/arch/arc/include/asm/ |
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 34 * API expected BY platform smp code (FROM arch smp code) 42 * struct plat_smp_ops - SMP callbacks provided by platform to ARC SMP 44 * @info: SoC SMP specific info for /proc/cpuinfo etc 45 * @init_early_smp: A SMP specific h/w block can init itself 48 * @init_per_cpu: Called for each core so SMP h/w block driver can do 86 * (2) In a SMP setup, the LLOCK/SCOND atomicity across CPUs needs to be 88 * Assuming a platform won't, SMP Linux needs to use spinlocks + local IRQ
|
/Linux-v6.1/drivers/soc/renesas/ |
D | Kconfig | 61 select HAVE_ARM_SCU if SMP 75 select HAVE_ARM_SCU if SMP 76 select HAVE_ARM_TWD if SMP 82 select ARM_ERRATA_798181 if SMP 95 select ARM_ERRATA_798181 if SMP 102 select ARM_ERRATA_798181 if SMP 109 select ARM_ERRATA_798181 if SMP 121 select ARM_ERRATA_798181 if SMP 157 select ARM_ERRATA_798181 if SMP 164 select ARM_ERRATA_798181 if SMP [all …]
|
/Linux-v6.1/arch/hexagon/ |
D | Kconfig | 17 # select GENERIC_PENDING_IRQ if SMP 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-v6.1/arch/parisc/ |
D | Kconfig | 41 select GENERIC_ARCH_TOPOLOGY if SMP 42 select GENERIC_CPU_DEVICES if !SMP 60 select GENERIC_IRQ_MIGRATION if SMP 61 select HAVE_UNSTABLE_SCHED_CLOCK if SMP 97 depends on SMP && PREEMPTION 122 depends on SMP 269 config SMP config 280 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO 303 depends on SMP 308 updated consistently on SMP machines at the expense of some [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
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";
|
/Linux-v6.1/arch/sparc/ |
D | Kconfig | 22 select HAVE_ARCH_KGDB if !SMP || SPARC64 69 select MMU_GATHER_RCU_TABLE_FREE if SMP 153 config SMP config 170 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO 177 depends on SMP 208 depends on SPARC32 && SMP 213 depends on SPARC64 && SMP 224 depends on SPARC64 && SMP 250 depends on SPARC64 && SMP && PREEMPTION 254 depends on SPARC64 && SMP [all …]
|