/openbmc/linux/net/bluetooth/ |
H A D | smp.c | 37 #include "smp.h" 54 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument 102 u8 preq[7]; /* SMP Pairing Request */ 103 u8 prsp[7]; /* SMP Pairing Response */ 104 u8 prnd[16]; /* SMP Pairing Random (local) */ 105 u8 rrnd[16]; /* SMP Pairing Random (remote) */ 106 u8 pcnf[16]; /* SMP Pairing Confirm */ 107 u8 tk[16]; /* SMP Temporary Key */ 135 /* These debug key values are defined in the SMP section of the core 166 /* The following functions map to the LE SC SMP crypto functions [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A 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 …]
|
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, 71 void mdp5_smp_destroy(struct mdp5_smp *smp); 73 void mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p); [all …]
|
/openbmc/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 …]
|
/openbmc/openbmc/poky/meta/files/common-licenses/ |
H A D | SMPPL | 1 Secure Messaging Protocol (SMP) Libraries [ACL, CML, SFL] 5 …SMP is being provided at no cost and with no financial limitations regarding its use and distribut… 9 Secure Messaging Protocol (SMP) Public License 11 …erson obtaining a copy of the SMP source and object files (the "SMP Software") and associated docu… 13 …se, copy, modify, sublicense and otherwise distribute the SMP Software or components of the SMP So… 15 …SMP Documentation, with or without modifications developed by you and/or by others, at no charge o… 17 …SMP Software or parts of the SMP Software, with or without modifications developed by you and/or o… 19 Transmission of this SMP Public License must accompany whatever portions of the SMP Software you re… 21 The SMP Software is provided without warranty or guarantee of any nature, express or implied, inclu… 23 …be held liable for any damages either directly or indirectly caused by the use of the SMP Software. [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/regulator/ |
H A D | qcom-rpmh-regulator.c | 816 RPMH_VREG("smps1", "smp%s1", &pmic4_ftsmps426, "vdd-s1"), 817 RPMH_VREG("smps2", "smp%s2", &pmic4_ftsmps426, "vdd-s2"), 818 RPMH_VREG("smps3", "smp%s3", &pmic4_hfsmps3, "vdd-s3"), 819 RPMH_VREG("smps4", "smp%s4", &pmic4_hfsmps3, "vdd-s4"), 820 RPMH_VREG("smps5", "smp%s5", &pmic4_hfsmps3, "vdd-s5"), 821 RPMH_VREG("smps6", "smp%s6", &pmic4_ftsmps426, "vdd-s6"), 822 RPMH_VREG("smps7", "smp%s7", &pmic4_ftsmps426, "vdd-s7"), 823 RPMH_VREG("smps8", "smp%s8", &pmic4_ftsmps426, "vdd-s8"), 824 RPMH_VREG("smps9", "smp%s9", &pmic4_ftsmps426, "vdd-s9"), 825 RPMH_VREG("smps10", "smp%s10", &pmic4_ftsmps426, "vdd-s10"), [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A 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 …]
|
/openbmc/qemu/include/hw/s390x/ |
H A D | cpu-topology.h | 66 static inline int s390_std_socket(int n, CpuTopology *smp) in s390_std_socket() argument 68 return (n / smp->cores) % smp->sockets; in s390_std_socket() 71 static inline int s390_std_book(int n, CpuTopology *smp) in s390_std_book() argument 73 return (n / (smp->cores * smp->sockets)) % smp->books; in s390_std_book() 76 static inline int s390_std_drawer(int n, CpuTopology *smp) in s390_std_drawer() argument 78 return (n / (smp->cores * smp->sockets * smp->books)) % smp->drawers; in s390_std_drawer()
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A 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 …]
|
/openbmc/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
|
/openbmc/qemu/hw/core/ |
H A D | machine-smp.c | 2 * QEMU Machine core (related to -smp parsing) 37 g_string_append_printf(s, "drawers (%u) * ", ms->smp.drawers); in cpu_hierarchy_to_string() 41 g_string_append_printf(s, "books (%u) * ", ms->smp.books); in cpu_hierarchy_to_string() 44 g_string_append_printf(s, "sockets (%u)", ms->smp.sockets); in cpu_hierarchy_to_string() 47 g_string_append_printf(s, " * dies (%u)", ms->smp.dies); in cpu_hierarchy_to_string() 51 g_string_append_printf(s, " * clusters (%u)", ms->smp.clusters); in cpu_hierarchy_to_string() 55 g_string_append_printf(s, " * modules (%u)", ms->smp.modules); in cpu_hierarchy_to_string() 58 g_string_append_printf(s, " * cores (%u)", ms->smp.cores); in cpu_hierarchy_to_string() 59 g_string_append_printf(s, " * threads (%u)", ms->smp.threads); in cpu_hierarchy_to_string() 66 * SMP configuration [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-smp-parse.c | 2 * SMP parsing unit-tests 26 #define SMP_MACHINE_NAME "TEST-SMP" 116 * @config - the given SMP configuration 145 /* config: -smp 8 152 /* config: -smp sockets=2 158 /* config: -smp cores=4 164 /* config: -smp threads=2 170 /* config: -smp maxcpus=16 177 /* config: -smp 8,sockets=2 183 /* config: -smp 8,cores=4 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sram/ |
H A 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 165 smp-sram@100 { 181 // Samsung SMP-capable Exynos SoCs use part of the SYSRAM for the bringup 195 smp-sram@0 { 200 smp-sram@53000 { [all …]
|
/openbmc/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)
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | cpus.yaml | 211 - actions,s500-smp 214 - allwinner,sun9i-a80-smp 215 - allwinner,sun8i-a83t-smp 216 - amlogic,meson8-smp 217 - amlogic,meson8b-smp 218 - arm,realview-smp 219 - aspeed,ast2600-smp 222 - brcm,bcm2836-smp 224 - brcm,bcm-nsp-smp 226 - marvell,armada-375-smp [all …]
|
/openbmc/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 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 …]
|
/openbmc/qemu/hw/arm/ |
H A D | xen-pvh.c | 60 * mc->max_cpus holds the MAX value allowed in the -smp command-line opts. in xen_arm_machine_class_init() 62 * 1. If users don't pass any -smp option: in xen_arm_machine_class_init() 63 * ms->smp.cpus will default to 1. in xen_arm_machine_class_init() 64 * ms->smp.max_cpus will default to 1. in xen_arm_machine_class_init() 66 * 2. If users pass -smp X: in xen_arm_machine_class_init() 67 * ms->smp.cpus will be set to X. in xen_arm_machine_class_init() 68 * ms->smp.max_cpus will also be set to X. in xen_arm_machine_class_init() 70 * 3. If users pass -smp X,maxcpus=Y: in xen_arm_machine_class_init() 71 * ms->smp.cpus will be set to X. in xen_arm_machine_class_init() 72 * ms->smp.max_cpus will be set to Y. in xen_arm_machine_class_init()
|
/openbmc/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()
|
/openbmc/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
|
/openbmc/qemu/hw/s390x/ |
H A D | cpu-topology.c | 50 return (drawer_id * current_machine->smp.books + book_id) * in s390_socket_nb_from_ids() 51 current_machine->smp.sockets + socket_id; in s390_socket_nb_from_ids() 89 CpuTopology *smp = &ms->smp; in s390_topology_init() local 91 s390_topology.cores_per_socket = g_new0(uint8_t, smp->sockets * in s390_topology_init() 92 smp->books * smp->drawers); in s390_topology_init() 173 * (0, 0, 0) up to the last (smp->drawers, smp->books, smp->sockets). 184 CpuTopology *smp = ¤t_machine->smp; in s390_topology_cpu_default() local 197 env->socket_id = s390_std_socket(env->core_id, smp); in s390_topology_cpu_default() 198 env->book_id = s390_std_book(env->core_id, smp); in s390_topology_cpu_default() 199 env->drawer_id = s390_std_drawer(env->core_id, smp); in s390_topology_cpu_default() [all …]
|
/openbmc/linux/arch/hexagon/ |
H A D | Kconfig | 17 # select GENERIC_PENDING_IRQ if SMP 105 config SMP config 108 Enables SMP support in the kernel. If unsure, say "Y" 111 int "Maximum number of CPUs" if SMP 112 range 2 6 if SMP 113 default "1" if !SMP 114 default "6" if SMP
|